|
|
| ezLinearAllocator (ezStringView sName, ezAllocator *pParent) |
| |
| virtual void * | Allocate (size_t uiSize, size_t uiAlign, ezMemoryUtils::DestructorFunction destructorFunc) override |
| | Interface, do not use this directly, always use the new/delete macros below.
|
| |
| virtual void | Deallocate (void *pPtr) override |
| |
|
void | Reset () |
| | Resets the allocator freeing all memory.
|
| |
|
| ezAllocatorWithPolicy (ezStringView sName, ezAllocator *pParent=nullptr) |
| |
|
| ezAllocatorMixinReallocate (ezStringView sName, ezAllocator *pParent) |
| |
|
| ezAllocatorImpl (ezStringView sName, ezAllocator *pParent) |
| |
| 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 |
| |
|
virtual void * | Reallocate (void *pPtr, size_t uiCurrentSize, size_t uiNewSize, size_t uiAlign) |
| |
|
|
AllocationPolicy | m_allocator |
| |
|
ezAllocatorId | m_Id |
| |
|
ezThreadID | m_ThreadID |
| |
◆ Allocate()
template<ezAllocatorTrackingMode TrackingMode, bool OverwriteMemoryOnReset>
| void * ezLinearAllocator< TrackingMode, OverwriteMemoryOnReset >::Allocate |
( |
size_t |
uiSize, |
|
|
size_t |
uiAlign, |
|
|
ezMemoryUtils::DestructorFunction |
destructorFunc |
|
) |
| |
|
overridevirtual |
◆ Deallocate()
template<ezAllocatorTrackingMode TrackingMode, bool OverwriteMemoryOnReset>
| void ezLinearAllocator< TrackingMode, OverwriteMemoryOnReset >::Deallocate |
( |
void * |
pPtr | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: