OpenBarnyard
 
Loading...
Searching...
No Matches
TMemory::MemBlock Struct Reference

Represents a contiguous block of memory that can be allocated from. More...

#include <TMemory.h>

Public Attributes

MemBlockSlotm_pSlot
 Slot tracking this block.
 
TSIZE m_uiTotalSize1
 Total size of the block.
 
MemBlockm_pNextBlock
 Next block in the chain.
 
TSIZE m_uiTotalSize2
 Duplicate of total size for validation.
 
MemNodem_apHoles [9]
 Array of free lists by size.
 
MemNodem_pFirstHole
 First free hole in the block.
 
TCHAR m_szSignature [8]
 Block signature for validation.
 
TCHAR m_szName [52]
 Name of the memory block.
 
MemNode m_RootHole
 Root node for the block.
 

Detailed Description

Represents a contiguous block of memory that can be allocated from.

Definition at line 100 of file TMemory.h.

Member Data Documentation

◆ m_apHoles

MemNode* TMemory::MemBlock::m_apHoles[9]

Array of free lists by size.

Definition at line 106 of file TMemory.h.

◆ m_pFirstHole

MemNode* TMemory::MemBlock::m_pFirstHole

First free hole in the block.

Definition at line 107 of file TMemory.h.

◆ m_pNextBlock

MemBlock* TMemory::MemBlock::m_pNextBlock

Next block in the chain.

Definition at line 104 of file TMemory.h.

◆ m_pSlot

MemBlockSlot* TMemory::MemBlock::m_pSlot

Slot tracking this block.

Definition at line 102 of file TMemory.h.

◆ m_RootHole

MemNode TMemory::MemBlock::m_RootHole

Root node for the block.

Definition at line 110 of file TMemory.h.

◆ m_szName

TCHAR TMemory::MemBlock::m_szName[52]

Name of the memory block.

Definition at line 109 of file TMemory.h.

◆ m_szSignature

TCHAR TMemory::MemBlock::m_szSignature[8]

Block signature for validation.

Definition at line 108 of file TMemory.h.

◆ m_uiTotalSize1

TSIZE TMemory::MemBlock::m_uiTotalSize1

Total size of the block.

Definition at line 103 of file TMemory.h.

◆ m_uiTotalSize2

TSIZE TMemory::MemBlock::m_uiTotalSize2

Duplicate of total size for validation.

Definition at line 105 of file TMemory.h.


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