image_preprocessing
BaseTask.hpp
Go to the documentation of this file.
1 /* Generated from orogen/lib/orogen/templates/tasks/Task.hpp */
2 
3 #ifndef IMAGE_PREPROCESSING_BASETASK_TASK_HPP
4 #define IMAGE_PREPROCESSING_BASETASK_TASK_HPP
5 
6 #include <stddef.h>
7 #include <cv.h>
8 #include "image_preprocessing/BaseTaskBase.hpp"
9 #include "frame_helper/FrameHelper.h"
10 
11 #include "frame_helper/FrameHelper.h"
13  class BaseTask : public BaseTaskBase
14  {
15  friend class BaseTaskBase;
16  protected:
17  frame_helper::FrameHelper frame_helper;
18  base::samples::frame::Frame temp_frame;
19 
20  double scale_x;
21  double scale_y;
22  bool calibrate;
23  base::samples::frame::frame_mode_t frame_mode;
24  int offset_x;
25  int offset_y;
26  frame_helper::ResizeAlgorithm resize_algorithm;
27 
28  public:
29  BaseTask(std::string const& name = "image_preprocessing::BaseTask", TaskCore::TaskState initial_state = Stopped);
30  BaseTask(std::string const& name, RTT::ExecutionEngine* engine, TaskCore::TaskState initial_state = Stopped);
31 
32  ~BaseTask();
33 
47  // bool configureHook();
48 
54  bool startHook();
55 
70  // void updateHook();
71 
78  // void errorHook();
79 
83  // void stopHook();
84 
89  // void cleanupHook();
90  };
91 }
92 
93 #endif
94 
Definition: BaseTask.hpp:12
frame_helper::ResizeAlgorithm resize_algorithm
Definition: BaseTask.hpp:26
BaseTask(std::string const &name="image_preprocessing::BaseTask", TaskCore::TaskState initial_state=Stopped)
Definition: BaseTask.cpp:7
friend class BaseTaskBase
Definition: BaseTask.hpp:15
int offset_y
Definition: BaseTask.hpp:25
base::samples::frame::Frame temp_frame
Definition: BaseTask.hpp:18
~BaseTask()
Definition: BaseTask.cpp:17
double scale_x
Definition: BaseTask.hpp:20
base::samples::frame::frame_mode_t frame_mode
Definition: BaseTask.hpp:23
bool startHook()
The following lines are template definitions for the various state machine.
Definition: BaseTask.cpp:34
int offset_x
Definition: BaseTask.hpp:24
frame_helper::FrameHelper frame_helper
Definition: BaseTask.hpp:17
double scale_y
Definition: BaseTask.hpp:21
Definition: BaseTask.hpp:13
bool calibrate
Definition: BaseTask.hpp:22