Class MemoryBuffer

Inheritance Relationships

Derived Types

Class Documentation

class MemoryBuffer

Subclassed by Azura::Memory::HeapMemoryBuffer, Azura::Memory::StackMemoryBuffer< Size >

Public Functions

MemoryBuffer()
MemoryBuffer(U32 size)
MemoryBuffer(U32 size, AddressPtr blockStart)
virtual ~MemoryBuffer()
MemoryBuffer(const MemoryBuffer &other)
MemoryBuffer &operator=(const MemoryBuffer &other)
MemoryBuffer(MemoryBuffer &&other)
MemoryBuffer &operator=(MemoryBuffer &&other)
virtual void *Allocate(U32 size) = 0
virtual void Deallocate(void *address) = 0

Protected Attributes

AddressPtr m_memoryBlock = {0}
AddressPtr m_currentPosition = {0}
U32 m_size = {0}