ezEngine  Milestone 9
ezLargeBlockAllocator< BlockSizeInByte > Class Template Reference

A block allocator which can only allocates blocks of memory at once. More...

#include <LargeBlockAllocator.h>

Public Member Functions

 ezLargeBlockAllocator (const char *szName, ezAllocatorBase *pParent, ezBitflags< ezMemoryTrackingFlags > flags=ezMemoryTrackingFlags::Default)
 
template<typename T >
ezDataBlock< T, BlockSizeInByte > AllocateBlock ()
 
template<typename T >
void DeallocateBlock (ezDataBlock< T, BlockSizeInByte > &block)
 
const char * GetName () const
 
ezAllocatorId GetId () const
 
const ezAllocatorBase::StatsGetStats () const
 
template<typename T >
EZ_FORCE_INLINE ezDataBlock< T, BlockSize > AllocateBlock ()
 
template<typename T >
EZ_FORCE_INLINE void DeallocateBlock (ezDataBlock< T, BlockSize > &block)
 

Detailed Description

template<ezUInt32 BlockSizeInByte>
class ezLargeBlockAllocator< BlockSizeInByte >

A block allocator which can only allocates blocks of memory at once.


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