SimEventConnector Class Reference

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 boost::slot to the spawn model event. More...
 
static void DisconnectSpawnModel (event::ConnectionPtr _subscriber)
 Disconnect a boost::slot 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...
 

Detailed Description

Gazebo events to detect model creation/deletion.

Member Function Documentation

static event::ConnectionPtr ConnectSpawnModel ( _subscriber)
inlinestatic

Connect a boost::slot to the spawn model event.

Parameters
[in]_subscriberthe subscriber to this event
Returns
a connection

References EventT< T >::Connect(), and SimEventConnector::spawnModel.

static void DisconnectSpawnModel ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a boost::slot to the spawn model event.

Parameters
[in]_subscriberthe subscriber to this event

References EventT< T >::Disconnect(), and SimEventConnector::spawnModel.

Member Data Documentation

event::EventT<void (std::string, bool)> spawnModel
static

A model has been completed and uploaded onto the server.

Referenced by SimEventConnector::ConnectSpawnModel(), and SimEventConnector::DisconnectSpawnModel().


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