Namespaces | |
namespace | gazebo::event |
Event namespace. | |
Classes | |
class | gazebo::event::Connection |
A class that encapsulates a connection. More... | |
class | gazebo::event::Event |
Base class for all events. More... | |
class | gazebo::event::Events |
An Event class to get notifications for simulator events. More... | |
class | gazebo::event::EventT< T > |
A class for event processing. More... | |
Functions | |
virtual | gazebo::event::EventT< T >::~EventT () |
Destructor. More... | |
ConnectionPtr | gazebo::event::EventT< T >::Connect (const boost::function< T > &_subscriber) |
Connect a callback to this event. More... | |
unsigned int | gazebo::event::EventT< T >::ConnectionCount () const |
Get the number of connections. More... | |
virtual void | gazebo::event::EventT< T >::Disconnect (ConnectionPtr _c) |
Disconnect a callback to this event. More... | |
virtual void | gazebo::event::EventT< T >::Disconnect (int _id) |
Disconnect a callback to this event. More... | |
|
virtual |
Destructor.
Destructor. Deletes all the associated connections.
ConnectionPtr gazebo::event::EventT< T >::Connect | ( | const boost::function< T > & | _subscriber | ) |
Connect a callback to this event.
Adds a connection.
[in] | _subscriber | Pointer to a callback function |
[in] | _subscriber | the subscriber to connect |
Referenced by gazebo::event::Events::ConnectAddEntity(), gazebo::event::Events::ConnectCreateEntity(), gazebo::rendering::Events::ConnectCreateScene(), gazebo::event::Events::ConnectDeleteEntity(), gazebo::event::Events::ConnectDiagTimerStart(), gazebo::event::Events::ConnectDiagTimerStop(), gazebo::physics::Link::ConnectEnabled(), gazebo::physics::Joint::ConnectJointUpdate(), gazebo::rendering::DepthCamera::ConnectNewDepthFrame(), gazebo::rendering::Camera::ConnectNewImageFrame(), gazebo::rendering::GpuLaser::ConnectNewLaserFrame(), gazebo::physics::MultiRayShape::ConnectNewLaserScans(), gazebo::rendering::DepthCamera::ConnectNewRGBPointCloud(), gazebo::event::Events::ConnectPause(), gazebo::event::Events::ConnectPostRender(), gazebo::event::Events::ConnectPreRender(), gazebo::rendering::Events::ConnectRemoveScene(), gazebo::event::Events::ConnectRender(), gazebo::event::Events::ConnectSetSelectedEntity(), gazebo::event::Events::ConnectSigInt(), gazebo::event::Events::ConnectStep(), gazebo::event::Events::ConnectStop(), gazebo::transport::Connection::ConnectToShutdown(), gazebo::sensors::ForceTorqueSensor::ConnectUpdate(), gazebo::sensors::SonarSensor::ConnectUpdate(), gazebo::sensors::Sensor::ConnectUpdated(), gazebo::event::Events::ConnectWorldCreated(), gazebo::event::Events::ConnectWorldUpdateBegin(), and gazebo::event::Events::ConnectWorldUpdateEnd().
unsigned int gazebo::event::EventT< T >::ConnectionCount | ( | ) | const |
Get the number of connections.
|
virtual |
Disconnect a callback to this event.
Removes a connection.
[in] | _c | The connection to disconnect |
[in] | _c | the connection |
Implements gazebo::event::Event.
References NULL.
Referenced by gazebo::event::Events::DisconnectAddEntity(), gazebo::event::Events::DisconnectCreateEntity(), gazebo::rendering::Events::DisconnectCreateScene(), gazebo::event::Events::DisconnectDeleteEntity(), gazebo::event::Events::DisconnectDiagTimerStart(), gazebo::event::Events::DisconnectDiagTimerStop(), gazebo::physics::Link::DisconnectEnabled(), gazebo::physics::Joint::DisconnectJointUpdate(), gazebo::rendering::DepthCamera::DisconnectNewDepthFrame(), gazebo::rendering::Camera::DisconnectNewImageFrame(), gazebo::rendering::GpuLaser::DisconnectNewLaserFrame(), gazebo::physics::MultiRayShape::DisconnectNewLaserScans(), gazebo::rendering::DepthCamera::DisconnectNewRGBPointCloud(), gazebo::event::Events::DisconnectPause(), gazebo::event::Events::DisconnectPostRender(), gazebo::event::Events::DisconnectPreRender(), gazebo::rendering::Events::DisconnectRemoveScene(), gazebo::event::Events::DisconnectRender(), gazebo::event::Events::DisconnectSetSelectedEntity(), gazebo::transport::Connection::DisconnectShutdown(), gazebo::event::Events::DisconnectSigInt(), gazebo::event::Events::DisconnectStep(), gazebo::event::Events::DisconnectStop(), gazebo::sensors::ForceTorqueSensor::DisconnectUpdate(), gazebo::sensors::SonarSensor::DisconnectUpdate(), gazebo::sensors::Sensor::DisconnectUpdated(), gazebo::event::Events::DisconnectWorldCreated(), and gazebo::event::Events::DisconnectWorldUpdateEnd().
|
virtual |
Disconnect a callback to this event.
Removes a connection.
[in] | _id | The id of the connection to disconnect |
[in] | _id | the connection index |
Implements gazebo::event::Event.