State used to make the elevator wait. More...
#include <ElevatorPluginPrivate.hh>
Public Member Functions | |
WaitState (const common::Time &_waitTime) | |
Constructor. More... | |
virtual void | Start () |
Used to start a state. More... | |
virtual bool | Update () |
Used to update a state. More... | |
Public Member Functions inherited from gazebo::ElevatorPluginPrivate::State | |
State () | |
Constructor. More... | |
virtual | ~State ()=default |
Destructor. More... | |
Public Attributes | |
common::Timer | waitTimer |
Timer to hold the door open. More... | |
Public Attributes inherited from gazebo::ElevatorPluginPrivate::State | |
std::string | name |
State name. More... | |
Additional Inherited Members | |
Protected Attributes inherited from gazebo::ElevatorPluginPrivate::State | |
bool | started |
True when started. More... | |
State used to make the elevator wait.
gazebo::ElevatorPluginPrivate::WaitState::WaitState | ( | const common::Time & | _waitTime | ) |
Constructor.
[in] | _waitTime | Length of the wait state |
|
virtual |
Used to start a state.
Reimplemented from gazebo::ElevatorPluginPrivate::State.
|
virtual |
Used to update a state.
Reimplemented from gazebo::ElevatorPluginPrivate::State.
common::Timer gazebo::ElevatorPluginPrivate::WaitState::waitTimer |
Timer to hold the door open.