Static Public Member Functions | Static Public Attributes | List of all members
gazebo::rendering::Events Class Reference

Base class for rendering events. More...

#include <rendering/rendering.hh>

Static Public Member Functions

template<typename T >
static event::ConnectionPtr ConnectCreateScene (T _subscriber)
 Connect to a scene created event. More...
 
template<typename T >
static event::ConnectionPtr ConnectNewLayer (T _subscriber)
 Connect to a new layer event. More...
 
template<typename T >
static event::ConnectionPtr ConnectRemoveScene (T _subscriber)
 Connect to a scene removed event. More...
 
template<typename T >
static event::ConnectionPtr ConnectToggleLayer (T _subscriber)
 Connect to a layer toggle event. More...
 
static void DisconnectCreateScene (event::ConnectionPtr _connection)
 Disconnect from a scene created event. More...
 
static void DisconnectNewLayer (event::ConnectionPtr _connection)
 Disconnect from a new layer event. More...
 
static void DisconnectRemoveScene (event::ConnectionPtr _connection)
 Disconnect from a scene removed event. More...
 
static void DisconnectToggleLayer (event::ConnectionPtr _connection)
 Disconnect from a layer toggle event. More...
 

Static Public Attributes

static event::EventT< void(const
std::string &)> 
createScene
 The event used to trigger a create scene event. More...
 
static event::EventT< void(const
int32_t)> 
newLayer
 The event used to indicate that a new layer is present. More...
 
static event::EventT< void(const
std::string &)> 
removeScene
 The event used to trigger a remove scene event. More...
 
static event::EventT< void(const
int32_t)> 
toggleLayer
 The event used to turn on/off a layer. More...
 

Detailed Description

Base class for rendering events.

Member Function Documentation

template<typename T >
static event::ConnectionPtr gazebo::rendering::Events::ConnectCreateScene ( _subscriber)
inlinestatic

Connect to a scene created event.

Parameters
[in]_subscriberCallback to trigger when event occurs.
Returns
Pointer the connection. This must stay in scope.
template<typename T >
static event::ConnectionPtr gazebo::rendering::Events::ConnectNewLayer ( _subscriber)
inlinestatic

Connect to a new layer event.

Parameters
[in]_subscriberCallback to trigger when event occurs.
Returns
Pointer the connection. This must stay in scope.
template<typename T >
static event::ConnectionPtr gazebo::rendering::Events::ConnectRemoveScene ( _subscriber)
inlinestatic

Connect to a scene removed event.

Parameters
[in]_subscriberCallback to trigger when event occurs.
Returns
Pointer the connection. This must stay in scope.
template<typename T >
static event::ConnectionPtr gazebo::rendering::Events::ConnectToggleLayer ( _subscriber)
inlinestatic

Connect to a layer toggle event.

Parameters
[in]_subscriberCallback to trigger when event occurs.
Returns
Pointer the connection. This must stay in scope.
static void gazebo::rendering::Events::DisconnectCreateScene ( event::ConnectionPtr  _connection)
inlinestatic

Disconnect from a scene created event.

Parameters
[in]_connectionThe connection to disconnect.
static void gazebo::rendering::Events::DisconnectNewLayer ( event::ConnectionPtr  _connection)
inlinestatic

Disconnect from a new layer event.

Parameters
[in]_connectionThe connection to disconnect.
static void gazebo::rendering::Events::DisconnectRemoveScene ( event::ConnectionPtr  _connection)
inlinestatic

Disconnect from a scene removed event.

Parameters
[in]_connectionThe connection to disconnect.
static void gazebo::rendering::Events::DisconnectToggleLayer ( event::ConnectionPtr  _connection)
inlinestatic

Disconnect from a layer toggle event.

Parameters
[in]_connectionThe connection to disconnect.

Member Data Documentation

event::EventT<void (const std::string &)> gazebo::rendering::Events::createScene
static

The event used to trigger a create scene event.

event::EventT<void (const int32_t)> gazebo::rendering::Events::newLayer
static

The event used to indicate that a new layer is present.

event::EventT<void (const std::string &)> gazebo::rendering::Events::removeScene
static

The event used to trigger a remove scene event.

event::EventT<void (const int32_t)> gazebo::rendering::Events::toggleLayer
static

The event used to turn on/off a layer.


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