A task that executes a function. More...
#include <Task.h>
Public Member Functions | |
TaskFunction (Function &function) | |
Constructs the task from a passed function. More... | |
virtual void | execute () |
![]() | |
virtual | ~ITask () |
Destructor. | |
virtual void | cancel () |
Cancels the task. | |
A task that executes a function.
Function | A function class that can be called without any parameter. |
|
inline |
Constructs the task from a passed function.
Takes a reference to the function in order to call it later.
|
inlinevirtual |