#include <accumulate.h>
Inheritance diagram for rpa::accumulate_args< RngIn, RetType, BinOp >:

Public Types | |
| typedef RetType | result_type |
Public Member Functions | |
| accumulate_args (const RngIn &aRngIn, const result_type &aInit, const BinOp &aFunc) | |
| const result_type & | execute (void) |
| Sequential execution using STL original algorithm. | |
| void | reduce (const result_type &aB) |
| Reduction of the execution of several sub-threads, using the user's functor. | |
| const result_type & | result (void) const |
| template<class Thr> | |
| threadify_t< BinOp, Thr >::functor_type | threadize (Thr &refThr) |
Public Attributes | |
| RngIn | _seqIn |
| BinOp | _Func |
| RetType | _Resu |
| typedef RetType rpa::accumulate_args< RngIn, RetType, BinOp >::result_type |
Reimplemented in rpa::accumulate_t< Range, Type, BinOp >.
| rpa::accumulate_args< RngIn, RetType, BinOp >::accumulate_args | ( | const RngIn & | aRngIn, | |
| const result_type & | aInit, | |||
| const BinOp & | aFunc | |||
| ) | [inline] |
| const result_type& rpa::accumulate_args< RngIn, RetType, BinOp >::execute | ( | void | ) | [inline] |
Sequential execution using STL original algorithm.
| void rpa::accumulate_args< RngIn, RetType, BinOp >::reduce | ( | const result_type & | aB | ) | [inline] |
Reduction of the execution of several sub-threads, using the user's functor.
| const result_type& rpa::accumulate_args< RngIn, RetType, BinOp >::result | ( | void | ) | const [inline] |
| threadify_t< BinOp,Thr >::functor_type rpa::accumulate_args< RngIn, RetType, BinOp >::threadize | ( | Thr & | refThr | ) | [inline] |
| BinOp rpa::accumulate_args< RngIn, RetType, BinOp >::_Func |
| RetType rpa::accumulate_args< RngIn, RetType, BinOp >::_Resu |
The result is stored here after execution. So, it can later be retrieved if all the algorithm is executed in a sub-thread.
| RngIn rpa::accumulate_args< RngIn, RetType, BinOp >::_seqIn |
1.4.7