Class DependsOnPlan

Nested Relationships

Nested Types

Class Documentation

class 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.

std::optional<PlanId> plan() const

Get 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

Public Members

RouteId on_route
CheckpointId on_checkpoint