vrpn
07.33
Virtual Reality Peripheral Network
|
Go to the documentation of this file. 1 #ifndef VRPN_3DMICROSCRIBE_H
2 #define VRPN_3DMICROSCRIBE_H
18 const char * Port,
long int BaudRate,
19 float OffsetX = 0.0f,
float OffsetY = 0.0f,
float OffsetZ = 0.0f,
27 virtual int reset(
void);
37 unsigned char buf[512];
44 struct timeval timestamp;
46 void ConvertOriToQuat(
float ori[3]);
47 virtual void clear_values(
void);
51 virtual int get_report(
void);
58 virtual void report (vrpn_uint32 class_of_service
int resetoccured
A reset event has occurred.
int packlen
Expected packet length.
const vrpn_uint32 vrpn_CONNECTION_LOW_LATENCY
int packtype
What kind of packet we are decoding.
int _numbuttons
How many buttons to open.
int bufpos
Current char pos in buffer.
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.
int m_PortNumber
port number
int erroroccured
A device error has occurred.
long int m_BaudRate
baud rate
int escapedchar
We're processing an escaped char.