data shared across maps in different processes More...

#include <MemMap.h>

Collaboration diagram for Ipc::MemMap::Shared:

Public Member Functions

 Shared (const int aLimit, const size_t anExtrasSize)
 
size_t sharedMemorySize () const
 
 ~Shared ()
 

Static Public Member Functions

static size_t SharedMemorySize (const int limit, const size_t anExtrasSize)
 

Public Attributes

const int limit
 maximum number of map slots More...
 
const size_t extrasSize
 size of slot extra data More...
 
std::atomic< intcount
 current number of map slots More...
 
Ipc::Mem::FlexibleArray< Slotslots
 storage More...
 

Detailed Description

Definition at line 62 of file MemMap.h.

Constructor & Destructor Documentation

◆ Shared()

Ipc::MemMap::Shared::Shared ( const int  aLimit,
const size_t  anExtrasSize 
)

Definition at line 327 of file MemMap.cc.

◆ ~Shared()

Ipc::MemMap::Shared::~Shared ( )

Definition at line 332 of file MemMap.cc.

Member Function Documentation

◆ sharedMemorySize()

size_t Ipc::MemMap::Shared::sharedMemorySize ( ) const

Definition at line 337 of file MemMap.cc.

◆ SharedMemorySize()

size_t Ipc::MemMap::Shared::SharedMemorySize ( const int  limit,
const size_t  anExtrasSize 
)
static

Definition at line 343 of file MemMap.cc.

Member Data Documentation

◆ count

std::atomic<int> Ipc::MemMap::Shared::count

Definition at line 72 of file MemMap.h.

◆ extrasSize

const size_t Ipc::MemMap::Shared::extrasSize

Definition at line 71 of file MemMap.h.

◆ limit

const int Ipc::MemMap::Shared::limit

Definition at line 70 of file MemMap.h.

◆ slots

Ipc::Mem::FlexibleArray<Slot> Ipc::MemMap::Shared::slots

Definition at line 73 of file MemMap.h.


The documentation for this class was generated from the following files:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors