dvl_teledyne
Task.hpp
Go to the documentation of this file.
1 /* Generated from orogen/lib/orogen/templates/tasks/Task.hpp */
2 
3 #ifndef DVL_TELEDYNE_TASK_TASK_HPP
4 #define DVL_TELEDYNE_TASK_TASK_HPP
5 
6 #include "dvl_teledyne/TaskBase.hpp"
7 
8 namespace aggregator {
9  class TimestampEstimator;
10 }
11 
12 namespace dvl_teledyne {
13  class Driver;
14  class Task : public TaskBase
15  {
16  friend class TaskBase;
17  protected:
18 
19  Driver* mDriver;
20  aggregator::TimestampEstimator* mTimestamper;
21 
22  // The sequence number without wraparounds
23  uint64_t mGlobalSeq;
24  // The last received sequence number
25  int32_t mLastSeq;
26 
27  double var;
28 
29  public:
30  Task(std::string const& name = "dvl_teledyne::Task");
31  Task(std::string const& name, RTT::ExecutionEngine* engine);
32 
33  ~Task();
34 
48  bool configureHook();
49 
55  bool startHook();
56 
60  void processIO();
61 
76  // void updateHook();
77 
84  // void errorHook();
85 
89  void stopHook();
90 
95  // void cleanupHook();
96  };
97 }
98 
99 #endif
100 
uint64_t mGlobalSeq
Definition: Task.hpp:23
double var
Definition: Task.hpp:27
int32_t mLastSeq
Definition: Task.hpp:25
Driver * mDriver
Definition: Task.hpp:19
Definition: Task.hpp:8
aggregator::TimestampEstimator * mTimestamper
Definition: Task.hpp:20
Definition: Task.hpp:12
Definition: Task.hpp:14