fesa-core  4.2.0
fesa::AbstractMultiplexingDataManager Class Referenceabstract

The headclass of all DataManagers. It provides all kinds of methods, which are needed in order to work with different memory concepts. More...

#include <AbstractMultiplexingDataManager.h>

Inheritance diagram for fesa::AbstractMultiplexingDataManager:
fesa::MultiplexingDataManager fesa::HeapMultiplexingDataManager fesa::RollingBufferMuxDataManager fesa::ShmMultiplexingDataManager fesa::HeapRollingBufferMuxDataManager fesa::ShmRollingBufferMuxDataManager

Public Member Functions

virtual ~AbstractMultiplexingDataManager ()
 Destructor.
 
virtual std::size_t computeMemorySize ()=0
 This method returns the number of bytes which are necessary to store the date of the class. It is implemented inside the children of this class. More...
 
virtual void mapMemory (char *address, bool first)=0
 

Detailed Description

The headclass of all DataManagers. It provides all kinds of methods, which are needed in order to work with different memory concepts.

Member Function Documentation

virtual std::size_t fesa::AbstractMultiplexingDataManager::computeMemorySize ( )
pure virtual

This method returns the number of bytes which are necessary to store the date of the class. It is implemented inside the children of this class.

Returns
the number of bytes computed

Implemented in fesa::RollingBufferMuxDataManager, fesa::MultiplexingDataManager, fesa::HeapRollingBufferMuxDataManager, fesa::ShmRollingBufferMuxDataManager, fesa::HeapMultiplexingDataManager, and fesa::ShmMultiplexingDataManager.

virtual void fesa::AbstractMultiplexingDataManager::mapMemory ( char *  address,
bool  first 
)
pure virtual

Maps shared fields to the memory pointed to by pAddr.

Parameters
addressaddress where to map shared fields
firsttrue if this is the first process to map the shared fields

Implemented in fesa::MultiplexingDataManager, fesa::RollingBufferMuxDataManager, fesa::HeapRollingBufferMuxDataManager, fesa::ShmRollingBufferMuxDataManager, fesa::HeapMultiplexingDataManager, and fesa::ShmMultiplexingDataManager.


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