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... | |
Base class for rendering events.
|
inlinestatic |
Connect to a scene created event.
[in] | _subscriber | Callback to trigger when event occurs. |
References EventT< T >::Connect(), and Events::createScene.
|
inlinestatic |
Connect to a new layer event.
[in] | _subscriber | Callback to trigger when event occurs. |
References EventT< T >::Connect(), and Events::newLayer.
|
inlinestatic |
Connect to a scene removed event.
[in] | _subscriber | Callback to trigger when event occurs. |
References EventT< T >::Connect(), and Events::removeScene.
|
inlinestatic |
Connect to a layer toggle event.
[in] | _subscriber | Callback to trigger when event occurs. |
References EventT< T >::Connect(), and Events::toggleLayer.
|
inlinestatic |
Disconnect from a scene created event.
[in] | _connection | The connection to disconnect. |
References Events::createScene, and EventT< T >::Disconnect().
|
inlinestatic |
Disconnect from a new layer event.
[in] | _connection | The connection to disconnect. |
References EventT< T >::Disconnect(), and Events::newLayer.
|
inlinestatic |
Disconnect from a scene removed event.
[in] | _connection | The connection to disconnect. |
References EventT< T >::Disconnect(), and Events::removeScene.
|
inlinestatic |
Disconnect from a layer toggle event.
[in] | _connection | The connection to disconnect. |
References EventT< T >::Disconnect(), and Events::toggleLayer.
|
static |
The event used to trigger a create scene event.
Referenced by Events::ConnectCreateScene(), and Events::DisconnectCreateScene().
|
static |
The event used to indicate that a new layer is present.
Referenced by Events::ConnectNewLayer(), and Events::DisconnectNewLayer().
|
static |
The event used to trigger a remove scene event.
Referenced by Events::ConnectRemoveScene(), and Events::DisconnectRemoveScene().
|
static |
The event used to turn on/off a layer.
Referenced by Events::ConnectToggleLayer(), and Events::DisconnectToggleLayer().