gramods
TimeSampleAnalogsTracker.hh
1 
2 #ifndef GRAMODS_TRACK_TIMESAMPLEANALOGSTRACKER
3 #define GRAMODS_TRACK_TIMESAMPLEANALOGSTRACKER
4 
5 #include <gmTrack/AnalogsTracker.hh>
6 
7 #include <gmCore/io_float.hh>
8 #include <gmCore/OFactory.hh>
9 
10 BEGIN_NAMESPACE_GMTRACK;
11 
17  : public gmTrack::AnalogsTracker {
18 
19 public:
20 
22  virtual ~TimeSampleAnalogsTracker();
23 
31  void addTime(double t);
32 
38  void addAnalogs(gmCore::float3 a);
39 
43  bool getAnalogs(AnalogsSample &a) override;
44 
45  GM_OFI_DECLARE;
46 
47 private:
48 
49  struct Impl;
50  std::unique_ptr<Impl> _impl;
51 
52 };
53 
54 END_NAMESPACE_GMTRACK;
55 
56 #endif
The base of AnalogsTrackers.
Definition: AnalogsTracker.hh:18
This analogs tracker reports analog states as specified in the samples of the node.
Definition: TimeSampleAnalogsTracker.hh:17
std::array< float, 3 > float3
Array of 3 float.
Definition: io_float.hh:15
Definition: AnalogsTracker.hh:24
Definition: TimeSampleAnalogsTracker.cpp:16