Dynamically‐allocated container for one slot, containing a function object that can be called by a signaler. Owned by a shared pointer in a skip list container in the Signaler_Node. Also referred to by weak pointers from SignalerConnection objects.
Synopsis
Declared in <bdlmt_signaler.h>
template<class t_PROT>
class Signaler_SlotNode
: public Signaler_SlotNode_Base
Base Classes
Name |
Description |
Provide a non‐template protocol base class for |
Type Aliases
Name |
Description |
Defines a "key" used to index slots in an associative collection. The first element of the pair is the slot call group; the second is the slot ID. |
Member Functions
Name |
Description |
|
Create a |
|
Disconnect this slot and return without waiting. If the slot was already disconnected, this function has no effect. Throws nothing. Note that it is guaranteed that this slot will not be called by a signal on the same signaler that begins after this function completes. |
|
Disconnect this slot and block the calling thread pending the completion of signals being emitted on the signaler by any other threads. If the slot was already disconnected, this function has no effect on the slot. Throws nothing. The behavior is undefined if this function is called from a slot on the same signaler. Note that it is guaranteed that this slot will not be called by a signal on the same signaler that begins after this function completes, whether |
Invoke the stored callback |
|
|
Return |
Notify this slot that is was disconnected from its associated signaler. Throws nothing. After this function completes, |
Created with MrDocs