Class Request¶
Defined in File Request.hpp
Class Documentation¶
-
class
rmf_task
::
Request
¶ Public Functions
-
Request
(const std::string &id, rmf_traffic::Time earliest_start_time, ConstPriorityPtr priority, Task::ConstDescriptionPtr description, bool automatic = false)¶ Constructor
- Parameters
[in] earliest_start_time
: The desired start time for this request[in] priority
: The priority for this request. This is provided by the Priority Scheme. For requests that do not have any priority this is a nullptr.[in] description
: The description for this request[in] automatic
: True if this request is auto-generated
-
Request
(Task::ConstBookingPtr booking, Task::ConstDescriptionPtr description)¶ Constructor
- Parameters
[in] booking
: Booking information for this request[in] description
: Description for this request
-
const Task::ConstBookingPtr &
booking
() const¶ Get the tag of this request.
-
const Task::ConstDescriptionPtr &
description
() const¶ Get the description of this request.
-