NW4F Eft
Loading...
Searching...
No Matches
nw::eft::Heap Class Referenceabstract

#include <eft_Heap.h>

Public Types

enum  Alignment { EFT_HEAP_DEAFULT_ALIGNMENT = 128 }

Public Member Functions

 Heap ()
virtual ~Heap ()
virtual void * Alloc (u32 size, s32 alignment=EFT_HEAP_DEAFULT_ALIGNMENT)=0
virtual void Free (void *ptr)=0

Member Enumeration Documentation

◆ Alignment

Enumerator
EFT_HEAP_DEAFULT_ALIGNMENT 

Constructor & Destructor Documentation

◆ Heap()

nw::eft::Heap::Heap ( )
inline

◆ ~Heap()

virtual nw::eft::Heap::~Heap ( )
inlinevirtual

Member Function Documentation

◆ Alloc()

virtual void * nw::eft::Heap::Alloc ( u32 size,
s32 alignment = EFT_HEAP_DEAFULT_ALIGNMENT )
pure virtual

◆ Free()

virtual void nw::eft::Heap::Free ( void * ptr)
pure virtual