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

§ ConnectSpawnModel()

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

§ DisconnectSpawnModel()

static void DisconnectSpawnModel ( event::ConnectionPtr  _subscriber)
inlinestatic

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

Parameters
[in]_subscriberthe subscriber to this event

Member Data Documentation

§ spawnModel

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

A model has been completed and uploaded onto the server.


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