24 #if defined(VRPN_USE_HID) 37 virtual void decodePacket(
size_t bytes, vrpn_uint8 *buffer) = 0;
38 struct timeval _timestamp;
int register_types(void)
Register the types of messages this device sends/receives. Return 0 on success, -1 on fail...
virtual void on_data_received(size_t bytes, vrpn_uint8 *buffer)=0
Derived class reimplements this callback.
Generic connection class not specific to the transport mechanism.
All types of client/server/peer objects in VRPN should be derived from the vrpn_BaseClass type descri...
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
vrpn_HidAcceptor * _filter
virtual ~vrpn_DreamCheeky_Drum_Kit()
Class from which all user-level (and other) classes that communicate with vrpn_Connections should der...