fesa-core  4.3.1
fesa::DataManager Class Referenceabstract

#include <DataManager.h>

Inheritance diagram for fesa::DataManager:
fesa::FieldDataManager fesa::FieldTrackerDataManager

Public Member Functions

virtual void initialCopy ()=0
 
virtual void update (uint16_t oldIndex, uint16_t newIndex)=0
 

Detailed Description

DataManager interface. DataManagers are responsible for updating data when BufferSynchronizer triggers a synchronization.

Member Function Documentation

virtual void fesa::DataManager::initialCopy ( )
pure virtual

Performs the initial copy of the data from the reference buffer to the reader buffers. Called once before any call to update().

Implemented in fesa::FieldTrackerDataManager.

virtual void fesa::DataManager::update ( uint16_t  oldIndex,
uint16_t  newIndex 
)
pure virtual

Updates the reader buffers. Called by BufferSynchronizer when an update can be safely done.

Parameters
oldIndexindex of the reader buffer which is about to become the old buffer
newIndexindex of the reader buffer which is about to become the new buffer

Implemented in fesa::FieldTrackerDataManager.


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