Loading [MathJax]/extensions/tex2jax.js
Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
JASHeap Class Reference

#include <JASHeapCtrl.h>

+ Collaboration diagram for JASHeap:

Public Member Functions

 JASHeap (JASDisposer *param_0=NULL)
 
void initRootHeap (void *, u32)
 
bool alloc (JASHeap *, u32)
 
bool allocTail (JASHeap *, u32)
 
bool free ()
 
void insertChild (JASHeap *, JASHeap *, void *, u32, bool)
 
JASHeapgetTailHeap ()
 
u32 getTailOffset ()
 
u32 getCurOffset ()
 
 ~JASHeap ()
 
void * getBase ()
 
bool isAllocated ()
 
u32 getSize ()
 

Public Attributes

JSUTree< JASHeapmTree
 
OSMutex mMutex
 
JASDisposermDisposer
 
u8mBase
 
u32 mSize
 
JASHeapfield_0x40
 

Constructor & Destructor Documentation

◆ JASHeap()

JASHeap::JASHeap ( JASDisposer * param_0 = NULL)

◆ ~JASHeap()

JASHeap::~JASHeap ( )
inline

Member Function Documentation

◆ alloc()

bool JASHeap::alloc ( JASHeap * mother,
u32 param_1 )

◆ allocTail()

bool JASHeap::allocTail ( JASHeap * mother,
u32 size )

◆ free()

bool JASHeap::free ( )

◆ getBase()

void * JASHeap::getBase ( )
inline

◆ getCurOffset()

u32 JASHeap::getCurOffset ( )

◆ getSize()

u32 JASHeap::getSize ( )
inline

◆ getTailHeap()

JASHeap * JASHeap::getTailHeap ( )

◆ getTailOffset()

u32 JASHeap::getTailOffset ( )

◆ initRootHeap()

void JASHeap::initRootHeap ( void * param_0,
u32 param_1 )

◆ insertChild()

void JASHeap::insertChild ( JASHeap * heap,
JASHeap * next,
void * param_2,
u32 param_3,
bool param_4 )

◆ isAllocated()

bool JASHeap::isAllocated ( )
inline

Member Data Documentation

◆ field_0x40

JASHeap* JASHeap::field_0x40

◆ mBase

u8* JASHeap::mBase

◆ mDisposer

JASDisposer* JASHeap::mDisposer

◆ mMutex

OSMutex JASHeap::mMutex

◆ mSize

u32 JASHeap::mSize

◆ mTree

JSUTree<JASHeap> JASHeap::mTree

The documentation for this class was generated from the following files: