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

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

Definition at line 319 of file MemMap.cc.

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

Definition at line 324 of file MemMap.cc.

Member Function Documentation

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

Definition at line 329 of file MemMap.cc.

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

Definition at line 335 of file MemMap.cc.

Member Data Documentation

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

Definition at line 72 of file MemMap.h.

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

Definition at line 71 of file MemMap.h.

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

Definition at line 70 of file MemMap.h.

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