Radium Engine
1.5.20
|
#include <Core/Tasks/Task.hpp>
Public Member Functions | |
virtual | ~Task () |
Destructor. | |
virtual std::string | getName () const =0 |
Return the name of the task. | |
virtual void | process ()=0 |
Do the task job. Will be called from the task queue threads. | |
An interface class representing a basic task. Tasks are basic processing units of the engine. Tasks are run in parallel on separate threads by the engine. The work of a task is defined by overriding its process() function.
|
pure virtual |
Return the name of the task.
Implemented in Ra::Core::FunctionTask.
|
pure virtual |
Do the task job. Will be called from the task queue threads.
Implemented in Ra::Core::FunctionTask.