Skip to content

iox::roudi::MemPoolSegmentManagerMemoryBlock🔗

Inherits from iox::roudi::MemoryBlock

Public Functions🔗

Name
MemPoolSegmentManagerMemoryBlock(const mepoo::SegmentConfig & segmentConfig)
~MemPoolSegmentManagerMemoryBlock()
MemPoolSegmentManagerMemoryBlock(const MemPoolSegmentManagerMemoryBlock & )
MemPoolSegmentManagerMemoryBlock(MemPoolSegmentManagerMemoryBlock && )
MemPoolSegmentManagerMemoryBlock & operator=(const MemPoolSegmentManagerMemoryBlock & )
MemPoolSegmentManagerMemoryBlock & operator=(MemPoolSegmentManagerMemoryBlock && )
virtual uint64_t size() const override
Implementation of MemoryBlock::size.
virtual uint64_t alignment() const override
Implementation of MemoryBlock::alignment.
virtual void memoryAvailable(void * memory) override
Implementation of MemoryBlock::memoryAvailable This will create the SegmentManager.
virtual void destroy() override
Implementation of MemoryBlock::destroy This will clean up the SegmentManager.
cxx::optional< mepoo::SegmentManager<> * > segmentManager() const
This function enables the access to the SegmentManager.

Additional inherited members🔗

Public Functions inherited from iox::roudi::MemoryBlock

Name
MemoryBlock() =default
MemoryBlock(const MemoryBlock & )
MemoryBlock(MemoryBlock && )
cxx::optional< void * > memory() const
This function provides the pointer to the requested memory.

Friends inherited from iox::roudi::MemoryBlock

Name
class MemoryProvider

Public Functions Documentation🔗

function MemPoolSegmentManagerMemoryBlock🔗

MemPoolSegmentManagerMemoryBlock(
    const mepoo::SegmentConfig & segmentConfig
)

function ~MemPoolSegmentManagerMemoryBlock🔗

~MemPoolSegmentManagerMemoryBlock()

function MemPoolSegmentManagerMemoryBlock🔗

MemPoolSegmentManagerMemoryBlock(
    const MemPoolSegmentManagerMemoryBlock & 
)

function MemPoolSegmentManagerMemoryBlock🔗

MemPoolSegmentManagerMemoryBlock(
    MemPoolSegmentManagerMemoryBlock && 
)

function operator=🔗

MemPoolSegmentManagerMemoryBlock & operator=(
    const MemPoolSegmentManagerMemoryBlock & 
)

function operator=🔗

MemPoolSegmentManagerMemoryBlock & operator=(
    MemPoolSegmentManagerMemoryBlock && 
)

function size🔗

virtual uint64_t size() const override

Implementation of MemoryBlock::size.

Return: the size of for SegmentManager

Reimplements: iox::roudi::MemoryBlock::size

function alignment🔗

virtual uint64_t alignment() const override

Implementation of MemoryBlock::alignment.

Return: the memory alignment for SegmentManager

Reimplements: iox::roudi::MemoryBlock::alignment

function memoryAvailable🔗

virtual void memoryAvailable(
    void * memory
) override

Implementation of MemoryBlock::memoryAvailable This will create the SegmentManager.

Parameters:

  • memory pointer to a valid memory location to place the mempools

Reimplements: iox::roudi::MemoryBlock::memoryAvailable

function destroy🔗

virtual void destroy() override

Implementation of MemoryBlock::destroy This will clean up the SegmentManager.

Reimplements: iox::roudi::MemoryBlock::destroy

function segmentManager🔗

cxx::optional< mepoo::SegmentManager<> * > segmentManager() const

This function enables the access to the SegmentManager.

Return: an optional pointer to the underlying type, cxx::nullopt_t if value is not initialized


Updated on 31 May 2022 at 15:29:16 CEST