mars
DepthCamera.hpp
Go to the documentation of this file.
1 /* Generated from orogen/lib/orogen/templates/tasks/Task.hpp */
2 
3 #ifndef SIMULATION_MARSDEPTHCAMERA_TASK_HPP
4 #define SIMULATION_MARSDEPTHCAMERA_TASK_HPP
5 
6 #include "mars/DepthCameraBase.hpp"
7 
8 namespace mars {
9 
16  class DepthCamera : public DepthCameraBase
17  {
18  friend class DepthCameraBase;
19  protected:
20  base::samples::DistanceImage *image;
21  RTT::extras::ReadOnlyPointer<base::samples::DistanceImage> ro_ptr;
22 
23 
24 
25  public:
30  DepthCamera(std::string const& name = "mars::DepthCamera");
31 
37  DepthCamera(std::string const& name, RTT::ExecutionEngine* engine);
38 
41  ~DepthCamera();
42 
57  bool configureHook();
58 
64  bool startHook();
65 
80  void updateHook();
81 
88  void errorHook();
89 
93  void stopHook();
94 
99  void cleanupHook();
100 
101  virtual void getData();
102  };
103 }
104 
105 #endif
106 
void cleanupHook()
Definition: DepthCamera.cpp:58
void stopHook()
Definition: DepthCamera.cpp:53
virtual void getData()
Definition: DepthCamera.cpp:63
void updateHook()
Definition: DepthCamera.cpp:43
DepthCamera(std::string const &name="mars::DepthCamera")
Definition: DepthCamera.cpp:7
bool configureHook()
The following lines are template definitions for the various state machine.
Definition: DepthCamera.cpp:24
RTT::extras::ReadOnlyPointer< base::samples::DistanceImage > ro_ptr
Definition: DepthCamera.hpp:21
void errorHook()
Definition: DepthCamera.cpp:48
Definition: jointTypes.hpp:9
Definition: DepthCamera.hpp:16
~DepthCamera()
Definition: DepthCamera.cpp:17
friend class DepthCameraBase
Definition: DepthCamera.hpp:18
base::samples::DistanceImage * image
Definition: DepthCamera.hpp:20
bool startHook()
Definition: DepthCamera.cpp:32