fesa-core
7.0.0
|
Class that manages the synchronization of persistent fields. More...
#include <FieldSynchroManager.h>
Public Member Functions | |
void | registerModifiedField (uint32_t index, uint32_t slot) |
void | abortModifiedFieldSynchronization () |
uint32_t | commitModifiedFieldSynchronization () |
Class that manages the synchronization of persistent fields.
void fesa::FieldSynchroManager::abortModifiedFieldSynchronization | ( | ) |
Empties the list of modified field slots.
uint32_t fesa::FieldSynchroManager::commitModifiedFieldSynchronization | ( | ) |
IMPORTANT: Must never be called while holding a device lock (read or write). Doing so can create a deadlock. Commits the modifications registered with registerModifiedField(), then empties the list of modified field slots. The new values are ready to be copied to the real-time buffers.
void fesa::FieldSynchroManager::registerModifiedField | ( | uint32_t | index, |
uint32_t | slot | ||
) |
Registers a field slot as modified.
index | index of the field to register as modified |
slot | slot of the field to register as modified |