![]() |
ezEngine Release 25.08
|
Policy based allocator implementation of the ezAllocator interface. More...
#include <AllocatorWithPolicy.h>

Public Member Functions | |
| ezAllocatorWithPolicy (ezStringView sName, ezAllocator *pParent=nullptr) | |
Public Member Functions inherited from ezInternal::ezAllocatorMixinReallocate< AllocationPolicy, TrackingMode, HasReallocate > | |
| ezAllocatorMixinReallocate (ezStringView sName, ezAllocator *pParent) | |
Public Member Functions inherited from ezInternal::ezAllocatorImpl< AllocationPolicy, TrackingMode > | |
| ezAllocatorImpl (ezStringView sName, ezAllocator *pParent) | |
| virtual void * | Allocate (size_t uiSize, size_t uiAlign, ezMemoryUtils::DestructorFunction destructorFunc=nullptr) override |
| Interface, do not use this directly, always use the new/delete macros below. | |
| virtual void | Deallocate (void *pPtr) override |
| virtual size_t | AllocatedSize (const void *pPtr) override |
| Returns the number of bytes allocated at this address. | |
| virtual ezAllocatorId | GetId () const override |
| virtual Stats | GetStats () const override |
| ezAllocator * | GetParent () const |
Public Member Functions inherited from ezAllocator | |
| virtual void * | Reallocate (void *pPtr, size_t uiCurrentSize, size_t uiNewSize, size_t uiAlign) |
Additional Inherited Members | |
Protected Attributes inherited from ezInternal::ezAllocatorImpl< AllocationPolicy, TrackingMode > | |
| AllocationPolicy | m_allocator |
| ezAllocatorId | m_Id |
| ezThreadID | m_ThreadID |
Policy based allocator implementation of the ezAllocator interface.
AllocationPolicy defines how the actual memory is allocated.
TrackingFlags defines how stats about allocations are tracked.