18 #include "pandabase.h" 19 #include "clientBase.h" 21 #include "vrpn_interface.h" 43 INLINE
const string &get_server_name()
const;
44 INLINE
bool is_valid()
const;
45 INLINE
bool is_connected()
const;
47 void write(ostream &out,
int indent_level = 0)
const;
50 INLINE
static double convert_to_secs(
struct timeval msg_time);
54 const string &device_name);
56 virtual bool disconnect_device(
TypeHandle device_type,
57 const string &device_name,
60 virtual void do_poll();
63 PT(
ClientDevice) make_tracker_device(
const string &device_name);
64 PT(
ClientDevice) make_button_device(
const string &device_name);
65 PT(
ClientDevice) make_analog_device(
const string &device_name);
66 PT(
ClientDevice) make_dial_device(
const string &device_name);
72 VrpnTracker *get_tracker(
const string &tracker_name);
75 VrpnButton *get_button(
const string &button_name);
78 VrpnAnalog *get_analog(
const string &analog_name);
81 VrpnDial *get_dial(
const string &dial_name);
86 vrpn_Connection *_connection;
103 static void init_type() {
104 ClientBase::init_type();
105 register_type(_type_handle,
"VrpnClient",
106 ClientBase::get_class_type());
109 return get_class_type();
111 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
117 #include "vrpnClient.I"
A specific ClientBase that connects to a VRPN server and records information on the connected VRPN de...
The Panda interface to a VRPN analog device.
This is the actual interface to a particular VRPN tracker object, and all of its sensors.
The Panda interface to a VRPN tracker.
The Panda interface to a VRPN dial device.
An abstract base class for a family of client device interfaces–including trackers, buttons, dials, and other analog inputs.
This is the actual interface to a particular VRPN dial device, and all of its numbered dials...
TypeHandle is the identifier used to differentiate C++ class types.
This is the actual interface to a particular VRPN analog device, and all of its numbered controls...
Any of a number of different devices that might be attached to a ClientBase, including trackers...