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

#include <NiAllocator.h>

Inheritance diagram for RE::NiAllocator:
RE::BSNiAllocator

Public Member Functions

virtual ~NiAllocator ()
 
virtual void * Allocate (std::size_t &a_sizeInBytes, std::size_t &a_alignment, NiMemEventType a_eventType, bool a_provideAccurateSizeOnDeallocate, const char *a_file, std::int32_t a_line, const char *a_function)=0
 
virtual void Deallocate (void *a_memory, NiMemEventType a_eventType, std::size_t a_sizeInBytes)=0
 
virtual void * Reallocate (void *a_memory, size_t &a_sizeInBytes, std::size_t &a_alignment, NiMemEventType a_eventType, bool a_provideAccurateSizeOnDeallocate, std::size_t a_sizeCurrent, const char *a_file, std::int32_t a_line, const char *a_function)=0
 
virtual bool TrackAllocate (const void *const a_memory, std::size_t a_sizeInBytes, NiMemEventType a_eventType, const char *a_file, std::int32_t a_line, const char *a_function)=0
 
virtual bool TrackDeallocate (const void *const a_memory, NiMemEventType a_eventType)=0
 
virtual void Unk_06 (void)=0
 
virtual void Initialize ()=0
 
virtual void Shutdown ()=0
 
virtual bool VerifyAddress (const void *a_memory)=0
 

Static Public Attributes

static constexpr auto RTTI = RTTI_NiAllocator
 

Constructor & Destructor Documentation

◆ ~NiAllocator()

virtual RE::NiAllocator::~NiAllocator ( )
virtual

Member Function Documentation

◆ Allocate()

virtual void * RE::NiAllocator::Allocate ( std::size_t &  a_sizeInBytes,
std::size_t &  a_alignment,
NiMemEventType  a_eventType,
bool  a_provideAccurateSizeOnDeallocate,
const char *  a_file,
std::int32_t  a_line,
const char *  a_function 
)
pure virtual

Implemented in RE::BSNiAllocator.

◆ Deallocate()

virtual void RE::NiAllocator::Deallocate ( void *  a_memory,
NiMemEventType  a_eventType,
std::size_t  a_sizeInBytes 
)
pure virtual

Implemented in RE::BSNiAllocator.

◆ Initialize()

virtual void RE::NiAllocator::Initialize ( )
pure virtual

Implemented in RE::BSNiAllocator.

◆ Reallocate()

virtual void * RE::NiAllocator::Reallocate ( void *  a_memory,
size_t &  a_sizeInBytes,
std::size_t &  a_alignment,
NiMemEventType  a_eventType,
bool  a_provideAccurateSizeOnDeallocate,
std::size_t  a_sizeCurrent,
const char *  a_file,
std::int32_t  a_line,
const char *  a_function 
)
pure virtual

Implemented in RE::BSNiAllocator.

◆ Shutdown()

virtual void RE::NiAllocator::Shutdown ( )
pure virtual

Implemented in RE::BSNiAllocator.

◆ TrackAllocate()

virtual bool RE::NiAllocator::TrackAllocate ( const void *const  a_memory,
std::size_t  a_sizeInBytes,
NiMemEventType  a_eventType,
const char *  a_file,
std::int32_t  a_line,
const char *  a_function 
)
pure virtual

Implemented in RE::BSNiAllocator.

◆ TrackDeallocate()

virtual bool RE::NiAllocator::TrackDeallocate ( const void *const  a_memory,
NiMemEventType  a_eventType 
)
pure virtual

Implemented in RE::BSNiAllocator.

◆ Unk_06()

virtual void RE::NiAllocator::Unk_06 ( void  )
pure virtual

Implemented in RE::BSNiAllocator.

◆ VerifyAddress()

virtual bool RE::NiAllocator::VerifyAddress ( const void *  a_memory)
pure virtual

Implemented in RE::BSNiAllocator.

Member Data Documentation

◆ RTTI

constexpr auto RE::NiAllocator::RTTI = RTTI_NiAllocator
inlinestaticconstexpr

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