|
transformer
|
The task context provides and requires services. It uses an ExecutionEngine to perform its functions. Essential interfaces are operations, data flow ports and properties. These interfaces have been defined using the oroGen specification. In order to modify the interfaces you should (re)use oroGen and rely on the associated workflow. More...
#include <Task.hpp>
Public Member Functions | |
| Task (std::string const &name="transformer::Task", TaskCore::TaskState initial_state=Stopped) | |
| Task (std::string const &name, RTT::ExecutionEngine *engine, TaskCore::TaskState initial_state=Stopped) | |
| ~Task () | |
Protected Member Functions | |
| virtual void | setConfiguration (::transformer::ConfigurationState const &configuration) |
Friends | |
| class | TaskBase |
The task context provides and requires services. It uses an ExecutionEngine to perform its functions. Essential interfaces are operations, data flow ports and properties. These interfaces have been defined using the oroGen specification. In order to modify the interfaces you should (re)use oroGen and rely on the associated workflow.
The name of a TaskContext is primarily defined via:
deployment 'deployment_name'
task('custom_task_name','transformer::Task')
end
It can be dynamically adapted when the deployment is called with a prefix argument.
| Task::Task | ( | std::string const & | name = "transformer::Task", |
| TaskCore::TaskState | initial_state = Stopped |
||
| ) |
TaskContext constructor for Task
| name | Name of the task. This name needs to be unique to make it identifiable via nameservices. |
| initial_state | The initial TaskState of the TaskContext. Default is Stopped state. |
| Task::Task | ( | std::string const & | name, |
| RTT::ExecutionEngine * | engine, | ||
| TaskCore::TaskState | initial_state = Stopped |
||
| ) |
TaskContext constructor for Task
| name | Name of the task. This name needs to be unique to make it identifiable for nameservices. |
| engine | The RTT Execution engine to be used for this task, which serialises the execution of all commands, programs, state machines and incoming events for a task. |
| initial_state | The initial TaskState of the TaskContext. Default is Stopped state. |
| Task::~Task | ( | ) |
Default deconstructor of Task
|
protectedvirtual |
|
friend |
1.8.13