15 #ifndef CLIENTANALOGDEVICE_H 16 #define CLIENTANALOGDEVICE_H 18 #include "pandabase.h" 20 #include "clientDevice.h" 39 INLINE
int get_num_controls()
const;
41 INLINE
void set_control_state(
int index,
double state);
42 INLINE
double get_control_state(
int index)
const;
43 INLINE
bool is_control_known(
int index)
const;
45 virtual void write(ostream &out,
int indent_level = 0)
const;
46 void write_controls(ostream &out,
int indent_level)
const;
49 void ensure_control_index(
int index);
68 static void init_type() {
69 ClientDevice::init_type();
70 register_type(_type_handle,
"ClientAnalogDevice",
71 ClientDevice::get_class_type());
74 return get_class_type();
76 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
82 #include "clientAnalogDevice.I"
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.
TypeHandle is the identifier used to differentiate C++ class types.
Any of a number of different devices that might be attached to a ClientBase, including trackers...