#include <acstimeDevIOTime.h>
Public Member Functions | |
DevIOTime () | |
virtual | ~DevIOTime () |
virtual bool | initializeValue () |
virtual ACS::Time | read (ACS::Time ×tamp) |
virtual void | write (const ACS::Time &value, ACS::Time ×tamp) |
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:
DevIOTime::DevIOTime | ( | ) | [inline] |
Constructor - nothing to create!
virtual DevIOTime::~DevIOTime | ( | ) | [inline, virtual] |
Destructor - nothing to destroy!
virtual bool DevIOTime::initializeValue | ( | ) | [inline, virtual] |
virtual ACS::Time DevIOTime::read | ( | ACS::Time & | timestamp | ) | [inline, virtual] |
Retrieves the current time using ACE methods and then converts it to "ACS time".
timestamp | Time for an ACS Completion. |
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...
ACSErr::ACSbaseExImpl |
|
Reimplemented from DevIO< ACS::Time >.
References getTimeStamp().