14 #ifndef CLIENTDIALDEVICE_H 15 #define CLIENTDIALDEVICE_H 35 INLINE
int get_num_dials()
const;
37 INLINE
void push_dial(
int index,
double offset);
38 INLINE
double read_dial(
int index);
39 INLINE
bool is_dial_known(
int index)
const;
42 void ensure_dial_index(
int index);
61 static void init_type() {
62 ClientDevice::init_type();
64 ClientDevice::get_class_type());
67 return get_class_type();
69 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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,...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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,...