Constructors
Synopses
Declared in <bdlmt_signaler.h>
Create a SignalerConnectionGuard object having no associated slot with waitOnDisconnect set to false.
Move‐construct a guard from original, leaving it empty.
SignalerConnectionGuard(bslmf::MovableRef<SignalerConnectionGuard> original) noexcept;
Create a guard by moving from connection.
explicit
SignalerConnectionGuard(
bslmf::MovableRef<SignalerConnection> connection,
bool waitOnDisconnect = false) noexcept;
Create a guard that manages the same slot as connection.
explicit
SignalerConnectionGuard(
SignalerConnection const& connection,
bool waitOnDisconnect = false);
Parameters
Name |
Description |
original |
guard to move from |
connection |
connection to move from |
waitOnDisconnect |
if |
Created with MrDocs