Gazebo Gazebo

API Reference

6.16.0
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. More...
 

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

Detailed Description

State at which the elevator is waiting with a door open.

Member Typedef Documentation

◆ deferred_events

This state defers EnqueueNewTargetEvent events.

Member Function Documentation

◆ on_enter()

void on_enter ( const Event &  ,
FSM &  _fsm 
)
inline

Starts the timer that keeps the door at the target floor level open.

Parameters
[in]_fsmState machine to which the state belongs

References std::bind(), std::endl(), and ignmsg.


The documentation for this struct was generated from the following file: