#include <MCtestDevIO.h>
Public Member Functions | |
MCtestDevIOSeqNoIncremental (T &value, ACS::Time ×tamp) | |
virtual | ~MCtestDevIOSeqNoIncremental () |
virtual bool | initializeValue () |
T | read (ACS::Time ×tamp) |
virtual void | write (const T &value, ACS::Time ×tamp) |
Protected Attributes | |
T | value_m |
ACS::Time & | timestamp_m |
TMCDB::MCtestDevIOSeqNoIncremental< T >::MCtestDevIOSeqNoIncremental | ( | T & | value, | |
ACS::Time & | timestamp | |||
) | [inline] |
Constructor that accepts a reference to an object of any type using templates.
value | templated reference to the allocated memory to be used for the data | |
init | timestamp |
virtual TMCDB::MCtestDevIOSeqNoIncremental< T >::~MCtestDevIOSeqNoIncremental | ( | ) | [inline, virtual] |
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.
Reimplemented from DevIO< 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!
timestamp | timestamp of reading |
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.
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!
value | value to be writen | |
timestamp | timestamp of writing |
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.
ACS::Time& TMCDB::MCtestDevIOSeqNoIncremental< T >::timestamp_m [protected] |
T TMCDB::MCtestDevIOSeqNoIncremental< T >::value_m [protected] |