Plasma Engine  2.0
Loading...
Searching...
No Matches
plAllocPolicyProxy Class Reference

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

#include <AllocPolicyProxy.h>

Public Member Functions

PL_FORCE_INLINE plAllocPolicyProxy (plAllocator *pParent)
 
PL_FORCE_INLINE void * Allocate (size_t uiSize, size_t uiAlign)
 
PL_FORCE_INLINE void * Reallocate (void *pPtr, size_t uiCurrentSize, size_t uiNewSize, size_t uiAlign)
 
PL_FORCE_INLINE void Deallocate (void *pPtr)
 
PL_FORCE_INLINE size_t AllocatedSize (const void *pPtr)
 
PL_ALWAYS_INLINE plAllocatorGetParent () const
 

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
plAllocatorWithPolicy

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