VAE - Virtual Audio Engine 1
Small Data Driven Audio Engine
tklb::memory::MemoryPool::SharedPool Struct Reference

Pools can share the same space, but use it differently. More...

#include <TMemoryPool.hpp>

Collaboration diagram for tklb::memory::MemoryPool::SharedPool:

Public Attributes

Size size = 0
 
Size users = 0
 
Mutex mutex
 
Size allocated = 0
 
Bytememory = nullptr
 Start of the usable pool space this does not store the pointer, but the location location itself is used gdb watch expression for convenience *(tklb::memory::manager::Size(*)[200])tklb::memory::manager::CustomMemory. More...
 

Detailed Description

Pools can share the same space, but use it differently.

Info is stored at the beginning of the pool.

Definition at line 53 of file TMemoryPool.hpp.

Member Data Documentation

◆ allocated

Size tklb::memory::MemoryPool::SharedPool::allocated = 0

Definition at line 58 of file TMemoryPool.hpp.

◆ memory

Byte* tklb::memory::MemoryPool::SharedPool::memory = nullptr

Start of the usable pool space this does not store the pointer, but the location location itself is used gdb watch expression for convenience *(tklb::memory::manager::Size(*)[200])tklb::memory::manager::CustomMemory.

Definition at line 65 of file TMemoryPool.hpp.

◆ mutex

Mutex tklb::memory::MemoryPool::SharedPool::mutex

Definition at line 56 of file TMemoryPool.hpp.

◆ size

Size tklb::memory::MemoryPool::SharedPool::size = 0

Definition at line 54 of file TMemoryPool.hpp.

◆ users

Size tklb::memory::MemoryPool::SharedPool::users = 0

Definition at line 55 of file TMemoryPool.hpp.


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