sead
Loading...
Searching...
No Matches
sead::CalculateTask Class Reference

#include <seadCalculateTask.h>

Inherits sead::TaskBase.

Inherited by sead::ControllerMgr.

Public Member Functions

 CalculateTask (const TaskConstructArg &arg)
 CalculateTask (const TaskConstructArg &arg, const char *name)
void pauseCalc (bool b) override
void pauseDraw (bool b) override
void pauseCalcRec (bool b) override
void pauseDrawRec (bool b) override
void pauseCalcChild (bool b) override
void pauseDrawChild (bool b) override
virtual ~CalculateTask ()
void attachCalcImpl () override
void attachDrawImpl () override
void detachCalcImpl () override
void detachDrawImpl () override
const RuntimeTypeInfo::InterfacegetCorrespondingMethodTreeMgrTypeInfo () const override
MethodTreeNodegetMethodTreeNode (s32 method_type) override
virtual void calc ()
Public Member Functions inherited from sead::TaskBase
 TaskBase (const TaskConstructArg &arg)
 TaskBase (const TaskConstructArg &arg, const char *name)
virtual ~TaskBase ()
virtual void prepare ()
virtual void enterCommon ()
virtual void enter ()
virtual void exit ()
virtual void onEvent (const TaskEvent &)
virtual void onDestroy ()
void doneDestroy ()
void detachCalc ()
void detachDraw ()
void detachCalcDraw ()
FrameworkgetFramework () const
MethodTreeMgrgetMethodTreeMgr () const
template<typename T>
T * getParameter () const
void adjustHeapAll ()
TaskBasegetParentTask () const
HeapgetHeap ()
TaskMgrgetTaskMgr () 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 TreeNodefindRoot () const
TreeNodefindRoot ()
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 SafeStringgetName () const

Public Attributes

MethodTreeNode mCalcNode

Additional Inherited Members

Public Types inherited from sead::TaskBase
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
Protected Member Functions inherited from sead::TreeNode
void clearChildLinksRecursively_ ()
Protected Attributes inherited from sead::TaskBase
TaskParametermParameter
BitFlag32 mInternalFlag
ListNode mTaskListNode
HeapArray mHeapArray
TaskMgrmTaskMgr
State mState
Tag mTag
TaskClassID mClassID
Protected Attributes inherited from sead::TTreeNode< TaskBase * >
TaskBasemData
Protected Attributes inherited from sead::TreeNode
TreeNodemParent
TreeNodemChild
TreeNodemNext
TreeNodemPrev

Constructor & Destructor Documentation

◆ CalculateTask() [1/2]

sead::CalculateTask::CalculateTask ( const TaskConstructArg & arg)

◆ CalculateTask() [2/2]

sead::CalculateTask::CalculateTask ( const TaskConstructArg & arg,
const char * name )

◆ ~CalculateTask()

virtual sead::CalculateTask::~CalculateTask ( )
virtual

Member Function Documentation

◆ pauseCalc()

void sead::CalculateTask::pauseCalc ( bool b)
overridevirtual

Implements sead::TaskBase.

◆ pauseDraw()

void sead::CalculateTask::pauseDraw ( bool b)
overridevirtual

Implements sead::TaskBase.

◆ pauseCalcRec()

void sead::CalculateTask::pauseCalcRec ( bool b)
overridevirtual

Implements sead::TaskBase.

◆ pauseDrawRec()

void sead::CalculateTask::pauseDrawRec ( bool b)
overridevirtual

Implements sead::TaskBase.

◆ pauseCalcChild()

void sead::CalculateTask::pauseCalcChild ( bool b)
overridevirtual

Reimplemented from sead::TaskBase.

◆ pauseDrawChild()

void sead::CalculateTask::pauseDrawChild ( bool b)
overridevirtual

Reimplemented from sead::TaskBase.

◆ attachCalcImpl()

void sead::CalculateTask::attachCalcImpl ( )
overridevirtual

Implements sead::TaskBase.

◆ attachDrawImpl()

void sead::CalculateTask::attachDrawImpl ( )
overridevirtual

Implements sead::TaskBase.

◆ detachCalcImpl()

void sead::CalculateTask::detachCalcImpl ( )
overridevirtual

Implements sead::TaskBase.

◆ detachDrawImpl()

void sead::CalculateTask::detachDrawImpl ( )
overridevirtual

Implements sead::TaskBase.

◆ getCorrespondingMethodTreeMgrTypeInfo()

const RuntimeTypeInfo::Interface * sead::CalculateTask::getCorrespondingMethodTreeMgrTypeInfo ( ) const
overridevirtual

Implements sead::TaskBase.

◆ getMethodTreeNode()

MethodTreeNode * sead::CalculateTask::getMethodTreeNode ( s32 method_type)
overridevirtual

Implements sead::TaskBase.

◆ calc()

virtual void sead::CalculateTask::calc ( )
virtual

Reimplemented in sead::ControllerMgr.

Member Data Documentation

◆ mCalcNode

MethodTreeNode sead::CalculateTask::mCalcNode