image_preprocessing
HSVSegmentationAndBlur.hpp
Go to the documentation of this file.
1 /* Generated from orogen/lib/orogen/templates/tasks/Task.hpp */
2 
3 #ifndef IMAGE_PREPROCESSING_HSVSEGMENTATIONANDBLUR_TASK_HPP
4 #define IMAGE_PREPROCESSING_HSVSEGMENTATIONANDBLUR_TASK_HPP
5 
6 #include "image_preprocessing/HSVSegmentationAndBlurBase.hpp"
7 
8 namespace image_preprocessing {
9 
24  class HSVSegmentationAndBlur : public HSVSegmentationAndBlurBase
25  {
27  protected:
28  RTT::extras::ReadOnlyPointer<base::samples::frame::Frame> in_frame;
29  RTT::extras::ReadOnlyPointer<base::samples::frame::Frame> out_frame;
30  RTT::extras::ReadOnlyPointer<base::samples::frame::Frame> h_frame;
31  RTT::extras::ReadOnlyPointer<base::samples::frame::Frame> v_frame;
32  RTT::extras::ReadOnlyPointer<base::samples::frame::Frame> s_frame;
33  RTT::extras::ReadOnlyPointer<base::samples::frame::Frame> h_frame_debug;
34  RTT::extras::ReadOnlyPointer<base::samples::frame::Frame> v_frame_debug;
35  RTT::extras::ReadOnlyPointer<base::samples::frame::Frame> s_frame_debug;
36  RTT::extras::ReadOnlyPointer<base::samples::frame::Frame> hsv_frame;
37  RTT::extras::ReadOnlyPointer<base::samples::frame::Frame> hsv_v_frame;
38 
39  RTT::extras::ReadOnlyPointer<base::samples::frame::Frame> binary;
40  void init();
41 
42  public:
47  HSVSegmentationAndBlur(std::string const& name = "image_preprocessing::HSVSegmentationAndBlur", TaskCore::TaskState initial_state = Stopped);
48 
54  HSVSegmentationAndBlur(std::string const& name, RTT::ExecutionEngine* engine, TaskCore::TaskState initial_state = Stopped);
55 
59 
74  bool configureHook();
75 
81  bool startHook();
82 
97  void updateHook();
98 
105  void errorHook();
106 
110  void stopHook();
111 
116  void cleanupHook();
117  };
118 }
119 
120 #endif
121 
Definition: BaseTask.hpp:12
void cleanupHook()
Definition: HSVSegmentationAndBlur.cpp:282
RTT::extras::ReadOnlyPointer< base::samples::frame::Frame > out_frame
Definition: HSVSegmentationAndBlur.hpp:29
bool configureHook()
The following lines are template definitions for the various state machine.
Definition: HSVSegmentationAndBlur.cpp:56
RTT::extras::ReadOnlyPointer< base::samples::frame::Frame > hsv_v_frame
Definition: HSVSegmentationAndBlur.hpp:37
~HSVSegmentationAndBlur()
Definition: HSVSegmentationAndBlur.cpp:23
The task context provides and requires services. It uses an ExecutionEngine to perform its functions...
Definition: HSVSegmentationAndBlur.hpp:24
RTT::extras::ReadOnlyPointer< base::samples::frame::Frame > v_frame
Definition: HSVSegmentationAndBlur.hpp:31
void errorHook()
Definition: HSVSegmentationAndBlur.cpp:274
RTT::extras::ReadOnlyPointer< base::samples::frame::Frame > h_frame_debug
Definition: HSVSegmentationAndBlur.hpp:33
RTT::extras::ReadOnlyPointer< base::samples::frame::Frame > h_frame
Definition: HSVSegmentationAndBlur.hpp:30
void stopHook()
Definition: HSVSegmentationAndBlur.cpp:278
void init()
Definition: HSVSegmentationAndBlur.cpp:28
RTT::extras::ReadOnlyPointer< base::samples::frame::Frame > v_frame_debug
Definition: HSVSegmentationAndBlur.hpp:34
void updateHook()
Definition: HSVSegmentationAndBlur.cpp:70
RTT::extras::ReadOnlyPointer< base::samples::frame::Frame > in_frame
Definition: HSVSegmentationAndBlur.hpp:28
bool startHook()
Definition: HSVSegmentationAndBlur.cpp:62
RTT::extras::ReadOnlyPointer< base::samples::frame::Frame > s_frame
Definition: HSVSegmentationAndBlur.hpp:32
HSVSegmentationAndBlur(std::string const &name="image_preprocessing::HSVSegmentationAndBlur", TaskCore::TaskState initial_state=Stopped)
Definition: HSVSegmentationAndBlur.cpp:11
RTT::extras::ReadOnlyPointer< base::samples::frame::Frame > hsv_frame
Definition: HSVSegmentationAndBlur.hpp:36
RTT::extras::ReadOnlyPointer< base::samples::frame::Frame > s_frame_debug
Definition: HSVSegmentationAndBlur.hpp:35
friend class HSVSegmentationAndBlurBase
Definition: HSVSegmentationAndBlur.hpp:26
RTT::extras::ReadOnlyPointer< base::samples::frame::Frame > binary
Definition: HSVSegmentationAndBlur.hpp:39