represents a connection to a signal More...
#include <connection.hpp>
Public Member Functions | |
constexpr | Connection () noexcept=default |
void | disconnect () |
disconnects from the signal More... | |
bool | isConnected () const noexcept |
check if connected to the signal More... | |
Friends | |
template<typename Owner , typename ... TArgs> | |
class | Signal |
bool | operator== (const Connection &lhs, const Connection &rhs) noexcept |
compare for equality More... | |
bool | operator!= (const Connection &lhs, const Connection &rhs) noexcept |
represents a connection to a signal
Definition at line 36 of file connection.hpp.
|
defaultnoexcept |
Referenced by isConnected().
void ndn::util::signal::Connection::disconnect | ( | ) |
disconnects from the signal
Definition at line 36 of file connection.cpp.
Referenced by ndn::util::signal::ScopedConnection::disconnect().
|
inlinenoexcept |
check if connected to the signal
Definition at line 54 of file connection.hpp.
References Connection().
Referenced by ndn::util::signal::ScopedConnection::isConnected().
|
friend |
Definition at line 66 of file connection.hpp.
|
friend |
compare for equality
Two connections are equal if they both refer to the same connection that isn't disconnected, or they are both disconnected.
Definition at line 78 of file connection.hpp.
|
friend |
Definition at line 86 of file connection.hpp.