#include <AcquisitionField.h>
Public Member Functions | |
AcqFieldScalarArray (const std::string &fieldName, bool multiplexed, DataStore *pDataStore, bool persistent, int32_t size, DataIntegrity bufferType=SingleBuffered) | |
Constructor. | |
~AcqFieldScalarArray () | |
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 313 of file AcquisitionField.h.
fesa::AcqFieldScalarArray< T >::AcqFieldScalarArray | ( | 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 349 of file AcquisitionField.h.
fesa::AcqFieldScalarArray< T >::~AcqFieldScalarArray | ( | ) | [inline] |
destructor
Definition at line 358 of file AcquisitionField.h.
T fesa::AcqFieldScalarArray< 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 363 of file AcquisitionField.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::AcqFieldScalarArray< 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 389 of file AcquisitionField.h.
References fesa::FieldArray< T >::checkMaxDimension(), FesaErrorNoneContextforMuxedField, FesaErrorNULLPointerToContext, FesaErrorWrongSourceContextAcquisitionField, fesa::MultiplexingContext::getAcquisitionAccessMask(), 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(), fesa::MultiplexingContext::SET_ALLOWED, and fesa::FieldValue< T[]>::setPendingCurrentSize().