24#if defined(VRPN_USE_HID)
29 vrpn_uint16 vendor = 0, vrpn_uint16 product = 0);
39 struct timeval _timestamp;
62 void report_changes (
void);
66 void decodePacket(
size_t bytes, vrpn_uint8 *buffer);
Class from which all user-level (and other) classes that communicate with vrpn_Connections should der...
virtual void mainloop()=0
Called once through each main loop iteration to handle updates. Remote object mainloop() should call ...
Generic connection class not specific to the transport mechanism.
virtual ~vrpn_DreamCheeky_Drum_Kit()
int register_types(void)
Register the types of messages this device sends/receives. Return 0 on success, -1 on fail.
vrpn_HidAcceptor * _filter
virtual void mainloop()=0
Called once through each main loop iteration to handle updates. Remote object mainloop() should call ...
virtual void decodePacket(size_t bytes, vrpn_uint8 *buffer)=0
virtual void on_data_received(size_t bytes, vrpn_uint8 *buffer)=0
Derived class reimplements this callback.
All types of client/server/peer objects in VRPN should be derived from the vrpn_BaseClass type descri...