#include <seadTaskBase.h>
Inherits sead::TTreeNode< TaskBase * >, sead::IDisposer, and sead::INamable.
Inherited by sead::CalculateTask.
Classes | |
| struct | CreateArg |
Public Types | |
| enum | State { cCreated = 0 , cPrepare = 1 , cPrepareDone = 2 , cSleep = 3 , cRunning = 4 , cDying = 5 , cDestroyable = 6 , cDead = 7 } |
| enum | Tag { cSystem = 0 , cApp = 1 } |
| typedef TListNode< TaskBase * > | ListNode |
| typedef TList< TaskBase * > | List |
Public Member Functions | |
| TaskBase (const TaskConstructArg &arg) | |
| TaskBase (const TaskConstructArg &arg, const char *name) | |
| virtual void | pauseCalc (bool b)=0 |
| virtual void | pauseDraw (bool b)=0 |
| virtual void | pauseCalcRec (bool b)=0 |
| virtual void | pauseDrawRec (bool b)=0 |
| virtual void | pauseCalcChild (bool b) |
| virtual void | pauseDrawChild (bool b) |
| virtual | ~TaskBase () |
| virtual void | prepare () |
| virtual void | enterCommon () |
| virtual void | enter () |
| virtual void | exit () |
| virtual void | onEvent (const TaskEvent &) |
| virtual void | attachCalcImpl ()=0 |
| virtual void | attachDrawImpl ()=0 |
| virtual void | detachCalcImpl ()=0 |
| virtual void | detachDrawImpl ()=0 |
| virtual const RuntimeTypeInfo::Interface * | getCorrespondingMethodTreeMgrTypeInfo () const =0 |
| virtual MethodTreeNode * | getMethodTreeNode (s32 method_type)=0 |
| virtual void | onDestroy () |
| void | doneDestroy () |
| void | detachCalc () |
| void | detachDraw () |
| void | detachCalcDraw () |
| Framework * | getFramework () const |
| MethodTreeMgr * | getMethodTreeMgr () const |
| template<typename T> | |
| T * | getParameter () const |
| void | adjustHeapAll () |
| TaskBase * | getParentTask () const |
| Heap * | getHeap () |
| TaskMgr * | getTaskMgr () const |
| Tag | getTag () const |
| Public Member Functions inherited from sead::TTreeNode< TaskBase * > | |
| TTreeNode () | |
| TTreeNode< TaskBase * > * | parent () const |
| TTreeNode< TaskBase * > * | child () const |
| TTreeNode< TaskBase * > * | next () const |
| TTreeNode< TaskBase * > * | prev () const |
| TTreeNode< TaskBase * > * | findRoot () |
| void | pushBackSibling (TTreeNode< TaskBase * > *o) |
| void | pushBackChild (TTreeNode< TaskBase * > *o) |
| void | pushFrontChild (TTreeNode< TaskBase * > *o) |
| void | insertBeforeSelf (TTreeNode< TaskBase * > *o) |
| void | insertAfterSelf (TTreeNode< TaskBase * > *o) |
| TaskBase *& | val () |
| nextIterator | nextBegin () const |
| nextConstIterator | nextConstBegin () const |
| nextIterator | nextEnd () const |
| nextConstIterator | nextConstEnd () const |
| nextIterator | childBegin () const |
| nextConstIterator | childConstBegin () const |
| nextIterator | childEnd () const |
| nextConstIterator | childConstEnd () const |
| depthFirstIterator | depthFirstBegin () const |
| depthFirstConstIterator | depthFirstConstBegin () const |
| depthFirstIterator | depthFirstWithoutRootBegin () const |
| depthFirstConstIterator | depthFirstWithoutRootConstBegin () const |
| depthFirstIterator | depthFirstEnd () const |
| depthFirstConstIterator | depthFirstConstEnd () const |
| Public Member Functions inherited from sead::TreeNode | |
| TreeNode () | |
| void | clearLinks () |
| void | detachAll () |
| void | detachSubTree () |
| void | pushBackSibling (TreeNode *n) |
| void | pushBackChild (TreeNode *n) |
| void | pushFrontChild (TreeNode *n) |
| void | insertBeforeSelf (TreeNode *n) |
| void | insertAfterSelf (TreeNode *n) |
| bool | isRoot () const |
| bool | isLeaf () const |
| const TreeNode * | findRoot () const |
| TreeNode * | findRoot () |
| s32 | countChildren () const |
| Public Member Functions inherited from sead::IDisposer | |
| IDisposer () | |
| virtual | ~IDisposer () |
| Public Member Functions inherited from sead::INamable | |
| INamable () | |
| INamable (const SafeString &name) | |
| void | setName (const SafeString &name) |
| const SafeString & | getName () const |
Protected Attributes | |
| TaskParameter * | mParameter |
| BitFlag32 | mInternalFlag |
| ListNode | mTaskListNode |
| HeapArray | mHeapArray |
| TaskMgr * | mTaskMgr |
| State | mState |
| Tag | mTag |
| TaskClassID | mClassID |
| Protected Attributes inherited from sead::TTreeNode< TaskBase * > | |
| TaskBase * | mData |
| Protected Attributes inherited from sead::TreeNode | |
| TreeNode * | mParent |
| TreeNode * | mChild |
| TreeNode * | mNext |
| TreeNode * | mPrev |
Friends | |
| class | TaskMgr |
Additional Inherited Members | |
| Protected Member Functions inherited from sead::TreeNode | |
| void | clearChildLinksRecursively_ () |
| typedef TListNode<TaskBase*> sead::TaskBase::ListNode |
| typedef TList<TaskBase*> sead::TaskBase::List |
| enum sead::TaskBase::Tag |
| sead::TaskBase::TaskBase | ( | const TaskConstructArg & | arg | ) |
| sead::TaskBase::TaskBase | ( | const TaskConstructArg & | arg, |
| const char * | name ) |
|
virtual |
|
pure virtual |
Implemented in sead::CalculateTask.
|
pure virtual |
Implemented in sead::CalculateTask.
|
pure virtual |
Implemented in sead::CalculateTask.
|
pure virtual |
Implemented in sead::CalculateTask.
|
inlinevirtual |
Reimplemented in sead::CalculateTask.
|
inlinevirtual |
Reimplemented in sead::CalculateTask.
|
virtual |
Reimplemented in sead::ControllerMgr.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
pure virtual |
Implemented in sead::CalculateTask.
|
pure virtual |
Implemented in sead::CalculateTask.
|
pure virtual |
Implemented in sead::CalculateTask.
|
pure virtual |
Implemented in sead::CalculateTask.
|
pure virtual |
Implemented in sead::CalculateTask.
|
pure virtual |
Implemented in sead::CalculateTask.
|
inlinevirtual |
| void sead::TaskBase::doneDestroy | ( | ) |
|
inline |
|
inline |
|
inline |
| Framework * sead::TaskBase::getFramework | ( | ) | const |
| MethodTreeMgr * sead::TaskBase::getMethodTreeMgr | ( | ) | const |
|
inline |
| void sead::TaskBase::adjustHeapAll | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |