22 #ifndef NDN_UTIL_SIGNAL_SCOPED_CONNECTION_HPP 23 #define NDN_UTIL_SIGNAL_SCOPED_CONNECTION_HPP 85 #endif // NDN_UTIL_SIGNAL_SCOPED_CONNECTION_HPP Copyright (c) 2013-2017 Regents of the University of California.
~ScopedConnection() noexcept
disconnects the connection
bool isConnected() const
check if the connection is connected to the signal
represents a connection to a signal
ScopedConnection & operator=(const Connection &connection)
assigns a connection
void release()
releases the connection so that it won't be disconnected when this ScopedConnection is destructed ...
disconnects a Connection automatically upon destruction
void disconnect()
disconnects the connection manually