Maintains a set of tasks and executes them in sequence.
More...
#include <pearl/CompoundTask.h>
A CompoundTask maintains a list of subtasks and executes them in the order they were added. Subtasks can be added with CompoundTask::add_task().
CompoundTask takes ownership of the task objects associated with it and will automatically free them on destruction.
◆ CompoundTask()
pearl::CompoundTask::CompoundTask |
( |
| ) |
|
◆ ~CompoundTask()
virtual pearl::CompoundTask::~CompoundTask |
( |
| ) |
|
|
virtual |
◆ add_task()
void pearl::CompoundTask::add_task |
( |
Task * |
task | ) |
|
◆ current_step()
uint32_t pearl::CompoundTask::current_step |
( |
| ) |
const |
◆ execute()
virtual bool pearl::CompoundTask::execute |
( |
| ) |
|
|
virtual |
◆ finish()
virtual bool pearl::CompoundTask::finish |
( |
| ) |
|
|
protectedvirtual |
◆ num_steps()
uint32_t pearl::CompoundTask::num_steps |
( |
| ) |
const |
◆ prepare()
virtual bool pearl::CompoundTask::prepare |
( |
| ) |
|
|
protectedvirtual |
The documentation for this class was generated from the following file: