Represents a node in the memory allocation system. More...
#include <TMemory.h>
Public Member Functions | |
void * | GetDataRegionStart () const |
Gets the start address of the data region for this node. | |
void * | GetDataRegionEnd () const |
Gets the end address of the data region for this node. | |
Public Attributes | ||
MemNode * | pOwner | |
Owner node if this is a sub-allocation. | ||
TSIZE | uiSize | |
Size of the memory region. | ||
union { | ||
MemNode * pNextHole | ||
Next free hole in the list. More... | ||
MemBlock * pMemBlock | ||
Memory block this node belongs to. More... | ||
}; | ||
MemNode * | pPrevHole | |
Previous free hole in the list. | ||
Represents a node in the memory allocation system.
Each MemNode tracks a piece of memory that can be either allocated or free. The node contains metadata about the memory region and links to other nodes.
|
inline |
Gets the end address of the data region for this node.
Definition at line 82 of file TMemory.h.
|
inline |
union { ... } TMemory::MemNode |
MemBlock* TMemory::MemNode::pMemBlock |
MemNode* TMemory::MemNode::pNextHole |
MemNode* TMemory::MemNode::pOwner |
MemNode* TMemory::MemNode::pPrevHole |