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