All Classes Namespaces Files Functions Variables Typedefs Macros
MemPool Class Reference

#include <clizFunctions.h>

Public Member Functions

memInt getNextFreePos ()
 
 MemPool (memInt iSize, memInt iCapacity)
 
memPtrallocate ()
 
void free (memPtr *memAdr)
 
 ~MemPool ()
 

Public Attributes

memInt size
 
memPtrstartAddress
 
memInt capacity
 
memInt numFree
 
memBoolbitArray
 
memInt nextFreePos
 

Constructor & Destructor Documentation

MemPool::MemPool ( memInt  iSize,
memInt  iCapacity 
)
inline
MemPool::~MemPool ( )
inline

Here is the call graph for this function:

Here is the caller graph for this function:

Member Function Documentation

memPtr* MemPool::allocate ( )
inline

Here is the caller graph for this function:

void MemPool::free ( memPtr memAdr)
inline

Here is the caller graph for this function:

memInt MemPool::getNextFreePos ( )

Member Data Documentation

memBool* MemPool::bitArray
memInt MemPool::capacity
memInt MemPool::nextFreePos
memInt MemPool::numFree
memInt MemPool::size
memPtr* MemPool::startAddress

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