CommonLibVR
|
#include <hkContainerAllocators.h>
Public Member Functions | |
~Allocator () override | |
void * | BlockAlloc (std::int32_t a_numBytes) override |
void | BlockFree (void *a_ptr, std::int32_t a_numBytes) override |
void * | BufAlloc (std::int32_t &a_reqNumBytesInOut) override |
void | BufFree (void *a_ptr, std::int32_t a_numBytes) override |
void | GetMemoryStatistics (MemoryStatistics &a_usage) override |
std::int32_t | GetAllocatedSize (const void *a_obj, std::int32_t a_numBytes) override |
Public Member Functions inherited from RE::hkMemoryAllocator | |
virtual | ~hkMemoryAllocator () |
virtual void * | BufRealloc (void *a_ptrOld, std::int32_t a_oldNumBytes, std::int32_t &a_reqNumBytesInOut) |
virtual void | BlockAllocBatch (void **a_ptrsOut, std::int32_t a_numPtrs, std::int32_t a_blockSize) |
virtual void | BlockFreeBatch (void **a_ptrsIn, std::int32_t a_numPtrs, std::int32_t a_blockSize) |
virtual void | ResetPeakMemoryStatistics () |
Static Public Attributes | |
static constexpr auto | RTTI = RTTI_hkContainerHeapAllocator__Allocator |
static constexpr auto | VTABLE = VTABLE_hkContainerHeapAllocator__Allocator |
Static Public Attributes inherited from RE::hkMemoryAllocator | |
static constexpr auto | RTTI = RTTI_hkMemoryAllocator |
static constexpr auto | VTABLE = VTABLE_hkMemoryAllocator |
Additional Inherited Members | |
Public Types inherited from RE::hkMemoryAllocator | |
enum class | MemoryState { kOK , kOutOfMemory } |
using | MemoryWalkCallback = void(void *a_start, std::size_t a_size, bool a_allocated, std::int32_t a_pool, void *a_param) |
|
override |
|
overridevirtual |
Implements RE::hkMemoryAllocator.
|
overridevirtual |
Implements RE::hkMemoryAllocator.
|
overridevirtual |
Reimplemented from RE::hkMemoryAllocator.
|
overridevirtual |
Reimplemented from RE::hkMemoryAllocator.
|
overridevirtual |
Implements RE::hkMemoryAllocator.
|
overridevirtual |
Implements RE::hkMemoryAllocator.
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |