State used to open the elevator door. More...
#include <ElevatorPluginPrivate.hh>

Public Member Functions | |
| OpenState (ElevatorPluginPrivate::DoorController *_ctrl) | |
| 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 | |
| ElevatorPluginPrivate::DoorController * | ctrl |
| Pointer to the door controller. 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 open the elevator door.
| gazebo::ElevatorPluginPrivate::OpenState::OpenState | ( | ElevatorPluginPrivate::DoorController * | _ctrl | ) |
Constructor.
| [in] | _ctrl | Elevator door controller |
|
virtual |
Used to start a state.
Reimplemented from gazebo::ElevatorPluginPrivate::State.
|
virtual |
Used to update a state.
Reimplemented from gazebo::ElevatorPluginPrivate::State.
| ElevatorPluginPrivate::DoorController* gazebo::ElevatorPluginPrivate::OpenState::ctrl |
Pointer to the door controller.