Dynamically allocated container holding one connected slot.
Declared in <bdlmt_signaler.h>
template<class t_PROT>
class Signaler_SlotNode
: public Signaler_SlotNode_Base
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.
| Name | Description |
|---|---|
Signaler_SlotNode_Base | Non-template protocol base for Signaler_SlotNode. |
| Name | Description |
|---|---|
SlotMapKey | 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. |
| Name | Description |
|---|---|
Signaler_SlotNode [constructor] | Create a Signaler_SlotNode for the given signaler, key, and slot. |
disconnect [virtual] | Disconnect this slot without waiting for in-progress signals. |
disconnectAndWait [virtual] | Disconnect this slot and wait for in-progress signals to finish. |
invoke | Invoke the stored callback with the supplied arguments. |
isConnected [virtual] | Return true if this slot is connected to its associated signaler, and false otherwise. |
notifyDisconnected | Notify this slot that is was disconnected from its associated signaler. Throws nothing. After this function completes, isConnected() returns false. |