adapnex::core::OutputArrayMapping::ValueMapping

Synopsis

Declared in <adapnex/core/mapping.h>

class ValueMapping;

Member Functions

Name

Description

ValueMapping [constructor]

value

Returns a reference to the element's value consumed by the output driver. The reference can be used to assign a value to the element.

operator<<

Maps a variable that holds the element's value to be consumed by the output driver.

operator<<

Maps an atomic variable that holds the element's value to be consumed by the output driver. Using an atomic variable enables safe accesses across task groups. However, producers in other task groups must consider, that the value may be consumed during their cycle, as updates are not synchronized.

Friends

Name Description

adapnex::core::OutputArrayMapping

OutputArrayMapping provides an interface for output drivers to receive an array of values from an application. Individual elements can be selected using the index operator and then accessed via the value() method or by mapping a variable that holds the element's value.

Created with MrDocs