Base class for Reducer implementing some operations common to all specializations. More...
#include <Reducer.hpp>
Public Member Functions | |
| ReducerImpl () | |
| operator T () const | |
| Read out value; does expensive global reduce. More... | |
| void | operator= (const T &v) |
| Globally set the value; expensive global synchronization. More... | |
| void | reset () |
| Globally reset to default value for the type. More... | |
Protected Attributes | |
| T | local_value |
Base class for Reducer implementing some operations common to all specializations.
Definition at line 239 of file Reducer.hpp.
|
inline |
Definition at line 243 of file Reducer.hpp.
|
inline |
Read out value; does expensive global reduce.
Called implicitly when the Reducer is used as the underlying type, or by an explicit cast operation.
Definition at line 249 of file Reducer.hpp.
|
inline |
Globally set the value; expensive global synchronization.
Definition at line 252 of file Reducer.hpp.
|
inline |
Globally reset to default value for the type.
Definition at line 255 of file Reducer.hpp.
|
protected |
Definition at line 241 of file Reducer.hpp.