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>

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.

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: