56 public:
State(
const std::string &_name,
59 const uint64_t _iterations);
68 public:
virtual void Load(
const sdf::ElementPtr _elem);
88 public:
void SetName(
const std::string &_name);
131 protected: uint64_t iterations = 0;
default namespace for gazebo
A Time class, can be used to hold wall- or sim-time.
Definition Time.hh:48
State of an entity.
Definition State.hh:44
virtual void SetRealTime(const common::Time &_time)
Set the real time when this state was generated.
virtual void SetSimTime(const common::Time &_time)
Set the sim time when this state was generated.
uint64_t iterations
The number of simulation iterations when this state was generated.
Definition State.hh:131
void SetName(const std::string &_name)
Set the name associated with this State.
common::Time wallTime
Times for the state data.
Definition State.hh:127
virtual void SetWallTime(const common::Time &_time)
Set the wall time when this state was generated.
State & operator=(const State &_state)
Assignment operator.
State()
Default constructor.
uint64_t GetIterations() const
Get the iterations when this state was generated.
virtual ~State()
Destructor.
std::string GetName() const
Get the name associated with this State.
std::string name
Name associated with this State.
Definition State.hh:124
common::Time GetRealTime() const
Get the real time when this state was generated.
common::Time GetSimTime() const
Get the sim time when this state was generated.
common::Time GetWallTime() const
Get the wall time when this state was generated.
virtual void Load(const sdf::ElementPtr _elem)
Load state from SDF element.
common::Time simTime
Definition State.hh:127
virtual void SetIterations(const uint64_t _iterations)
Set the iterations when this state was generated.
common::Time realTime
Definition State.hh:127
State(const std::string &_name, const common::Time &_realTime, const common::Time &_simTime, const uint64_t _iterations)
Constructor.
State operator-(const State &_state) const
Subtraction operator.
Forward declarations for the common classes.
Definition Animation.hh:27