An Event class to get notifications for simulator events. More...
#include <common/common.hh>
Static Public Member Functions | |
template<typename T > | |
static ConnectionPtr | ConnectAddEntity (T _subscriber) |
Connect a boost::slot the the add entity signal. More... | |
template<typename T > | |
static ConnectionPtr | ConnectCreateEntity (T _subscriber) |
Connect a boost::slot the the add entity signal. More... | |
template<typename T > | |
static ConnectionPtr | ConnectCreateSensor (T _subscriber) |
Connect to the create sensor signal. More... | |
template<typename T > | |
static ConnectionPtr | ConnectDeleteEntity (T _subscriber) |
Connect a boost::slot the delete entity. More... | |
template<typename T > | |
static ConnectionPtr | ConnectDiagTimerStart (T _subscriber) |
Connect a boost::slot the diagnostic timer start signal. More... | |
template<typename T > | |
static ConnectionPtr | ConnectDiagTimerStop (T _subscriber) |
Connect a boost::slot the diagnostic timer stop signal. More... | |
template<typename T > | |
static ConnectionPtr | ConnectPause (T _subscriber) |
Connect a boost::slot the the pause signal. More... | |
template<typename T > | |
static ConnectionPtr | ConnectPostRender (T _subscriber) |
Connect a boost::slot the post render update signal. More... | |
template<typename T > | |
static ConnectionPtr | ConnectPreRender (T _subscriber) |
Render start signal. More... | |
template<typename T > | |
static ConnectionPtr | ConnectRemoveSensor (T _subscriber) |
Connect to the remove sensor signal. More... | |
template<typename T > | |
static ConnectionPtr | ConnectRender (T _subscriber) |
Connect a boost::slot the render update signal. More... | |
template<typename T > | |
static ConnectionPtr | ConnectSetSelectedEntity (T _subscriber) |
Connect a boost::slot the set selected entity. More... | |
template<typename T > | |
static ConnectionPtr | ConnectSigInt (T _subscriber) |
Connect a boost::slot to the sigint event. More... | |
template<typename T > | |
static ConnectionPtr | ConnectStep (T _subscriber) |
Connect a boost::slot the the step signal. More... | |
template<typename T > | |
static ConnectionPtr | ConnectStop (T _subscriber) |
Connect a boost::slot the the stop signal. More... | |
template<typename T > | |
static ConnectionPtr | ConnectTimeReset (T _subscriber) |
Connect to the time reset signal. More... | |
template<typename T > | |
static ConnectionPtr | ConnectWorldCreated (T _subscriber) |
Connect a boost::slot the the world created signal. More... | |
template<typename T > | |
static ConnectionPtr | ConnectWorldReset (T _subscriber) |
Connect to the the world reset signal. More... | |
template<typename T > | |
static ConnectionPtr | ConnectWorldUpdateBegin (T _subscriber) |
Connect a boost::slot the the world update start signal. More... | |
template<typename T > | |
static ConnectionPtr | ConnectWorldUpdateEnd (T _subscriber) |
Connect a boost::slot the the world update end signal. More... | |
static void | DisconnectAddEntity (ConnectionPtr _subscriber) |
Disconnect a boost::slot the the add entity signal. More... | |
static void | DisconnectCreateEntity (ConnectionPtr _subscriber) |
Disconnect a boost::slot the the add entity signal. More... | |
static void | DisconnectCreateSensor (ConnectionPtr _subscriber) |
Disconnect from the create sensor signal. More... | |
static void | DisconnectDeleteEntity (ConnectionPtr _subscriber) |
Disconnect a boost::slot the delete entity. More... | |
static void | DisconnectDiagTimerStart (ConnectionPtr _subscriber) |
Disconnect a boost::slot the diagnostic timer start signal. More... | |
static void | DisconnectDiagTimerStop (ConnectionPtr _subscriber) |
Disconnect a boost::slot the diagnostic timer stop signal. More... | |
static void | DisconnectPause (ConnectionPtr _subscriber) |
Disconnect a boost::slot the the pause signal. More... | |
static void | DisconnectPostRender (ConnectionPtr _subscriber) |
Disconnect a boost::slot the post render update signal. More... | |
static void | DisconnectPreRender (ConnectionPtr _subscriber) |
Disconnect a render start signal. More... | |
static void | DisconnectRemoveSensor (ConnectionPtr _subscriber) |
Disconnect from the remove sensor signal. More... | |
static void | DisconnectRender (ConnectionPtr _subscriber) |
Disconnect a boost::slot the render update signal. More... | |
static void | DisconnectSetSelectedEntity (ConnectionPtr _subscriber) |
Disconnect a boost::slot the set selected entity. More... | |
static void | DisconnectSigInt (ConnectionPtr _subscriber) |
Disconnect a boost::slot to the sigint event. More... | |
static void | DisconnectStep (ConnectionPtr _subscriber) |
Disconnect a boost::slot the the step signal. More... | |
static void | DisconnectStop (ConnectionPtr _subscriber) |
Disconnect a boost::slot the the stop signal. More... | |
static void | DisconnectTimeReset (ConnectionPtr _subscriber) |
Disconnect from the time reset signal. More... | |
static void | DisconnectWorldCreated (ConnectionPtr _subscriber) |
Disconnect a boost::slot the the world created signal. More... | |
static void | DisconnectWorldReset (ConnectionPtr _subscriber) |
Disconnect from the world reset signal. More... | |
static void | DisconnectWorldUpdateBegin (ConnectionPtr _subscriber) |
Disconnect a boost::slot the the world update start signal. More... | |
static void | DisconnectWorldUpdateEnd (ConnectionPtr _subscriber) |
Disconnect a boost::slot the the world update end signal. More... | |
Static Public Attributes | |
static EventT< void(std::string)> | addEntity |
An entity has been added. More... | |
static EventT< void(sdf::ElementPtr, const std::string &, const std::string &, const uint32_t)> | createSensor |
Create a sensor. More... | |
static EventT< void(std::string)> | deleteEntity |
An entity has been deleted. More... | |
static EventT< void(std::string)> | diagTimerStart |
Diagnostic timer start. More... | |
static EventT< void(std::string)> | diagTimerStop |
Diagnostic timer stop. More... | |
static EventT< void(std::string)> | entityCreated |
An entity has been created. More... | |
static EventT< void(bool)> | pause |
Pause signal. More... | |
static EventT< void()> | postRender |
Post-Render. More... | |
static EventT< void()> | preRender |
Pre-render. More... | |
static EventT< void(std::string)> | removeSensor |
Remove a sensor. More... | |
static EventT< void()> | render |
Render. More... | |
static EventT< void(std::string, std::string)> | setSelectedEntity |
An entity has been selected. More... | |
static EventT< void()> | sigInt |
Simulation stop signal. More... | |
static EventT< void()> | step |
Step the simulation once signal. More... | |
static EventT< void()> | stop |
Simulation stop signal. More... | |
static EventT< void()> | timeReset |
Time reset signal. More... | |
static EventT< void(std::string)> | worldCreated |
A world has been created. More... | |
static EventT< void()> | worldReset |
World reset signal. More... | |
static EventT< void(const common::UpdateInfo &)> | worldUpdateBegin |
World update has started. More... | |
static EventT< void()> | worldUpdateEnd |
World update has ended. More... | |
An Event class to get notifications for simulator events.
|
inlinestatic |
Connect a boost::slot the the add entity signal.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Connect a boost::slot the the add entity signal.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Connect to the create sensor signal.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Connect a boost::slot the delete entity.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Connect a boost::slot the diagnostic timer start signal.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Connect a boost::slot the diagnostic timer stop signal.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Connect a boost::slot the the pause signal.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Connect a boost::slot the post render update signal.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Render start signal.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Connect to the remove sensor signal.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Connect a boost::slot the render update signal.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Connect a boost::slot the set selected entity.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Connect a boost::slot to the sigint event.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Connect a boost::slot the the step signal.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Connect a boost::slot the the stop signal.
[in] | _subscriber | the subscriber to this event |
References gazebo::gui::stop().
|
inlinestatic |
Connect to the time reset signal.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Connect a boost::slot the the world created signal.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Connect to the the world reset signal.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Connect a boost::slot the the world update start signal.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Connect a boost::slot the the world update end signal.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Disconnect a boost::slot the the add entity signal.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Disconnect a boost::slot the the add entity signal.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Disconnect from the create sensor signal.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Disconnect a boost::slot the delete entity.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Disconnect a boost::slot the diagnostic timer start signal.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Disconnect a boost::slot the diagnostic timer stop signal.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Disconnect a boost::slot the the pause signal.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Disconnect a boost::slot the post render update signal.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Disconnect a render start signal.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Disconnect from the remove sensor signal.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Disconnect a boost::slot the render update signal.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Disconnect a boost::slot the set selected entity.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Disconnect a boost::slot to the sigint event.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Disconnect a boost::slot the the step signal.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Disconnect a boost::slot the the stop signal.
[in] | _subscriber | the subscriber to this event |
References gazebo::gui::stop().
|
inlinestatic |
Disconnect from the time reset signal.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Disconnect a boost::slot the the world created signal.
|
inlinestatic |
Disconnect from the world reset signal.
[in] | _subscriber | the subscriber to this event |
|
static |
Disconnect a boost::slot the the world update start signal.
[in] | _subscriber | the subscriber to this event |
|
inlinestatic |
Disconnect a boost::slot the the world update end signal.
[in] | _subscriber | the subscriber to this event |
|
static |
An entity has been added.
|
static |
Create a sensor.
|
static |
An entity has been deleted.
|
static |
Diagnostic timer start.
|
static |
Diagnostic timer stop.
|
static |
An entity has been created.
|
static |
Pause signal.
|
static |
Post-Render.
|
static |
Pre-render.
|
static |
Remove a sensor.
|
static |
Render.
|
static |
An entity has been selected.
|
static |
Simulation stop signal.
|
static |
Step the simulation once signal.
|
static |
Simulation stop signal.
|
static |
Time reset signal.
|
static |
A world has been created.
|
static |
World reset signal.
|
static |
World update has started.
|
static |
World update has ended.