This class extends the RollingDataManager class to deal with heap memory. More...
#include <HeapRollingMultiplexingDataManager.h>
Public Member Functions | |
HeapRollingMultiplexingDataManager (int32_t depth) | |
Constructor. | |
int32_t | computeMemorySize () |
This method returns the number of bytes which are necessary to store the date of the class. | |
void | mapMemory (char *address) |
This method maps the data that the RollingMultiplexingDataManager uses from the address passed by argument. |
This class extends the RollingDataManager class to deal with heap memory.
Definition at line 15 of file HeapRollingMultiplexingDataManager.h.
fesa::HeapRollingMultiplexingDataManager::HeapRollingMultiplexingDataManager | ( | int32_t | depth | ) |
Constructor.
depth | the number of data-elements which need to be handled |
Definition at line 11 of file HeapRollingMultiplexingDataManager.cpp.
int32_t fesa::HeapRollingMultiplexingDataManager::computeMemorySize | ( | ) | [virtual] |
This method returns the number of bytes which are necessary to store the date of the class.
Implements fesa::RollingMultiplexingDataManager.
Definition at line 17 of file HeapRollingMultiplexingDataManager.cpp.
References fesa::RollingMultiplexingDataManager::depth_, and fesa::AbstractMutex::getSize().
void fesa::HeapRollingMultiplexingDataManager::mapMemory | ( | char * | address | ) | [virtual] |
This method maps the data that the RollingMultiplexingDataManager uses from the address passed by argument.
address | the memory address where the data will begin |
Implements fesa::RollingMultiplexingDataManager.
Definition at line 33 of file HeapRollingMultiplexingDataManager.cpp.
References fesa::RollingMultiplexingDataManager::currentCycleStampsCol_, fesa::RollingMultiplexingDataManager::currentId_, fesa::RollingMultiplexingDataManager::currentIdsCol_, fesa::RollingMultiplexingDataManager::currentPosition_, fesa::RollingMultiplexingDataManager::depth_, fesa::AbstractMutex::getSize(), and fesa::RollingMultiplexingDataManager::mutex_.