Scaleform::GFx::State Scaleform::GFx::TaskManager
class TaskManager : public State;
TaskManager is an abstract class that can be implemented as a thread pool or as a task queue. Tasks that need to be executed are added to the manager by calls to AddTask. If the application needs to use progressive loading, an instance of one of implementations of this interface (such as ThreadedTaskManager) should be set to the Loader before loading a SWF file.
Method |
Description |
Task manager destructor which is responsible for abandoning the entire tasks in the queue. | |
Instructs the task manager to abandon the task which was previously added to the queue. | |
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. | |
Instructs the task manager to stop accepting any new task and calls Task::OnAbandon method for all currently running tasks. | |
TaskManager constructor. |
GFx_TaskManager.h