ezEngine  Release 25.03
ezLinearAllocator< TrackingMode, OverwriteMemoryOnReset > Class Template Reference
Inheritance diagram for ezLinearAllocator< TrackingMode, OverwriteMemoryOnReset >:

Public Member Functions

 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.
 
- Public Member Functions inherited from ezAllocatorWithPolicy< ezAllocPolicyLinear< false >, ezAllocatorTrackingMode::Default >
 ezAllocatorWithPolicy (ezStringView sName, ezAllocator *pParent=nullptr)
 
- Public Member Functions inherited from ezInternal::ezAllocatorMixinReallocate< ezAllocPolicyLinear< false >, TrackingMode, ezHasReallocate< ezAllocPolicyLinear< false >, void *(ezAllocPolicyLinear< false > ::*)(void *, size_t, size_t, size_t)>::value >
 ezAllocatorMixinReallocate (ezStringView sName, ezAllocator *pParent)
 
- Public Member Functions inherited from ezInternal::ezAllocatorImpl< ezAllocPolicyLinear< false >, TrackingMode >
 ezAllocatorImpl (ezStringView sName, ezAllocator *pParent)
 
virtual size_t AllocatedSize (const void *pPtr) override
 Returns the number of bytes allocated at this address. More...
 
virtual ezAllocatorId GetId () const override
 
virtual Stats GetStats () const override
 
ezAllocatorGetParent () const
 
- Public Member Functions inherited from ezAllocator
virtual void * Reallocate (void *pPtr, size_t uiCurrentSize, size_t uiNewSize, size_t uiAlign)
 
virtual ezAllocatorId GetId () const =0
 
virtual Stats GetStats () const =0
 

Additional Inherited Members

- Protected Attributes inherited from ezInternal::ezAllocatorImpl< ezAllocPolicyLinear< false >, TrackingMode >
ezAllocPolicyLinear< false > m_allocator
 
ezAllocatorId m_Id
 
ezThreadID m_ThreadID
 

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