image_preprocessing
DepthImage2Pointcloud.hpp
Go to the documentation of this file.
1 /* Generated from orogen/lib/orogen/templates/tasks/Task.hpp */
2 
3 #ifndef IMAGE_PREPROCESSING_DEPTHIMAGE2POINTCLOUD_TASK_HPP
4 #define IMAGE_PREPROCESSING_DEPTHIMAGE2POINTCLOUD_TASK_HPP
5 
6 #include "image_preprocessing/DepthImage2PointcloudBase.hpp"
7 
8 namespace image_preprocessing {
9 
24  class DepthImage2Pointcloud : public DepthImage2PointcloudBase
25  {
27  protected:
28  ::RTT::extras::ReadOnlyPointer< ::base::samples::frame::Frame > color_frame;
29 
30  virtual void color_frameCallback(const base::Time &ts, const ::RTT::extras::ReadOnlyPointer< ::base::samples::frame::Frame > &color_frame_sample);
31 
32  virtual void frameCallback(const base::Time &ts, const ::RTT::extras::ReadOnlyPointer< ::base::samples::DistanceImage > &frame_sample);
33 
34  public:
39  DepthImage2Pointcloud(std::string const& name = "image_preprocessing::DepthImage2Pointcloud");
40 
46  DepthImage2Pointcloud(std::string const& name, RTT::ExecutionEngine* engine);
47 
51 
66  bool configureHook();
67 
73  bool startHook();
74 
89  void updateHook();
90 
97  void errorHook();
98 
102  void stopHook();
103 
108  void cleanupHook();
109  };
110 }
111 
112 #endif
113 
Definition: BaseTask.hpp:12
void updateHook()
Definition: DepthImage2Pointcloud.cpp:82
void errorHook()
Definition: DepthImage2Pointcloud.cpp:86
~DepthImage2Pointcloud()
Definition: DepthImage2Pointcloud.cpp:17
friend class DepthImage2PointcloudBase
Definition: DepthImage2Pointcloud.hpp:26
bool configureHook()
The following lines are template definitions for the various state machine.
Definition: DepthImage2Pointcloud.cpp:70
virtual void color_frameCallback(const base::Time &ts, const ::RTT::extras::ReadOnlyPointer< ::base::samples::frame::Frame > &color_frame_sample)
Definition: DepthImage2Pointcloud.cpp:21
void cleanupHook()
Definition: DepthImage2Pointcloud.cpp:94
The task context provides and requires services. It uses an ExecutionEngine to perform its functions...
Definition: DepthImage2Pointcloud.hpp:24
DepthImage2Pointcloud(std::string const &name="image_preprocessing::DepthImage2Pointcloud")
Definition: DepthImage2Pointcloud.cpp:7
void stopHook()
Definition: DepthImage2Pointcloud.cpp:90
bool startHook()
Definition: DepthImage2Pointcloud.cpp:76
::RTT::extras::ReadOnlyPointer< ::base::samples::frame::Frame > color_frame
Definition: DepthImage2Pointcloud.hpp:28
virtual void frameCallback(const base::Time &ts, const ::RTT::extras::ReadOnlyPointer< ::base::samples::DistanceImage > &frame_sample)
Definition: DepthImage2Pointcloud.cpp:26