Clementine
|
Generic connection type for events. More...
#include <entt.hpp>
Public Member Functions | |
connection ()=default | |
Default constructor. | |
connection (typename pool_handler< Event >::connection_type conn) | |
Creates a connection that wraps its underlying instance. More... | |
Friends | |
class | emitter |
Event emitters are friend classes of connections. More... | |
Generic connection type for events.
Type of the connection object returned by the event emitter whenever a listener for the given type is registered.
It can be used to break connections still in use.
Event | Type of event for which the connection is created. |
|
inline |
Creates a connection that wraps its underlying instance.
conn | A connection object to wrap. |
Event emitters are friend classes of connections.