Class scoped_connection
boost::signals::scoped_connection — Limits a signal-slot connection lifetime to a particular scope.
Synopsis
class scoped_connection : private noncopyable // Exposition only { public: // construct/copy/destruct scoped_connection(const connection&); ~scoped_connection(); // connection management void disconnect() const; bool connected() const; };
Description
scoped_connection
public
construct/copy/destruct
-
scoped_connection(const connection& other);
Effects:
thisreferences the connection referenced byother.Throws:
Will not throw.
-
~scoped_connection();
Effects:
If
this->connected(), disconnects the signal-slot connection.
