Lines Matching refs:TaskGeneric

25     : TaskGeneric(TaskGeneric::ETaskSequential),  in TaskSequential()
38 TaskGeneric::ExecutionResult TaskSequential::run() in run()
45 return TaskGeneric::EResultError; in run()
49 TaskGeneric::ExecutionResult firstError(TaskGeneric::EResultOK); in run()
54 return TaskGeneric::EResultError; in run()
56 std::list<TaskGeneric*>::iterator i = getChildren().begin(); in run()
57 std::list<TaskGeneric*>::iterator end = getChildren().end(); in run()
59 TaskGeneric* child = *i; in run()
60 TaskGeneric::ExecutionResult result = child->run(); in run()
61 if ((result != TaskGeneric::EResultOK) && (firstError == TaskGeneric::EResultOK)) { in run()
66 TaskGeneric::ExecutionResult result = runAsyncTasksQueued(); in run()
67 if ((result != TaskGeneric::EResultOK) && (firstError == TaskGeneric::EResultOK)) { in run()
71 case TaskGeneric::EResultOK: in run()
72 case TaskGeneric::EResultContinue: in run()
74 firstError = TaskGeneric::EResultOK; in run()
76 case TaskGeneric:: EResultBreakOneLoop: in run()
77 return TaskGeneric::EResultOK; in run()
78 case TaskGeneric::EResultError: in run()
79 case TaskGeneric::EResultFail: in run()
80 case TaskGeneric::EResultPass: in run()
87 return TaskGeneric::EResultError; in run()
103 TaskGeneric::ExecutionResult TaskSequential::runAsyncTasksQueued() in runAsyncTasksQueued()
107 TaskGeneric::ExecutionResult firstError(TaskGeneric::EResultOK); in runAsyncTasksQueued()
111 TaskGeneric::ExecutionResult result = child->complete(); in runAsyncTasksQueued()
112 if ((result != TaskGeneric::EResultOK) && (firstError == TaskGeneric::EResultOK)) { in runAsyncTasksQueued()