RflySimSDK v3.05
RflySimSDK说明文档
载入中...
搜索中...
未找到
vrpn_3Space.h
1#ifndef VRPN_3SPACE_H
2#define VRPN_3SPACE_H
3
4#include "vrpn_Configure.h" // for VRPN_API
5#include "vrpn_Tracker.h" // for vrpn_Tracker_Serial
6
7class VRPN_API vrpn_Connection;
8
10
11 public:
12
14 const char *port = "/dev/ttyS1", long baud = 19200) :
15 vrpn_Tracker_Serial(name,c,port,baud), d_numResets(0) {};
16
17 protected:
18
20 virtual int get_report(void);
21
22 virtual void reset();
23 int d_numResets;
24
25};
26
27#endif
Generic connection class not specific to the transport mechanism.
定义 vrpn_Connection.h:562
定义 vrpn_3Space.h:9
virtual int get_report(void)
Returns 0 if didn't get a complete report, 1 if it did.
virtual void reset()
Reset the tracker.
定义 vrpn_Tracker.h:144