15 #ifndef CLIENTDIALDEVICE_H
16 #define CLIENTDIALDEVICE_H
18 #include "pandabase.h"
20 #include "clientDevice.h"
40 INLINE
int get_num_dials()
const;
42 INLINE
void push_dial(
int index,
double offset);
43 INLINE
double read_dial(
int index);
44 INLINE
bool is_dial_known(
int index)
const;
47 void ensure_dial_index(
int index);
66 static void init_type() {
67 ClientDevice::init_type();
68 register_type(_type_handle,
"ClientDialDevice",
69 ClientDevice::get_class_type());
72 return get_class_type();
74 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
80 #include "clientDialDevice.I"
A device, attached to the ClientBase by a DialNode, that records the data from a single named dial de...
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...