camera_base
Preprocess.hpp
Go to the documentation of this file.
1 /* Generated from orogen/lib/orogen/templates/tasks/Task.hpp */
2 
3 #ifndef CAMERA_BASE_PREPROCESS_TASK_HPP
4 #define CAMERA_BASE_PREPROCESS_TASK_HPP
5 
6 #include "camera_base/PreprocessBase.hpp"
7 #include "frame_helper/FrameHelper.h"
8 
9 namespace camera_base {
10 
25  class Preprocess : public PreprocessBase
26  {
27  friend class PreprocessBase;
28  protected:
29  RTT::extras::ReadOnlyPointer<base::samples::frame::Frame> oframe;
30  frame_helper::FrameHelper frame_helper; //helper for image processing
31 
32  public:
37  Preprocess(std::string const& name = "camera_base::Preprocess");
38 
44  Preprocess(std::string const& name, RTT::ExecutionEngine* engine);
45 
48  ~Preprocess();
49 
64  bool configureHook();
65 
71  bool startHook();
72 
87  void updateHook();
88 
95  void errorHook();
96 
100  void stopHook();
101 
106  void cleanupHook();
107  };
108 }
109 
110 #endif
111 
bool configureHook()
The following lines are template definitions for the various state machine.
Definition: Preprocess.cpp:27
Definition: Preprocess.hpp:9
~Preprocess()
Definition: Preprocess.cpp:20
friend class PreprocessBase
Definition: Preprocess.hpp:27
Preprocess(std::string const &name="camera_base::Preprocess")
Definition: Preprocess.cpp:8
bool startHook()
Definition: Preprocess.cpp:36
void cleanupHook()
Definition: Preprocess.cpp:79
RTT::extras::ReadOnlyPointer< base::samples::frame::Frame > oframe
Definition: Preprocess.hpp:29
frame_helper::FrameHelper frame_helper
Definition: Preprocess.hpp:30
The task context provides and requires services. It uses an ExecutionEngine to perform its functions...
Definition: Preprocess.hpp:25
void updateHook()
Definition: Preprocess.cpp:43
void stopHook()
Definition: Preprocess.cpp:74
void errorHook()
Definition: Preprocess.cpp:69