#include <job.h>
RESULT_TYPE.
Public Types | |
using | Super = ResultMemT< JobResultRef< RESULT_TYPE > > |
using Super = ResultMemT<JobResultRef<RESULT_TYPE> > |
MAXON_IMPLICIT ResultMemJob | ( | const JobResultRef< RESULT_TYPE > & | value | ) |
MAXON_IMPLICIT ResultMemJob | ( | JobResultRef< RESULT_TYPE > && | value | ) |
MAXON_WARN_UNUSED auto Then | ( | FN && | src, |
JobQueueInterface * | queue = JOBQUEUE_CURRENT |
||
) | -> ResultMemJob<typename GetSignature<decltype(&FN::operator ())>::ReturnType> |
Chains a job to a predecessor.
[in] | src | Lambda or object with operator (), input arguments are the predecessors return values. |
[in] | queue | Destination queue for the job. |
FN | Type of function/lambda, deduced by the compiler. |
Result<void> Wait | ( | ) |