momo  3.9
momo::MemPoolParamsStatic< tBlockSize, tBlockAlignment, tBlockCount, tCachedFreeBlockCount > Class Template Reference

#include <MemPool.h>

Public Member Functions

 MOMO_STATIC_ASSERT (MemPoolConst::CheckBlockCount(blockCount))
 
 MOMO_STATIC_ASSERT (MemPoolConst::CheckBlockAlignment(blockAlignment))
 
 MemPoolParamsStatic () noexcept
 

Static Public Attributes

static const size_t blockCount = tBlockCount
 
static const size_t blockAlignment = tBlockAlignment
 
static const size_t blockSize
 
static const size_t cachedFreeBlockCount = tCachedFreeBlockCount
 

Constructor & Destructor Documentation

◆ MemPoolParamsStatic()

template<size_t tBlockSize, size_t tBlockAlignment = MemPoolConst::GetBlockAlignment(tBlockSize), size_t tBlockCount = MemPoolConst::defaultBlockCount, size_t tCachedFreeBlockCount = MemPoolConst::defaultCachedFreeBlockCount>
momo::MemPoolParamsStatic< tBlockSize, tBlockAlignment, tBlockCount, tCachedFreeBlockCount >::MemPoolParamsStatic ( )
inlineexplicitnoexcept

Member Function Documentation

◆ MOMO_STATIC_ASSERT() [1/2]

template<size_t tBlockSize, size_t tBlockAlignment = MemPoolConst::GetBlockAlignment(tBlockSize), size_t tBlockCount = MemPoolConst::defaultBlockCount, size_t tCachedFreeBlockCount = MemPoolConst::defaultCachedFreeBlockCount>
momo::MemPoolParamsStatic< tBlockSize, tBlockAlignment, tBlockCount, tCachedFreeBlockCount >::MOMO_STATIC_ASSERT ( MemPoolConst::CheckBlockAlignment(blockAlignment )

◆ MOMO_STATIC_ASSERT() [2/2]

template<size_t tBlockSize, size_t tBlockAlignment = MemPoolConst::GetBlockAlignment(tBlockSize), size_t tBlockCount = MemPoolConst::defaultBlockCount, size_t tCachedFreeBlockCount = MemPoolConst::defaultCachedFreeBlockCount>
momo::MemPoolParamsStatic< tBlockSize, tBlockAlignment, tBlockCount, tCachedFreeBlockCount >::MOMO_STATIC_ASSERT ( MemPoolConst::CheckBlockCount(blockCount )

Member Data Documentation

◆ blockAlignment

template<size_t tBlockSize, size_t tBlockAlignment = MemPoolConst::GetBlockAlignment(tBlockSize), size_t tBlockCount = MemPoolConst::defaultBlockCount, size_t tCachedFreeBlockCount = MemPoolConst::defaultCachedFreeBlockCount>
const size_t momo::MemPoolParamsStatic< tBlockSize, tBlockAlignment, tBlockCount, tCachedFreeBlockCount >::blockAlignment = tBlockAlignment
static

◆ blockCount

template<size_t tBlockSize, size_t tBlockAlignment = MemPoolConst::GetBlockAlignment(tBlockSize), size_t tBlockCount = MemPoolConst::defaultBlockCount, size_t tCachedFreeBlockCount = MemPoolConst::defaultCachedFreeBlockCount>
const size_t momo::MemPoolParamsStatic< tBlockSize, tBlockAlignment, tBlockCount, tCachedFreeBlockCount >::blockCount = tBlockCount
static

◆ blockSize

template<size_t tBlockSize, size_t tBlockAlignment = MemPoolConst::GetBlockAlignment(tBlockSize), size_t tBlockCount = MemPoolConst::defaultBlockCount, size_t tCachedFreeBlockCount = MemPoolConst::defaultCachedFreeBlockCount>
const size_t momo::MemPoolParamsStatic< tBlockSize, tBlockAlignment, tBlockCount, tCachedFreeBlockCount >::blockSize
static

◆ cachedFreeBlockCount

template<size_t tBlockSize, size_t tBlockAlignment = MemPoolConst::GetBlockAlignment(tBlockSize), size_t tBlockCount = MemPoolConst::defaultBlockCount, size_t tCachedFreeBlockCount = MemPoolConst::defaultCachedFreeBlockCount>
const size_t momo::MemPoolParamsStatic< tBlockSize, tBlockAlignment, tBlockCount, tCachedFreeBlockCount >::cachedFreeBlockCount = tCachedFreeBlockCount
static

The documentation for this class was generated from the following file:
momo::MemPoolParamsStatic::blockAlignment
static const size_t blockAlignment
Definition: MemPool.h:110
momo::MemPoolConst::CorrectBlockSize
static constexpr size_t CorrectBlockSize(size_t blockSize, size_t blockAlignment, size_t blockCount) noexcept
Definition: MemPool.h:43
momo::MemPoolParamsStatic::blockCount
static const size_t blockCount
Definition: MemPool.h:107