#include <StoreMap.h>

Collaboration diagram for Ipc::StoreMapAnchors:

Public Types

typedef Ipc::Mem::Owner< StoreMapAnchorsOwner
 

Public Member Functions

 StoreMapAnchors (const int aCapacity)
 
size_t sharedMemorySize () const
 

Static Public Member Functions

static size_t SharedMemorySize (const int anAnchorLimit)
 

Public Attributes

std::atomic< int32_t > count
 current number of entries More...
 
std::atomic< uint32_t > victim
 starting point for purge search More...
 
const int capacity
 total number of anchors More...
 
Ipc::Mem::FlexibleArray< StoreMapAnchoritems
 anchors storage More...
 

Detailed Description

StoreMapAnchors (indexed by fileno) plus sharing-safe basic housekeeping info about Store entries

Definition at line 141 of file StoreMap.h.

Member Typedef Documentation

◆ Owner

Constructor & Destructor Documentation

◆ StoreMapAnchors()

Ipc::StoreMapAnchors::StoreMapAnchors ( const int  aCapacity)
explicit

Definition at line 873 of file StoreMap.cc.

Referenced by SharedMemorySize().

Member Function Documentation

◆ sharedMemorySize()

size_t Ipc::StoreMapAnchors::sharedMemorySize ( ) const

Definition at line 882 of file StoreMap.cc.

References capacity, and SharedMemorySize().

◆ SharedMemorySize()

size_t Ipc::StoreMapAnchors::SharedMemorySize ( const int  anAnchorLimit)
static

Definition at line 888 of file StoreMap.cc.

References StoreMapAnchors().

Referenced by sharedMemorySize().

Member Data Documentation

◆ capacity

const int Ipc::StoreMapAnchors::capacity

Definition at line 153 of file StoreMap.h.

Referenced by sharedMemorySize().

◆ count

std::atomic<int32_t> Ipc::StoreMapAnchors::count

Definition at line 151 of file StoreMap.h.

◆ items

Ipc::Mem::FlexibleArray<StoreMapAnchor> Ipc::StoreMapAnchors::items

Definition at line 154 of file StoreMap.h.

◆ victim

std::atomic<uint32_t> Ipc::StoreMapAnchors::victim

Definition at line 152 of file StoreMap.h.


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors