1#ifndef VRPN_GLOBALHAPTICSORB_H
2#define VRPN_GLOBALHAPTICSORB_H
24 const char * port,
int baud);
35 unsigned char d_buffer[512];
38 struct timeval d_timestamp;
40 virtual void clear_values(
void);
41 virtual int reset(
void);
42 virtual int get_report(
void);
50 virtual void report(vrpn_uint32 class_of_service
virtual void report(vrpn_uint32 class_of_service=vrpn_CONNECTION_LOW_LATENCY, const struct timeval time=vrpn_ANALOG_NOW)
Send a report whether something has changed or not (for servers) Optionally, tell what time to stamp ...
virtual void report_changes(vrpn_uint32 class_of_service=vrpn_CONNECTION_LOW_LATENCY, const struct timeval time=vrpn_ANALOG_NOW)
Send a report only if something has changed (for servers) Optionally, tell what time to stamp the val...
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.
unsigned d_expected_chars
This structure is what is passed to a vrpn_Connection message callback.
const vrpn_uint32 vrpn_CONNECTION_RELIABLE
Classes of service for messages, specify multiple by ORing them together Priority of satisfying these...