#include <GenericField.h>
Public Member Functions | |
GenericFieldArray (const std::string &fieldName, bool multiplexed, DataStore *pDataStore, bool persistent, int32_t size, DataIntegrity bufferType) | |
Constructor. | |
~GenericFieldArray () | |
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 193 of file GenericField.h.
fesa::GenericFieldArray< T >::GenericFieldArray | ( | 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 235 of file GenericField.h.
fesa::GenericFieldArray< T >::~GenericFieldArray | ( | ) | [inline] |
destructor
Definition at line 243 of file GenericField.h.
const T * fesa::GenericFieldArray< T >::get | ( | uint32_t & | size, | |
MultiplexingContext * | context | |||
) | [inline] |
Method to retrieve active field value.
context | the multiplexing context |
Definition at line 248 of file GenericField.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::GenericFieldArray< T >::getSize | ( | MultiplexingContext * | context | ) | [inline] |
retrieve the current size of the array
context | the multiplexing context |
Definition at line 290 of file GenericField.h.
References fesa::FieldValue< T[]>::getActiveCurrentSize(), fesa::FieldArray< T >::getFieldValue(), fesa::AbstractField::multiplexingManager_, and fesa::AbstractMultiplexingManager::requireSlot().
void fesa::GenericFieldArray< 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 268 of file GenericField.h.
References fesa::FieldArray< T >::checkMaxDimension(), FesaErrorNoneContextforMuxedField, FesaErrorNULLPointerToContext, fesa::FieldArray< T >::getFieldValue(), fesa::MultiplexingContext::getType(), fesa::AbstractField::multiplexingManager_, fesa::AbstractField::name_, fesa::MultiplexingContext::NoneCtxt, fesa::FieldValue< T[]>::pendingBuffer(), fesa::AbstractMultiplexingManager::requireSlot(), and fesa::FieldValue< T[]>::setPendingCurrentSize().