properties-cpp
0.0.1
A very simple convenience library for handling properties and signals in C++11.
|
Scoped helper class to map signal-slot connection mgmt. to RAII. More...
#include <connection.h>
Public Member Functions | |
ScopedConnection (const Connection &c) | |
Constructs an instance for an existing signal-slot connection. More... | |
ScopedConnection (ScopedConnection &&rhs) | |
ScopedConnection (const ScopedConnection &)=delete | |
~ScopedConnection () noexcept(true) | |
Disconnects the signal-slot connection. More... | |
ScopedConnection & | operator= (ScopedConnection &&rhs) |
ScopedConnection & | operator= (const ScopedConnection &)=delete |
bool | operator== (const ScopedConnection &)=delete |
bool | operator< (const ScopedConnection &rhs) const |
Scoped helper class to map signal-slot connection mgmt. to RAII.
Definition at line 141 of file connection.h.
|
inline |
Constructs an instance for an existing signal-slot connection.
c | The existing signal-slot connection. |
Definition at line 148 of file connection.h.
|
inline |
Definition at line 152 of file connection.h.
References core::Connection::ScopedConnection.
|
delete |
|
inlinenoexcept |
Disconnects the signal-slot connection.
Definition at line 161 of file connection.h.
|
inline |
Definition at line 180 of file connection.h.
|
inline |
Definition at line 171 of file connection.h.
References move.
|
delete |
|
delete |