JobResultInterface< RESULTVALUETYPE > Class Template Reference 线程
#include <job.h>
Template for jobs which return more than just a void result.
Protected Member Functions |
|
| ResultOk < void > | SetResult (RESULTVALUETYPE &&value) |
| template<typename FN , typename... ARGS> | |
| Result < void > | Invoke (FN &&obj, ARGS &&... args) |
Private Attributes |
|
| RESULTVALUETYPE | _result |
Additional Inherited Members |
|
Static Public Member Functions inherited from
JobInterface
|
|
| static Int | GetCurrentWorkerThreadIndex () |
| static Int | GetCurrentThreadCount () |
| static Bool | IsCurrentJobCancelled (const JobInterface *optionalJob=nullptr) |
| static JobStatusInterface * | GetCurrentJob () |