#include <ShmAllocator.h>
Public Member Functions | |
| BlocksList (size_t totalSize, void *blockStart) | |
| ~BlocksList () | |
| void * | getBlock (size_t n) |
| void | returnBlock (void *p) throw (MemException) |
| size_t | accumFreeMemorySize () |
| size_t | getTotalSize () |
| size_t | getFreeSize () |
| size_t | getNumOfBlocks () |
|
||||||||||||
|
Constructor.
|
|
|
Destructor. |
|
|
Accumulates all the free space in the list.
|
|
|
Gets a memory chunk of the requested size.
|
|
|
Gets the free size left in the block.
|
|
|
Gets the number of nodes in the list.
|
|
|
Gets the total size of the block.
|
|
|
Returns space to the block.
|
1.3.6