39 VrpnDial(
const std::string &dial_name, vrpn_Connection *connection);
50 void output(std::ostream &out)
const;
51 void write(std::ostream &out,
int indent_level = 0)
const;
54 static void VRPN_CALLBACK
55 vrpn_dial_callback(
void *userdata,
const vrpn_DIALCB info);
58 std::string _dial_name;
59 vrpn_Dial_Remote *_dial;
65 INLINE std::ostream &operator << (std::ostream &out,
const VrpnDial &dial) {
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
The Panda interface to a VRPN dial device.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
const std::string & get_dial_name() const
Returns the name of the dial device that was used to create this VrpnDial.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.