22 #ifndef NDN_CXX_UTIL_SIGNAL_SCOPED_CONNECTION_HPP
23 #define NDN_CXX_UTIL_SIGNAL_SCOPED_CONNECTION_HPP
represents a connection to a signal
Disconnects a Connection automatically upon destruction.
bool isConnected() const noexcept
Check if the connection is connected to the signal.
constexpr ScopedConnection() noexcept=default
void disconnect()
Manually disconnect the connection.
void release() noexcept
Release the connection so that it won't be disconnected when this ScopedConnection is destructed.