Context for loops to be used without init and finalize section.
FORCONTEXT | Either DynamicContext<CONTEXT> or StaticContext<CONTEXT>. |
INDEXTYPE | An integral type used for the index of the loop. |
Public Member Functions | |
ForAlignedContext (INDEXTYPE from, INDEXTYPE to, Int threadIndex, BreakCondition *breakCondition) | |
void | Init () |
Bool | Finalize () |
ForAlignedContext | ( | INDEXTYPE | from, |
INDEXTYPE | to, | ||
Int | threadIndex, | ||
BreakCondition * | breakCondition | ||
) |
[in] | from | Start index. |
[in] | to | End index (excluded) |
[in] | threadIndex | Initial thread index. |
[in] | breakCondition | Pointer to a BreakCondition or nullptr (break not supported by context). |
void Init | ( | void | ) |
No INIT method to be called.
Bool Finalize | ( | ) |
No FINALIZE method to be called. Always returns false.