Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JASMemChunkPool< ChunkSize, T >::MemoryChunk Struct Reference
+ Collaboration diagram for JASMemChunkPool< ChunkSize, T >::MemoryChunk:

Public Member Functions

 MemoryChunk (MemoryChunk *nextChunk)
 
bool checkArea (void *ptr)
 
MemoryChunkgetNextChunk ()
 
voidalloc (u32 size)
 
void free ()
 
bool isEmpty ()
 
void setNextChunk (MemoryChunk *chunk)
 
u32 getFreeSize ()
 
void revive ()
 

Public Attributes

MemoryChunkmNextChunk
 
u32 mUsedSize
 
u32 mChunks
 
u8 mBuffer [ChunkSize]
 

Constructor & Destructor Documentation

◆ MemoryChunk()

template<u32 ChunkSize, typename T >
JASMemChunkPool< ChunkSize, T >::MemoryChunk::MemoryChunk ( MemoryChunk nextChunk)
inline

Member Function Documentation

◆ alloc()

template<u32 ChunkSize, typename T >
void * JASMemChunkPool< ChunkSize, T >::MemoryChunk::alloc ( u32  size)
inline

◆ checkArea()

template<u32 ChunkSize, typename T >
bool JASMemChunkPool< ChunkSize, T >::MemoryChunk::checkArea ( void ptr)
inline

◆ free()

template<u32 ChunkSize, typename T >
void JASMemChunkPool< ChunkSize, T >::MemoryChunk::free ( )
inline

◆ getFreeSize()

template<u32 ChunkSize, typename T >
u32 JASMemChunkPool< ChunkSize, T >::MemoryChunk::getFreeSize ( )
inline

◆ getNextChunk()

template<u32 ChunkSize, typename T >
MemoryChunk * JASMemChunkPool< ChunkSize, T >::MemoryChunk::getNextChunk ( )
inline

◆ isEmpty()

template<u32 ChunkSize, typename T >
bool JASMemChunkPool< ChunkSize, T >::MemoryChunk::isEmpty ( )
inline

◆ revive()

template<u32 ChunkSize, typename T >
void JASMemChunkPool< ChunkSize, T >::MemoryChunk::revive ( )
inline

◆ setNextChunk()

template<u32 ChunkSize, typename T >
void JASMemChunkPool< ChunkSize, T >::MemoryChunk::setNextChunk ( MemoryChunk chunk)
inline

Member Data Documentation

◆ mBuffer

template<u32 ChunkSize, typename T >
u8 JASMemChunkPool< ChunkSize, T >::MemoryChunk::mBuffer[ChunkSize]

◆ mChunks

template<u32 ChunkSize, typename T >
u32 JASMemChunkPool< ChunkSize, T >::MemoryChunk::mChunks

◆ mNextChunk

template<u32 ChunkSize, typename T >
MemoryChunk* JASMemChunkPool< ChunkSize, T >::MemoryChunk::mNextChunk

◆ mUsedSize

template<u32 ChunkSize, typename T >
u32 JASMemChunkPool< ChunkSize, T >::MemoryChunk::mUsedSize

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