iox::mepoo::TypedMemPool🔗
Public Functions🔗
Name | |
---|---|
TypedMemPool(const cxx::greater_or_equal< uint32_t, 1 > numberOfChunks, posix::Allocator & managementAllocator, posix::Allocator & chunkMemoryAllocator) | |
TypedMemPool(const TypedMemPool & ) | |
TypedMemPool(TypedMemPool && ) | |
TypedMemPool & | operator=(const TypedMemPool & ) |
TypedMemPool & | operator=(TypedMemPool && ) |
template \<typename... Targs> cxx::expected< SharedPointer< T >, TypedMemPoolError > |
createObject(Targs &&... args) |
template \<typename ErrorType ,typename... Targs> cxx::expected< SharedPointer< T >, cxx::variant< TypedMemPoolError, ErrorType > > |
createObjectWithCreationPattern(Targs &&... args) |
uint32_t | getChunkCount() const |
uint32_t | getUsedChunks() const |
uint64_t | requiredManagementMemorySize(const uint64_t f_numberOfChunks) |
uint64_t | requiredChunkMemorySize(const uint64_t f_numberOfChunks) |
uint64_t | requiredFullMemorySize(const uint64_t f_numberOfChunks) |
Detailed Description🔗
template <typename T >
class iox::mepoo::TypedMemPool;
Public Functions Documentation🔗
function TypedMemPool🔗
inline TypedMemPool(
const cxx::greater_or_equal< uint32_t, 1 > numberOfChunks,
posix::Allocator & managementAllocator,
posix::Allocator & chunkMemoryAllocator
)
function TypedMemPool🔗
TypedMemPool(
const TypedMemPool &
)
function TypedMemPool🔗
TypedMemPool(
TypedMemPool &&
)
function operator=🔗
TypedMemPool & operator=(
const TypedMemPool &
)
function operator=🔗
TypedMemPool & operator=(
TypedMemPool &&
)
function createObject🔗
template <typename... Targs>
inline cxx::expected< SharedPointer< T >, TypedMemPoolError > createObject(
Targs &&... args
)
function createObjectWithCreationPattern🔗
template <typename ErrorType ,
typename... Targs>
inline cxx::expected< SharedPointer< T >, cxx::variant< TypedMemPoolError, ErrorType > > createObjectWithCreationPattern(
Targs &&... args
)
function getChunkCount🔗
inline uint32_t getChunkCount() const
function getUsedChunks🔗
inline uint32_t getUsedChunks() const
function requiredManagementMemorySize🔗
static inline uint64_t requiredManagementMemorySize(
const uint64_t f_numberOfChunks
)
function requiredChunkMemorySize🔗
static inline uint64_t requiredChunkMemorySize(
const uint64_t f_numberOfChunks
)
function requiredFullMemorySize🔗
static inline uint64_t requiredFullMemorySize(
const uint64_t f_numberOfChunks
)
Updated on 26 April 2021 at 15:31:02 CEST