43       public: 
template<
typename T>
 
   45               { 
return pause.Connect(_subscriber); }
 
   50               { pause.Disconnect(_subscriber); }
 
   56       public: 
template<
typename T>
 
   58               { 
return step.Connect(_subscriber); }
 
   62               { step.Disconnect(_subscriber); }
 
   68       public: 
template<
typename T>
 
   70               { 
return stop.Connect(_subscriber); }
 
   74               { 
stop.Disconnect(_subscriber); }
 
   80       public: 
template<
typename T>
 
   82               { 
return worldCreated.Connect(_subscriber); }
 
   85               { worldCreated.Disconnect(_subscriber); }
 
   91       public: 
template<
typename T>
 
   93               { 
return entityCreated.Connect(_subscriber); }
 
   97               { entityCreated.Disconnect(_subscriber); }
 
  103       public: 
template<
typename T>
 
  105               { 
return setSelectedEntity.Connect(_subscriber); }
 
  109               { setSelectedEntity.Disconnect(_subscriber); }
 
  114       public: 
template<
typename T>
 
  116               { 
return deleteEntity.Connect(_subscriber); }
 
  120               { deleteEntity.Disconnect(_subscriber); }
 
  125       public: 
template<
typename T>
 
  127               { 
return addEntity.Connect(_subscriber); }
 
  131               { addEntity.Disconnect(_subscriber); }
 
  137       public: 
template<
typename T>
 
  139               { 
return worldUpdateBegin.Connect(_subscriber); }
 
  143       public: 
static void DisconnectWorldUpdateBegin(
 
  154       public: 
template<
typename T>
 
  156               { 
return beforePhysicsUpdate.Connect(_subscriber); }
 
  162               { beforePhysicsUpdate.Disconnect(_subscriber); }
 
  168       public: 
template<
typename T>
 
  170               { 
return worldUpdateEnd.Connect(_subscriber); }
 
  174               { worldUpdateEnd.Disconnect(_subscriber); }
 
  180       public: 
template<
typename T>
 
  182               { 
return worldReset.Connect(_subscriber); }
 
  187               { worldReset.Disconnect(_subscriber); }
 
  193       public: 
template<
typename T>
 
  195               { 
return timeReset.Connect(_subscriber); }
 
  200               { timeReset.Disconnect(_subscriber); }
 
  206       public: 
template<
typename T>
 
  208               { 
return removeSensor.Connect(_subscriber); }
 
  213               { removeSensor.Disconnect(_subscriber); }
 
  219       public: 
template<
typename T>
 
  221               { 
return createSensor.Connect(_subscriber); }
 
  226               { createSensor.Disconnect(_subscriber); }
 
  232       public: 
template<
typename T>
 
  234               { 
return preRender.Connect(_subscriber); }
 
  238               { preRender.Disconnect(_subscriber); }
 
  243       public: 
template<
typename T>
 
  245               { 
return render.Connect(_subscriber); }
 
  249               { render.Disconnect(_subscriber); }
 
  254       public: 
template<
typename T>
 
  256               { 
return postRender.Connect(_subscriber); }
 
  260               { postRender.Disconnect(_subscriber); }
 
  265       public: 
template<
typename T>
 
  267               { 
return diagTimerStart.Connect(_subscriber); }
 
  271               { diagTimerStart.Disconnect(_subscriber); }
 
  277       public: 
template<
typename T>
 
  279               { 
return diagTimerStop.Connect(_subscriber); }
 
  283               { diagTimerStop.Disconnect(_subscriber); }
 
  289       public: 
template<
typename T>
 
  291               { 
return sigInt.Connect(_subscriber); }
 
  295               { sigInt.Disconnect(_subscriber); }
 
  368       public: 
static EventT<void (sdf::ElementPtr,
 
static ConnectionPtr ConnectSigInt(T _subscriber)
Connect a boost::slot to the sigint event. 
Definition: Events.hh:290
 
static void DisconnectDiagTimerStart(ConnectionPtr _subscriber)
Disconnect a boost::slot the diagnostic timer start signal. 
Definition: Events.hh:270
 
static EventT< void(std::string, std::string)> setSelectedEntity
An entity has been selected. 
Definition: Events.hh:316
 
static void DisconnectCreateEntity(ConnectionPtr _subscriber)
Disconnect a boost::slot the the add entity signal. 
Definition: Events.hh:96
 
static ConnectionPtr ConnectBeforePhysicsUpdate(T _subscriber)
Connect a boost::slot to the before physics update signal. 
Definition: Events.hh:155
 
static void DisconnectSigInt(ConnectionPtr _subscriber)
Disconnect a boost::slot to the sigint event. 
Definition: Events.hh:294
 
static ConnectionPtr ConnectStop(T _subscriber)
Connect a boost::slot the the stop signal. 
Definition: Events.hh:69
 
static void DisconnectRender(ConnectionPtr _subscriber)
Disconnect a boost::slot the render update signal. 
Definition: Events.hh:248
 
An Event class to get notifications for simulator events. 
Definition: Events.hh:37
 
static ConnectionPtr ConnectWorldUpdateBegin(T _subscriber)
Connect a boost::slot the the world update start signal. 
Definition: Events.hh:138
 
static ConnectionPtr ConnectCreateSensor(T _subscriber)
Connect to the create sensor signal. 
Definition: Events.hh:220
 
static ConnectionPtr ConnectTimeReset(T _subscriber)
Connect to the time reset signal. 
Definition: Events.hh:194
 
static ConnectionPtr ConnectWorldReset(T _subscriber)
Connect to the the world reset signal. 
Definition: Events.hh:181
 
static EventT< void()> worldUpdateEnd
World update has ended. 
Definition: Events.hh:332
 
static void DisconnectDiagTimerStop(ConnectionPtr _subscriber)
Disconnect a boost::slot the diagnostic timer stop signal. 
Definition: Events.hh:282
 
static EventT< void(const common::UpdateInfo &)> worldUpdateBegin
World update has started. 
Definition: Events.hh:325
 
static void DisconnectCreateSensor(ConnectionPtr _subscriber)
Disconnect from the create sensor signal. 
Definition: Events.hh:225
 
static EventT< void(const common::UpdateInfo &)> beforePhysicsUpdate
Collision detection has been done, physics update not yet. 
Definition: Events.hh:329
 
static ConnectionPtr ConnectWorldUpdateEnd(T _subscriber)
Connect a boost::slot the the world update end signal. 
Definition: Events.hh:169
 
static ConnectionPtr ConnectPreRender(T _subscriber)
Render start signal. 
Definition: Events.hh:233
 
static EventT< void()> timeReset
Time reset signal. 
Definition: Events.hh:338
 
static void DisconnectWorldUpdateEnd(ConnectionPtr _subscriber)
Disconnect a boost::slot the the world update end signal. 
Definition: Events.hh:173
 
static void DisconnectStep(ConnectionPtr _subscriber)
Disconnect a boost::slot the the step signal. 
Definition: Events.hh:61
 
static EventT< void(std::string)> diagTimerStart
Diagnostic timer start. 
Definition: Events.hh:350
 
static ConnectionPtr ConnectRemoveSensor(T _subscriber)
Connect to the remove sensor signal. 
Definition: Events.hh:207
 
static ConnectionPtr ConnectPause(T _subscriber)
Connect a boost::slot the the pause signal. 
Definition: Events.hh:44
 
static ConnectionPtr ConnectDiagTimerStop(T _subscriber)
Connect a boost::slot the diagnostic timer stop signal. 
Definition: Events.hh:278
 
static void DisconnectPause(ConnectionPtr _subscriber)
Disconnect a boost::slot the the pause signal. 
Definition: Events.hh:49
 
static EventT< void(std::string)> deleteEntity
An entity has been deleted. 
Definition: Events.hh:322
 
static ConnectionPtr ConnectRender(T _subscriber)
Connect a boost::slot the render update signal. 
Definition: Events.hh:244
 
static EventT< void(bool)> pause
Pause signal. 
Definition: Events.hh:298
 
static ConnectionPtr ConnectDiagTimerStart(T _subscriber)
Connect a boost::slot the diagnostic timer start signal. 
Definition: Events.hh:266
 
static void DisconnectDeleteEntity(ConnectionPtr _subscriber)
Disconnect a boost::slot the delete entity. 
Definition: Events.hh:119
 
static EventT< void(sdf::ElementPtr, const std::string &, const std::string &, const uint32_t)> createSensor
Create a sensor. 
Definition: Events.hh:371
 
static void DisconnectRemoveSensor(ConnectionPtr _subscriber)
Disconnect from the remove sensor signal. 
Definition: Events.hh:212
 
static EventT< void()> preRender
Pre-render. 
Definition: Events.hh:341
 
static EventT< void()> stop
Simulation stop signal. 
Definition: Events.hh:304
 
static void DisconnectWorldCreated(ConnectionPtr _subscriber)
Disconnect a boost::slot the the world created signal. 
Definition: Events.hh:84
 
static void DisconnectBeforePhysicsUpdate(ConnectionPtr _subscriber)
Disconnect a boost::slot from the before physics update signal. 
Definition: Events.hh:160
 
static EventT< void(std::string)> addEntity
An entity has been added. 
Definition: Events.hh:319
 
static EventT< void()> sigInt
Simulation stop signal. 
Definition: Events.hh:307
 
static ConnectionPtr ConnectPostRender(T _subscriber)
Connect a boost::slot the post render update signal. 
Definition: Events.hh:255
 
static ConnectionPtr ConnectWorldCreated(T _subscriber)
Connect a boost::slot the the world created signal. 
Definition: Events.hh:81
 
static void DisconnectSetSelectedEntity(ConnectionPtr _subscriber)
Disconnect a boost::slot the set selected entity. 
Definition: Events.hh:108
 
static void DisconnectWorldReset(ConnectionPtr _subscriber)
Disconnect from the world reset signal. 
Definition: Events.hh:186
 
boost::shared_ptr< Connection > ConnectionPtr
Definition: CommonTypes.hh:153
 
static EventT< void()> render
Render. 
Definition: Events.hh:344
 
static void DisconnectStop(ConnectionPtr _subscriber)
Disconnect a boost::slot the the stop signal. 
Definition: Events.hh:73
 
static EventT< void()> step
Step the simulation once signal. 
Definition: Events.hh:301
 
static EventT< void(std::string)> entityCreated
An entity has been created. 
Definition: Events.hh:313
 
static ConnectionPtr ConnectDeleteEntity(T _subscriber)
Connect a boost::slot the delete entity. 
Definition: Events.hh:115
 
static void DisconnectAddEntity(ConnectionPtr _subscriber)
Disconnect a boost::slot the the add entity signal. 
Definition: Events.hh:130
 
static void DisconnectTimeReset(ConnectionPtr _subscriber)
Disconnect from the time reset signal. 
Definition: Events.hh:199
 
static ConnectionPtr ConnectSetSelectedEntity(T _subscriber)
Connect a boost::slot the set selected entity. 
Definition: Events.hh:104
 
static ConnectionPtr ConnectAddEntity(T _subscriber)
Connect a boost::slot the the add entity signal. 
Definition: Events.hh:126
 
static EventT< void()> worldReset
World reset signal. 
Definition: Events.hh:335
 
static EventT< void(std::string)> removeSensor
Remove a sensor. 
Definition: Events.hh:358
 
static EventT< void(std::string)> diagTimerStop
Diagnostic timer stop. 
Definition: Events.hh:353
 
static void DisconnectPreRender(ConnectionPtr _subscriber)
Disconnect a render start signal. 
Definition: Events.hh:237
 
static ConnectionPtr ConnectStep(T _subscriber)
Connect a boost::slot the the step signal. 
Definition: Events.hh:57
 
static EventT< void(std::string)> worldCreated
A world has been created. 
Definition: Events.hh:310
 
static ConnectionPtr ConnectCreateEntity(T _subscriber)
Connect a boost::slot the the add entity signal. 
Definition: Events.hh:92
 
static void DisconnectPostRender(ConnectionPtr _subscriber)
Disconnect a boost::slot the post render update signal. 
Definition: Events.hh:259
 
static EventT< void()> postRender
Post-Render. 
Definition: Events.hh:347