acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
heap::allocator Class Reference
Inheritance diagram for heap::allocator:
heap::allocator_base heap::default_memory_allocator heap::malloc_allocator windows::heap_allocator windows_common::heap_allocator

Public Member Functions

virtual void initialize_allocator (::acme::acme *pacme)
void * allocate (memsize size, memsize *psizeActuallyAllocated, const_char_pointer pszAnnotation=nullptr) override
void * reallocate (void *p, memsize size, const_char_pointer pszAnnotation=nullptr) override
void free (void *p) override
memsize size (void *p) override
bool has_size () const override

Public Attributes

::acme::acme * m_pacme

Member Function Documentation

◆ allocate()

void * heap::allocator::allocate ( memsize size,
memsize * psizeActuallyAllocated,
const_char_pointer pszAnnotation = nullptr )
overridevirtual

Implements heap::allocator_base.

◆ free()

void heap::allocator::free ( void * p)
overridevirtual

Implements heap::allocator_base.

◆ has_size()

bool heap::allocator::has_size ( ) const
overridevirtual

Implements heap::allocator_base.

◆ reallocate()

void * heap::allocator::reallocate ( void * p,
memsize size,
const_char_pointer pszAnnotation = nullptr )
overridevirtual

Implements heap::allocator_base.

◆ size()

memsize heap::allocator::size ( void * p)
overridevirtual

Implements heap::allocator_base.


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