![]() |
Plasma Engine
2.0
|
A block allocator which can only allocates blocks of memory at once. More...
#include <LargeBlockAllocator.h>
Public Member Functions | |
plLargeBlockAllocator (plStringView sName, plAllocator *pParent, plAllocatorTrackingMode mode=plAllocatorTrackingMode::Default) | |
template<typename T > | |
plDataBlock< T, BlockSizeInByte > | AllocateBlock () |
template<typename T > | |
void | DeallocateBlock (plDataBlock< T, BlockSizeInByte > &ref_block) |
plStringView | GetName () const |
plAllocatorId | GetId () const |
const plAllocator::Stats & | GetStats () const |
template<typename T > | |
PL_FORCE_INLINE plDataBlock< T, BlockSize > | AllocateBlock () |
template<typename T > | |
PL_FORCE_INLINE void | DeallocateBlock (plDataBlock< T, BlockSize > &inout_block) |
A block allocator which can only allocates blocks of memory at once.