Struct MePooConfig
Defined in File mepoo_config.hpp
Nested Relationships
Nested Types
Struct Documentation
-
struct MePooConfig
Public Types
-
using MePooConfigContainerType = cxx::vector<Entry, MAX_NUMBER_OF_MEMPOOLS>
Public 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.
- Returns:
cxx::vector of config information size and count of chunks
-
void addMemPool(Entry f_entry) noexcept
Function for adding new entry.
- Parameters:
Entry – structure of mempool configuration
-
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 Members
-
MePooConfigContainerType m_mempoolConfig
-
using MePooConfigContainerType = cxx::vector<Entry, MAX_NUMBER_OF_MEMPOOLS>