18 #include "pandabase.h" 20 #include "vrpn_interface.h" 44 VrpnDial(
const string &dial_name, vrpn_Connection *connection);
55 void output(ostream &out)
const;
56 void write(ostream &out,
int indent_level = 0)
const;
59 static void VRPN_CALLBACK
60 vrpn_dial_callback(
void *userdata,
const vrpn_DIALCB info);
64 vrpn_Dial_Remote *_dial;
70 INLINE ostream &operator << (ostream &out,
const VrpnDial &dial) {
The Panda interface to a VRPN dial device.
const string & get_dial_name() const
Returns the name of the dial device that was used to create this VrpnDial.
void mark(VrpnDialDevice *device)
Adds the indicated VrpnDialDevice to the list of devices that are sharing this VrpnDial.
bool is_empty() const
Returns true if no VrpnDialDevices reference this VrpnDial, or false otherwise.
void poll()
Polls the connected device.
This is the actual interface to a particular VRPN dial device, and all of its numbered dials...
void unmark(VrpnDialDevice *device)
Removes the indicated VrpnDialDevice from the list of devices that are sharing this VrpnDial...