#include <ElevatorPluginPrivate.hh>
Public Member Functions | |
State () | |
Constructor. More... | |
virtual | ~State ()=default |
Destructor. More... | |
virtual void | Start () |
Used to start a state. More... | |
virtual bool | Update () |
Used to update a state. More... | |
Public Attributes | |
std::string | name |
State name. More... | |
Protected Attributes | |
bool | started |
True when started. More... | |
State base class.
|
inline |
Constructor.
|
virtualdefault |
Destructor.
|
inlinevirtual |
Used to start a state.
Reimplemented in gazebo::ElevatorPluginPrivate::WaitState, gazebo::ElevatorPluginPrivate::MoveState, gazebo::ElevatorPluginPrivate::OpenState, and gazebo::ElevatorPluginPrivate::CloseState.
|
inlinevirtual |
Used to update a state.
Reimplemented in gazebo::ElevatorPluginPrivate::WaitState, gazebo::ElevatorPluginPrivate::MoveState, gazebo::ElevatorPluginPrivate::OpenState, and gazebo::ElevatorPluginPrivate::CloseState.
std::string gazebo::ElevatorPluginPrivate::State::name |
State name.
|
protected |
True when started.