BloombergLP::bdlmt::SignalerConnectionGuard::SignalerConnectionGuard

Constructors

Synopses

Declared in <bdlmt_signaler.h>

Create a SignalerConnectionGuard object having no associated slot with waitOnDisconnect set to false.

SignalerConnectionGuard();
» more...

Create a SignalerConnectionGuard that manages the same slot, if any, as the specified original, which is left in the default-constructed state. Copy the waitOnDisconnect state from original, indicating whether disconnect() or disconnectAndWait() will be called on the slot, if any, contained in this object upon destruction or assignment. Throws nothing.

SignalerConnectionGuard(bslmf::MovableRef<SignalerConnectionGuard> original) noexcept;
» more...

Create a SignalerConnectionGuard that refers to the same slot, if any, as the specified connection, which is left in an unspecified state. Optionally specify waitOnDisconnect indicating whether disconnect or disconnectAndWait will be called on the slot, if any, managed by this object upon destruction or assignment. Throws nothing.

explicit
SignalerConnectionGuard(
    bslmf::MovableRef<SignalerConnection> connection,
    bool waitOnDisconnect = false) noexcept;
» more...

Create a SignalerConnectionGuard object that refers to and assumes management of the same slot, if any, as the specified connection object. Upon destruction or assignment, the optionally specified waitOnDisconnect determines whether disconnect or disconnectAndWait will be called on the slot managed by this object, if any.

explicit
SignalerConnectionGuard(
    SignalerConnection const& connection,
    bool waitOnDisconnect = false);
» more...