#include <SettingField.h>
Public Member Functions | |
SettingFieldStructArray (const std::string &fieldName, bool multiplexed, bool multiMultiplexed, DataStore *pDataStore, bool persistent, bool shared, int32_t size, const DataIntegrity bufferType=DoubleBuffered) | |
Constructor. | |
~SettingFieldStructArray () | |
destructor | |
const T * | getCell (uint32_t index, MultiplexingContext *context) |
Method to retrieve one cell of active field value. | |
void | setCell (T *val, uint32_t index, MultiplexingContext *context) |
Method to set a single cell of pending buffer of an array. |
Definition at line 557 of file SettingField.h.
fesa::SettingFieldStructArray< T >::SettingFieldStructArray | ( | const std::string & | fieldName, | |
bool | multiplexed, | |||
bool | multiMultiplexed, | |||
DataStore * | pDataStore, | |||
bool | persistent, | |||
bool | shared, | |||
int32_t | size, | |||
const DataIntegrity | bufferType = DoubleBuffered | |||
) | [inline] |
Constructor.
name | of the field, multiplexing criterion, pointer to DataStore |
Definition at line 591 of file SettingField.h.
fesa::SettingFieldStructArray< T >::~SettingFieldStructArray | ( | ) | [inline] |
destructor
Definition at line 600 of file SettingField.h.
const T * fesa::SettingFieldStructArray< T >::getCell | ( | uint32_t | index, | |
MultiplexingContext * | context | |||
) | [inline] |
Method to retrieve one cell of active field value.
index | index of cell | |
context | the multiplexing context |
Definition at line 605 of file SettingField.h.
References fesa::FieldValue< T[]>::activeBuffer(), fesa::MultiplexingContext::CHECK_FLAG_TO_BE_SYNC, FesaErrorFieldCurrentDimensionOutOfBound, FesaErrorNoneContextforMuxedField, FesaErrorNULLPointerToContext, fesa::FieldValue< T[]>::getActiveCurrentSize(), fesa::FieldArray< T >::getFieldValue(), fesa::MultiplexingContext::getSettingAccessMask(), fesa::AbstractMultiplexingManager::getSlot(), fesa::MultiplexingContext::getType(), fesa::FieldValueBase::isToBeSync(), fesa::AbstractField::multiplexingManager_, fesa::AbstractField::name_, fesa::MultiplexingContext::NoneCtxt, fesa::FieldValue< T[]>::pendingBuffer(), and fesa::StringUtilities::toString().
void fesa::SettingFieldStructArray< T >::setCell | ( | T * | val, | |
uint32_t | index, | |||
MultiplexingContext * | context | |||
) | [inline] |
Method to set a single cell of pending buffer of an array.
val | new value for the array cell | |
index | index of array cell to be set | |
context | the multiplexing context |
Definition at line 639 of file SettingField.h.
References fesa::SettingFieldArray< T >::checkContext(), fesa::FieldArray< T >::checkMaxDimension(), FesaErrorNULLPointerToContext, FesaErrorWrongSourceContextSettingField, fesa::FieldValue< T[]>::getActiveCurrentSize(), fesa::FieldArray< T >::getFieldValue(), fesa::FieldValue< T[]>::getPendingCurrentSize(), fesa::MultiplexingContext::getSettingAccessMask(), fesa::FieldValueBase::hasPendingChanged(), fesa::AbstractField::multiplexingManager_, fesa::AbstractField::name_, fesa::FieldValue< T[]>::pendingBuffer(), fesa::AbstractField::registerModifiedField(), fesa::AbstractMultiplexingManager::requireSlot(), fesa::AbstractField::resetToBeSync(), fesa::MultiplexingContext::SET_ALLOWED, and fesa::FieldValue< T[]>::setPendingCurrentSize().