This guard type has a SignalerConnection, through which it can manage a slot, and when it is destroyed or assigned to it will disconnect that slot. It also contains a boolean waitOnDisconnect attribute, which determines whether disconnect or disconnectAndWait is used to disconnect the slot. The waitOnDisconnect attribute is set in constructors from a SignalerConnection and propagated when move constructing or move assigning a guard to a different guard.
Synopsis
Declared in <bdlmt_signaler.h>
class SignalerConnectionGuard;
Member Functions
Name |
Description |
|
Constructors |
|
Destroy this object. If a slot is being managed by this object, call |
If there is a currently managed slot, call |
|
Return a const reference to the connection held by this object. Throws nothing. |
|
Disassociate this guard from its associated slot, if any, and reset |
|
Swap the contents of |
|
Return a |
|
|