gramods
VrpnAnalogsTracker.hh
1 
2 #ifndef GRAMODS_TRACK_VRPNANALOGSTRACKER
3 #define GRAMODS_TRACK_VRPNANALOGSTRACKER
4 
5 #include <gmTrack/AnalogsTracker.hh>
6 
7 #ifdef gramods_ENABLE_VRPN
8 
9 #include <gmCore/OFactory.hh>
10 #include <gmCore/Updateable.hh>
11 
12 BEGIN_NAMESPACE_GMTRACK;
13 
22  : public AnalogsTracker,
23  public gmCore::Updateable {
24 
25 public:
26 
29 
33  void update(gmCore::Updateable::clock::time_point, size_t) override;
34 
41  void setConnectionString(std::string id);
42 
46  bool getAnalogs(AnalogsSample &b) override;
47 
48  GM_OFI_DECLARE;
49 
50 private:
51  struct Impl;
52  std::unique_ptr<Impl> _impl;
53 };
54 
55 END_NAMESPACE_GMTRACK;
56 
57 #endif
58 
59 #endif
The Updateable class defines an interface for objects that may be updated, for example each execution...
Definition: Updateable.hh:18
The base of AnalogsTrackers.
Definition: AnalogsTracker.hh:18
Analogs tracker reading data off a VRPN server.
Definition: VrpnAnalogsTracker.hh:23
Definition: AnalogsTracker.hh:24
Definition: VrpnAnalogsTracker.cpp:16