#include <AcquisitionField.h>
Public Member Functions | |
AcqFieldString (const std::string &fieldName, bool multiplexed, DataStore *pDataStore, bool persistent, int32_t size, DataIntegrity bufferType=SingleBuffered) | |
Constructor. | |
~AcqFieldString () | |
const char * | get (MultiplexingContext *context) |
Method to retrieve active field value. | |
void | set (const char *val, MultiplexingContext *context) |
Method to set the new value of the pending buffer of the field. |
Definition at line 1057 of file AcquisitionField.h.
fesa::AcqFieldString::AcqFieldString | ( | const std::string & | fieldName, | |
bool | multiplexed, | |||
DataStore * | pDataStore, | |||
bool | persistent, | |||
int32_t | size, | |||
DataIntegrity | bufferType = SingleBuffered | |||
) |
Constructor.
fieldName | name of the field | |
criterionName | multiplexing criterion | |
pointer | to DataStore that contains the field |
Definition at line 9 of file AcquisitionField.cpp.
fesa::AcqFieldString::~AcqFieldString | ( | ) |
Definition at line 15 of file AcquisitionField.cpp.
const char * fesa::AcqFieldString::get | ( | MultiplexingContext * | context | ) |
Method to retrieve active field value.
context | the multiplexing context |
Definition at line 19 of file AcquisitionField.cpp.
References fesa::FieldValue< char[]>::activeBuffer(), FesaErrorNULLPointerToContext, fesa::FieldString::getFieldValue(), fesa::AbstractMultiplexingManager::getSlot(), and fesa::AbstractField::multiplexingManager_.
void fesa::AcqFieldString::set | ( | const char * | val, | |
MultiplexingContext * | context | |||
) |
Method to set the new value of the pending buffer of the field.
val | new string value | |
context | the multiplexing context |
Definition at line 30 of file AcquisitionField.cpp.
References FesaErrorFieldMaxDimensionOutOfBound, FesaErrorNoneContextforMuxedField, FesaErrorNULLPointerToContext, FesaErrorWrongSourceContextAcquisitionField, fesa::MultiplexingContext::getAcquisitionAccessMask(), fesa::FieldString::getFieldValue(), fesa::MultiplexingContext::getType(), fesa::FieldString::maxSize_, fesa::AbstractField::multiplexingManager_, fesa::AbstractField::name_, fesa::MultiplexingContext::NoneCtxt, fesa::FieldValue< char[]>::pendingBuffer(), fesa::AbstractMultiplexingManager::requireSlot(), fesa::MultiplexingContext::SET_ALLOWED, and fesa::StringUtilities::toString().