fesa::SettingFieldStruct< T > Class Template Reference

Wrapper class for setting fields. More...

#include <SettingField.h>

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

List of all members.

Public Member Functions

 SettingFieldStruct (const std::string &fieldName, bool multiplexed, bool multiMultiplexed, DataStore *pDataStore, bool persistent, bool shared, const DataIntegrity bufferType=DoubleBuffered)
 ~SettingFieldStruct ()
 Destructor.
const T * get (MultiplexingContext *)
 Method to retrieve the value of the field.
const T * getPending (MultiplexingContext *)
 Method to retrieve the pending value of the field Pending value becomes active after a commit.
void set (T *val, MultiplexingContext *)
 Method to set the new value of the pending buffer of the field.

Protected Member Functions

void checkContext (MultiplexingContext *context)

Detailed Description

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

Wrapper class for setting fields.

Definition at line 149 of file SettingField.h.


Constructor & Destructor Documentation

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

Definition at line 192 of file SettingField.h.

References fesa::AbstractField::isShared_.

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

Destructor.

Definition at line 203 of file SettingField.h.


Member Function Documentation

template<typename T >
void fesa::SettingFieldStruct< T >::checkContext ( MultiplexingContext context  )  [inline, protected]
template<typename T >
const T * fesa::SettingFieldStruct< T >::get ( MultiplexingContext context  )  [inline]
template<typename T >
const T * fesa::SettingFieldStruct< T >::getPending ( MultiplexingContext context  )  [inline]

Method to retrieve the pending value of the field Pending value becomes active after a commit.

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

Definition at line 235 of file SettingField.h.

References FesaErrorNoneContextforMuxedField, FesaErrorNULLPointerToContext, fesa::Field< T >::getFieldValue(), fesa::AbstractMultiplexingManager::getSlot(), fesa::MultiplexingContext::getType(), fesa::AbstractField::multiplexingManager_, fesa::AbstractField::name_, fesa::MultiplexingContext::NoneCtxt, and fesa::FieldValue< T >::pendingBuffer().

template<typename T >
void fesa::SettingFieldStruct< 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