1 #ifndef VRPN_CEREALBOX_H 2 #define VRPN_CEREALBOX_H 18 const char * port,
int baud,
19 const int numbuttons,
const int numchannels,
const int numencoders);
34 unsigned char _buffer[512];
37 struct timeval timestamp;
39 virtual void clear_values(
void);
40 virtual int reset(
void);
41 virtual int get_report(
void);
45 (vrpn_uint32 class_of_service
49 (vrpn_uint32 class_of_service
const vrpn_uint32 vrpn_CONNECTION_LOW_LATENCY
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 ...
virtual void report(void)