Plasma Engine  2.0
Loading...
Searching...
No Matches
plLargeBlockAllocator< BlockSizeInByte > Class Template Reference

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::StatsGetStats () const
 
template<typename T >
PL_FORCE_INLINE plDataBlock< T, BlockSize > AllocateBlock ()
 
template<typename T >
PL_FORCE_INLINE void DeallocateBlock (plDataBlock< T, BlockSize > &inout_block)
 

Detailed Description

template<plUInt32 BlockSizeInByte>
class plLargeBlockAllocator< BlockSizeInByte >

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


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