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 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...
 

Detailed Description

Gazebo events to detect model creation/deletion.

Member Function Documentation

◆ ConnectSpawnModel()

static event::ConnectionPtr ConnectSpawnModel ( _subscriber)
inlinestatic

Connect a callback to the spawn model event.

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

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: