SuperTinyKernel™ RTOS 1.08.x
Lightweight, high-performance, deterministic, bare-metal C++ RTOS for resource-constrained embedded systems. MIT Open Source License.
Loading...
Searching...
No Matches
StkMemPool Class Reference
Collaboration diagram for StkMemPool:

Public Member Functions

 StkMemPool (uint32_t cap, uint32_t raw_block_size, const char *name, uint8_t *ext_storage)
 StkMemPool (uint32_t cap, uint32_t raw_block_size, const char *name)

Public Attributes

stk::memory::BlockMemoryPool m_mpool
bool m_cb_owned

Private Member Functions

 STK_NONCOPYABLE_CLASS (StkMemPool)

Detailed Description

Definition at line 354 of file cmsis_os2_stk.cpp.

Constructor & Destructor Documentation

◆ StkMemPool() [1/2]

StkMemPool::StkMemPool ( uint32_t cap,
uint32_t raw_block_size,
const char * name,
uint8_t * ext_storage )
inlineexplicit

Definition at line 360 of file cmsis_os2_stk.cpp.

362 : m_mpool(static_cast<size_t>(cap),
363 static_cast<size_t>(raw_block_size),
364 ext_storage,
366 name),
367 m_cb_owned(true)
368 {}
static constexpr size_t AlignBlockSize(size_t raw_size)
Round a raw block size up to the nearest multiple of BLOCK_ALIGN.
stk::memory::BlockMemoryPool m_mpool

References m_cb_owned, and m_mpool.

Referenced by STK_NONCOPYABLE_CLASS().

Here is the caller graph for this function:

◆ StkMemPool() [2/2]

StkMemPool::StkMemPool ( uint32_t cap,
uint32_t raw_block_size,
const char * name )
inlineexplicit

Definition at line 371 of file cmsis_os2_stk.cpp.

372 : m_mpool(static_cast<size_t>(cap),
373 static_cast<size_t>(raw_block_size),
374 name),
375 m_cb_owned(true)
376 {}

References m_cb_owned, and m_mpool.

Member Function Documentation

◆ STK_NONCOPYABLE_CLASS()

StkMemPool::STK_NONCOPYABLE_CLASS ( StkMemPool )
private

References StkMemPool().

Here is the call graph for this function:

Member Data Documentation

◆ m_cb_owned

bool StkMemPool::m_cb_owned

Definition at line 380 of file cmsis_os2_stk.cpp.

Referenced by StkMemPool(), and StkMemPool().

◆ m_mpool

stk::memory::BlockMemoryPool StkMemPool::m_mpool

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