Public Member Functions | Protected Member Functions | Private Attributes
gazebo::UpdateTimer Class Reference

#include <update_timer.h>

List of all members.

Public Member Functions

virtual bool checkUpdate () const
virtual event::ConnectionPtr Connect (const boost::function< void()> &_subscriber, bool connectToWorldUpdateBegin=true)
virtual void Disconnect (event::ConnectionPtr const &_c=event::ConnectionPtr())
common::Time const & getLastUpdate () const
common::Time getTimeSinceLastUpdate () const
common::Time const & getUpdatePeriod () const
double getUpdateRate () const
virtual void Load (physics::WorldPtr _world, sdf::ElementPtr _sdf, const std::string &_prefix="update")
virtual void Reset ()
void setUpdatePeriod (common::Time const &period)
void setUpdateRate (double rate)
virtual bool update ()
virtual bool update (double &dt)
 UpdateTimer ()
virtual ~UpdateTimer ()

Protected Member Functions

virtual bool Update ()

Private Attributes

unsigned int connection_count_
common::Time last_update_
event::ConnectionPtr update_connection_
event::EventT< void()> update_event_
common::Time update_offset_
common::Time update_period_
physics::WorldPtr world_

Detailed Description

Definition at line 41 of file update_timer.h.


Constructor & Destructor Documentation

Definition at line 43 of file update_timer.h.

virtual gazebo::UpdateTimer::~UpdateTimer ( ) [inline, virtual]

Definition at line 48 of file update_timer.h.


Member Function Documentation

virtual bool gazebo::UpdateTimer::checkUpdate ( ) const [inline, virtual]

Definition at line 117 of file update_timer.h.

virtual event::ConnectionPtr gazebo::UpdateTimer::Connect ( const boost::function< void()> &  _subscriber,
bool  connectToWorldUpdateBegin = true 
) [inline, virtual]

Definition at line 71 of file update_timer.h.

virtual void gazebo::UpdateTimer::Disconnect ( event::ConnectionPtr const &  _c = event::ConnectionPtr()) [inline, virtual]

Definition at line 81 of file update_timer.h.

common::Time const& gazebo::UpdateTimer::getLastUpdate ( ) const [inline]

Definition at line 108 of file update_timer.h.

common::Time gazebo::UpdateTimer::getTimeSinceLastUpdate ( ) const [inline]

Definition at line 112 of file update_timer.h.

common::Time const& gazebo::UpdateTimer::getUpdatePeriod ( ) const [inline]

Definition at line 91 of file update_timer.h.

double gazebo::UpdateTimer::getUpdateRate ( ) const [inline]

Definition at line 99 of file update_timer.h.

virtual void gazebo::UpdateTimer::Load ( physics::WorldPtr  _world,
sdf::ElementPtr  _sdf,
const std::string &  _prefix = "update" 
) [inline, virtual]

Definition at line 52 of file update_timer.h.

virtual void gazebo::UpdateTimer::Reset ( ) [inline, virtual]

Definition at line 139 of file update_timer.h.

void gazebo::UpdateTimer::setUpdatePeriod ( common::Time const &  period) [inline]

Definition at line 95 of file update_timer.h.

void gazebo::UpdateTimer::setUpdateRate ( double  rate) [inline]

Definition at line 104 of file update_timer.h.

virtual bool gazebo::UpdateTimer::update ( ) [inline, virtual]

Definition at line 126 of file update_timer.h.

virtual bool gazebo::UpdateTimer::update ( double &  dt) [inline, virtual]

Definition at line 133 of file update_timer.h.

virtual bool gazebo::UpdateTimer::Update ( ) [inline, protected, virtual]

Definition at line 145 of file update_timer.h.


Member Data Documentation

Definition at line 162 of file update_timer.h.

common::Time gazebo::UpdateTimer::last_update_ [private]

Definition at line 159 of file update_timer.h.

Definition at line 163 of file update_timer.h.

event::EventT<void()> gazebo::UpdateTimer::update_event_ [private]

Definition at line 161 of file update_timer.h.

common::Time gazebo::UpdateTimer::update_offset_ [private]

Definition at line 158 of file update_timer.h.

common::Time gazebo::UpdateTimer::update_period_ [private]

Definition at line 157 of file update_timer.h.

physics::WorldPtr gazebo::UpdateTimer::world_ [private]

Definition at line 156 of file update_timer.h.


The documentation for this class was generated from the following file:


hector_gazebo_plugins
Author(s): Stefan Kohlbrecher , Johannes Meyer
autogenerated on Wed Aug 26 2015 11:44:36