Class Lane::Door
Defined in File Graph.hpp
Nested Relationships
This class is a nested type of Class Graph::Lane.
Inheritance Relationships
Derived Types
public rmf_traffic::agv::Graph::Lane::DoorClose
(Class Lane::DoorClose)public rmf_traffic::agv::Graph::Lane::DoorOpen
(Class Lane::DoorOpen)
Class Documentation
-
class Door
A door in the graph which needs to be opened before a robot can enter a certain lane or closed before the robot can exit the lane.
Subclassed by rmf_traffic::agv::Graph::Lane::DoorClose, rmf_traffic::agv::Graph::Lane::DoorOpen
Public Functions
-
Door(std::string name, Duration duration)
Constructor
- Parameters:
name – [in] Unique name of the door.
duration – [in] How long the door takes to open or close.
-
const std::string &name() const
Get the unique name (ID) of this Door.
-
Duration duration() const
Get the duration incurred by waiting for this door to open or close.
-
Door(std::string name, Duration duration)