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
const vrpn_uint32 vrpn_CONNECTION_LOW_LATENCY
int packtype
What kind of packet we are decoding.
int m_PortNumber
port number
int resetoccured
A reset event has occurred.
int escapedchar
We're processing an escaped char.
long int m_BaudRate
baud rate
Generic connection class not specific to the transport mechanism.
virtual void mainloop()=0
Called once through each main loop iteration to handle updates. Remote object mainloop() should call ...
int erroroccured
A device error has occurred.
int packlen
Expected packet length.
int _numbuttons
How many buttons to open.
int bufpos
Current char pos in buffer.