Scoped connection that auto-disconnects in a specific scope.
More...
#include <Connection.hpp>
Scoped connection that auto-disconnects in a specific scope.
ScopedConnection is similar to Connection but provides explicit scope-based lifetime management.
Definition at line 159 of file Connection.hpp.
◆ ScopedConnection() [1/4]
| esengine::ScopedConnection::ScopedConnection |
( |
| ) |
|
|
default |
◆ ScopedConnection() [2/4]
| esengine::ScopedConnection::ScopedConnection |
( |
Connection && | conn | ) |
|
|
inlineexplicit |
◆ ScopedConnection() [3/4]
| esengine::ScopedConnection::ScopedConnection |
( |
ScopedConnection && | | ) |
|
|
defaultnoexcept |
◆ ScopedConnection() [4/4]
| esengine::ScopedConnection::ScopedConnection |
( |
const ScopedConnection & | | ) |
|
|
delete |
◆ disconnect()
| void esengine::ScopedConnection::disconnect |
( |
| ) |
|
|
inline |
◆ get()
◆ isConnected()
| bool esengine::ScopedConnection::isConnected |
( |
| ) |
const |
|
inlinenodiscard |
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this class was generated from the following file: