78 virtual void report( vrpn_uint32 class_of_service
vrpn_Analog(const char *name, vrpn_Connection *c=NULL)
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.
virtual int get_report()
Try to read reports from the device. Returns 1 if msg received, or 0 if none received.
vrpn_Mouse(const char *name, vrpn_Connection *cxn)
struct timeval timestamp
time of last report from device
const vrpn_uint32 vrpn_CONNECTION_LOW_LATENCY