vrpn
07.33
Virtual Reality Peripheral Network
|
Go to the documentation of this file.
14 #ifndef VRPN_ANALOG_5DTUSB_H
15 #define VRPN_ANALOG_5DTUSB_H
27 #if defined(VRPN_USE_HID)
61 std::string get_description()
const;
77 struct timeval _timestamp;
133 product(desiredProduct),
139 return (device.
vendor == vendor) && ((device.
product & mask) == (product & mask));
147 #endif // end of ifdef VRPN_USE_HID
virtual ~vrpn_Analog_5dtUSB_Glove14Right()
HID acceptor subclass used by vrpn_Analog_5dtUSB since the bits of the product ID for these devices d...
virtual ~vrpn_Analog_5dtUSB_Glove5Right()
Specialization of vrpn_Analog_5dtUSB for a 5-sensor, right-hand glove.
bool _isLeftHand
Flag for left handedness.
virtual void report(vrpn_uint32 class_of_service=vrpn_CONNECTION_LOW_LATENCY, const struct timeval time=vrpn_ANALOG_NOW)
Send a report whether something has changed or not (for servers) Optionally, tell what time to stamp ...
Specialization of vrpn_Analog_5dtUSB for a 14-sensor, right-hand glove. Not tested as of 8-Mar-2011 b...
const vrpn_uint32 vrpn_CONNECTION_LOW_LATENCY
virtual ~vrpn_Analog_5dtUSB_Glove5Left()
virtual void mainloop()=0
Called once through each main loop iteration to handle updates. Remote object mainloop() should call ...
Specialization of vrpn_Analog_5dtUSB for a 5-sensor, left-hand glove.
vrpn_HidProductMaskAcceptor(vrpn_uint16 vendorId, vrpn_uint16 productMask=0x0000, vrpn_uint16 desiredProduct=0x0000)
Generic connection class not specific to the transport mechanism.
Specialization of vrpn_Analog_5dtUSB for a 14-sensor, left-hand glove. Not tested as of 8-Mar-2011 be...
bool _wasConnected
Flag indicating whether we were connected last time through the mainloop. Used to send a "normal"-sev...
virtual void on_data_received(size_t bytes, vrpn_uint8 *buffer)=0
Derived class reimplements this callback.
virtual ~vrpn_Analog_5dtUSB_Glove14Left()
bool accept(const vrpn_HIDDEVINFO &device)
5th Dimension Technologies (5dt) "Ultra" USB data glove driver
virtual void report_changes(vrpn_uint32 class_of_service=vrpn_CONNECTION_LOW_LATENCY, const struct timeval time=vrpn_ANALOG_NOW)
Send a report only if something has changed (for servers) Optionally, tell what time to stamp the val...
bool isLeftHand() const
Accessor to know if this is a left hand glove.
~vrpn_HidProductMaskAcceptor()
bool isRightHand() const
Accessor to know if this is a right hand glove.