fesa::ConfigFieldArray< T > Class Template Reference

#include <ConfigurationField.h>

Inheritance diagram for fesa::ConfigFieldArray< T >:
fesa::FieldArray< T > fesa::AbstractField fesa::ConfigFieldScalarArray< T > fesa::ConfigFieldStructArray< T >

List of all members.

Public Member Functions

 ConfigFieldArray (const std::string &fieldName, DataStore *pDataStore, int32_t size, const DataIntegrity bufferType=SingleBuffered)
 Constructor.
 ~ConfigFieldArray ()
 destructor
const T * get (uint32_t &size)
 Method to retrieve active field value.
uint32_t getSize ()
 retrieve the current size of the array

Detailed Description

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

Definition at line 147 of file ConfigurationField.h.


Constructor & Destructor Documentation

template<typename T >
fesa::ConfigFieldArray< T >::ConfigFieldArray ( const std::string &  fieldName,
DataStore pDataStore,
int32_t  size,
const DataIntegrity  bufferType = SingleBuffered 
) [inline]

Constructor.

Parameters:
fieldName name of the field
criterionName multiplexing criterion
size of the array
pDataStore pointer to DataStore that contains the field

Definition at line 179 of file ConfigurationField.h.

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

destructor

Definition at line 188 of file ConfigurationField.h.


Member Function Documentation

template<typename T >
const T * fesa::ConfigFieldArray< T >::get ( uint32_t &  size  )  [inline]

Method to retrieve active field value.

Parameters:
context the multiplexing context
Returns:
the value of the active buffer

Definition at line 193 of file ConfigurationField.h.

References fesa::FieldValue< T[]>::activeBuffer(), fesa::FieldArray< T >::fieldValue_, and fesa::FieldValue< T[]>::getActiveCurrentSize().

template<typename T >
uint32_t fesa::ConfigFieldArray< T >::getSize (  )  [inline]

retrieve the current size of the array

Returns:
current dimension of the array

Definition at line 200 of file ConfigurationField.h.

References fesa::FieldArray< T >::fieldValue_, and fesa::FieldValue< T[]>::getActiveCurrentSize().


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

Generated on 18 Jan 2013 for Fesa by  doxygen 1.6.1