43 public:
template<
typename T>
45 {
return pause.Connect(_subscriber); }
51 public:
template<
typename T>
53 {
return step.Connect(_subscriber); }
59 public:
template<
typename T>
61 {
return stop.Connect(_subscriber); }
67 public:
template<
typename T>
69 {
return worldCreated.Connect(_subscriber); }
75 public:
template<
typename T>
77 {
return entityCreated.Connect(_subscriber); }
83 public:
template<
typename T>
85 {
return setSelectedEntity.Connect(_subscriber); }
91 public:
template<
typename T>
93 {
return deleteEntity.Connect(_subscriber); }
99 public:
template<
typename T>
101 {
return addEntity.Connect(_subscriber); }
107 public:
template<
typename T>
109 {
return worldUpdateBegin.Connect(_subscriber); }
119 public:
template<
typename T>
121 {
return beforePhysicsUpdate.Connect(_subscriber); }
127 public:
template<
typename T>
129 {
return worldUpdateEnd.Connect(_subscriber); }
135 public:
template<
typename T>
137 {
return worldReset.Connect(_subscriber); }
143 public:
template<
typename T>
145 {
return timeReset.Connect(_subscriber); }
151 public:
template<
typename T>
153 {
return removeSensor.Connect(_subscriber); }
159 public:
template<
typename T>
161 {
return createSensor.Connect(_subscriber); }
167 public:
template<
typename T>
169 {
return preRender.Connect(_subscriber); }
175 public:
template<
typename T>
177 {
return render.Connect(_subscriber); }
183 public:
template<
typename T>
185 {
return postRender.Connect(_subscriber); }
191 public:
template<
typename T>
193 {
return diagTimerStart.Connect(_subscriber); }
199 public:
template<
typename T>
201 {
return diagTimerStop.Connect(_subscriber); }
207 public:
template<
typename T>
209 {
return sigInt.Connect(_subscriber); }
282 public:
static EventT<void (sdf::ElementPtr,
static ConnectionPtr ConnectSigInt(T _subscriber)
Connect a callback to the sigint event.
Definition: Events.hh:208
static EventT< void(std::string, std::string)> setSelectedEntity
An entity has been selected.
Definition: Events.hh:230
static ConnectionPtr ConnectBeforePhysicsUpdate(T _subscriber)
Connect a callback to the before physics update signal.
Definition: Events.hh:120
static ConnectionPtr ConnectStop(T _subscriber)
Connect a callback to the stop signal.
Definition: Events.hh:60
An Event class to get notifications for simulator events.
Definition: Events.hh:37
static ConnectionPtr ConnectWorldUpdateBegin(T _subscriber)
Connect a callback to the world update start signal.
Definition: Events.hh:108
static ConnectionPtr ConnectCreateSensor(T _subscriber)
Connect to the create sensor signal.
Definition: Events.hh:160
static ConnectionPtr ConnectTimeReset(T _subscriber)
Connect to the time reset signal.
Definition: Events.hh:144
static ConnectionPtr ConnectWorldReset(T _subscriber)
Connect to the world reset signal.
Definition: Events.hh:136
static EventT< void()> worldUpdateEnd
World update has ended.
Definition: Events.hh:246
static EventT< void(const common::UpdateInfo &)> worldUpdateBegin
World update has started.
Definition: Events.hh:239
static EventT< void(const common::UpdateInfo &)> beforePhysicsUpdate
Collision detection has been done, physics update not yet.
Definition: Events.hh:243
static ConnectionPtr ConnectWorldUpdateEnd(T _subscriber)
Connect a callback to the world update end signal.
Definition: Events.hh:128
static ConnectionPtr ConnectPreRender(T _subscriber)
Render start signal.
Definition: Events.hh:168
static EventT< void()> timeReset
Time reset signal.
Definition: Events.hh:252
static EventT< void(std::string)> diagTimerStart
Diagnostic timer start.
Definition: Events.hh:264
static ConnectionPtr ConnectRemoveSensor(T _subscriber)
Connect to the remove sensor signal.
Definition: Events.hh:152
static ConnectionPtr ConnectPause(T _subscriber)
Connect a callback to the pause signal.
Definition: Events.hh:44
static ConnectionPtr ConnectDiagTimerStop(T _subscriber)
Connect a callback to the diagnostic timer stop signal.
Definition: Events.hh:200
static EventT< void(std::string)> deleteEntity
An entity has been deleted.
Definition: Events.hh:236
static ConnectionPtr ConnectRender(T _subscriber)
Connect a callback to the render update signal.
Definition: Events.hh:176
static EventT< void(bool)> pause
Pause signal.
Definition: Events.hh:212
static ConnectionPtr ConnectDiagTimerStart(T _subscriber)
Connect a callback to the diagnostic timer start signal.
Definition: Events.hh:192
static EventT< void(sdf::ElementPtr, const std::string &, const std::string &, const uint32_t)> createSensor
Create a sensor.
Definition: Events.hh:285
static EventT< void()> preRender
Pre-render.
Definition: Events.hh:255
static EventT< void()> stop
Simulation stop signal.
Definition: Events.hh:218
static EventT< void(std::string)> addEntity
An entity has been added.
Definition: Events.hh:233
static EventT< void()> sigInt
Simulation stop signal.
Definition: Events.hh:221
static ConnectionPtr ConnectPostRender(T _subscriber)
Connect a callback to the post render update signal.
Definition: Events.hh:184
static ConnectionPtr ConnectWorldCreated(T _subscriber)
Connect a callback to the world created signal.
Definition: Events.hh:68
boost::shared_ptr< Connection > ConnectionPtr
Definition: CommonTypes.hh:134
static EventT< void()> render
Render.
Definition: Events.hh:258
static EventT< void()> step
Step the simulation once signal.
Definition: Events.hh:215
static EventT< void(std::string)> entityCreated
An entity has been created.
Definition: Events.hh:227
static ConnectionPtr ConnectDeleteEntity(T _subscriber)
Connect a callback to the delete entity signal.
Definition: Events.hh:92
static ConnectionPtr ConnectSetSelectedEntity(T _subscriber)
Connect a callback to the set selected entity signal.
Definition: Events.hh:84
static ConnectionPtr ConnectAddEntity(T _subscriber)
Connect a callback to the add entity signal.
Definition: Events.hh:100
static EventT< void()> worldReset
World reset signal.
Definition: Events.hh:249
static EventT< void(std::string)> removeSensor
Remove a sensor.
Definition: Events.hh:272
static EventT< void(std::string)> diagTimerStop
Diagnostic timer stop.
Definition: Events.hh:267
static ConnectionPtr ConnectStep(T _subscriber)
Connect a callback to the step signal.
Definition: Events.hh:52
static EventT< void(std::string)> worldCreated
A world has been created.
Definition: Events.hh:224
static ConnectionPtr ConnectCreateEntity(T _subscriber)
Connect a callback to the add entity signal.
Definition: Events.hh:76
static EventT< void()> postRender
Post-Render.
Definition: Events.hh:261