#include <baciDevIOMem.h>
Public Member Functions | |
DevIOMem (T &value) | |
virtual | ~DevIOMem () |
virtual bool | initializeValue () |
virtual T | read (ACS::Time ×tamp) |
virtual void | write (const T &value, ACS::Time ×tamp) |
Private Attributes | |
T & | value_m |
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 |
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.
Reimplemented from DevIO< T >.
virtual T DevIOMem< T >::read | ( | ACS::Time & | timestamp | ) | [inline, virtual] |
ACSErr::ACSbaseExImpl |
Reimplemented from DevIO< T >.
References getTimeStamp(), and DevIOMem< T >::value_m.
virtual void DevIOMem< T >::write | ( | const T & | value, | |
ACS::Time & | timestamp | |||
) | [inline, virtual] |
ACSErr::ACSbaseExImpl |
Reimplemented from DevIO< T >.
References getTimeStamp(), and DevIOMem< T >::value_m.
Referenced by DevIOMem< T >::read(), and DevIOMem< T >::write().