28 BOOST_CONCEPT_ASSERT((boost::EqualityComparable<Connection>));
42 shared_ptr<function<void()>> f = m_disconnect.lock();
51 return !m_disconnect.expired();
57 shared_ptr<function<void()>> f1 = m_disconnect.lock();
58 shared_ptr<function<void()>> f2 = other.m_disconnect.lock();
bool operator!=(const Connection &other) const
Copyright (c) 2013-2017 Regents of the University of California.
represents a connection to a signal
void disconnect()
disconnects from the signal
bool isConnected() const
check if connected to the signal
bool operator==(const Connection &other) const
compare for equality