All Classes Namespaces Files Functions Variables Typedefs Macros
SizedMemPool Class Reference

#include <clizFunctions.h>

Collaboration diagram for SizedMemPool:

Public Member Functions

 SizedMemPool (memInt iSize, memInt iPoolCapacity)
 
memPtrallocate ()
 
void free (memPtr *memAdr)
 
void spawnNewPool ()
 
 ~SizedMemPool ()
 

Public Attributes

MemPoolpool
 
memInt size
 
memInt numPools
 
memInt poolCapacity
 
memInt poolInUse
 

Constructor & Destructor Documentation

SizedMemPool::SizedMemPool ( memInt  iSize,
memInt  iPoolCapacity 
)
inline
SizedMemPool::~SizedMemPool ( )
inline

Here is the call graph for this function:

Here is the caller graph for this function:

Member Function Documentation

memPtr* SizedMemPool::allocate ( )
inline

Here is the call graph for this function:

Here is the caller graph for this function:

void SizedMemPool::free ( memPtr memAdr)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

void SizedMemPool::spawnNewPool ( )
inline

Here is the caller graph for this function:

Member Data Documentation

memInt SizedMemPool::numPools
MemPool* SizedMemPool::pool
memInt SizedMemPool::poolCapacity
memInt SizedMemPool::poolInUse
memInt SizedMemPool::size

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