![]() |
AIStatefulTask ‐ Asynchronous, Stateful Task Scheduler library. Threads-like task objects evolving through user-defined states. |
Specialization of AIDelayedFunction for functions returning void.
#include <AIDelayedFunction.h>
Public Member Functions | |
| AIDelayedFunction (void(*fp)(Args...)) | |
| Construct a AIDelayedFunction for a free function. | |
| template<class C > | |
| AIDelayedFunction (C *object, void(C::*memfn)(Args...)) | |
| void | operator() (Args... args) |
| Store the arguments to be passed. | |
| void | invoke () |
| Actually invoke the call to the stored function with the stored arguments. | |
|
inline |
Construct a AIDelayedFunction for a member function of object.
The object must have a lifetime that exceeds the call to invoke.