SOLA
|
Public Member Functions | |
TaskManagement (AmrDescription amr_description, Topology topology, const daisi::util::Pose &pose) | |
virtual bool | hasTasks () const =0 |
check wether the task management has a current task assigned | |
virtual daisi::material_flow::Task | getCurrentTask () const =0 |
get the current task | |
virtual bool | setNextTask ()=0 |
replace the current task with the first task stored in the management's queue | |
virtual bool | canAddTask (const daisi::material_flow::Task &task)=0 |
check wether a new task can be added to the management's queue | |
virtual bool | addTask (const daisi::material_flow::Task &task)=0 |
insert a task into the management's queue. | |
void | addNotifyTaskAssignmentCallback (std::function< void(void)> callback) |
void | clearNotifyTaskAssignmentCallback () |
Protected Attributes | |
std::vector< std::function< void(void)> > | task_assignment_callbacks_ |
AmrDescription | amr_description_ |
Topology | topology_ |
daisi::util::Pose | current_pose_ |
|
pure virtual |
insert a task into the management's queue.
Implemented in daisi::cpps::logical::AuctionBasedTaskManagement, and daisi::cpps::logical::SimpleTaskManagement.
|
pure virtual |
check wether a new task can be added to the management's queue
Implemented in daisi::cpps::logical::AuctionBasedTaskManagement, and daisi::cpps::logical::SimpleTaskManagement.
|
pure virtual |
get the current task
Implemented in daisi::cpps::logical::SimpleTaskManagement, and daisi::cpps::logical::StnTaskManagement.
|
pure virtual |
check wether the task management has a current task assigned
Implemented in daisi::cpps::logical::SimpleTaskManagement, and daisi::cpps::logical::StnTaskManagement.
|
pure virtual |
replace the current task with the first task stored in the management's queue
Implemented in daisi::cpps::logical::SimpleTaskManagement, and daisi::cpps::logical::StnTaskManagement.