Memory Chunk Struct. More...
#include <MemoryPool.h>
Public Attributes | |
int32 | m_blockId |
Unique ID for the block placed in the allocated data. | |
byte * | m_data |
The actual Data. | |
int | m_size |
Size of the "Data"-Block. | |
int | m_freeSize |
Amount of memory freed. If equal to size, m_pos will be reset to zero. | |
int | m_pos |
actual used Size | |
MemoryBlock * | m_next |
Pointer to the Next MemoryChunk in the List (may be NULL). | |
int | m_checkBits |
Memory Chunk Struct.
This struct will hold (and manage) the actual allocated Memory. Every MemoryChunk will point to a MemoryBlock, and another SMemoryChunk, thus creating a linked-list of MemoryChunks.
Definition at line 39 of file MemoryPool.h.