An object that can create Task. More...
#include <TaskFactory.h>
Public Member Functions | |
TaskFactory (const char *type) | |
Creates a new task factory. | |
virtual | ~TaskFactory () |
Deletes this task factory. | |
virtual ptr< Task > | getTask (ptr< Object > context)=0 |
Creates a new task. |
An object that can create Task.
ork::TaskFactory::TaskFactory | ( | const char * | type | ) |
Creates a new task factory.
type | the type of this factory. |
virtual ork::TaskFactory::~TaskFactory | ( | ) | [virtual] |
Deletes this task factory.
Creates a new task.
context | an optional parameter to control the task creation. |
Implemented in ork::CallMethodTask, ork::DrawMeshTask, ork::LoopTask, ork::SequenceTask, ork::SetProgramTask, ork::SetStateTask, ork::SetTargetTask, ork::SetTransformsTask, and ork::ShowInfoTask.