Context for lambdas which don't expect a context pointer as argument and return Result<void> .
Public Types |
|
using | ResultValueType = Result < void > |
![]() |
|
using | ResultValueType = Result < void > |
![]() |
|
using | ResultValueType = void |
公共成员函数 |
|
template<typename FN , typename CONTEXT , typename INDEXTYPE > | |
void | Invoke (FN &obj, INDEXTYPE i) |
void | UpdateWorkerThreadIndex ( Int threadIndex= InvalidArrayIndex ) const |
![]() |
|
void | Break ( Result < void > result= OK ) |
Bool | IsCancelled () const |
![]() |
|
BaseContext () | |
template<typename INDEXTYPE > | |
void | PrivateInit (INDEXTYPE from, INDEXTYPE to, Int threadIndex, BreakCondition *breakCondition) |
template<typename FN , typename CONTEXT , typename INDEXTYPE > | |
void | Invoke (FN &obj, INDEXTYPE i) |
Bool | IsCancelled () const |
Int | GetWorkerThreadIndex () const |
void | UpdateWorkerThreadIndex ( Int threadIndex= JobRef::GetCurrentWorkerThreadIndex ()) |
Int | GetLocalThreadIndex () const |
void | Break ( Result < void > result= OK ) |
静态公共成员函数 |
|
static ResultValueType | 返回 ( Result < void > &&r) |
![]() |
|
static ResultValueType | 返回 ( Result < void > &&r) |
![]() |
|
static ResultValueType | 返回 ( Result < void > &&r) |
Additional Inherited Members |
|
![]() |
|
Int | _from |
Int | _to |
Int | _workerThreadIndex |
Int | _localContextIndex |
Result < void > | _result |
BreakCondition * | _breakCondition |
using ResultValueType = Result <void> |
void Invoke | ( | FN & | obj , |
INDEXTYPE | i | ||
) |
Invokes the loop body object.
[in] | obj | Reference to loop body object. |
[in] | i | Index. |
FN | A class containing an operator ()(INDEXTYPE) used for the loop. |
CONTEXT | Type of context super class. |
INDEXTYPE | An integral type used for the index of the loop. |
void UpdateWorkerThreadIndex | ( | Int |
threadIndex
=
InvalidArrayIndex
|
) | const |
|
static |