All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
gazebo::sensors::SimTimeEventHandler Class Reference

Monitors simulation time, and notifies conditions when a specified time has been reached. More...

#include <SensorManager.hh>

Inheritance diagram for gazebo::sensors::SimTimeEventHandler:
Inheritance graph
[legend]

Public Member Functions

 SimTimeEventHandler ()
 Constructor.
 
virtual ~SimTimeEventHandler ()
 Destructor.
 
void AddRelativeEvent (const common::Time &_time, boost::condition_variable *_var)
 Add a new event to the handler.
 

Additional Inherited Members

- Static Public Member Functions inherited from SingletonT< T >
static T * Instance ()
 Get an instance of the singleton.
 
- Protected Member Functions inherited from SingletonT< T >
 SingletonT ()
 Constructor.
 
virtual ~SingletonT ()
 Destructor.
 

Detailed Description

Monitors simulation time, and notifies conditions when a specified time has been reached.

Constructor & Destructor Documentation

gazebo::sensors::SimTimeEventHandler::SimTimeEventHandler ( )

Constructor.

virtual gazebo::sensors::SimTimeEventHandler::~SimTimeEventHandler ( )
virtual

Destructor.

Member Function Documentation

void gazebo::sensors::SimTimeEventHandler::AddRelativeEvent ( const common::Time _time,
boost::condition_variable *  _var 
)

Add a new event to the handler.

Parameters
[in]_timeTime of the new event. The current sim time will be add to this time.
[in]_varCondition to notify when the time has been reached.

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