Gazebo events to detect model creation/deletion. More...
#include <EventSource.hh>
Static Public Member Functions | |
template<typename T > | |
static event::ConnectionPtr | ConnectSpawnModel (T _subscriber) |
Connect a callback to the spawn model event. More... | |
static void | DisconnectSpawnModel (event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0) |
Disconnect a callback to the spawn model event. More... | |
Static Public Attributes | |
static event::EventT< void(std::string, bool)> | spawnModel |
A model has been completed and uploaded onto the server. More... | |
Gazebo events to detect model creation/deletion.
|
inlinestatic |
Connect a callback to the spawn model event.
[in] | _subscriber | the subscriber to this event |
References EventT< T >::Connect(), and SimEventConnector::spawnModel.
|
inlinestatic |
Disconnect a callback to the spawn model event.
[in] | _subscriber | the subscriber to this event |
References EventT< T >::Disconnect(), and SimEventConnector::spawnModel.
|
static |
A model has been completed and uploaded onto the server.
Referenced by SimEventConnector::ConnectSpawnModel(), and SimEventConnector::DisconnectSpawnModel().