fesa-core
4.2.0
|
This class provides methods to retrieve/store information about the cycle stamp and slot linked to that cycle stamp. More...
#include <MultiplexingDataManager.h>
Public Member Functions | |
MultiplexingDataManager () | |
Constructor. | |
virtual | ~MultiplexingDataManager () |
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 |
Public Member Functions inherited from fesa::AbstractMultiplexingDataManager | |
virtual | ~AbstractMultiplexingDataManager () |
Destructor. | |
Protected Attributes | |
int32_t * | currentCycleId_ |
Current cycleID. | |
Mutex * | mutex_ |
mutex for all class member variables | |
int32_t * | currentSlot_ |
The slot where the data of the current cycle is stored. | |
This class provides methods to retrieve/store information about the cycle stamp and slot linked to that cycle stamp.
|
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.
Implements fesa::AbstractMultiplexingDataManager.
Implemented in fesa::RollingBufferMuxDataManager, fesa::HeapRollingBufferMuxDataManager, fesa::ShmRollingBufferMuxDataManager, fesa::HeapMultiplexingDataManager, and fesa::ShmMultiplexingDataManager.
|
pure virtual |
Maps shared fields to the memory pointed to by pAddr.
address | address where to map shared fields |
first | true if this is the first process to map the shared fields |
Implements fesa::AbstractMultiplexingDataManager.
Implemented in fesa::RollingBufferMuxDataManager, fesa::HeapRollingBufferMuxDataManager, fesa::ShmRollingBufferMuxDataManager, fesa::HeapMultiplexingDataManager, and fesa::ShmMultiplexingDataManager.