fesa::GenericFieldStruct< T > Class Template Reference

Wrapper class for generic fields. The generic field API offer methods to set fields, in contrast to configuration fields which cannot be set dynamically because they are constant. More...

#include <GenericField.h>

Inheritance diagram for fesa::GenericFieldStruct< T >:
fesa::Field< T > fesa::AbstractField

List of all members.

Public Member Functions

 GenericFieldStruct (const std::string &fieldName, bool multiplexed, DataStore *pDataStore, bool persistent, DataIntegrity bufferType=SingleBuffered)
 Constructor.
 ~GenericFieldStruct ()
 destructor
const T * get (MultiplexingContext *)
 Method to retrieve the value of the field.
void set (T *val, MultiplexingContext *)
 Method to set the new value of the pending buffer of the field.

Detailed Description

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

Wrapper class for generic fields. The generic field API offer methods to set fields, in contrast to configuration fields which cannot be set dynamically because they are constant.

Definition at line 111 of file GenericField.h.


Constructor & Destructor Documentation

template<typename T >
fesa::GenericFieldStruct< T >::GenericFieldStruct ( const std::string &  fieldName,
bool  multiplexed,
DataStore pDataStore,
bool  persistent,
DataIntegrity  bufferType = SingleBuffered 
) [inline]

Constructor.

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

Definition at line 144 of file GenericField.h.

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

destructor

Definition at line 152 of file GenericField.h.


Member Function Documentation

template<typename T >
const T * fesa::GenericFieldStruct< T >::get ( MultiplexingContext context  )  [inline]
template<typename T>
void fesa::GenericFieldStruct< T >::set ( T *  val,
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