BloombergLP::bdlmt::Signaler_SlotNode::Signaler_SlotNode

Create a Signaler_SlotNode for the given signaler, key, and slot.

Synopsis

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);

Description

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.

Parameters

NameDescription
signalerNodePtrweak pointer to the owning signaler node
slotcallable object stored as this node's slot
slotMapKeykey identifying this slot in the signaler's map
allocatorallocator used to supply memory