hokuyo
Task.hpp
Go to the documentation of this file.
1 #ifndef HOKUYO_TASK_TASK_HPP
2 #define HOKUYO_TASK_TASK_HPP
3 
4 #include "hokuyo/TaskBase.hpp"
5 
6 namespace aggregator
7 {
8  class TimestampEstimator;
9 }
10 
11 class URG;
12 
13 namespace hokuyo {
14  class Task : public TaskBase
15  {
16  friend class TaskBase;
17  protected:
18 
19  URG* m_driver;
20  // Period of one acquisition in seconds
22  aggregator::TimestampEstimator* timestampEstimator;
23 
24  public:
25  Task(std::string const& name = "hokuyo::Task");
26  Task(std::string const& name, RTT::ExecutionEngine* engine);
27  ~Task();
28 
42  bool configureHook();
43 
49  bool startHook();
50 
67  void updateHook();
68 
69 
76 // void errorHook();
77 
81  void stopHook();
82 
87  void cleanupHook();
88  };
89 }
90 
91 #endif
92 
double m_devicePeriod
Definition: Task.hpp:21
URG * m_driver
Definition: Task.hpp:19
Definition: stats.h:8
Definition: Task.hpp:14
Definition: Task.hpp:6
aggregator::TimestampEstimator * timestampEstimator
Definition: Task.hpp:22