OpenLexocad
28.0
|
Connection class. More...
#include <entt.hpp>
Public Member Functions | |
connection ()=default | |
Default constructor. More... | |
connection (const connection &)=default | |
Default copy constructor. More... | |
connection (connection &&other) | |
Default move constructor. More... | |
connection & | operator= (const connection &)=default |
Default copy assignment operator. More... | |
connection & | operator= (connection &&other) |
Default move assignment operator. More... | |
operator bool () const ENTT_NOEXCEPT | |
Checks whether a connection is properly initialized. More... | |
void | release () |
Breaks the connection. More... | |
Friends | |
template<typename > | |
class | sink |
A sink is allowed to create connection objects. More... | |
Connection class.
Opaque object the aim of which is to allow users to release an already estabilished connection without having to keep a reference to the signal or the sink that generated it.
|
default |
Default constructor.
|
default |
Default copy constructor.
|
inline |
Default move constructor.
other | The instance to move from. |
|
inlineexplicit |
Checks whether a connection is properly initialized.
|
inline |
Default move assignment operator.
other | The instance to move from. |
|
default |
Default copy assignment operator.
|
inline |
Breaks the connection.
|
friend |
A sink is allowed to create connection objects.