btcsignals::connection

State object representing the liveness of a registered callback. signal::connect() returns an enabled connection which can be held and disabled in the future.

Synopsis

Declared in <util/btcsignals.h>

class connection;

Member Functions

NameDescription
connection [constructor]The default constructor creates a connection with no associated signal
connected Returns true if this connection was created by a signal and has not been disabled.
disconnect If a callback is associated with this connection, prevent it from being called in the future.

Friends

NameDescription
btcsignals::signalFunctor for calling zero or more connected callbacks.