#include <GenericField.h>
Public Member Functions | |
GenericFieldScalarArray (const std::string &fieldName, bool multiplexed, DataStore *pDataStore, bool persistent, int32_t size, DataIntegrity bufferType=SingleBuffered) | |
Constructor. | |
~GenericFieldScalarArray () | |
destructor | |
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 300 of file GenericField.h.
fesa::GenericFieldScalarArray< T >::GenericFieldScalarArray | ( | 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 336 of file GenericField.h.
fesa::GenericFieldScalarArray< T >::~GenericFieldScalarArray | ( | ) | [inline] |
destructor
Definition at line 345 of file GenericField.h.
T fesa::GenericFieldScalarArray< 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 350 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::GenericFieldScalarArray< 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 376 of file GenericField.h.
References 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::FieldValue< T[]>::pendingBuffer(), fesa::AbstractMultiplexingManager::requireSlot(), and fesa::FieldValue< T[]>::setPendingCurrentSize().