![]() |
XII Release 0.1.0
|
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::Stats & | GetStats () const |
| template<typename T> | |
| XII_FORCE_INLINE xiiDataBlock< T, BlockSize > | AllocateBlock () |
| template<typename T> | |
| XII_FORCE_INLINE void | DeallocateBlock (xiiDataBlock< T, BlockSize > &ref_block) |
A block allocator which can only allocates blocks of memory at once.