fesa::SettingFieldArray< T > Class Template Reference

#include <SettingField.h>

Inheritance diagram for fesa::SettingFieldArray< T >:
fesa::FieldArray< T > fesa::AbstractField fesa::SettingFieldScalarArray< T > fesa::SettingFieldStructArray< T >

List of all members.

Public Member Functions

 SettingFieldArray (const std::string &fieldName, bool multiplexed, bool multiMultiplexed, DataStore *pDataStore, bool persistent, bool shared, int32_t size, const DataIntegrity bufferType=DoubleBuffered)
 Constructor.
 ~SettingFieldArray ()
 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

Protected Member Functions

void checkContext (MultiplexingContext *context)

Detailed Description

template<typename T>
class fesa::SettingFieldArray< T >

Definition at line 294 of file SettingField.h.


Constructor & Destructor Documentation

template<typename T >
fesa::SettingFieldArray< T >::SettingFieldArray ( const std::string &  fieldName,
bool  multiplexed,
bool  multiMultiplexed,
DataStore pDataStore,
bool  persistent,
bool  shared,
int32_t  size,
const DataIntegrity  bufferType = DoubleBuffered 
) [inline]

Constructor.

Parameters:
name of the field, multiplexing criterion, pointer to DataStore

Definition at line 337 of file SettingField.h.

References fesa::AbstractField::isShared_.

template<typename T >
fesa::SettingFieldArray< T >::~SettingFieldArray (  )  [inline]

destructor

Definition at line 348 of file SettingField.h.


Member Function Documentation

template<typename T >
void fesa::SettingFieldArray< T >::checkContext ( MultiplexingContext context  )  [inline, protected]
template<typename T >
const T * fesa::SettingFieldArray< T >::get ( uint32_t &  size,
MultiplexingContext context 
) [inline]
template<typename T >
uint32_t fesa::SettingFieldArray< T >::getSize ( MultiplexingContext context  )  [inline]

retrieve the current size of the array

Parameters:
context the multiplexing context
Returns:
current dimension of the array

Definition at line 407 of file SettingField.h.

References FesaErrorNULLPointerToContext, fesa::FieldValue< T[]>::getActiveCurrentSize(), fesa::FieldArray< T >::getFieldValue(), fesa::AbstractField::multiplexingManager_, and fesa::AbstractMultiplexingManager::requireSlot().

template<typename T >
void fesa::SettingFieldArray< T >::set ( const T *  val,
uint32_t  size,
MultiplexingContext context 
) [inline]

The documentation for this class was generated from the following file:

Generated on 18 Jan 2013 for Fesa by  doxygen 1.6.1