Skip to content

iox::mepoo::MePooSegment🔗

More...

Public Functions🔗

Name
MePooSegment(const MePooConfig & mempoolConfig, posix::Allocator & managementAllocator, const posix::PosixGroup & readerGroup, const posix::PosixGroup & writerGroup, const iox::mepoo::MemoryInfo & memoryInfo =iox::mepoo::MemoryInfo())
posix::PosixGroup getWriterGroup() const
posix::PosixGroup getReaderGroup() const
const SharedMemoryObjectType & getSharedMemoryObject() const
MemoryManagerType & getMemoryManager()
uint64_t getSegmentId() const

Protected Functions🔗

Name
SharedMemoryObjectType createSharedMemoryObject(const MePooConfig & mempoolConfig, const posix::PosixGroup & writerGroup)

Protected Attributes🔗

Name
SharedMemoryObjectType m_sharedMemoryObject
MemoryManagerType m_memoryManager
posix::PosixGroup m_readerGroup
posix::PosixGroup m_writerGroup
uint64_t m_segmentId
iox::mepoo::MemoryInfo m_memoryInfo

Detailed Description🔗

template <typename SharedMemoryObjectType  =posix::SharedMemoryObject,
typename MemoryManagerType  =MemoryManager>
class iox::mepoo::MePooSegment;

Public Functions Documentation🔗

function MePooSegment🔗

inline MePooSegment(
    const MePooConfig & mempoolConfig,
    posix::Allocator & managementAllocator,
    const posix::PosixGroup & readerGroup,
    const posix::PosixGroup & writerGroup,
    const iox::mepoo::MemoryInfo & memoryInfo =iox::mepoo::MemoryInfo()
)

function getWriterGroup🔗

inline posix::PosixGroup getWriterGroup() const

function getReaderGroup🔗

inline posix::PosixGroup getReaderGroup() const

function getSharedMemoryObject🔗

inline const SharedMemoryObjectType & getSharedMemoryObject() const

function getMemoryManager🔗

inline MemoryManagerType & getMemoryManager()

function getSegmentId🔗

inline uint64_t getSegmentId() const

Protected Functions Documentation🔗

function createSharedMemoryObject🔗

inline SharedMemoryObjectType createSharedMemoryObject(
    const MePooConfig & mempoolConfig,
    const posix::PosixGroup & writerGroup
)

Protected Attributes Documentation🔗

variable m_sharedMemoryObject🔗

SharedMemoryObjectType m_sharedMemoryObject;

variable m_memoryManager🔗

MemoryManagerType m_memoryManager;

variable m_readerGroup🔗

posix::PosixGroup m_readerGroup;

variable m_writerGroup🔗

posix::PosixGroup m_writerGroup;

variable m_segmentId🔗

uint64_t m_segmentId;

variable m_memoryInfo🔗

iox::mepoo::MemoryInfo m_memoryInfo;

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