ClientBase * get_client() const
Returns the ClientBase this device is associated with.
TypeHandle get_device_type() const
Returns the type of device this is considered to be to the ClientBase: a ClientTrackerDevice, ClientAnalogDevice, or what have you.
void unlock()
Releases the mutex associated with this particular device.
const string & get_device_name() const
Returns the device name reported to the ClientBase.
An abstract base class for a family of client device interfaces–including trackers, buttons, dials, and other analog inputs.
void acquire()
Grabs the mutex associated with this particular device.
TypeHandle is the identifier used to differentiate C++ class types.
bool is_connected() const
Returns true if the device is still connected to its ClientBase, false otherwise. ...