vrpn
07.33
Virtual Reality Peripheral Network
|
Go to the documentation of this file.
15 #if defined(VRPN_USE_HID)
40 virtual void decodePacket(
size_t bytes, vrpn_uint8 *buffer) = 0;
virtual ~vrpn_Griffin(void)
virtual void report(void)
virtual void mainloop(void)
Called once through each main loop iteration to handle updates. Remote object mainloop() should call ...
static int VRPN_CALLBACK on_connect(void *thisPtr, vrpn_HANDLERPARAM p)
vrpn_Griffin(vrpn_HidAcceptor *filter, const char *name, vrpn_Connection *c=0)
vrpn_Griffin_PowerMate(const char *name, vrpn_Connection *c=0)
static int VRPN_CALLBACK on_last_disconnect(void *thisPtr, vrpn_HANDLERPARAM p)
void decodePacket(size_t bytes, vrpn_uint8 *buffer)
const vrpn_uint32 vrpn_CONNECTION_LOW_LATENCY
This structure is what is passed to a vrpn_Connection message callback.
vrpn_HidAcceptor * _filter
void on_data_received(size_t bytes, vrpn_uint8 *buffer)
Derived class reimplements this callback.
virtual void mainloop(void)=0
Called once through each main loop iteration to handle updates. Remote object mainloop() should call ...
struct timeval _timestamp
virtual void decodePacket(size_t bytes, vrpn_uint8 *buffer)=0
Generic connection class not specific to the transport mechanism.
virtual ~vrpn_Griffin_PowerMate(void)
int register_types(void)
Register the types of messages this device sends/receives. Return 0 on success, -1 on fail.
Class from which all user-level (and other) classes that communicate with vrpn_Connections should der...