north_seeker
Task.hpp
Go to the documentation of this file.
1 /* Generated from orogen/lib/orogen/templates/tasks/Task.hpp */
2 
3 #ifndef NORTH_SEEKER_TASK_TASK_HPP
4 #define NORTH_SEEKER_TASK_TASK_HPP
5 
6 #include "north_seeker/TaskBase.hpp"
7 #include <base/Time.hpp>
8 
9 namespace north_seeker {
10 
33  class Task : public TaskBase
34  {
35  friend class TaskBase;
36  protected:
37  base::Time sampling_period;
38  base::Time start;
39  double x,y,z;
40  int counter;
41 
42 
43  public:
48  Task(std::string const& name = "north_seeker::Task");
49 
55  Task(std::string const& name, RTT::ExecutionEngine* engine);
56 
59  ~Task();
60 
75  bool configureHook();
76 
82  bool startHook();
83 
98  void updateHook();
99 
106  void errorHook();
107 
111  void stopHook();
112 
117  void cleanupHook();
118  };
119 }
120 
121 #endif
122 
double x
Definition: Task.hpp:39
void updateHook()
Definition: Task.cpp:49
void stopHook()
Definition: Task.cpp:78
double z
Definition: Task.hpp:39
void errorHook()
Definition: Task.cpp:74
Definition: Task.hpp:9
friend class TaskBase
Definition: Task.hpp:35
base::Time start
Definition: Task.hpp:38
double y
Definition: Task.hpp:39
Task(std::string const &name="north_seeker::Task")
Definition: Task.cpp:12
base::Time sampling_period
Definition: Task.hpp:37
void cleanupHook()
Definition: Task.cpp:82
~Task()
Definition: Task.cpp:22
The task context provides and requires services. It uses an ExecutionEngine to perform its functions...
Definition: Task.hpp:33
bool configureHook()
The following lines are template definitions for the various state machine.
Definition: Task.cpp:32
bool startHook()
Definition: Task.cpp:40
int counter
Definition: Task.hpp:40