DevIOTime

NAME
SYNOPSIS
Detailed Description
Constructor & Destructor Documentation
Member Function Documentation
Author

NAME

DevIOTime −

SYNOPSIS

#include <acstimeDevIOTime.h>

Inherits DevIO< ACS::Time >.

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:

fill out the errcode of write() because it should never be invoked. That is, this devIO should never be used with RWuLongLong properties!

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().

Author

Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code.