14#ifndef VRPNANALOGDEVICE_H
15#define VRPNANALOGDEVICE_H
30class VrpnAnalogDevice :
public ClientAnalogDevice {
32 VrpnAnalogDevice(
VrpnClient *client,
const std::string &device_name,
33 VrpnAnalog *vrpn_analog);
34 virtual ~VrpnAnalogDevice();
39 VrpnAnalog *_vrpn_analog;
45 static void init_type() {
46 ClientAnalogDevice::init_type();
48 ClientAnalogDevice::get_class_type());
51 return get_class_type();
53 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
58 friend class VrpnAnalog;
TypeHandle is the identifier used to differentiate C++ class types.
VrpnAnalog * get_vrpn_analog() const
Returns a pointer to the particular VrpnAnalog this device gets its data from.
This is the actual interface to a particular VRPN analog device, and all of its numbered controls.
A specific ClientBase that connects to a VRPN server and records information on the connected VRPN de...
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.