cppexpose
1.0.0.b785e04f23b8
C++ library for type introspection, reflection, and scripting interface
|
Tool to maintain a connection within a certain scope. More...
#include <cppexpose/include/cppexpose/signal/ScopedConnection.h>
Public Member Functions | |
ScopedConnection () | |
Constructor. More... | |
ScopedConnection (const Connection &connection) | |
Constructor. More... | |
ScopedConnection (const ScopedConnection &)=delete | |
Copy Constructor (deleted) More... | |
ScopedConnection (ScopedConnection &&other) | |
Move Constructor. More... | |
~ScopedConnection () | |
Destructor. More... | |
ScopedConnection & | operator= (const Connection &connection) |
Assign connection. More... | |
ScopedConnection & | operator= (const ScopedConnection &)=delete |
Assignment operator (deleted) More... | |
ScopedConnection & | operator= (ScopedConnection &&other) |
Move operator. More... | |
Protected Attributes | |
Connection | m_connection |
Connection that is held. More... | |
Tool to maintain a connection within a certain scope.
cppexpose::ScopedConnection::ScopedConnection | ( | ) |
Constructor.
cppexpose::ScopedConnection::ScopedConnection | ( | const Connection & | connection | ) |
Constructor.
[in] | connection | Connection that is held |
|
delete |
Copy Constructor (deleted)
cppexpose::ScopedConnection::ScopedConnection | ( | ScopedConnection && | other | ) |
Move Constructor.
[in] | other | Scoped connection |
cppexpose::ScopedConnection::~ScopedConnection | ( | ) |
Destructor.
ScopedConnection& cppexpose::ScopedConnection::operator= | ( | const Connection & | connection | ) |
Assign connection.
[in] | connection | Connection that is held |
|
delete |
Assignment operator (deleted)
ScopedConnection& cppexpose::ScopedConnection::operator= | ( | ScopedConnection && | other | ) |
Move operator.
[in] | other | Scoped connection |
|
protected |
Connection that is held.