Represents a connection to a signal. More...
#include <ndn-cxx/util/signal/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 | |
bool | operator== (const Connection &lhs, const Connection &rhs) noexcept |
Compare for equality. More... | |
template<typename Owner , typename... TArgs> | |
class | Signal |
Represents a connection to a signal.
Definition at line 37 of file connection.hpp.
|
constexprdefaultnoexcept |
void ndn::signal::Connection::disconnect | ( | ) |
Disconnects from the signal.
Definition at line 32 of file connection.cpp.
|
inlinenoexcept |
Check if connected to the signal.
Definition at line 57 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 81 of file connection.hpp.
|
friend |
Definition at line 67 of file connection.hpp.