Public Member Functions | Private Attributes

DevIOMem< T > Class Template Reference

#include <baciDevIOMem.h>

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

List of all members.

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]

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