Class Lane::LiftSession¶
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::LiftDoorOpen
(Class Lane::LiftDoorOpen)public rmf_traffic::agv::Graph::Lane::LiftMove
(Class Lane::LiftMove)public rmf_traffic::agv::Graph::Lane::LiftSessionBegin
(Class Lane::LiftSessionBegin)public rmf_traffic::agv::Graph::Lane::LiftSessionEnd
(Class Lane::LiftSessionEnd)
Class Documentation¶
-
class
rmf_traffic::agv::Graph::Lane
::
LiftSession
A lift 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::LiftDoorOpen, rmf_traffic::agv::Graph::Lane::LiftMove, rmf_traffic::agv::Graph::Lane::LiftSessionBegin, rmf_traffic::agv::Graph::Lane::LiftSessionEnd
Public Functions
-
LiftSession
(std::string lift_name, std::string floor_name, Duration duration) Constructor
- Parameters
[in] lift_name
: Name of the lift that this door belongs to.[in] floor_name
: Name of the floor that this door belongs to.[in] duration
: How long the door takes to open or close.
-
const std::string &
lift_name
() const Get the name of the lift that the door belongs to.
-
LiftSession &
lift_name
(std::string name) Set the name of the lift that the door belongs to.
-
const std::string &
floor_name
() const Get the name of the floor that this door is on.
-
LiftSession &
floor_name
(std::string name) Set the name of the floor that this door is on.
-
Duration
duration
() const Get an estimate of how long it will take the door to open or close.
-
LiftSession &
duration
(Duration duration) Set an estimate of how long it will take the door to open or close.
-