An overwrite_buffer messaging block is a multi-target, multi-source, ordered
propagator_block capable of storing a single message at
a time. New messages overwrite previously held ones.
template<
class _Type
>
class overwrite_buffer : public propagator_block<multi_link_registry<ITarget<_Type>>, multi_link_registry<ISource<_Type>>>;
- _Type
The payload type of the messages stored and propagated by the buffer.
Public Constructors
Public Methods
Protected Methods
An overwrite_buffer messaging block propagates out copies of its stored message to each of its targets.
For more information, see Asynchronous Message Blocks.
ISource
source_block
ITarget
propagator_block
overwrite_buffer
Header: agents.h
Reference