Public Member Functions | Protected Attributes

TMCDB::MCtestDevIONoIncremental< T > Class Template Reference

#include <MCtestDevIO.h>

Inheritance diagram for TMCDB::MCtestDevIONoIncremental< T >:
Inheritance graph
[legend]
Collaboration diagram for TMCDB::MCtestDevIONoIncremental< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MCtestDevIONoIncremental (T &value, ACS::Time &timestamp)
virtual ~MCtestDevIONoIncremental ()
virtual bool initializeValue ()
virtual T read (ACS::Time &timestamp)
virtual void write (const T &value, ACS::Time &timestamp)

Protected Attributes

value_m
ACS::Time & timestamp_m

template<class T>
class TMCDB::MCtestDevIONoIncremental< T >


Constructor & Destructor Documentation

template<class T >
TMCDB::MCtestDevIONoIncremental< T >::MCtestDevIONoIncremental ( 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::MCtestDevIONoIncremental< T >::~MCtestDevIONoIncremental (  )  [inline, virtual]

Member Function Documentation

template<class T >
virtual bool TMCDB::MCtestDevIONoIncremental< 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 TMCDB::MCtestDevIONoIncremental< T >::read ( ACS::Time &  timestamp  )  [inline, virtual]
template<class T >
virtual void TMCDB::MCtestDevIONoIncremental< T >::write ( const T &  value,
ACS::Time &  timestamp 
) [inline, virtual]

Member Data Documentation

template<class T >
ACS::Time& TMCDB::MCtestDevIONoIncremental< T >::timestamp_m [protected]
template<class T >
T TMCDB::MCtestDevIONoIncremental< T >::value_m [protected]

The documentation for this class was generated from the following file: