Go to the documentation of this file.
40 VrpnAnalog(
const std::string &analog_name, vrpn_Connection *connection);
51 void output(std::ostream &out)
const;
52 void write(std::ostream &out,
int indent_level = 0)
const;
55 static void VRPN_CALLBACK
56 vrpn_analog_callback(
void *userdata,
const vrpn_ANALOGCB info);
59 std::string _analog_name;
60 vrpn_Analog_Remote *_analog;
66 INLINE std::ostream &operator << (std::ostream &out,
const VrpnAnalog &analog) {
void poll()
Polls the connected device.
void unmark(VrpnAnalogDevice *device)
Removes the indicated VrpnAnalogDevice from the list of devices that are sharing this VrpnAnalog.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
const std::string & get_analog_name() const
Returns the name of the analog device that was used to create this VrpnAnalog.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
bool is_empty() const
Returns true if no VrpnAnalogDevices reference this VrpnAnalog, or false otherwise.
This is the actual interface to a particular VRPN analog device, and all of its numbered controls.
void mark(VrpnAnalogDevice *device)
Adds the indicated VrpnAnalogDevice to the list of devices that are sharing this VrpnAnalog.
The Panda interface to a VRPN analog device.