DevIOMem

NAME
SYNOPSIS
Constructor & Destructor Documentation
Member Function Documentation
Member Data Documentation
Author

NAME

DevIOMem −

SYNOPSIS

#include <baciDevIOMem.h>

Inherits DevIO< T >.

Public Member Functions

DevIOMem (T &value)

virtual ~DevIOMem ()

virtual bool initializeValue ()

virtual T read (ACS::Time &timestamp)

virtual void write (const T &value, ACS::Time &timestamp)

Private Attributes

T & value_m

template<class T> class DevIOMem< T >

Constructor & Destructor Documentation

template<class T > DevIOMem< T >::DevIOMem (T & value) [inline] Constructor that accepts a reference to an object of any type using templates.

Parameters:

value templated reference to the allocated memory to be used for the data

template<class T > virtual DevIOMem< T >::~DevIOMem () [inline, virtual]

Member Function Documentation

template<class T > virtual bool DevIOMem< T >::initializeValue () [inline, virtual] The return value of initializeValue function tells the constructor of property if it has to set initial value of DevIO to default value or not. The default value of property is read from CDB. InitializeValue: If true ACS will try to automatically set the value upon initialization.

Returns:

bool - If true attempt to initialize the value at instanciation.

Reimplemented from DevIO< T >.

template<class T > virtual T DevIOMem< T >::read (ACS::Time & timestamp) [inline, virtual] Exceptions:

ACSErr::ACSbaseExImpl

Reimplemented from DevIO< T >.

References getTimeStamp(), and DevIOMem< T >::value_m.

template<class T > virtual void DevIOMem< T >::write (const T & value, ACS::Time & timestamp) [inline, virtual] Exceptions:

ACSErr::ACSbaseExImpl

Reimplemented from DevIO< T >.

References getTimeStamp(), and DevIOMem< T >::value_m.

Member Data Documentation

template<class T > T& DevIOMem< T >::value_m [private]

Referenced by DevIOMem< T >::read(), and DevIOMem< T >::write().

Author

Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code.