PFUNC 1.0
|
Public Member Functions | |
while_wrapper (const WhileExecutable &func, const ValueType &value) | |
void | operator() (void) |
Private Attributes | |
const WhileExecutable & | func |
const ValueType & | value |
A structure to execute the base case of WhileExecutable. We need this structure because PFunc only accepts void operator()(void), but we need void operator()(const ValueType&). This is the wrapper that allows execution by PFunc.
pfunc::parallel_while< PFuncInstanceType, InputIterator, WhileExecutable >::while_wrapper::while_wrapper | ( | const WhileExecutable & | func, |
const ValueType & | value | ||
) | [inline] |
Constructor
[in] | func | The func that is executed on value. |
[in] | value | The value on which func is to be executed. |
void pfunc::parallel_while< PFuncInstanceType, InputIterator, WhileExecutable >::while_wrapper::operator() | ( | void | ) | [inline, virtual] |
The wrapper operator() function that invokes func() with value.
Implements pfunc::virtual_functor.
const WhileExecutable& pfunc::parallel_while< PFuncInstanceType, InputIterator, WhileExecutable >::while_wrapper::func [private] |
const ValueType& pfunc::parallel_while< PFuncInstanceType, InputIterator, WhileExecutable >::while_wrapper::value [private] |