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. |
Monitors simulation time, and notifies conditions when a specified time has been reached.
gazebo::sensors::SimTimeEventHandler::SimTimeEventHandler | ( | ) |
Constructor.
|
virtual |
Destructor.
void gazebo::sensors::SimTimeEventHandler::AddRelativeEvent | ( | const common::Time & | _time, |
boost::condition_variable * | _var | ||
) |
Add a new event to the handler.
[in] | _time | Time of the new event. The current sim time will be add to this time. |
[in] | _var | Condition to notify when the time has been reached. |