Class Task::Booking

Nested Relationships

This class is a nested type of Class Task.

Class Documentation

class rmf_task::Task::Booking

Basic information about how the task was booked, e.g. what its name is, when it should start, and what its priority is.

Public Functions

Booking(std::string id_, rmf_traffic::Time earliest_start_time_, ConstPriorityPtr priority_, bool automatic_ = false)

Constructor

Parameters
  • [in] id_: The identity of the booking

  • [in] earliest_start_time_: The earliest time that the task may begin

  • [in] priority_: The priority of the booking

  • [in] automatic_: Whether this booking was automatically generated

const std::string &id() const

The unique id for this booking.

rmf_traffic::Time earliest_start_time() const

Get the earliest time that this booking may begin.

ConstPriorityPtr priority() const

Get the priority of this booking.

bool automatic() const