fesa::SettingFieldScalar< T > Class Template Reference

Wrapper class for setting fields. More...

#include <SettingField.h>

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

List of all members.

Public Member Functions

 SettingFieldScalar (const std::string &fieldName, bool multiplexed, bool multiMultiplexed, DataStore *pDataStore, bool persistent, bool shared, const DataIntegrity bufferType=DoubleBuffered)
 Constructor.
 ~SettingFieldScalar ()
 Destructor.
get (MultiplexingContext *)
 Method to retrieve the value of the field.
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.

Detailed Description

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

Wrapper class for setting fields.

Definition at line 21 of file SettingField.h.


Constructor & Destructor Documentation

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

Constructor.

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

Definition at line 60 of file SettingField.h.

References fesa::AbstractField::isShared_.

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

Destructor.

Definition at line 71 of file SettingField.h.


Member Function Documentation

template<typename T >
T fesa::SettingFieldScalar< T >::get ( MultiplexingContext context  )  [inline]
template<typename T >
T fesa::SettingFieldScalar< 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 101 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::SettingFieldScalar< T >::set ( 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