Create a Signaler_SlotNode for the given signaler, key, and slot.
Declared in <bdlmt_signaler.h>
template<class t_FUNC>
Signaler_SlotNode(
bsl::weak_ptr<SignalerNode> const& signalerNodePtr,
t_FUNC&& slot,
SlotMapKey slotMapKey,
bslma::Allocator* allocator);
Create a Signaler_SlotNode object associated with signaler node at the specified signalerNodePtr using the specified slotMapKey and with the specified slot callable object. Specify an allocator used to supply memory.
| Name | Description |
|---|---|
| signalerNodePtr | weak pointer to the owning signaler node |
| slot | callable object stored as this node's slot |
| slotMapKey | key identifying this slot in the signaler's map |
| allocator | allocator used to supply memory |