fesa::SettingFieldArray2D< T > Class Template Reference

#include <SettingField.h>

Inheritance diagram for fesa::SettingFieldArray2D< T >:
fesa::FieldArray2D< T > fesa::AbstractField fesa::SettingFieldScalarArray2D< T > fesa::SettingFieldStructArray2D< T >

List of all members.

Public Member Functions

 SettingFieldArray2D (const std::string &fieldName, bool multiplexed, bool multiMultiplexed, DataStore *pDataStore, bool persistent, bool shared, int32_t size1, int32_t size2, const DataIntegrity bufferType=DoubleBuffered)
 ~SettingFieldArray2D ()
const T ** get (uint32_t &size1, uint32_t &size2, MultiplexingContext *context)
 Method to retrieve active field value.
void getColumn (uint32_t index, uint32_t size, T *column, uint32_t &currentSize, MultiplexingContext *context)
 Method to retrieve column of active field value.
const T * getRow (uint32_t index, uint32_t &size, MultiplexingContext *context)
 Method to retrieve row of active field value.
void set (const T *const *val, uint32_t size1, uint32_t size2, MultiplexingContext *context)
 Method to set the new value of the pending buffer of the field.
void setColumn (const T *val, uint32_t index, uint32_t size, MultiplexingContext *context)
 Method to set a column of the pending buffer of an array2D.
void setRow (const T *val, uint32_t index, uint32_t size, MultiplexingContext *context)
 Method to set a row of the pending buffer of an array2D.
void getSize (uint32_t &size1, uint32_t &size2, MultiplexingContext *context)
 retrieve the current size of the array

Protected Member Functions

void checkContext (MultiplexingContext *context)

Detailed Description

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

Definition at line 678 of file SettingField.h.


Constructor & Destructor Documentation

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

Definition at line 766 of file SettingField.h.

References fesa::AbstractField::isShared_.

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

Definition at line 777 of file SettingField.h.


Member Function Documentation

template<typename T >
void fesa::SettingFieldArray2D< T >::checkContext ( MultiplexingContext context  )  [inline, protected]
template<typename T >
const T ** fesa::SettingFieldArray2D< T >::get ( uint32_t &  size1,
uint32_t &  size2,
MultiplexingContext context 
) [inline]
template<typename T >
void fesa::SettingFieldArray2D< T >::getColumn ( uint32_t  index,
uint32_t  size,
T *  column,
uint32_t &  currentSize,
MultiplexingContext context 
) [inline]
template<typename T >
const T * fesa::SettingFieldArray2D< T >::getRow ( uint32_t  index,
uint32_t &  size,
MultiplexingContext context 
) [inline]
template<typename T >
void fesa::SettingFieldArray2D< T >::getSize ( uint32_t &  size1,
uint32_t &  size2,
MultiplexingContext context 
) [inline]

retrieve the current size of the array

Parameters:
context the multiplexing context
size1 output value giving back the current first dimension of the array
size2 output value giving back the current second dimension of the array

Definition at line 1007 of file SettingField.h.

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

template<typename T >
void fesa::SettingFieldArray2D< T >::set ( const T *const *  val,
uint32_t  size1,
uint32_t  size2,
MultiplexingContext context 
) [inline]
template<typename T >
void fesa::SettingFieldArray2D< T >::setColumn ( const T *  val,
uint32_t  index,
uint32_t  size,
MultiplexingContext context 
) [inline]
template<typename T >
void fesa::SettingFieldArray2D< T >::setRow ( const T *  val,
uint32_t  index,
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