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.
Synopsis
Declared in <bdlmt_signaler.h>
class SignalerConnection;
Member Functions
Name |
Description |
|
Constructors |
Assignment operators |
|
Disconnect the associated slot. If the slot was already disconnected, this function has no effect. This function returns immediately without waiting on any calls to the signaler that may be in progress. Any signal emitted on the corresponding signaler that happens after this call to |
|
Disconnect the associated slot. If the slot was already disconnected, this function has no effect. This function blocks the calling thread pending completion of signals emitted on the signaler by any thread, even if the slot was disconnected prior to this call. Any signal emitted on the corresponding signaler that happens after this call to |
|
Return |
|
Disassociate this connection object from its associated slot, if any, and reset |
|
Swap the contents of |
|
|
Declare that this type is bitwise moveable. |
Friends
Name |
Description |
Return |
|
Return |
|
Provides the implementation of a signaler. This object has a 1‐1 relationship with the |
Non-Member Functions
Name |
Description |
Return |
|
Return |
|
Return |
|
Return |
|
Swap the contents of the specified |
Created with MrDocs