16#ifndef IOX_POSH_ROUDI_MEMORY_ROUDI_MEMORY_INTERFACE_HPP
17#define IOX_POSH_ROUDI_MEMORY_ROUDI_MEMORY_INTERFACE_HPP
19#include "iceoryx_hoofs/cxx/optional.hpp"
20#include "iceoryx_posh/internal/roudi/memory/mempool_collection_memory_block.hpp"
21#include "iceoryx_posh/internal/roudi/memory/mempool_segment_manager_memory_block.hpp"
22#include "iceoryx_posh/internal/roudi/memory/port_pool_memory_block.hpp"
23#include "iceoryx_posh/roudi/memory/posix_shm_memory_provider.hpp"
24#include "iceoryx_posh/roudi/memory/roudi_memory_manager.hpp"
25#include "iceoryx_posh/roudi/port_pool.hpp"
58 virtual cxx::optional<
PortPool*> portPool() noexcept = 0;
59 virtual cxx::optional<mepoo::MemoryManager*> introspectionMemoryManager() const noexcept = 0;
60 virtual cxx::optional<mepoo::SegmentManager<>*> segmentManager() const noexcept = 0;
Definition: port_pool.hpp:62
Creates the shared memory based on a provided configuration.
Definition: posix_shm_memory_provider.hpp:36
Definition: roudi_memory_interface.hpp:36
virtual cxx::expected< RouDiMemoryManagerError > createAndAnnounceMemory() noexcept=0
The RouDiMemoryManager calls the the MemoryProvider to create the memory and announce the availabilit...
virtual cxx::expected< RouDiMemoryManagerError > destroyMemory() noexcept=0
The RouDiMemoryManager calls the the MemoryProvider to destroy the memory, which in turn prompts the ...
virtual ~RouDiMemoryInterface() noexcept=default
The Destructor of the RouDiMemoryInterface also calls destroy on the registered MemoryProvider.
RouDiMemoryManagerError
Definition: roudi_memory_manager.hpp:39