mn::memory::basic_caps_allocator< TCAPS, TSBITS > Class Template Reference

#include <mn_basic_caps_allocator.hpp>

Public Types

using allocator_category = std_allocator_tag()
 
using is_thread_safe = false
 

Public Member Functions

 basic_caps_allocator ()
 

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 ()
 
static size_t get_max_alocator_size () const
 

Private Member Functions

bool intarnal_create_spi_ram ()
 

Static Private Attributes

static bool m_bFound = false
 

Detailed Description

template<cap_allocator_map TCAPS, cap_allocator_size TSBITS>
class mn::memory::basic_caps_allocator< TCAPS, TSBITS >

ESP32 allocator heap wrapper

Member Typedef Documentation

◆ allocator_category

template<cap_allocator_map TCAPS, cap_allocator_size TSBITS>
using mn::memory::basic_caps_allocator< TCAPS, TSBITS >::allocator_category = std_allocator_tag()

◆ is_thread_safe

template<cap_allocator_map TCAPS, cap_allocator_size TSBITS>
using mn::memory::basic_caps_allocator< TCAPS, TSBITS >::is_thread_safe = false

Constructor & Destructor Documentation

◆ basic_caps_allocator()

template<cap_allocator_map TCAPS, cap_allocator_size TSBITS>
mn::memory::basic_caps_allocator< TCAPS, TSBITS >::basic_caps_allocator ( )
inline

Member Function Documentation

◆ allocate()

template<cap_allocator_map TCAPS, cap_allocator_size TSBITS>
static void* mn::memory::basic_caps_allocator< TCAPS, TSBITS >::allocate ( size_t  size,
size_t  alignment 
)
inlinestaticnoexcept

◆ deallocate()

template<cap_allocator_map TCAPS, cap_allocator_size TSBITS>
static void mn::memory::basic_caps_allocator< TCAPS, TSBITS >::deallocate ( void *  ptr,
size_t  size,
size_t  alignment 
)
inlinestaticnoexcept

◆ first()

template<cap_allocator_map TCAPS, cap_allocator_size TSBITS>
static void mn::memory::basic_caps_allocator< TCAPS, TSBITS >::first ( )
inlinestaticnoexcept

◆ get_max_alocator_size()

template<cap_allocator_map TCAPS, cap_allocator_size TSBITS>
static size_t mn::memory::basic_caps_allocator< TCAPS, TSBITS >::get_max_alocator_size ( ) const
inlinestatic

◆ intarnal_create_spi_ram()

template<cap_allocator_map TCAPS, cap_allocator_size TSBITS>
bool mn::memory::basic_caps_allocator< TCAPS, TSBITS >::intarnal_create_spi_ram ( )
inlineprivate

◆ max_node_size()

template<cap_allocator_map TCAPS, cap_allocator_size TSBITS>
static size_t mn::memory::basic_caps_allocator< TCAPS, TSBITS >::max_node_size ( )
inlinestatic

Member Data Documentation

◆ m_bFound

template<cap_allocator_map TCAPS, cap_allocator_size TSBITS>
bool mn::memory::basic_caps_allocator< TCAPS, TSBITS >::m_bFound = false
staticprivate

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