State of an entity.
More...
#include <physics/State.hh>
State of an entity.
This is the base class for all State information.
gazebo::physics::State::State |
( |
| ) |
|
gazebo::physics::State::State |
( |
const std::string & |
_name, |
|
|
const common::Time & |
_realTime, |
|
|
const common::Time & |
_simTime |
|
) |
| |
Constructor.
Construct a State object using some basic information.
- Parameters
-
_name | Name associated with the State information. This is typically the name of an Entity. _realTime Clock time since simulation started. |
_simTime | Simulation time associated with this State info. |
virtual gazebo::physics::State::~State |
( |
| ) |
|
|
virtual |
std::string gazebo::physics::State::GetName |
( |
| ) |
const |
Get the name associated with this State.
- Returns
- Name associated with this state information. Typically a name of an Entity.
Get the real time when this state was generated.
- Returns
- Clock time since simulation was stated.
Get the sim time when this state was generated.
- Returns
- Simulation time when the data was recorded.
Get the wall time when this state was generated.
- Returns
- The absolute clock time when the State data was recorded.
std::string gazebo::physics::State::name |
|
protected |
Name associated with this State.
Times for the state data.
The documentation for this class was generated from the following file: