Public Member Functions | Private Member Functions | Private Attributes

ClockImpl Class Reference

#include <acstimeClockImpl.h>

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

List of all members.

Public Member Functions

 ClockImpl (const ACE_CString &name, maci::ContainerServices *containerServices)
virtual ~ClockImpl ()
virtual acstime::Duration getTimeInterval (const acstime::Epoch &prevEpoch)
virtual ACS::RWlong_ptr array2TAI ()
virtual ACS::RWlong_ptr TAI2UTC ()
virtual ACS::ROuLongLong_ptr now ()
virtual acstime::Epoch fromISO8601 (acstime::TimeSystem ts, const char *iso)
virtual char * toISO8601 (acstime::TimeSystem ts, const acstime::Epoch &timeValue)

Private Member Functions

 ClockImpl (const ClockImpl &)
 copy not allowed
void operator= (const ClockImpl &)
 assignment not allowed

Private Attributes

baci::RWlongm_array2TAI
baci::RWlongm_TAI2UTC
baci::ROuLongLongm_now
DevIOTimem_now_dev

Detailed Description

ClockImpl is the implementation of Clock IDL interface and it provides an interface into the ACS time service which is based mainly on ALMA Control System software. It has the ability to do time conversions, return the current time, etc. There should be one Clock device running on each PC/LCU.

TODO:


Constructor & Destructor Documentation

ClockImpl::ClockImpl ( const ACE_CString &  name,
maci::ContainerServices containerServices 
)

Constructor

Parameters:
poa Poa which will activate this and also all other components.
name component's name. This is also the name that will be used to find the configuration data for the component in the Configuration Database.
containerServices container services object
virtual ClockImpl::~ClockImpl (  )  [virtual]

Destructor

ClockImpl::ClockImpl ( const ClockImpl  )  [private]

copy not allowed


Member Function Documentation

virtual ACS::RWlong_ptr ClockImpl::array2TAI (  )  [virtual]

Implementation of IDL method. Please see the documenation for the Clock IDL interface.

  • IDL Documentation


  • virtual acstime::Epoch ClockImpl::fromISO8601 ( acstime::TimeSystem  ts,
    const char *  iso 
    ) [virtual]

    Implementation of IDL method. Please see the documenation for the Clock IDL interface.

    Exceptions:
    ACSTimeError::ArgErrorEx 
  • IDL Documentation


  • virtual acstime::Duration ClockImpl::getTimeInterval ( const acstime::Epoch &  prevEpoch  )  [virtual]

    Implementation of IDL method. Please see the documenation for the Clock IDL interface.

  • IDL Documentation


  • virtual ACS::ROuLongLong_ptr ClockImpl::now (  )  [virtual]

    Implementation of IDL method. Please see the documenation for the Clock IDL interface.

  • IDL Documentation


  • void ClockImpl::operator= ( const ClockImpl  )  [private]

    assignment not allowed

    virtual ACS::RWlong_ptr ClockImpl::TAI2UTC (  )  [virtual]

    Implementation of IDL method. Please see the documenation for the Clock IDL interface.

  • IDL Documentation


  • virtual char* ClockImpl::toISO8601 ( acstime::TimeSystem  ts,
    const acstime::Epoch &  timeValue 
    ) [virtual]

    Implementation of IDL method. Please see the documenation for the Clock IDL interface.

    Exceptions:
    ACSTimeError::ArgErrorEx 
  • IDL Documentation



  • Member Data Documentation

    Implementation of the array2TAI IDL property.

    Implementation of the now IDL property (current time).

    devIO used to get the current time used by the now property.

    Implementation of the TAI2UTC IDL property.


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