pressure_paroscientific
Public Member Functions | Protected Attributes | Friends | List of all members
pressure_paroscientific::Task Class Reference

#include <Task.hpp>

Inheritance diagram for pressure_paroscientific::Task:

Public Member Functions

 Task (std::string const &name="pressure_paroscientific::Task")
 
 Task (std::string const &name, RTT::ExecutionEngine *engine)
 
 ~Task ()
 
bool configureHook ()
 The following lines are template definitions for the various state machine. More...
 
bool startHook ()
 
void processIO ()
 

Protected Attributes

Driver * mDriver
 

Friends

class TaskBase
 

Constructor & Destructor Documentation

Task::Task ( std::string const &  name = "pressure_paroscientific::Task")
Task::Task ( std::string const &  name,
RTT::ExecutionEngine *  engine 
)
Task::~Task ( )

Member Function Documentation

bool Task::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
void Task::processIO ( )
bool Task::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.

Friends And Related Function Documentation

friend class TaskBase
friend

Member Data Documentation

Driver* pressure_paroscientific::Task::mDriver
protected

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