virtual bool AddTask(Task* ptask) = 0;
AddTask adds a task for execution; the manager is responsible for executing a task and keeping a reference count on it until it is completed or abandoned.
Parameters |
Description |
Task* ptask |
Pointer to the task to execute. |
A Boolean value of true if a task is added to the queue for execution otherwise false.