3#include "vrpn_Analog.h"
4#include "vrpn_Button.h"
5#include "vrpn_Configure.h"
6#include "vrpn_Connection.h"
7#include "vrpn_Shared.h"
24 const int numbuttons = 8,
25 const int numchannels = 8);
39 unsigned _expected_chars;
40 unsigned char _buffer[512];
43 struct timeval _timestamp;
45 virtual void clear_values(
void);
46 virtual int reset(
void);
47 virtual int get_report(
void);
50 virtual void report_changes (vrpn_uint32 class_of_service = vrpn_CONNECTION_LOW_LATENCY);
52 virtual void report (vrpn_uint32 class_of_service = vrpn_CONNECTION_LOW_LATENCY);
60 int syncDatastream (
double seconds);
62 unsigned char bDataPacketStart;
virtual void report(vrpn_uint32 class_of_service=vrpn_CONNECTION_LOW_LATENCY, const struct timeval time=vrpn_ANALOG_NOW)
virtual void report_changes(vrpn_uint32 class_of_service=vrpn_CONNECTION_LOW_LATENCY, const struct timeval time=vrpn_ANALOG_NOW)
Generic connection class not specific to the transport mechanism.
定义 vrpn_Connection.h:562
virtual void mainloop(void)