DevIO − |
#include <baciDevIO.h> Inherited by DevIOMem< T >, TMCDB::MCtestDevIO< T >, TMCDB::MCtestDevIONoIncremental< T >, TMCDB::MCtestDevIOSeq< T >, and TMCDB::MCtestDevIOSeqNoIncremental< T >. |
Public Member Functions |
DevIO () |
virtual ~DevIO () |
virtual bool initializeValue () |
virtual T read (ACS::Time ×tamp) |
virtual void write (const T &value, ACS::Time ×tamp) |
Public Attributes |
bool m_initialize |
template<class T> class DevIO< T > |
Device I/O implementation class. This class is a base class for providing input/output implementations to the Property class. (copied from ticsDevIO and converted into abstract class) See also: |
Baci |
template<class T> DevIO< T >::DevIO () [inline] Standard constructor |
template<class T> virtual DevIO< T >::~DevIO () [inline, virtual] Destructor |
template<class T> virtual bool DevIO< 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 in LongDevIO, DevIOTime, DevIOMem< T >, TMCDB::MCtestDevIO< T >, TMCDB::MCtestDevIOSeq< T >, TMCDB::MCtestDevIONoIncremental< T >, TMCDB::MCtestDevIOSeqNoIncremental< T >, TMCDB::MCtestDevIO< double >, TMCDB::MCtestDevIO< ACS::pattern >, TMCDB::MCtestDevIO< int >, TMCDB::MCtestDevIOSeq< ACS::doubleSeq >, and TMCDB::MCtestDevIOSeq< ACS::longSeq >. |
template<class T> virtual T DevIO< 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 |
Returns: |
read value |
Reimplemented in CosDevIO, SinDevIO, DevIOTime, DevIOMem< T >, TestDevIO, TestErrorDevIO, TMCDB::MCtestDevIO< T >, TMCDB::MCtestDevIOSeq< T >, TMCDB::MCtestDevIONoIncremental< T >, TMCDB::MCtestDevIOSeqNoIncremental< T >, TMCDB::MCtestDevIO< double >, TMCDB::MCtestDevIO< ACS::pattern >, TMCDB::MCtestDevIO< int >, TMCDB::MCtestDevIOSeq< ACS::doubleSeq >, and TMCDB::MCtestDevIOSeq< ACS::longSeq >. |
template<class T> virtual void DevIO< 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 |
Exceptions: |
any of ACS exceptions can be thrown |
Reimplemented in DevIOTime, DevIOMem< T >, TestDevIO, TestErrorDevIO, TMCDB::MCtestDevIO< T >, TMCDB::MCtestDevIOSeq< T >, TMCDB::MCtestDevIONoIncremental< T >, TMCDB::MCtestDevIOSeqNoIncremental< T >, TMCDB::MCtestDevIO< double >, TMCDB::MCtestDevIO< ACS::pattern >, TMCDB::MCtestDevIO< int >, TMCDB::MCtestDevIOSeq< ACS::doubleSeq >, and TMCDB::MCtestDevIOSeq< ACS::longSeq >. |
template<class T> bool DevIO< T >::m_initialize If true attempt to initialize the value at instanciation. The value is set by the attribute in the CDB, by default this is false. |
Referenced by DevIO< ACS::booleanSeq >::DevIO(), and DevIO< ACS::booleanSeq >::initializeValue(). |
Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code. |