XII Release 0.1.0
Loading...
Searching...
No Matches
xiiLargeBlockAllocator< BlockSizeInByte > Class Template Reference

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

#include <LargeBlockAllocator.h>

Public Member Functions

 xiiLargeBlockAllocator (xiiStringView sName, xiiAllocatorBase *pParent, xiiAllocatorTrackingMode mode=xiiAllocatorTrackingMode::Default)
 
template<typename T>
xiiDataBlock< T, BlockSizeInByte > AllocateBlock ()
 
template<typename T>
void DeallocateBlock (xiiDataBlock< T, BlockSizeInByte > &ref_block)
 
xiiStringView GetName () const
 
xiiAllocatorId GetId () const
 
const xiiAllocatorBase::StatsGetStats () const
 
template<typename T>
XII_FORCE_INLINE xiiDataBlock< T, BlockSize > AllocateBlock ()
 
template<typename T>
XII_FORCE_INLINE void DeallocateBlock (xiiDataBlock< T, BlockSize > &ref_block)
 

Detailed Description

template<xiiUInt32 BlockSizeInByte>
class xiiLargeBlockAllocator< BlockSizeInByte >

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


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