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 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:
lift_name – [in] Name of the lift that this door belongs to.
floor_name – [in] Name of the floor that this door belongs to.
duration – [in] 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.
-
LiftSession(std::string lift_name, std::string floor_name, Duration duration)