$search
#include <Test.hpp>
Public Member Functions | |
bool | startHook () |
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 |
Definition at line 7 of file Test.hpp.
numerics::Test::Test | ( | std::string const & | name = "numerics::Test" , |
|
TaskCore::TaskState | initial_state = Stopped | |||
) |
void numerics::Test::m2 | ( | int | a, | |
unsigned int | b | |||
) | [protected] |
void numerics::Test::m3 | ( | double | d | ) | [protected] |
void numerics::Test::m4 | ( | numerics::Bla const & | e | ) | [protected] |
bool numerics::Test::startHook | ( | ) |
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.