iox::mepoo::MePooConfig🔗
Public Classes🔗
Name | |
---|---|
struct | Entry |
Public Types🔗
Name | |
---|---|
using cxx::vector< Entry, MAX_NUMBER_OF_MEMPOOLS > | MePooConfigContainerType |
Public Functions🔗
Name | |
---|---|
MePooConfig() =default Default constructor to set the configuration for memory pools. |
|
const MePooConfigContainerType * | getMemPoolConfig() const Get function for receiving memory pool configuration. |
void | addMemPool(Entry f_entry) Function for adding new entry. |
MePooConfig & | setDefaults() Function for creating default memory pools. |
MePooConfig & | optimize() Function for optimizing the size of memory pool according to new entry. |
Public Attributes🔗
Name | |
---|---|
MePooConfigContainerType | m_mempoolConfig |
Public Types Documentation🔗
using MePooConfigContainerType🔗
using iox::mepoo::MePooConfig::MePooConfigContainerType = cxx::vector<Entry, MAX_NUMBER_OF_MEMPOOLS>;
Public Functions Documentation🔗
function MePooConfig🔗
MePooConfig() =default
Default constructor to set the configuration for memory pools.
function getMemPoolConfig🔗
const MePooConfigContainerType * getMemPoolConfig() const
Get function for receiving memory pool configuration.
Return: cxx::vector of config information size and count of chunks
function addMemPool🔗
void addMemPool(
Entry f_entry
)
Function for adding new entry.
Parameters:
- Entry structure of mempool configuration
function setDefaults🔗
MePooConfig & setDefaults()
Function for creating default memory pools.
function optimize🔗
MePooConfig & optimize()
Function for optimizing the size of memory pool according to new entry.
Public Attributes Documentation🔗
variable m_mempoolConfig🔗
MePooConfigContainerType m_mempoolConfig;
Updated on 17 March 2022 at 12:15:57 CET