This class extends the CycleDataManager class to deal with shared memory. More...
#include <ShmMultiplexingDataManager.h>
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. |
This class extends the CycleDataManager class to deal with shared memory.
Definition at line 15 of file ShmMultiplexingDataManager.h.
int32_t fesa::ShmMultiplexingDataManager::computeMemorySize | ( | ) | [virtual] |
This method returns the number of bites that are necessary to store the date of the class.
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.
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_.