imumodel
Task.hpp
Go to the documentation of this file.
1 /* Generated from orogen/lib/orogen/templates/tasks/Task.hpp */
2 
3 #ifndef IMUMODEL_TASK_TASK_HPP
4 #define IMUMODEL_TASK_TASK_HPP
5 
6 #include "imumodel/TaskBase.hpp"
7 #include <boost/random.hpp>
8 #include <imumodel/ImuError.hpp>
9 
10 namespace imumodel {
11 
27  class Task : public TaskBase
28  {
29  friend class TaskBase;
30 
31  protected:
33  ImuError model;
34 
35  public:
40  Task(std::string const& name = "imumodel::Task", TaskCore::TaskState initial_state = Stopped);
41 
47  Task(std::string const& name, RTT::ExecutionEngine* engine, TaskCore::TaskState initial_state = Stopped);
48 
51  ~Task();
52 
67  bool configureHook();
68 
74  bool startHook();
75 
90  void updateHook();
91 
98  void errorHook();
99 
103  void stopHook();
104 
109  void cleanupHook();
110  };
111 }
112 
113 #endif
114 
void stopHook()
Definition: Task.cpp:104
The task context provides and requires services. It uses an ExecutionEngine to perform its functions...
Definition: Task.hpp:27
Definition: Task.hpp:10
bool configureHook()
The following lines are template definitions for the various state machine.
Definition: Task.cpp:26
void cleanupHook()
Definition: Task.cpp:109
ImuError model
Definition: Task.hpp:33
bool startHook()
Definition: Task.cpp:67
~Task()
Definition: Task.cpp:18
void updateHook()
Definition: Task.cpp:78
bool inport_connected
Definition: Task.hpp:32
Task(std::string const &name="imumodel::Task", TaskCore::TaskState initial_state=Stopped)
Definition: Task.cpp:8
friend class TaskBase
Definition: Task.hpp:29
void errorHook()
Definition: Task.cpp:99