vrpn 07.35
Virtual Reality Peripheral Network
Loading...
Searching...
No Matches
vrpn_3Space.h
Go to the documentation of this file.
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
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();
24
25};
26
27#endif
Generic connection class not specific to the transport mechanism.
vrpn_Tracker_3Space(char *name, vrpn_Connection *c, const char *port="/dev/ttyS1", long baud=19200)
Definition vrpn_3Space.h:13
virtual void reset(void)=0
Reset the tracker.
virtual int get_report(void)=0
Gets a report if one is available, returns 0 if not, 1 if complete report.
#define VRPN_API