overwrite_buffer::propagate_to_any_targets Method

Places the message_PMessage in this overwrite_buffer messaging block and offers it to all of the linked targets.

virtual void propagate_to_any_targets(
   message<_Type> * _PMessage
);

Parameters

  • _PMessage
    A pointer to a message object that this overwrite_buffer has taken ownership of.

Remarks

This method overwrites the current message in the overwrite_buffer with the newly accepted message _PMessage.

Requirements

Header: agents.h

Namespace: Concurrency

See Also

Reference

overwrite_buffer Class