mn::memory::basic_multiheap_allocator_impl< TBytes > Class Template Reference
#include <mn_basic_multiheap_allocator.hpp>
Public Types | |
using | allocator_category = std_allocator_tag() |
using | is_thread_safe = std::false_type |
Static Public Member Functions | |
static void | first () noexcept |
static void * | allocate (size_t size, size_t alignment) noexcept |
static void | deallocate (void *ptr, size_t size, size_t alignment) noexcept |
static size_t | max_node_size () noexcept |
static size_t | get_max_alocator_size () const noexcept |
Static Private Attributes | |
static char | m_buffer [TBytes] |
static multi_heap_handle_t | m_pHandle = nullptr |
Member Typedef Documentation
◆ allocator_category
template<size_t TBytes>
using mn::memory::basic_multiheap_allocator_impl< TBytes >::allocator_category = std_allocator_tag() |
◆ is_thread_safe
template<size_t TBytes>
using mn::memory::basic_multiheap_allocator_impl< TBytes >::is_thread_safe = std::false_type |
Member Function Documentation
◆ allocate()
template<size_t TBytes>
|
inlinestaticnoexcept |
◆ deallocate()
template<size_t TBytes>
|
inlinestaticnoexcept |
◆ first()
template<size_t TBytes>
|
inlinestaticnoexcept |
◆ get_max_alocator_size()
template<size_t TBytes>
|
inlinestaticnoexcept |
◆ max_node_size()
template<size_t TBytes>
|
inlinestaticnoexcept |
Member Data Documentation
◆ m_buffer
template<size_t TBytes>
|
staticprivate |
◆ m_pHandle
template<size_t TBytes>
|
staticprivate |
The documentation for this class was generated from the following file: