Kicking it Olde Sküül! Burgerlib on Github Follow Olde Sküül on Twitter Burgerbecky on LinkedIn Burgerbecky on LinkedIn
Loading...
Searching...
No Matches
Burger::MemoryManagerHandle::Handle_t Struct Reference

Structure describing an allocated chunk of memory. More...

Collaboration diagram for Burger::MemoryManagerHandle::Handle_t:

Public Attributes

void * m_pData
 Pointer to true memory (Must be the first entry!)
 
uintptr_t m_uLength
 Length of allocated memory.
 
Handle_tm_pNextHandle
 Next handle in the chain.
 
Handle_tm_pPrevHandle
 Previous handle in the chain.
 
Handle_tm_pNextPurge
 Next handle in purge list.
 
Handle_tm_pPrevPurge
 Previous handle in the purge list.
 
uint_t m_uFlags
 Memory flags or parent used handle.
 
uint_t m_uID
 Memory ID.
 

Detailed Description

Structure describing an allocated chunk of memory.


This opaque structure contains all of the information that describes an allocated chunk of memory. The contents of this class is NEVER to be read or written to without the use of a MemoryManagerHandle call. The only exception is the first entry of m_pData which allows the structure to be used as a void ** to the data for instant access to the data.

Note
The data pointer can be NULL of the memory was zero bytes in length or if the data was purged in an attempt to free memory for an allocation in a low memory situation

Member Data Documentation

◆ m_pData

void* Burger::MemoryManagerHandle::Handle_t::m_pData

Pointer to true memory (Must be the first entry!)

◆ m_pNextHandle

Handle_t* Burger::MemoryManagerHandle::Handle_t::m_pNextHandle

Next handle in the chain.

◆ m_pNextPurge

Handle_t* Burger::MemoryManagerHandle::Handle_t::m_pNextPurge

Next handle in purge list.

◆ m_pPrevHandle

Handle_t* Burger::MemoryManagerHandle::Handle_t::m_pPrevHandle

Previous handle in the chain.

◆ m_pPrevPurge

Handle_t* Burger::MemoryManagerHandle::Handle_t::m_pPrevPurge

Previous handle in the purge list.

◆ m_uFlags

uint_t Burger::MemoryManagerHandle::Handle_t::m_uFlags

Memory flags or parent used handle.

◆ m_uID

uint_t Burger::MemoryManagerHandle::Handle_t::m_uID

Memory ID.

◆ m_uLength

uintptr_t Burger::MemoryManagerHandle::Handle_t::m_uLength

Length of allocated memory.