ezEngine  Milestone 7
ezMemoryPolicies::ezProxyAllocation Class Reference

This Allocation policy redirects all operations to its parent. More...

#include <ProxyAllocation.h>

Public Member Functions

EZ_FORCE_INLINE ezProxyAllocation (ezAllocatorBase *pParent)
 
EZ_FORCE_INLINE void * Allocate (size_t uiSize, size_t uiAlign)
 
EZ_FORCE_INLINE void * Reallocate (void *ptr, size_t uiCurrentSize, size_t uiNewSize, size_t uiAlign)
 
EZ_FORCE_INLINE void Deallocate (void *ptr)
 
EZ_FORCE_INLINE size_t AllocatedSize (const void *ptr)
 
EZ_FORCE_INLINE ezAllocatorBaseGetParent () const
 

Private Attributes

ezAllocatorBasem_pParent
 

Detailed Description

This Allocation policy redirects all operations to its parent.

Note
Note that the stats are taken on the proxy as well as on the parent.
See Also
ezAllocator

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