sonar_tritech
Profiling.hpp
Go to the documentation of this file.
1 /* Generated from orogen/lib/orogen/templates/tasks/Task.hpp */
2 
3 #ifndef SONAR_DRIVER_PROFILING_TASK_HPP
4 #define SONAR_DRIVER_PROFILING_TASK_HPP
5 
6 #include "sonar_tritech/ProfilingBase.hpp"
7 #include <sonar_tritech/SeaNetProfiling.hpp>
8 #include <iodrivers_base/Timeout.hpp>
9 
10 namespace sonar_tritech {
11  class Profiling : public ProfilingBase
12  {
13  protected:
14  sea_net::Profiling profiling;
15  base::samples::LaserScan laser_scan;
16 
17  /* Dynamic Property setter of config
18  */
19  virtual bool setAcquisition_config(::sea_net::ProfilingAcquisitionConfig const & value);
20 
27  void pushProfile();
28 
29  public:
30  Profiling(std::string const& name = "sonar_tritech::Profiling");
31 
45  bool configureHook();
46 
52  bool startHook();
53 
54  void processIO();
55 
62  // void errorHook();
63 
67  void stopHook();
68 
73  // void cleanupHook();
74 
75  private:
76  bool hasAcquisitionTimeout;
77  iodrivers_base::Timeout timeoutAcquisition;
78  };
79 }
80 
81 #endif
82 
void pushProfile()
Definition: Profiling.cpp:13
void processIO()
Definition: Profiling.cpp:76
sea_net::Profiling profiling
Definition: Profiling.hpp:14
bool configureHook()
The following lines are template definitions for the various state machine.
Definition: Profiling.cpp:39
bool startHook()
Definition: Profiling.cpp:56
virtual bool setAcquisition_config(::sea_net::ProfilingAcquisitionConfig const &value)
Definition: Profiling.cpp:21
Profiling(std::string const &name="sonar_tritech::Profiling")
Definition: Profiling.cpp:8
Definition: Profiling.hpp:11
base::samples::LaserScan laser_scan
Definition: Profiling.hpp:15
Definition: Echosounder.hpp:12
void stopHook()
Definition: Profiling.cpp:90