17 #ifndef _RENDER_EVENTS_HH_
18 #define _RENDER_EVENTS_HH_
39 public:
template<
typename T>
41 {
return createScene.Connect(_subscriber); }
47 { createScene.Disconnect(_connection); }
52 public:
template<
typename T>
54 {
return removeScene.Connect(_subscriber);}
60 {removeScene.Disconnect(_connection);}
boost::shared_ptr< Connection > ConnectionPtr
Definition: CommonTypes.hh:144
static void DisconnectCreateScene(event::ConnectionPtr _connection)
Disconnect from a scene created event.
Definition: RenderEvents.hh:45
static event::ConnectionPtr ConnectRemoveScene(T _subscriber)
Connect to a scene removed event.
Definition: RenderEvents.hh:53
static event::ConnectionPtr ConnectCreateScene(T _subscriber)
Connect to a scene created event.
Definition: RenderEvents.hh:40
static void DisconnectRemoveScene(event::ConnectionPtr _connection)
Disconnect from a scene removed event.
Definition: RenderEvents.hh:58
Base class for rendering events.
Definition: RenderEvents.hh:34
static event::EventT< void(const std::string &)> createScene
The event used to trigger a create scene event.
Definition: RenderEvents.hh:63
static event::EventT< void(const std::string &)> removeScene
The event used to trigger a remve scene event.
Definition: RenderEvents.hh:66
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48