ElevatorStateMachineDef::WaitState Struct Reference
State at which the elevator is waiting with a door open. More...
#include <StatesImpl.hh>
Public Types | |
| using | deferred_events = type_tuple< events::EnqueueNewTarget > | 
| This state defers EnqueueNewTargetEvent events.   | |
Public Member Functions | |
| template<typename Event , typename FSM > | |
| void | on_enter (const Event &, FSM &_fsm) | 
| Starts the timer that keeps the door at the target floor level open.   | |
Detailed Description
State at which the elevator is waiting with a door open.
Member Typedef Documentation
◆ deferred_events
| using deferred_events = type_tuple<events::EnqueueNewTarget> | 
This state defers EnqueueNewTargetEvent events.
Member Function Documentation
◆ on_enter()
template<typename Event , typename FSM > 
      
  | 
  inline | 
Starts the timer that keeps the door at the target floor level open.
- Parameters
 - 
  
[in] _fsm State machine to which the state belongs  
References std::bind(), std::endl(), and gzmsg.
The documentation for this struct was generated from the following file: