CommonLibSSE NG
Loading...
Searching...
No Matches
RE::GSysAllocPaged Class Referenceabstract

#include <GSysAllocPaged.h>

Inheritance diagram for RE::GSysAllocPaged:
RE::GSysAllocBase

Classes

struct  Info
 

Public Member Functions

bool InitHeapEngine (const void *a_heapDesc) override
 
void ShutdownHeapEngine () override
 
virtual void GetInfo (Info *a_info) const =0
 
virtual void * Alloc (std::size_t a_size, std::size_t a_align)=0
 
virtual bool Free (void *a_ptr, std::size_t a_size, std::size_t a_align)=0
 
virtual bool ReallocInPlace (void *a_oldPtr, std::size_t a_oldSize, std::size_t a_newSize, std::size_t a_align)
 
virtual void * AllocSysDirect (std::size_t a_size, std::size_t a_alignment, std::size_t *a_actualSize, std::size_t *a_actualAlign)
 
virtual bool FreeSysDirect (void *a_ptr, std::size_t a_size, std::size_t a_alignment)
 
virtual std::size_t GetBase () const
 
virtual std::size_t GetSize () const
 
virtual std::size_t GetFootprint () const
 
virtual std::size_t GetUsedSpace () const
 
virtual void VisitMem (GHeapMemVisitor *a_visitor) const
 
virtual void VisitSegments (GHeapSegVisitor *a_visitor, std::size_t a_catSeg, std::size_t a_catUnused) const
 
- Public Member Functions inherited from RE::GSysAllocBase
virtual ~GSysAllocBase ()=default
 
virtual bool InitHeapEngine (const void *a_heapDesc)
 
virtual void ShutdownHeapEngine ()
 

Static Public Attributes

static constexpr auto RTTI { RTTI_GSysAllocPaged }
 
- Static Public Attributes inherited from RE::GSysAllocBase
static constexpr auto RTTI = RTTI_GSysAllocBase
 

Member Function Documentation

◆ Alloc()

virtual void * RE::GSysAllocPaged::Alloc ( std::size_t  a_size,
std::size_t  a_align 
)
pure virtual

◆ AllocSysDirect()

virtual void * RE::GSysAllocPaged::AllocSysDirect ( std::size_t  a_size,
std::size_t  a_alignment,
std::size_t *  a_actualSize,
std::size_t *  a_actualAlign 
)
inlinevirtual

◆ Free()

virtual bool RE::GSysAllocPaged::Free ( void *  a_ptr,
std::size_t  a_size,
std::size_t  a_align 
)
pure virtual

◆ FreeSysDirect()

virtual bool RE::GSysAllocPaged::FreeSysDirect ( void *  a_ptr,
std::size_t  a_size,
std::size_t  a_alignment 
)
inlinevirtual

◆ GetBase()

virtual std::size_t RE::GSysAllocPaged::GetBase ( ) const
inlinevirtual

◆ GetFootprint()

virtual std::size_t RE::GSysAllocPaged::GetFootprint ( ) const
inlinevirtual

◆ GetInfo()

virtual void RE::GSysAllocPaged::GetInfo ( Info a_info) const
pure virtual

◆ GetSize()

virtual std::size_t RE::GSysAllocPaged::GetSize ( ) const
inlinevirtual

◆ GetUsedSpace()

virtual std::size_t RE::GSysAllocPaged::GetUsedSpace ( ) const
inlinevirtual

◆ InitHeapEngine()

bool RE::GSysAllocPaged::InitHeapEngine ( const void *  a_heapDesc)
inlineoverridevirtual

Reimplemented from RE::GSysAllocBase.

◆ ReallocInPlace()

virtual bool RE::GSysAllocPaged::ReallocInPlace ( void *  a_oldPtr,
std::size_t  a_oldSize,
std::size_t  a_newSize,
std::size_t  a_align 
)
inlinevirtual

◆ ShutdownHeapEngine()

void RE::GSysAllocPaged::ShutdownHeapEngine ( )
inlineoverridevirtual

Reimplemented from RE::GSysAllocBase.

◆ VisitMem()

virtual void RE::GSysAllocPaged::VisitMem ( GHeapMemVisitor *  a_visitor) const
inlinevirtual

◆ VisitSegments()

virtual void RE::GSysAllocPaged::VisitSegments ( GHeapSegVisitor *  a_visitor,
std::size_t  a_catSeg,
std::size_t  a_catUnused 
) const
inlinevirtual

Member Data Documentation

◆ RTTI

constexpr auto RE::GSysAllocPaged::RTTI { RTTI_GSysAllocPaged }
inlinestaticconstexpr

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