#include <GenericField.h>
Public Member Functions | |
GenericFieldStructArray (const std::string &fieldName, bool multiplexed, DataStore *pDataStore, bool persistent, int32_t size, DataIntegrity bufferType=SingleBuffered) | |
Constructor. | |
~GenericFieldStructArray () | |
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 402 of file GenericField.h.
fesa::GenericFieldStructArray< T >::GenericFieldStructArray | ( | const std::string & | fieldName, | |
bool | multiplexed, | |||
DataStore * | pDataStore, | |||
bool | persistent, | |||
int32_t | size, | |||
DataIntegrity | bufferType = SingleBuffered | |||
) | [inline] |
Constructor.
fieldName | name of the field | |
criterionName | multiplexing criterion | |
pointer | to DataStore that contains the field |
Definition at line 438 of file GenericField.h.
fesa::GenericFieldStructArray< T >::~GenericFieldStructArray | ( | ) | [inline] |
destructor
Definition at line 447 of file GenericField.h.
const T * fesa::GenericFieldStructArray< 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 452 of file GenericField.h.
References fesa::FieldValue< T[]>::activeBuffer(), FesaErrorFieldCurrentDimensionOutOfBound, FesaErrorNoneContextforMuxedField, FesaErrorNULLPointerToContext, fesa::FieldValue< T[]>::getActiveCurrentSize(), fesa::FieldArray< T >::getFieldValue(), fesa::AbstractMultiplexingManager::getSlot(), fesa::MultiplexingContext::getType(), fesa::AbstractField::multiplexingManager_, fesa::AbstractField::name_, fesa::MultiplexingContext::NoneCtxt, and fesa::StringUtilities::toString().
void fesa::GenericFieldStructArray< 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 478 of file GenericField.h.
References fesa::FieldValue< T[]>::activeBuffer(), fesa::FieldArray< T >::checkMaxDimension(), FesaErrorNoneContextforMuxedField, FesaErrorNULLPointerToContext, fesa::FieldArray< T >::getFieldValue(), fesa::FieldValue< T[]>::getPendingCurrentSize(), fesa::MultiplexingContext::getType(), fesa::AbstractField::multiplexingManager_, fesa::AbstractField::name_, fesa::MultiplexingContext::NoneCtxt, fesa::AbstractMultiplexingManager::requireSlot(), and fesa::FieldValue< T[]>::setPendingCurrentSize().