iceoryx_doc  1.0.1
Public Member Functions | Static Public Member Functions | List of all members
iox::mepoo::TypedMemPool< T > Class Template Reference

Public Member Functions

 TypedMemPool (const cxx::greater_or_equal< uint32_t, 1 > numberOfChunks, posix::Allocator &managementAllocator, posix::Allocator &chunkMemoryAllocator) noexcept
 
 TypedMemPool (const TypedMemPool &)=delete
 
 TypedMemPool (TypedMemPool &&)=delete
 
TypedMemPooloperator= (const TypedMemPool &)=delete
 
TypedMemPooloperator= (TypedMemPool &&)=delete
 
template<typename... Targs>
cxx::expected< SharedPointer< T >, TypedMemPoolError > createObject (Targs &&... args) noexcept
 
template<typename ErrorType , typename... Targs>
cxx::expected< SharedPointer< T >, cxx::variant< TypedMemPoolError, ErrorType > > createObjectWithCreationPattern (Targs &&... args) noexcept
 
uint32_t getChunkCount () const noexcept
 
uint32_t getUsedChunks () const noexcept
 

Static Public Member Functions

static uint64_t requiredManagementMemorySize (const uint64_t f_numberOfChunks) noexcept
 
static uint64_t requiredChunkMemorySize (const uint64_t f_numberOfChunks) noexcept
 
static uint64_t requiredFullMemorySize (const uint64_t f_numberOfChunks) noexcept
 

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