3#include <Foundation/Threading/TaskSystem.h>
20 virtual void Execute()
override { m_Func(m_param); }
39 virtual void Execute()
override { m_Func(); }
virtual void Execute() override
Override this to implement the task's supposed functionality.
Definition DelegateTask.h:39
A simple task implementation that calls a delegate function.
Definition DelegateTask.h:8
virtual void Execute() override
Override this to implement the task's supposed functionality.
Definition DelegateTask.h:20
Base class for custom tasks.
Definition Task.h:10
void ConfigureTask(const char *szTaskName, plTaskNesting nestingMode, plOnTaskFinishedCallback callback=plOnTaskFinishedCallback())
Sets the most important task properties. This has to be done before the task is added to a task group...
Definition Task.cpp:17