CommonLibSSE (Parapets fork)
RE::IMemoryStore Class Referenceabstract

#include <IMemoryStore.h>

Inheritance diagram for RE::IMemoryStore:
RE::IMemoryStoreBase RE::BSSmallBlockAllocator RE::IMemoryHeap RE::ScrapHeap RE::AbstractHeap RE::ZeroOverheadHeap RE::bhkThreadMemorySource RE::MemoryHeap

Public Member Functions

 ~IMemoryStore () override=default
 
virtual void * AllocateAlignImpl (std::size_t a_size, std::uint32_t a_alignment)=0
 
virtual void DeallocateAlignImpl (void *&a_block)=0
 
virtual void * TryAllocateImpl ([[maybe_unused]] std::size_t a_size, [[maybe_unused]] std::uint32_t a_alignment)
 
void * AllocateAlign (std::size_t a_size, std::uint32_t a_alignment)
 
void DeallocateAlign (void *&a_freeBlock)
 
- Public Member Functions inherited from RE::IMemoryStoreBase
virtual ~IMemoryStoreBase ()=default
 
virtual std::size_t Size (const void *a_mem) const =0
 
virtual void GetMemoryStats (MemoryStats *a_stats)=0
 
virtual bool ContainsBlockImpl (const void *a_block) const =0
 

Static Public Attributes

static constexpr auto RTTI = RTTI_IMemoryStore
 
- Static Public Attributes inherited from RE::IMemoryStoreBase
static constexpr auto RTTI = RTTI_IMemoryStoreBase
 

Constructor & Destructor Documentation

◆ ~IMemoryStore()

RE::IMemoryStore::~IMemoryStore ( )
overridedefault

Member Function Documentation

◆ AllocateAlign()

void* RE::IMemoryStore::AllocateAlign ( std::size_t  a_size,
std::uint32_t  a_alignment 
)

◆ AllocateAlignImpl()

virtual void* RE::IMemoryStore::AllocateAlignImpl ( std::size_t  a_size,
std::uint32_t  a_alignment 
)
pure virtual

◆ DeallocateAlign()

void RE::IMemoryStore::DeallocateAlign ( void *&  a_freeBlock)

◆ DeallocateAlignImpl()

virtual void RE::IMemoryStore::DeallocateAlignImpl ( void *&  a_block)
pure virtual

◆ TryAllocateImpl()

virtual void* RE::IMemoryStore::TryAllocateImpl ( [[maybe_unused] ] std::size_t  a_size,
[[maybe_unused] ] std::uint32_t  a_alignment 
)
inlinevirtual

Member Data Documentation

◆ RTTI

constexpr auto RE::IMemoryStore::RTTI = RTTI_IMemoryStore
inlinestaticconstexpr

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