[#BloombergLP-bdlmt-SignalerConnection] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::SignalerConnection :relfileprefix: ../../ :mrdocs: Lightweight handle representing a signaler‐to‐slot connection. == Synopsis Declared in `<bdlmt_signaler.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class SignalerConnection; ---- == Description This `class` represents a connection between a signaler and a slot. It is a lightweight object that has the ability to query whether the signaler and slot are currently connected, and to disconnect the slot from the signaler. Note that, unless otherwise specified, it is safe to invoke any method of `SignalerConnection` from the context of its associated slot, or any other slot. == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlmt/SignalerConnection/2constructor-03.adoc[`SignalerConnection`] [.small]#[constructor]# | Constructors | xref:BloombergLP/bdlmt/SignalerConnection/operator_assign-08.adoc[`operator=`] | Assignment operators | xref:BloombergLP/bdlmt/SignalerConnection/disconnect.adoc[`disconnect`] | Disconnect the associated slot without waiting. | xref:BloombergLP/bdlmt/SignalerConnection/disconnectAndWait.adoc[`disconnectAndWait`] | Disconnect the associated slot and wait for in‐progress signals. | xref:BloombergLP/bdlmt/SignalerConnection/isConnected.adoc[`isConnected`] | Return whether the associated slot is still connected. | xref:BloombergLP/bdlmt/SignalerConnection/reset.adoc[`reset`] | Disassociate this connection object from its associated slot, if any, and reset `*this` to a default‐constructed state. Throws nothing. | xref:BloombergLP/bdlmt/SignalerConnection/swap.adoc[`swap`] | Swap the contents of `*this` and `other`. | xref:BloombergLP/bdlmt/SignalerConnection/2conversion.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration<SignalerConnection, IsBitwiseMoveable>`] | Declare that this type is bitwise moveable. |=== == Friends [cols="1,4"] |=== | Name| Description | `xref:BloombergLP/bdlmt/operator_eq.adoc[BloombergLP::bdlmt::operator==]` | Return `true` if `lhs` and `rhs` refer to the same slot. | `xref:BloombergLP/bdlmt/operator_lt.adoc[BloombergLP::bdlmt::operator<]` | Return `true` if `lhs` is ordered before `rhs`. | `xref:BloombergLP/bdlmt/Signaler_Node.adoc[BloombergLP::bdlmt::Signaler_Node]` | Shared implementation object backing a `Signaler`. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlmt/operator_not_eq.adoc[`operator!=`] | Return `true` if `lhs` and `rhs` do not refer to the same slot. | xref:BloombergLP/bdlmt/operator_le.adoc[`operator<=`] | Return `true` if `lhs` is ordered before or equal to `rhs`. | xref:BloombergLP/bdlmt/operator_gt.adoc[`operator>`] | Return `true` if `lhs` is ordered after `rhs`. | xref:BloombergLP/bdlmt/operator_ge.adoc[`operator>=`] | Return `true` if `lhs` is ordered after or equal to `rhs`. | xref:BloombergLP/bdlmt/swap-09.adoc[`swap`] | Swap the contents of `a` and `b`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#