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...

Move-construct a guard from original, leaving it empty.

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

Create a guard by moving from connection.

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

Create a guard that manages the same slot as connection.

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

Parameters

NameDescription
originalguard to move from
connectionconnection to move from
waitOnDisconnectif true, use disconnectAndWait on release