OpenLexocad
28.0
|
Generic connection type for events. More...
#include <entt.hpp>
Public Member Functions | |
connection () ENTT_NOEXCEPT=default | |
Default constructor. More... | |
connection (typename event_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. |
|
default |
Default constructor.
|
inline |
Creates a connection that wraps its underlying instance.
conn | A connection object to wrap. |
Event emitters are friend classes of connections.