Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members  

CosTime::TimeService Interface Reference

The time service is used to create instances of TIOs and UTOs from components, and to determine the current time. More...

import "CosTime.idl";

List of all members.

Public Methods

UTO universal_time () raises (TimeUnavailable)
 Determine the current time. More...

UTO secure_universal_time () raises (TimeUnavailable)
 Determine the current time where the time must be secure. More...

UTO new_universal_time (in TimeBase::TimeT time, in TimeBase::InaccuracyT inaccuracy, in TimeBase::TdfT tdf)
 Create a new UTO instance from its components. More...

UTO uto_from_utc (in TimeBase::UtcT utc)
 Create a new UTO instance. More...

TIO new_interval (in TimeBase::TimeT lower, in TimeBase::TimeT upper)
 Create a new TIO instance. More...


Detailed Description

The time service is used to create instances of TIOs and UTOs from components, and to determine the current time.


Member Function Documentation

TIO CosTime::TimeService::new_interval in TimeBase::TimeT    lower,
in TimeBase::TimeT    upper
 

Create a new TIO instance.

Returns:
A new TIO as specified.
m lower - the lower bound of the interval.
m upper - the upper bound of the interval.

UTO CosTime::TimeService::new_universal_time in TimeBase::TimeT    time,
in TimeBase::InaccuracyT    inaccuracy,
in TimeBase::TdfT    tdf
 

Create a new UTO instance from its components.

Returns:
A new UTO as specified.
m time - the time to be stored in the UTO.
m inaccuracy - the error to be stored with this time.
m tdf - the timezone to be stored in the UTO.

UTO CosTime::TimeService::secure_universal_time   raises (TimeUnavailable)
 

Determine the current time where the time must be secure.

Returns:
A UTO representing the current time, an estimate of the accuracy of this time, and the local time zone. @raises TimeUnavailable if the time cannot be determined securely.

UTO CosTime::TimeService::universal_time   raises (TimeUnavailable)
 

Determine the current time.

Returns:
A UTO representing the current time, an estimate of the accuracy of this time, and the local time zone. @raises TimeUnavailable if for some reason the time cannot be obtained.

UTO CosTime::TimeService::uto_from_utc in TimeBase::UtcT    utc
 

Create a new UTO instance.

Returns:
A new UTO as specified.
m utc - the data to be stored in the UTO.