Class RobotUpdateHandle::Commission
Defined in File RobotUpdateHandle.hpp
Nested Relationships
This class is a nested type of Class RobotUpdateHandle.
Class Documentation
-
class Commission
A description of whether the robot should accept dispatched and/or direct tasks.
Public Functions
-
Commission()
Construct a Commission description with all default values.
accept_dispatched_tasks: true
accept_direct_tasks: true
is_performing_idle_behavior: true
-
Commission &accept_dispatched_tasks(bool decision = true)
Set whether this commission should accept dispatched tasks.
-
bool is_accepting_dispatched_tasks() const
Check whether this commission is accepting dispatched tasks.
-
Commission &accept_direct_tasks(bool decision = true)
Set whether this commission should accept direct tasks.
-
bool is_accepting_direct_tasks() const
Check whether this commission is accepting direct tasks.
-
Commission &perform_idle_behavior(bool decision = true)
Set whether this commission should perform idle behaviors (formerly referred to as “finishing tasks”).
-
bool is_performing_idle_behavior() const
Check whether this commission is performing idle behaviors (formerly referred to as “finishing tasks”).
Public Static Functions
-
static Commission decommission()
Construct a Commission description that accepts no tasks at all.
accept_dispatch_tasks: false
accept_direct_tasks: false
is_performing_idle_behavior: false
-
Commission()