Panda3D
|
A device, attached to the ClientBase by a TrackerNode, that records the data from a single tracker device. More...
#include "clientTrackerDevice.h"
Public Member Functions | |
virtual TypeHandle | force_init_type () |
const TrackerData & | get_data () const |
Returns the TrackerData that this device is reporting. | |
virtual TypeHandle | get_type () const |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
This function is declared non-inline to work around a compiler bug in g++ 2.96. | |
Protected Member Functions | |
ClientTrackerDevice (ClientBase *client, const string &device_name) | |
Protected Attributes | |
TrackerData | _data |
A device, attached to the ClientBase by a TrackerNode, that records the data from a single tracker device.
Definition at line 29 of file clientTrackerDevice.h.
const TrackerData & ClientTrackerDevice::get_data | ( | ) | const [inline] |
Returns the TrackerData that this device is reporting.
Definition at line 34 of file clientTrackerDevice.I.
static void ClientTrackerDevice::init_type | ( | ) | [inline, static] |
This function is declared non-inline to work around a compiler bug in g++ 2.96.
Making it inline seems to cause problems in the optimizer.
Reimplemented from ClientDevice.
Reimplemented in VrpnTrackerDevice.
Definition at line 43 of file clientTrackerDevice.h.
References ClientDevice::init_type().