Static Public Member Functions | Static Public Attributes | List of all members
gazebo::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

template<typename T >
static event::ConnectionPtr gazebo::SimEventConnector::ConnectSpawnModel ( _subscriber)
inlinestatic

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

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

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

static void gazebo::SimEventConnector::DisconnectSpawnModel ( event::ConnectionPtr  _subscriber)
inlinestatic

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

Parameters
[in]_subscriberthe subscriber to this event

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

Member Data Documentation

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

A model has been completed and uploaded onto the server.

Referenced by ConnectSpawnModel(), and DisconnectSpawnModel().


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