RflySimSDK v3.05
RflySimSDK说明文档
载入中...
搜索中...
未找到
vrpn_Tracker_Colibri.h
1
2//
3// Name: vrpn_Tracker_Colibri.h
4//
5// Author: Dmitry Mastykin
6//
7// Description: VRPN tracker class for Trivisio Colibri device (based on ColibriAPI).
8//
10
11#ifndef VRPN_TRACKER_COLIBRI
12#define VRPN_TRACKER_COLIBRI
13
14#include "vrpn_Configure.h" // IWYU pragma: keep
15
16#ifdef VRPN_USE_COLIBRIAPI
17
18#include "vrpn_Tracker.h"
19#include "colibri_api.h"
20
21class vrpn_Tracker_Colibri : public vrpn_Tracker {
22public:
23 // Constructor
24 //
25 // name: VRPN tracker name
26 //
27 // c: VRPN connection to use
28 //
29 // Hz: Update rate in Hertz
30 //
31 //
32 vrpn_Tracker_Colibri(const char* name, vrpn_Connection* c,
33 const char* path, int Hz, bool report_a_w);
34 ~vrpn_Tracker_Colibri();
35
39 virtual void mainloop();
40
41protected:
42 virtual void get_report();
43 virtual void send_report();
44
45 TCHandle nw; // Network handle
46 bool report_a_w;
47};
48
49#endif
50#endif
virtual void mainloop()=0
Generic connection class not specific to the transport mechanism.
定义 vrpn_Connection.h:562
定义 vrpn_Tracker.h:49