Class DependsOnPlan¶
Defined in File Route.hpp
Nested Relationships¶
Nested Types¶
Class Documentation¶
-
class
rmf_traffic
::
DependsOnPlan
¶ Express a dependency on the plan of another traffic participant.
Public Functions
-
DependsOnPlan
()¶ Default constructor. There will be no dependency.
-
DependsOnPlan
(PlanId plan, DependsOnRoute routes)¶ There will be a dependency on the specified plan.
-
DependsOnPlan &
plan
(std::optional<PlanId> plan)¶ Set the plan that there is a dependency on.
-
DependsOnPlan &
routes
(DependsOnRoute routes)¶ Set the routes that there is a dependency on.
-
DependsOnRoute &
routes
()¶ Get the routes that there is a dependency on.
-
const DependsOnRoute &
routes
() const¶ Get the routes that there is a dependency on.
-
DependsOnPlan &
add_dependency
(CheckpointId dependent_checkpoint, Dependency dependency)¶ Add a dependency.
-
struct
Dependency
¶
-