#include <seadControllerMgr.h>
Inherits sead::CalculateTask.
Classes | |
| class | ConstructArg |
| struct | Parameter |
Public Member Functions | |
| ControllerMgr () | |
| ControllerMgr (const TaskConstructArg &arg) | |
| virtual | ~ControllerMgr () |
| virtual void | prepare () |
| virtual void | calc () |
| void | initialize (s32 controller_max, Heap *heap) |
| void | finalize () |
| void | initializeDefault (Heap *heap) |
| void | finalizeDefault () |
| Controller * | getControllerByOrder (ControllerDefine::ControllerId id, s32 index) const |
| ControlDevice * | getControlDevice (ControllerDefine::DeviceId id) const |
| ControllerAddon * | getControllerAddon (s32 index, ControllerDefine::AddonId id) const |
| template<typename T> | |
| T | getControllerByOrderAs (s32 index) const |
| template<typename T> | |
| T | getControlDeviceAs () const |
| template<typename T> | |
| T | getControllerAddonAs (s32 index) const |
| s32 | findControllerPort (const Controller *controller) const |
| Public Member Functions inherited from sead::CalculateTask | |
| 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::Interface * | getCorrespondingMethodTreeMgrTypeInfo () const override |
| MethodTreeNode * | getMethodTreeNode (s32 method_type) override |
| Public Member Functions inherited from sead::TaskBase | |
| TaskBase (const TaskConstructArg &arg) | |
| TaskBase (const TaskConstructArg &arg, const char *name) | |
| virtual | ~TaskBase () |
| 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 () |
| 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 |
Private Attributes | |
| OffsetList< ControlDevice > | mDevices |
| PtrArray< Controller > | mControllers |
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 |
| Public Attributes inherited from sead::CalculateTask | |
| MethodTreeNode | mCalcNode |
| Protected Member Functions inherited from sead::TreeNode | |
| void | clearChildLinksRecursively_ () |
| Protected Attributes inherited from sead::TaskBase | |
| 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 |
| sead::ControllerMgr::ControllerMgr | ( | ) |
| sead::ControllerMgr::ControllerMgr | ( | const TaskConstructArg & | arg | ) |
|
inlinevirtual |
|
virtual |
Reimplemented from sead::TaskBase.
|
virtual |
Reimplemented from sead::CalculateTask.
| void sead::ControllerMgr::initialize | ( | s32 | controller_max, |
| Heap * | heap ) |
| void sead::ControllerMgr::finalize | ( | ) |
| void sead::ControllerMgr::initializeDefault | ( | Heap * | heap | ) |
| void sead::ControllerMgr::finalizeDefault | ( | ) |
| Controller * sead::ControllerMgr::getControllerByOrder | ( | ControllerDefine::ControllerId | id, |
| s32 | index ) const |
| ControlDevice * sead::ControllerMgr::getControlDevice | ( | ControllerDefine::DeviceId | id | ) | const |
| ControllerAddon * sead::ControllerMgr::getControllerAddon | ( | s32 | index, |
| ControllerDefine::AddonId | id ) const |
| T sead::ControllerMgr::getControllerByOrderAs | ( | s32 | index | ) | const |
| T sead::ControllerMgr::getControlDeviceAs | ( | ) | const |
| T sead::ControllerMgr::getControllerAddonAs | ( | s32 | index | ) | const |
| s32 sead::ControllerMgr::findControllerPort | ( | const Controller * | controller | ) | const |
|
private |
|
private |