#include <analogNode.h>
Inheritance diagram for AnalogNode:
Public Member Functions | |
virtual void | write (ostream &out, int indent_level=0) const |
virtual TypeHandle | get_type () const |
virtual TypeHandle | force_init_type () |
Static Public Member Functions | |
TypeHandle | get_class_type () |
void | init_type () |
Protected Member Functions | |
virtual void | do_transmit_data (const DataNodeTransmit &input, DataNodeTransmit &output) |
Private Types | |
enum | { max_outputs = 2 } |
Private Member Functions | |
virtual | ~AnalogNode () |
INLINE bool | is_valid () const |
INLINE int | get_num_controls () const |
INLINE double | get_control_state (int index) const |
INLINE bool | is_control_known (int index) const |
INLINE void | set_output (int channel, int index, bool flip) |
INLINE void | clear_output (int channel) |
INLINE int | get_output (int channel) const |
INLINE bool | is_output_flipped (int channel) const |
PT (ClientAnalogDevice) _analog | |
PT (EventStoreVec2) _xy | |
Private Attributes | |
PUBLISHED | __pad0__: AnalogNode(ClientBase *client |
PUBLISHED const string & | device_name |
OutputData | _outputs [max_outputs] |
int | _xy_output |
Static Private Attributes | |
TypeHandle | _type_handle |
|
Definition at line 77 of file analogNode.h. |
|
Definition at line 65 of file analogNode.cxx. |
|
|
|
Reimplemented from DataNode. Definition at line 101 of file analogNode.cxx. References AnalogNode::OutputData::_flip, AnalogNode::OutputData::_index, _outputs, _xy_output, is_valid(), max_outputs, and DataNodeTransmit::set_data(). |
|
Reimplemented from DataNode. Definition at line 105 of file analogNode.h. References DataNode::get_class_type(), and DataNode::init_type(). |
|
Reimplemented from DataNode. Definition at line 94 of file analogNode.h. |
|
|
|
|
|
|
|
Reimplemented from DataNode. Definition at line 102 of file analogNode.h. References DataNode::get_class_type(). |
|
Reimplemented from DataNode. Definition at line 97 of file analogNode.h. References DataNode::get_class_type(), DataNode::init_type(), and register_type(). Referenced by init_libdevice(). |
|
|
|
|
|
Referenced by do_transmit_data(). |
|
|
|
|
|
|
|
Reimplemented from PandaNode. Definition at line 77 of file analogNode.cxx. References NULL, and PandaNode::write(). |
|
Reimplemented from DataNode. Definition at line 51 of file analogNode.h. |
|
Definition at line 78 of file analogNode.h. Referenced by do_transmit_data(). |
|
Reimplemented from DataNode. Definition at line 25 of file analogNode.cxx. |
|
Definition at line 89 of file analogNode.h. Referenced by do_transmit_data(). |
|
Definition at line 51 of file analogNode.h. |