Compartir a través de


overwrite_buffer::value Method

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

_Type value();

Return Value

The payload of the currently stored message.

Remarks

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.

Requirements

Header: agents.h

Namespace: concurrency

See Also

Reference

overwrite_buffer Class