iceoryx_doc  1.0.1
Public Types | Public Member Functions | Static Public Attributes | List of all members
iox::mepoo::MemPool Class Reference

Public Types

using freeList_t = concurrent::LoFFLi
 

Public Member Functions

 MemPool (const cxx::greater_or_equal< uint32_t, CHUNK_MEMORY_ALIGNMENT > chunkSize, const cxx::greater_or_equal< uint32_t, 1 > numberOfChunks, posix::Allocator &managementAllocator, posix::Allocator &chunkMemoryAllocator) noexcept
 
 MemPool (const MemPool &)=delete
 
 MemPool (MemPool &&)=delete
 
MemPooloperator= (const MemPool &)=delete
 
MemPooloperator= (MemPool &&)=delete
 
void * getChunk () noexcept
 
uint32_t getChunkSize () const noexcept
 
uint32_t getChunkCount () const noexcept
 
uint32_t getUsedChunks () const noexcept
 
uint32_t getMinFree () const noexcept
 
MemPoolInfo getInfo () const noexcept
 
void freeChunk (const void *chunk) noexcept
 

Static Public Attributes

static constexpr uint64_t CHUNK_MEMORY_ALIGNMENT = 8U
 

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