TMCDB::MCtestDevIOSeqNoIncremental

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

NAME

TMCDB::MCtestDevIOSeqNoIncremental −

SYNOPSIS

#include <MCtestDevIO.h>

Inherits DevIO< T >.

Public Member Functions

MCtestDevIOSeqNoIncremental (T &value, ACS::Time &timestamp)

virtual ~MCtestDevIOSeqNoIncremental ()

virtual bool initializeValue ()

T read (ACS::Time &timestamp)

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

Protected Attributes

T value_m

ACS::Time timestamp_m

template<class T> class TMCDB::MCtestDevIOSeqNoIncremental< T >

Constructor & Destructor Documentation

template<class T > TMCDB::MCtestDevIOSeqNoIncremental< T >::MCtestDevIOSeqNoIncremental (T & value, ACS::Time & timestamp) [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
init
timestamp

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

Member Function Documentation

template<class T > virtual bool TMCDB::MCtestDevIOSeqNoIncremental< 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 > T TMCDB::MCtestDevIOSeqNoIncremental< T >::read (ACS::Time & timestamp) [inline, virtual] Method to read a value. It has to be override by implementation of DevIO. If the method is not overriden, and it is called than ACSErrTypeCommon::NotImplementedExImpl exception is thrown!

Parameters:

timestamp timestamp of reading

Exceptions:

any of ACS exceptions can be thrown
ACSErr::ACSbaseExImpl

Returns:

read value

Reimplemented from DevIO< T >.

References TMCDB::MCtestDevIOSeqNoIncremental< T >::timestamp_m, and TMCDB::MCtestDevIOSeqNoIncremental< T >::value_m.

template<class T > virtual void TMCDB::MCtestDevIOSeqNoIncremental< T >::write (const T & value, ACS::Time & timestamp) [inline, virtual] Method to write a value. It has to be override by implementation of DevIO If the method is not overriden, and it is called than ACSErrTypeCommon::NotImplementedExImpl exception is thrown!

Parameters:

value value to be writen
timestamp
timestamp of writing

Exceptions:

any of ACS exceptions can be thrown
ACSErr::ACSbaseExImpl

Reimplemented from DevIO< T >.

References TMCDB::MCtestDevIOSeqNoIncremental< T >::timestamp_m, and TMCDB::MCtestDevIOSeqNoIncremental< T >::value_m.

Member Data Documentation

template<class T > ACS::Time TMCDB::MCtestDevIOSeqNoIncremental< T >::timestamp_m [protected]

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

template<class T > T TMCDB::MCtestDevIOSeqNoIncremental< T >::value_m [protected]

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

Author

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