18 #include "pandabase.h" 20 #include "clientBase.h" 21 #include "clientAnalogDevice.h" 23 #include "linmath_events.h" 50 INLINE
bool is_valid()
const;
52 INLINE
int get_num_controls()
const;
54 INLINE
double get_control_state(
int index)
const;
55 INLINE
bool is_control_known(
int index)
const;
57 INLINE
void set_output(
int channel,
int index,
bool flip);
58 INLINE
void clear_output(
int channel);
59 INLINE
int get_output(
int channel)
const;
60 INLINE
bool is_output_flipped(
int channel)
const;
63 virtual void write(ostream &out,
int indent_level = 0)
const;
73 enum { max_outputs = 2 };
74 OutputData _outputs[max_outputs];
94 static void init_type() {
95 DataNode::init_type();
96 register_type(_type_handle,
"AnalogNode",
97 DataNode::get_class_type());
100 return get_class_type();
102 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
108 #include "analogNode.I" The fundamental type of node for the data graph.
A handy class object for storing simple values (like integers or strings) passed along with an Event ...
A device, attached to the ClientBase by a AnalogNode, that records the data from a single named analo...
An abstract base class for a family of client device interfaces–including trackers, buttons, dials, and other analog inputs.
This is the primary interface to analog controls like sliders and joysticks associated with a ClientB...
TypeHandle is the identifier used to differentiate C++ class types.
Encapsulates the data generated from (or sent into) any particular DataNode.
This object supervises the traversal of the data graph and the moving of data from one DataNode to it...