dps_desertstar_ssp1
Task.hpp
Go to the documentation of this file.
1 /* Generated from orogen/lib/orogen/templates/tasks/Task.hpp */
2 
3 #ifndef DPS_DESERTSTAR_SSP1_TASK_TASK_HPP
4 #define DPS_DESERTSTAR_SSP1_TASK_TASK_HPP
5 
6 #include "dps_desertstar_ssp1/TaskBase.hpp"
7 #include "dps_desertstar_ssp1/Driver.hpp"
8 
9 namespace aggregator
10 {
11  class TimestampEstimator;
12 };
13 
14 namespace RTT { namespace extras { class FileDescriptorActivity; } }
15 
17 
32  class Task : public TaskBase, public dps_desertstar_ssp1::Interface
33  {
34  friend class TaskBase;
35  protected:
36  virtual bool setVariance(double value);
37  RTT::extras::FileDescriptorActivity* activity;
38  Driver *driver;
39  aggregator::TimestampEstimator* timestamp_estimator;
40 
41  public:
46  Task(std::string const& name = "dps_desertstar_ssp1::Task");
47 
53  Task(std::string const& name, RTT::ExecutionEngine* engine);
54 
57  ~Task();
58 
73  bool configureHook();
74 
80  bool startHook();
81 
96  void updateHook();
97 
104  void errorHook();
105 
109  void stopHook();
110 
115  void cleanupHook();
116 
117 
118  virtual void newDepthData(const base::samples::RigidBodyState &depth);
119  virtual void newTemperatureData(const double &temperature);
120  };
121 }
122 
123 #endif
124 
Definition: Task.hpp:16
The task context provides and requires services. It uses an ExecutionEngine to perform its functions...
Definition: Task.hpp:32
RTT::extras::FileDescriptorActivity * activity
Definition: Task.hpp:37
Definition: Task.hpp:9
Definition: Task.hpp:14
aggregator::TimestampEstimator * timestamp_estimator
Definition: Task.hpp:39
Driver * driver
Definition: Task.hpp:38