adapnex::core::InputValueMapping
InputValueMapping provides an interface for input drivers to pass values to an application. The value can be accessed via the value() method or by mapping a variable that will hold the value.
Synopsis
Declared in <adapnex/core/mapping.h>
template<typename T>
class InputValueMapping
: public boost::noncopyable
Member Functions
Name |
Description |
Maps a variable that will hold the value produced by the input driver. |
|
Maps an atomic variable that will hold the value produced by the input driver. Using an atomic variable enables safe accesses across task groups. However, consumers in other task groups must consider, that the value may change during their cycle, as updates are not synchronized. |
|
Returns a reference to the value produced by the input driver. |
Derived Classes
| Name | Description |
|---|---|
Created with MrDocs