1 #ifndef VRPN_3DCONNEXION_H 2 #define VRPN_3DCONNEXION_H 27 #if defined(VRPN_USE_HID) 40 virtual void decodePacket(
size_t bytes, vrpn_uint8 *buffer);
41 struct timeval _timestamp;
51 #else // not VRPN_USE_HID 61 struct timeval _timestamp;
74 #if defined(linux) && !defined(VRPN_USE_HID) 75 int set_led(
int led_state);
78 #endif // not VRPN_USE_HID const vrpn_uint32 vrpn_CONNECTION_LOW_LATENCY
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...
virtual void on_data_received(size_t bytes, vrpn_uint8 *buffer)=0
Derived class reimplements this callback.
virtual ~vrpn_3DConnexion_Traveler()
virtual ~vrpn_3DConnexion_Navigator_for_Notebooks()
virtual ~vrpn_3DConnexion_SpaceBall5000()
virtual ~vrpn_3DConnexion_SpaceExplorer()
Generic connection class not specific to the transport mechanism.
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 ...
virtual ~vrpn_3DConnexion_SpaceMouse()
virtual void mainloop()=0
Called once through each main loop iteration to handle updates. Remote object mainloop() should call ...
virtual ~vrpn_3DConnexion_SpaceMousePro()
virtual ~vrpn_3DConnexion_Navigator()
virtual ~vrpn_3DConnexion_SpacePilot()
virtual ~vrpn_3DConnexion_SpaceMouseWireless()
vrpn_HidAcceptor * _filter