overwrite_buffer::value Method

Gets a reference to the current payload of the message being stored in the overwrite_buffer messaging block.

_Type value();

The payload of the currently stored message.

The value stored in the overwrite_buffer could change immediately after this method returns. This method will wait until a message arrives if no message is currently stored in the overwrite_buffer.

Header: agents.h

Namespace: Concurrency

Community Additions