#include <Test.hpp>
Public Member Functions | |
bool | startHook () |
The following lines are template definitions for the various state machine. | |
Test (std::string const &name="numerics::Test", TaskCore::TaskState initial_state=Stopped) | |
Protected Member Functions | |
void | m2 (int a, unsigned int b) |
void | m3 (double d) |
void | m4 (numerics::Bla const &e) |
Friends | |
class | TestBase |
Test::Test | ( | std::string const & | name = "numerics::Test" , |
TaskCore::TaskState | initial_state = Stopped |
||
) |
void Test::m4 | ( | numerics::Bla const & | e | ) | [protected] |
bool Test::startHook | ( | ) |
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 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.