CommonLibSSE (Parapets fork)
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 ([[maybe_unused]] void *a_oldPtr, [[maybe_unused]] std::size_t a_oldSize, [[maybe_unused]] std::size_t a_newSize, [[maybe_unused]] std::size_t a_align)
 
virtual void * AllocSysDirect ([[maybe_unused]] std::size_t a_size, [[maybe_unused]] std::size_t a_alignment, [[maybe_unused]] std::size_t *a_actualSize, [[maybe_unused]] std::size_t *a_actualAlign)
 
virtual bool FreeSysDirect ([[maybe_unused]] void *a_ptr, [[maybe_unused]] std::size_t a_size, [[maybe_unused]] 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 ([[maybe_unused]] GHeapMemVisitor *a_visitor) const
 
virtual void VisitSegments ([[maybe_unused]] GHeapSegVisitor *a_visitor, [[maybe_unused]] std::size_t a_catSeg, [[maybe_unused]] std::size_t a_catUnused) const
 
- Public Member Functions inherited from RE::GSysAllocBase
virtual ~GSysAllocBase ()=default
 
virtual bool InitHeapEngine ([[maybe_unused]] const void *a_heapDesc)
 

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 ( [[maybe_unused] ] std::size_t  a_size,
[[maybe_unused] ] std::size_t  a_alignment,
[[maybe_unused] ] std::size_t *  a_actualSize,
[[maybe_unused] ] 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 ( [[maybe_unused] ] void *  a_ptr,
[[maybe_unused] ] std::size_t  a_size,
[[maybe_unused] ] 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)
override

◆ ReallocInPlace()

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

◆ ShutdownHeapEngine()

void RE::GSysAllocPaged::ShutdownHeapEngine ( )
overridevirtual

Reimplemented from RE::GSysAllocBase.

◆ VisitMem()

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

◆ VisitSegments()

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

Member Data Documentation

◆ RTTI

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

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