16 #ifndef IOX_POSH_ROUDI_MEMORY_MEMPOOL_SEGMENT_MANAGER_MEMORY_BLOCK_HPP
17 #define IOX_POSH_ROUDI_MEMORY_MEMPOOL_SEGMENT_MANAGER_MEMORY_BLOCK_HPP
19 #include "iceoryx_posh/roudi/memory/memory_block.hpp"
21 #include "iceoryx_posh/internal/mepoo/segment_manager.hpp"
22 #include "iceoryx_posh/mepoo/segment_config.hpp"
24 #include "iceoryx_utils/cxx/optional.hpp"
45 uint64_t
size() const noexcept override;
65 mepoo::SegmentManager<>* m_segmentManager{
nullptr};
Definition: mempool_segment_manager_memory_block.hpp:33
cxx::optional< mepoo::SegmentManager<> * > segmentManager() const noexcept
This function enables the access to the SegmentManager.
uint64_t alignment() const noexcept override
Implementation of MemoryBlock::alignment.
void destroy() noexcept override
Implementation of MemoryBlock::destroy This will clean up the SegmentManager.
void memoryAvailable(void *memory) noexcept override
Implementation of MemoryBlock::memoryAvailable This will create the SegmentManager.
uint64_t size() const noexcept override
Implementation of MemoryBlock::size.
The MemoryBlock is a container for general purpose memory. It is used to request some memory from a M...
Definition: memory_block.hpp:32
cxx::optional< void * > memory() const noexcept
This function provides the pointer to the requested memory.
Definition: service_description.hpp:29
Definition: segment_config.hpp:31