adapnex::core::OutputValueMapping

OutputValueMapping provides an interface for output drivers to receive values from an application. The value can be accessed via the value() method or by mapping a variable that holds the value.

Synopsis

Declared in <adapnex/core/mapping.h>

template<typename T>
class OutputValueMapping
    : public boost::noncopyable

Base Classes

Name Description

boost::noncopyable

Member Functions

Name

Description

value

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

operator<<

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

operator<<

Maps an atomic variable that holds the 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.

Protected Member Functions

Name

Update

Protected Data Members

Name

target

val

Friends

Name Description

adapnex::core::Mapping_OutputValueMapping_Test