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;
66INLINE std::ostream &operator << (std::ostream &out,
const VrpnAnalog &analog) {
The Panda interface to a VRPN analog device.
This is the actual interface to a particular VRPN analog device, and all of its numbered controls.
const std::string & get_analog_name() const
Returns the name of the analog device that was used to create this VrpnAnalog.
bool is_empty() const
Returns true if no VrpnAnalogDevices reference this VrpnAnalog, or false otherwise.
void unmark(VrpnAnalogDevice *device)
Removes the indicated VrpnAnalogDevice from the list of devices that are sharing this VrpnAnalog.
void mark(VrpnAnalogDevice *device)
Adds the indicated VrpnAnalogDevice to the list of devices that are sharing this VrpnAnalog.
void poll()
Polls the connected device.
This is our own Panda specialization on the default STL vector.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.