#include <StoreMap.h>

Collaboration diagram for Ipc::StoreMapItems< C >:

Public Types

typedef C Item
 
typedef Ipc::Mem::Owner< StoreMapItems< Item > > Owner
 

Public Member Functions

 StoreMapItems (const int aCapacity)
 
size_t sharedMemorySize () const
 
Itemat (const int index)
 
const Itemat (const int index) const
 
void fill (const Item &value)
 reset all items to the same value More...
 

Static Public Member Functions

static size_t SharedMemorySize (const int aCapacity)
 

Public Attributes

const int capacity
 total number of items More...
 
Ipc::Mem::FlexibleArray< Itemitems
 storage More...
 

Detailed Description

template<class C>
class Ipc::StoreMapItems< C >

an array of shareable Items must be the last data member or, if used as a parent class, the last parent

Definition at line 121 of file StoreMap.h.

Member Typedef Documentation

◆ Item

template<class C >
typedef C Ipc::StoreMapItems< C >::Item

Definition at line 124 of file StoreMap.h.

◆ Owner

template<class C >
typedef Ipc::Mem::Owner< StoreMapItems<Item> > Ipc::StoreMapItems< C >::Owner

Definition at line 125 of file StoreMap.h.

Constructor & Destructor Documentation

◆ StoreMapItems()

template<class C >
Ipc::StoreMapItems< C >::StoreMapItems ( const int  aCapacity)
inlineexplicit

Definition at line 127 of file StoreMap.h.

Member Function Documentation

◆ at() [1/2]

template<class C >
Item & Ipc::StoreMapItems< C >::at ( const int  index)
inline

◆ at() [2/2]

template<class C >
const Item & Ipc::StoreMapItems< C >::at ( const int  index) const
inline

Definition at line 139 of file StoreMap.h.

References Ipc::StoreMapItems< C >::at().

◆ fill()

template<class C >
void Ipc::StoreMapItems< C >::fill ( const Item value)
inline

◆ sharedMemorySize()

template<class C >
size_t Ipc::StoreMapItems< C >::sharedMemorySize ( ) const
inline

◆ SharedMemorySize()

template<class C >
static size_t Ipc::StoreMapItems< C >::SharedMemorySize ( const int  aCapacity)
inlinestatic

Definition at line 130 of file StoreMap.h.

Referenced by Ipc::StoreMapItems< C >::sharedMemorySize().

Member Data Documentation

◆ capacity

◆ items


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors