CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
RE::BSNiAllocator Class Reference

#include <BSNiAllocator.h>

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

Public Member Functions

 ~BSNiAllocator () override
 
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) override
 
void Deallocate (void *a_memory, NiMemEventType a_eventType, std::size_t a_sizeInBytes) override
 
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) override
 
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) override
 
bool TrackDeallocate (const void *const a_memory, NiMemEventType a_eventType) override
 
void Unk_06 (void) override
 
void Initialize () override
 
void Shutdown () override
 
bool VerifyAddress (const void *a_memory) override
 
- Public Member Functions inherited from RE::NiAllocator
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_BSNiAllocator
 
- Static Public Attributes inherited from RE::NiAllocator
static constexpr auto RTTI = RTTI_NiAllocator
 

Constructor & Destructor Documentation

◆ ~BSNiAllocator()

RE::BSNiAllocator::~BSNiAllocator ( )
override

Member Function Documentation

◆ Allocate()

void * RE::BSNiAllocator::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 
)
overridevirtual

Implements RE::NiAllocator.

◆ Deallocate()

void RE::BSNiAllocator::Deallocate ( void *  a_memory,
NiMemEventType  a_eventType,
std::size_t  a_sizeInBytes 
)
overridevirtual

Implements RE::NiAllocator.

◆ Initialize()

void RE::BSNiAllocator::Initialize ( )
overridevirtual

Implements RE::NiAllocator.

◆ Reallocate()

void * RE::BSNiAllocator::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 
)
overridevirtual

Implements RE::NiAllocator.

◆ Shutdown()

void RE::BSNiAllocator::Shutdown ( )
overridevirtual

Implements RE::NiAllocator.

◆ TrackAllocate()

bool RE::BSNiAllocator::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 
)
overridevirtual

Implements RE::NiAllocator.

◆ TrackDeallocate()

bool RE::BSNiAllocator::TrackDeallocate ( const void *const  a_memory,
NiMemEventType  a_eventType 
)
overridevirtual

Implements RE::NiAllocator.

◆ Unk_06()

void RE::BSNiAllocator::Unk_06 ( void  )
overridevirtual

Implements RE::NiAllocator.

◆ VerifyAddress()

bool RE::BSNiAllocator::VerifyAddress ( const void *  a_memory)
overridevirtual

Implements RE::NiAllocator.

Member Data Documentation

◆ RTTI

constexpr auto RE::BSNiAllocator::RTTI = RTTI_BSNiAllocator
inlinestaticconstexpr

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