mbeam_imagenex
Task.hpp
Go to the documentation of this file.
1 /* Generated from orogen/lib/orogen/templates/tasks/Task.hpp */
2 
3 #ifndef MBEAM_IMAGENEX_TASK_TASK_HPP
4 #define MBEAM_IMAGENEX_TASK_TASK_HPP
5 
6 #include "mbeam_imagenex/TaskBase.hpp"
7 #include <mbeam_imagenex/Driver.hpp>
8 //#include <mbeam_imagenex/MBeamSender.hpp>
9 #include <base-logging/Logging.hpp>
10 
11 namespace mbeam_imagenex {
12 
27  class Task : public TaskBase
28  {
29  friend class TaskBase;
30  protected:
31  Driver* mDriver;
32  //MBeamSender *mSender;
33 
34 
35 
36  public:
41  Task(std::string const& name = "mbeam_imagenex::Task");
42 
48  Task(std::string const& name, RTT::ExecutionEngine* engine);
49 
52  ~Task();
53 
68  bool configureHook();
69 
75  bool startHook();
76 
91  void updateHook();
92 
99  void errorHook();
100 
104  void stopHook();
105 
110  void cleanupHook();
111 
112  void processIO();
113  };
114 }
115 
116 #endif
117 
bool configureHook()
The following lines are template definitions for the various state machine.
Definition: Task.cpp:29
void cleanupHook()
Definition: Task.cpp:86
void stopHook()
Definition: Task.cpp:81
Task(std::string const &name="mbeam_imagenex::Task")
Definition: Task.cpp:9
void errorHook()
Definition: Task.cpp:74
Driver * mDriver
Definition: Task.hpp:31
Definition: Task.hpp:11
void updateHook()
Definition: Task.cpp:51
The task context provides and requires services. It uses an ExecutionEngine to perform its functions...
Definition: Task.hpp:27
void processIO()
Definition: Task.cpp:94
bool startHook()
Definition: Task.cpp:44
friend class TaskBase
Definition: Task.hpp:29
~Task()
Definition: Task.cpp:19