XFaceApp::TaskHandlerBase Class Reference
#include <TaskHandlerBase.h>
Inheritance diagram for XFaceApp::TaskHandlerBase:
Detailed Description
- Author:
- Koray Balci
- See also:
- ApplicationBase
Public Member Functions | |
virtual void | newTask (const Task &task) |
Post a new Task through here. | |
virtual bool | processTask () |
Process the Task queue. | |
void | discardPendingTasks () |
Discard all pending Task objects in the queue. | |
void | pause (bool bPause=true) |
Pauses the system. | |
Protected Member Functions | |
virtual void | onRenderFrame () const |
Task handler with empty body. | |
virtual void | onAdvanceFrame () const |
Task handler with empty body. | |
virtual bool | onResumePlayback () |
Task handler with empty body. | |
virtual void | onStopPlayback () |
Task handler with empty body. | |
virtual void | onRewindPlayback () const |
Task handler with empty body. | |
virtual bool | onLoadFDP (const std::string &, const std::string &) |
Task handler with empty body. | |
virtual bool | onLoadFAP (const std::string &) |
Task handler with empty body. | |
virtual bool | onLoadPHO (const std::string &, const std::string &) |
Task handler with empty body. | |
virtual bool | onLoadANIM (const std::string &) |
Task handler with empty body. | |
virtual bool | onLoadWAV (const std::string &) |
Task handler with empty body. | |
virtual bool | onUpLoadFAP (const std::string &) |
Task handler with empty body. | |
virtual bool | onUpLoadPHO (const std::string &, const std::string &, const std::string &) |
Task handler with empty body. | |
virtual bool | onUpLoadANIM (const std::string &) |
Task handler with empty body. | |
virtual bool | onUpLoadScript (const std::string &, const std::string &) |
Task handler with empty body. | |
Protected Attributes | |
Task | m_currentTask |
Pointer to current task that is being processed is stored for firing proper Notification(s). |
Member Function Documentation
|
Empties all the tasks in the queue. Not to be abused, might be necessary for high priority tasks like saving avi, and can be called before issueing such tasks. |
|
Pushes the Task directly to the task queue. |
|
Pops the front task from the queue and tries to dispatch. Should be called externally every now and then (even when a task is being processed), derived class ApplicationBase does it well.
|
The documentation for this class was generated from the following files:
- TaskHandlerBase.h
- TaskHandlerBase.cpp
Generated on Mon Aug 28 15:39:26 2006 for Xface Core Library by 1.4.6-NO