#include <PackagedTask.h>
template<class R , class... Param>
template<class R , class... Param>
template<class F >
template<class R , class... Param>
template<class F , class Alloc >
template<class R , class... Param>
template<class R , class... Param>
Get future from which delayed result can be retrieved.
- Exceptions
-
template<class R , class... Param>
Get function that will be invoked.
template<class R , class... Param>
template<class... Args>
Same as operator() except don't make future ready. User is responsible to call setReady() afterwards.
template<class R , class... Param>
template<class... Args>
Invoke stored function to evaluate result for associated future.
- Exceptions
-
template<class R , class... Param>
template<class R , class... Param>
Reset the task so it can be invoked again, a new future is created for the next result.
template<class R , class... Param>
template<class F >
Set function to be invoked.
template<class R , class... Param>
Signal to future that result is ready for retrieval, and optionally reset task before signalling. Call only after invoke_delayedReady().
template<class R , class... Param>
Check if this instance has state and can be used. State can be transferred out to another instance through move-assignment.
template<class R , class... Param>
template<class , class >
The documentation for this class was generated from the following file: