Public Member Functions

DevIOTime Class Reference

#include <acstimeDevIOTime.h>

Inheritance diagram for DevIOTime:
Inheritance graph
[legend]
Collaboration diagram for DevIOTime:
Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Detailed Description

This class is derived from devIO and is intended to be used as a clock. In other words, every time get_sync() of an uLongLong BACI property is invoked that utilizes this devIO, the current ACS time in 100ns format will be returned.

TODO:


Constructor & Destructor Documentation

DevIOTime::DevIOTime (  )  [inline]

Constructor - nothing to create!

virtual DevIOTime::~DevIOTime (  )  [inline, virtual]

Destructor - nothing to destroy!


Member Function Documentation

virtual bool DevIOTime::initializeValue (  )  [inline, virtual]

DWF-why is this needed???


Reimplemented from DevIO< ACS::Time >.

virtual ACS::Time DevIOTime::read ( ACS::Time &  timestamp  )  [inline, virtual]

Retrieves the current time using ACE methods and then converts it to "ACS time".

Parameters:
timestamp Time for an ACS Completion.
Returns:
The ACS-ized time we just retrieved.
Exceptions:
ACSErr::ACSbaseExImpl 

Reimplemented from DevIO< ACS::Time >.

References TimeUtil::ace2epoch(), and getTimeStamp().

virtual void DevIOTime::write ( const ACS::Time &  value,
ACS::Time &  timestamp 
) [inline, virtual]

DWF-providing an implementation of this method does not make sense, but it would be abstract otherwise...

Exceptions:
ACSErr::ACSbaseExImpl 

Reimplemented from DevIO< ACS::Time >.

References getTimeStamp().


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