[#BloombergLP-bdlmt-SignalerConnection]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::SignalerConnection
:relfileprefix: ../../
:mrdocs:

Lightweight handle representing a signaler&hyphen;to&hyphen;slot connection&period;

== Synopsis

Declared in `&lt;bdlmt&lowbar;signaler&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class SignalerConnection;
----

== Description

This `class` represents a connection between a signaler and a slot&period; 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&period; 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&period;

== 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&equals;`] 
| Assignment operators
| xref:BloombergLP/bdlmt/SignalerConnection/disconnect.adoc[`disconnect`] 
| Disconnect the associated slot without waiting&period;
| xref:BloombergLP/bdlmt/SignalerConnection/disconnectAndWait.adoc[`disconnectAndWait`] 
| Disconnect the associated slot and wait for in&hyphen;progress signals&period;
| xref:BloombergLP/bdlmt/SignalerConnection/isConnected.adoc[`isConnected`] 
| Return whether the associated slot is still connected&period;
| xref:BloombergLP/bdlmt/SignalerConnection/reset.adoc[`reset`] 
| Disassociate this connection object from its associated slot, if any, and reset `&ast;this` to a default&hyphen;constructed state&period; Throws nothing&period;
| xref:BloombergLP/bdlmt/SignalerConnection/swap.adoc[`swap`] 
| Swap the contents of `&ast;this` and `other`&period;
| xref:BloombergLP/bdlmt/SignalerConnection/2conversion.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration&lt;SignalerConnection, IsBitwiseMoveable&gt;`] 
| Declare that this type is bitwise moveable&period;
|===


== Friends

[cols="1,4"]
|===
| Name| Description
| `xref:BloombergLP/bdlmt/operator_eq.adoc[BloombergLP::bdlmt::operator&equals;&equals;]`
| Return `true` if `lhs` and `rhs` refer to the same slot&period;
| `xref:BloombergLP/bdlmt/operator_lt.adoc[BloombergLP::bdlmt::operator&lt;]`
| Return `true` if `lhs` is ordered before `rhs`&period;
| `xref:BloombergLP/bdlmt/Signaler_Node.adoc[BloombergLP::bdlmt::Signaler&lowbar;Node]`
| Shared implementation object backing a `Signaler`&period;
|===

== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlmt/operator_not_eq.adoc[`operator!&equals;`]
| Return `true` if `lhs` and `rhs` do not refer to the same slot&period;
| xref:BloombergLP/bdlmt/operator_le.adoc[`operator&lt;&equals;`]
| Return `true` if `lhs` is ordered before or equal to `rhs`&period;
| xref:BloombergLP/bdlmt/operator_gt.adoc[`operator&gt;`]
| Return `true` if `lhs` is ordered after `rhs`&period;
| xref:BloombergLP/bdlmt/operator_ge.adoc[`operator&gt;&equals;`]
| Return `true` if `lhs` is ordered after or equal to `rhs`&period;
| xref:BloombergLP/bdlmt/swap-09.adoc[`swap`]
| Swap the contents of `a` and `b`&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
