#include <job.h>
Template for jobs which return more than just a void result.
Protected Types | |
using | ValueType = RESULTVALUETYPE |
Protected Member Functions | |
ResultOk< void > | SetResult (RESULTVALUETYPE &&value) |
RESULTVALUETYPE & | GetResultValue () |
template<typename FN , typename... ARGS> | |
Result< void > | Invoke (FN &&obj, ARGS &&... args) |
Private Attributes | |
RESULTVALUETYPE | _result |
Friends | |
template<typename > | |
struct | MoveToTuple |
template<typename , typename , typename , typename > | |
class | ContinuationJob |
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 () |