NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
EGG::Heap Class Referenceabstract
Inheritance diagram for EGG::Heap:
[legend]

Description

Definition at line 11 of file eggHeap.hpp.

Public Member Functions

 Heap (MEMiHeapHead *heapHead)
 
virtual int getHeapKind () const =0
 
virtual void initAllocator (Allocator *allocator, long align)=0
 
virtual void * alloc (size_t, long)=0
 
virtual void free (void *)=0
 
virtual void destroy ()=0
 
FrmHeaptoFrmHeap ()
 

Static Public Member Functions

static void * alloc (size_t, int, EGG::Heap *)
 
static void free (void *, EGG::Heap *)
 

Public Attributes

char mPad1 [0x8]
 
MEMiHeapHeadmpHeapHandle
 
void * mpParentBlock
 
HeapmpParentHeap
 
u16 mFlag
 
u8 mPad2 [0x18]
 

Static Public Attributes

static HeapsCurrentHeap
 

Additional Inherited Members

- Private Attributes inherited from EGG::Disposer
HeapmpContainingHeap
 

Constructor & Destructor Documentation

◆ Heap()

EGG::Heap::Heap ( )
inline

Definition at line 13 of file eggHeap.hpp.

Member Function Documentation

◆ toFrmHeap()

FrmHeap * EGG::Heap::toFrmHeap ( )
inline

Definition at line 32 of file eggHeap.hpp.

Member Data Documentation

◆ mPad1

char EGG::Heap::mPad1[0x8]

Definition at line 25 of file eggHeap.hpp.

◆ mpHeapHandle

MEMiHeapHead* EGG::Heap::mpHeapHandle

Definition at line 26 of file eggHeap.hpp.

◆ mpParentBlock

void* EGG::Heap::mpParentBlock

Definition at line 27 of file eggHeap.hpp.

◆ mpParentHeap

Heap* EGG::Heap::mpParentHeap

Definition at line 28 of file eggHeap.hpp.

◆ mFlag

u16 EGG::Heap::mFlag

Definition at line 29 of file eggHeap.hpp.

◆ mPad2

u8 EGG::Heap::mPad2[0x18]

Definition at line 30 of file eggHeap.hpp.

◆ sCurrentHeap

Heap* EGG::Heap::sCurrentHeap
static

Definition at line 39 of file eggHeap.hpp.