|
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>
Collaboration diagram for core::ScopedConnection:Public Member Functions | |
| ScopedConnection (const Connection &c) | |
| Constructs an instance for an existing signal-slot connection. | |
| ScopedConnection (ScopedConnection &&rhs) | |
| ScopedConnection (const ScopedConnection &)=delete | |
| ~ScopedConnection () noexcept(true) | |
| Disconnects the signal-slot connection. | |
| 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.
|
delete |
|
inlinenoexcept |
Disconnects the signal-slot connection.
Definition at line 161 of file connection.h.
References core::Connection::disconnect().
Here is the call graph for this function:
|
inline |
Definition at line 180 of file connection.h.
|
delete |
|
inline |
Definition at line 171 of file connection.h.
|
delete |