TaskManager::AddTask

TaskManager::AddTask
virtual bool AddTask(Task* ptask) = 0;
Description

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
Parameters 
Description 
Task* ptask 
Pointer to the task to execute. 
Return Value

A Boolean value of true if a task is added to the queue for execution otherwise false.