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

#include <seadMethodTree.h>

Inherits sead::TTreeNode< MethodTreeNode * >, sead::INamable, and sead::IDisposer.

Public Types

enum  PauseFlag { cPause_None = 0 , cPause_Self = 1 , cPause_Child = 2 , cPause_Both = 3 }
typedef IDelegate2< MethodTreeNode *, PauseFlagPauseEventDelegate

Public Member Functions

 MethodTreeNode (CriticalSection *cs)
virtual ~MethodTreeNode ()
MethodTreeNodegetParent () const
MethodTreeNodegetChild () const
MethodTreeNodegetNext () const
void attachMutexRec_ (CriticalSection *m) const
void detachAll ()
void lock_ ()
void unlock_ ()
void call ()
void setPauseFlag (PauseFlag f)
Public Member Functions inherited from sead::TTreeNode< MethodTreeNode * >
 TTreeNode ()
TTreeNode< MethodTreeNode * > * parent () const
TTreeNode< MethodTreeNode * > * child () const
TTreeNode< MethodTreeNode * > * next () const
TTreeNode< MethodTreeNode * > * prev () const
TTreeNode< MethodTreeNode * > * findRoot ()
void pushBackSibling (TTreeNode< MethodTreeNode * > *o)
void pushBackChild (TTreeNode< MethodTreeNode * > *o)
void pushFrontChild (TTreeNode< MethodTreeNode * > *o)
void insertBeforeSelf (TTreeNode< MethodTreeNode * > *o)
void insertAfterSelf (TTreeNode< MethodTreeNode * > *o)
MethodTreeNode *& 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::INamable
 INamable ()
 INamable (const SafeString &name)
void setName (const SafeString &name)
const SafeStringgetName () const
Public Member Functions inherited from sead::IDisposer
 IDisposer ()
virtual ~IDisposer ()

Public Attributes

struct { 
   u32   data_ [4] 
mDelegateHolder
CriticalSectionmCriticalSection
u32 mPriority
BitFlag32 mPauseFlag
PauseEventDelegatemPauseEventDelegate
void * mUserID

Additional Inherited Members

Protected Member Functions inherited from sead::TreeNode
void clearChildLinksRecursively_ ()
Protected Attributes inherited from sead::TTreeNode< MethodTreeNode * >
MethodTreeNodemData
Protected Attributes inherited from sead::TreeNode
TreeNodemParent
TreeNodemChild
TreeNodemNext
TreeNodemPrev

Member Typedef Documentation

◆ PauseEventDelegate

Member Enumeration Documentation

◆ PauseFlag

Enumerator
cPause_None 
cPause_Self 
cPause_Child 
cPause_Both 

Constructor & Destructor Documentation

◆ MethodTreeNode()

sead::MethodTreeNode::MethodTreeNode ( CriticalSection * cs)

◆ ~MethodTreeNode()

virtual sead::MethodTreeNode::~MethodTreeNode ( )
inlinevirtual

Member Function Documentation

◆ getParent()

MethodTreeNode * sead::MethodTreeNode::getParent ( ) const
inline

◆ getChild()

MethodTreeNode * sead::MethodTreeNode::getChild ( ) const
inline

◆ getNext()

MethodTreeNode * sead::MethodTreeNode::getNext ( ) const
inline

◆ attachMutexRec_()

void sead::MethodTreeNode::attachMutexRec_ ( CriticalSection * m) const

◆ detachAll()

void sead::MethodTreeNode::detachAll ( )

◆ lock_()

void sead::MethodTreeNode::lock_ ( )

◆ unlock_()

void sead::MethodTreeNode::unlock_ ( )

◆ call()

void sead::MethodTreeNode::call ( )

◆ setPauseFlag()

void sead::MethodTreeNode::setPauseFlag ( PauseFlag f)
inline

Member Data Documentation

◆ data_

u32 sead::MethodTreeNode::data_[4]

◆ [struct]

struct { ... } sead::MethodTreeNode::mDelegateHolder

◆ mCriticalSection

CriticalSection* sead::MethodTreeNode::mCriticalSection
mutable

◆ mPriority

u32 sead::MethodTreeNode::mPriority

◆ mPauseFlag

BitFlag32 sead::MethodTreeNode::mPauseFlag

◆ mPauseEventDelegate

PauseEventDelegate* sead::MethodTreeNode::mPauseEventDelegate

◆ mUserID

void* sead::MethodTreeNode::mUserID