sonar_tritech
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
sonar_tritech::Profiling Class Reference

#include <Profiling.hpp>

Inheritance diagram for sonar_tritech::Profiling:

Public Member Functions

 Profiling (std::string const &name="sonar_tritech::Profiling")
 
bool configureHook ()
 The following lines are template definitions for the various state machine. More...
 
bool startHook ()
 
void processIO ()
 
void stopHook ()
 

Protected Member Functions

virtual bool setAcquisition_config (::sea_net::ProfilingAcquisitionConfig const &value)
 
void pushProfile ()
 

Protected Attributes

sea_net::Profiling profiling
 
base::samples::LaserScan laser_scan
 

Constructor & Destructor Documentation

◆ Profiling()

Profiling::Profiling ( std::string const &  name = "sonar_tritech::Profiling")

Member Function Documentation

◆ configureHook()

bool Profiling::configureHook ( )

The following lines are template definitions for the various state machine.

This hook is called by Orocos when the state machine transitions from PreOperational to Stopped. If it returns false, then the component will stay in PreOperational. Otherwise, it goes into Stopped.

It is meaningful only if the #needs_configuration has been specified in the task context definition with (for example):

task_context "TaskName" do needs_configuration ... end

◆ processIO()

void Profiling::processIO ( )

◆ pushProfile()

void Profiling::pushProfile ( )
protected

Push the last received scan out of the driver onto the laser scan port

It assumes that the driver just received a scan (i.e. this is usually called just after receiveData()

◆ setAcquisition_config()

bool Profiling::setAcquisition_config ( ::sea_net::ProfilingAcquisitionConfig const &  value)
protectedvirtual

◆ startHook()

bool Profiling::startHook ( )

This hook is called by Orocos when the state machine transitions from Stopped to Running. If it returns false, then the component will stay in Stopped. Otherwise, it goes into Running and updateHook() will be called.

◆ stopHook()

void Profiling::stopHook ( )

This hook is called by Orocos when the component is in the RunTimeError state, at each activity step. See the discussion in updateHook() about triggering options.

Call recovered() to go back in the Runtime state. This hook is called by Orocos when the state machine transitions from Running to Stopped after stop() has been called.

Member Data Documentation

◆ laser_scan

base::samples::LaserScan sonar_tritech::Profiling::laser_scan
protected

◆ profiling

sea_net::Profiling sonar_tritech::Profiling::profiling
protected

The documentation for this class was generated from the following files: