fesa::ShmMultiplexingDataManager Class Reference

This class extends the CycleDataManager class to deal with shared memory. More...

#include <ShmMultiplexingDataManager.h>

Inheritance diagram for fesa::ShmMultiplexingDataManager:
fesa::MultiplexingDataManager fesa::AbstractMultiplexingDataManager

List of all members.

Public Member Functions

int32_t computeMemorySize ()
 This method returns the number of bites that are necessary to store the date of the class.
void mapMemory (char *address)
 This method maps the data that the ShmMultiplexingDataManager uses from the address passed by argument.

Detailed Description

This class extends the CycleDataManager class to deal with shared memory.

Definition at line 15 of file ShmMultiplexingDataManager.h.


Member Function Documentation

int32_t fesa::ShmMultiplexingDataManager::computeMemorySize (  )  [virtual]

This method returns the number of bites that are necessary to store the date of the class.

Returns:
The number of bytes needed to store the data

Implements fesa::MultiplexingDataManager.

Definition at line 11 of file ShmMultiplexingDataManager.cpp.

References fesa::AbstractMutex::getSize().

void fesa::ShmMultiplexingDataManager::mapMemory ( char *  address  )  [virtual]

This method maps the data that the ShmMultiplexingDataManager uses from the address passed by argument.

Parameters:
The address where the allocated memory starts

Implements fesa::MultiplexingDataManager.

Definition at line 22 of file ShmMultiplexingDataManager.cpp.

References fesa::MultiplexingDataManager::currentCycleId_, fesa::MultiplexingDataManager::currentSlot_, fesa::AbstractMutex::getSize(), and fesa::MultiplexingDataManager::mutex_.


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

Generated on 18 Jan 2013 for Fesa by  doxygen 1.6.1