iceoryx_posh 2.0.6
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
iox::mepoo::MePooConfig Struct Reference

Classes

struct  Entry
 

Public Types

using MePooConfigContainerType = cxx::vector< Entry, MAX_NUMBER_OF_MEMPOOLS >
 

Public Member Functions

 MePooConfig () noexcept=default
 Default constructor to set the configuration for memory pools.
 
const MePooConfigContainerType * getMemPoolConfig () const noexcept
 Get function for receiving memory pool configuration.
 
void addMemPool (Entry f_entry) noexcept
 Function for adding new entry.
 
MePooConfig & setDefaults () noexcept
 Function for creating default memory pools.
 
MePooConfig & optimize () noexcept
 Function for optimizing the size of memory pool according to new entry.
 

Public Attributes

MePooConfigContainerType m_mempoolConfig
 

Member Function Documentation

◆ addMemPool()

void iox::mepoo::MePooConfig::addMemPool ( Entry  f_entry)
noexcept

Function for adding new entry.

Parameters
[in]Entrystructure of mempool configuration

◆ getMemPoolConfig()

const MePooConfigContainerType * iox::mepoo::MePooConfig::getMemPoolConfig ( ) const
noexcept

Get function for receiving memory pool configuration.

Returns
cxx::vector of config information size and count of chunks

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