#include <AcquisitionField.h>
Public Member Functions | |
AcqFieldArray (const std::string &fieldName, bool multiplexed, DataStore *pDataStore, bool persistent, int32_t size, DataIntegrity bufferType) | |
Constructor. | |
~AcqFieldArray () | |
destructor | |
const T * | get (uint32_t &size, MultiplexingContext *context) |
Method to retrieve active field value. | |
void | set (const T *val, uint32_t size, MultiplexingContext *context) |
Method to set the new value of the pending buffer of the field. | |
uint32_t | getSize (MultiplexingContext *context) |
retrieve the current size of the array |
Definition at line 202 of file AcquisitionField.h.
fesa::AcqFieldArray< T >::AcqFieldArray | ( | const std::string & | fieldName, | |
bool | multiplexed, | |||
DataStore * | pDataStore, | |||
bool | persistent, | |||
int32_t | size, | |||
DataIntegrity | bufferType | |||
) | [inline] |
Constructor.
fieldName | name of the field | |
criterionName | multiplexing criterion | |
pointer | to DataStore that contains the field |
Definition at line 244 of file AcquisitionField.h.
fesa::AcqFieldArray< T >::~AcqFieldArray | ( | ) | [inline] |
destructor
Definition at line 252 of file AcquisitionField.h.
const T * fesa::AcqFieldArray< T >::get | ( | uint32_t & | size, | |
MultiplexingContext * | context | |||
) | [inline] |
Method to retrieve active field value.
context | the multiplexing context |
Definition at line 257 of file AcquisitionField.h.
References fesa::FieldValue< T[]>::activeBuffer(), FesaErrorNoneContextforMuxedField, FesaErrorNULLPointerToContext, fesa::FieldValue< T[]>::getActiveCurrentSize(), fesa::FieldArray< T >::getFieldValue(), fesa::AbstractMultiplexingManager::getSlot(), fesa::MultiplexingContext::getType(), fesa::AbstractField::multiplexingManager_, fesa::AbstractField::name_, and fesa::MultiplexingContext::NoneCtxt.
uint32_t fesa::AcqFieldArray< T >::getSize | ( | MultiplexingContext * | context | ) | [inline] |
retrieve the current size of the array
context | the multiplexing context |
Definition at line 303 of file AcquisitionField.h.
References fesa::FieldValue< T[]>::getActiveCurrentSize(), fesa::FieldArray< T >::getFieldValue(), fesa::AbstractField::multiplexingManager_, and fesa::AbstractMultiplexingManager::requireSlot().
void fesa::AcqFieldArray< T >::set | ( | const T * | val, | |
uint32_t | size, | |||
MultiplexingContext * | context | |||
) | [inline] |
Method to set the new value of the pending buffer of the field.
val | pointer to new value of field | |
size | length of array dimension | |
context | the multiplexing context |
Definition at line 277 of file AcquisitionField.h.
References fesa::FieldArray< T >::checkMaxDimension(), FesaErrorNoneContextforMuxedField, FesaErrorNULLPointerToContext, FesaErrorWrongSourceContextAcquisitionField, fesa::MultiplexingContext::getAcquisitionAccessMask(), fesa::FieldArray< T >::getFieldValue(), 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().