LMMS
Loading...
Searching...
No Matches
zyncarla::AllocatorClass Class Reference

the allocator for normal use More...

#include <Allocator.h>

Inheritance diagram for zyncarla::AllocatorClass:
zyncarla::Allocator

Public Member Functions

voidalloc_mem (size_t mem_size)
void dealloc_mem (void *memory)
void addMemory (void *, size_t mem_size)
bool lowMemory (unsigned n, size_t chunk_size) const
 Allocator (void)
 Allocator (const Allocator &)=delete
Public Member Functions inherited from zyncarla::Allocator
 Allocator (void)
 Allocator (const Allocator &)=delete
virtual ~Allocator (void)
template<typename T, typename... Ts>
T * alloc (Ts &&... ts)
template<typename T, typename... Ts>
T * valloc (size_t len, Ts &&... ts)
template<typename T>
void dealloc (T *&t)
template<typename T>
void devalloc (T *&t)
template<typename T>
void devalloc (size_t elms, T *&t)
void beginTransaction ()
void endTransaction ()
bool memFree (void *pool) const
int memPools () const
int freePools () const
unsigned long long totalAlloced () const

Additional Inherited Members

Public Attributes inherited from zyncarla::Allocator
struct AllocatorImplimpl

Detailed Description

the allocator for normal use

Member Function Documentation

◆ addMemory()

void zyncarla::AllocatorClass::addMemory ( void * v,
size_t mem_size )
virtual

Implements zyncarla::Allocator.

◆ alloc_mem()

void * zyncarla::AllocatorClass::alloc_mem ( size_t mem_size)
virtual

Implements zyncarla::Allocator.

◆ Allocator() [1/2]

zyncarla::Allocator::Allocator ( const Allocator & )
delete

◆ Allocator() [2/2]

◆ dealloc_mem()

void zyncarla::AllocatorClass::dealloc_mem ( void * memory)
virtual

Implements zyncarla::Allocator.

◆ lowMemory()

bool zyncarla::AllocatorClass::lowMemory ( unsigned n,
size_t chunk_size ) const
virtual

Implements zyncarla::Allocator.


The documentation for this class was generated from the following files: