|
| SimpleTaskManagement (const AmrDescription &amr_description, const Topology &topology, const daisi::util::Pose &pose) |
|
Metrics | getFinalMetrics () const |
| return the metrics of the final order contained in the last task that has been added to the management
|
|
daisi::util::Position | getExpectedEndPosition () const |
| return the end position after executing the final task in the queue
|
|
bool | hasTasks () const override |
| check wether the task management has a current task assigned
|
|
daisi::material_flow::Task | getCurrentTask () const override |
| get the current task
|
|
bool | setNextTask () override |
| replace the current task with the first task stored in the management's queue
|
|
bool | canAddTask (const daisi::material_flow::Task &task) override |
| check wether a new task can be added to the management's queue
|
|
bool | addTask (const daisi::material_flow::Task &task) override |
| insert a task into the management's queue. Update the current metrics and end location.
|
|
void | setCurrentTime (const daisi::util::Duration &now) |
|
| TaskManagement (AmrDescription amr_description, Topology topology, const daisi::util::Pose &pose) |
|
void | addNotifyTaskAssignmentCallback (std::function< void(void)> callback) |
|
void | clearNotifyTaskAssignmentCallback () |
|
◆ addTask()
insert a task into the management's queue. Update the current metrics and end location.
- Returns
- true if the insertion was successful, false otherwise
Implements daisi::cpps::logical::TaskManagement.
◆ canAddTask()
◆ getCurrentTask()
Task daisi::cpps::logical::SimpleTaskManagement::getCurrentTask |
( |
| ) |
const |
|
overridevirtual |
◆ hasTasks()
bool daisi::cpps::logical::SimpleTaskManagement::hasTasks |
( |
| ) |
const |
|
overridevirtual |
◆ setNextTask()
bool daisi::cpps::logical::SimpleTaskManagement::setNextTask |
( |
| ) |
|
|
overridevirtual |
replace the current task with the first task stored in the management's queue
- Returns
- true if the new assignment of current task was successful, false if there were no more tasks in the management's queue
Implements daisi::cpps::logical::TaskManagement.
The documentation for this class was generated from the following files:
- daisi/src/cpps/logical/task_management/simple_task_management.h
- daisi/src/cpps/logical/task_management/simple_task_management.cpp