Skip to content

iox::runtime::SharedMemoryUser🔗

shared memory setup for the management segment user side

#include <shared_memory_user.hpp>

Public Functions🔗

Name
SharedMemoryUser(const bool doMapSharedMemoryIntoThread, const size_t topicSize, const uint64_t segmentId, const rp::BaseRelativePointer::offset_t segmentManagerAddressOffset)
Constructor.

Public Functions Documentation🔗

function SharedMemoryUser🔗

SharedMemoryUser(
    const bool doMapSharedMemoryIntoThread,
    const size_t topicSize,
    const uint64_t segmentId,
    const rp::BaseRelativePointer::offset_t segmentManagerAddressOffset
)

Constructor.

Parameters:

  • doMapSharedMemoryIntoThread used by roudi environment for testing. No mapping of memory if false
  • topicSize size of the shared memory management segment
  • segmentManagerAddr adress of the segment manager that does the final mapping of memory in the process
  • segmentId of the relocatable shared memory segment address space

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