1 #ifndef VRPN_BIOSCIENCES_H 2 #define VRPN_BIOSCIENCES_H 39 const char * port,
float temp1,
float temp2,
50 struct timeval timestamp;
52 virtual int reset(
void);
53 virtual int get_report(
void);
56 bool set_reference_temperature(
unsigned channel,
float value);
57 bool set_control_status(
bool on);
58 bool request_temperature(
unsigned channel);
63 bool set_specified_channel(
unsigned channel, vrpn_float64 value);
69 float convert_bytes_to_reading(
const char *buf);
const vrpn_uint32 vrpn_CONNECTION_RELIABLE
Classes of service for messages, specify multiple by ORing them together Priority of satisfying these...
Generic connection class not specific to the transport mechanism.
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 mainloop()=0
Called once through each main loop iteration to handle updates. Remote object mainloop() should call ...
This structure is what is passed to a vrpn_Connection message callback.