18 #include "pandabase.h" 20 #include "vrpn_interface.h" 44 VrpnAnalog(
const string &analog_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_analog_callback(
void *userdata,
const vrpn_ANALOGCB info);
64 vrpn_Analog_Remote *_analog;
70 INLINE ostream &operator << (ostream &out,
const VrpnAnalog &analog) {
75 #include "vrpnAnalog.I" void unmark(VrpnAnalogDevice *device)
Removes the indicated VrpnAnalogDevice from the list of devices that are sharing this VrpnAnalog...
void poll()
Polls the connected device.
The Panda interface to a VRPN analog device.
bool is_empty() const
Returns true if no VrpnAnalogDevices reference this VrpnAnalog, or false otherwise.
const string & get_analog_name() const
Returns the name of the analog device that was used to create this VrpnAnalog.
void mark(VrpnAnalogDevice *device)
Adds the indicated VrpnAnalogDevice to the list of devices that are sharing this VrpnAnalog.
This is the actual interface to a particular VRPN analog device, and all of its numbered controls...