14#ifndef VRPNTRACKERDEVICE_H
15#define VRPNTRACKERDEVICE_H
43 int sensor, DataType data_type,
60 static void init_type() {
61 ClientTrackerDevice::init_type();
63 ClientTrackerDevice::get_class_type());
66 return get_class_type();
68 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
A device, attached to the ClientBase by a TrackerNode, that records the data from a single tracker de...
TypeHandle is the identifier used to differentiate C++ class types.
A specific ClientBase that connects to a VRPN server and records information on the connected VRPN de...
The Panda interface to a VRPN tracker.
int get_sensor() const
Returns the particular sensor index that this device wants to hear about from the VrpnTracker.
VrpnTracker * get_vrpn_tracker() const
Returns a pointer to the particular VrpnTracker this device gets its data from.
DataType get_data_type() const
Returns the type of data this device represents from the VrpnTracker.
This is the actual interface to a particular VRPN tracker object, and all of its sensors.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.