TAO_CosTime  2.2.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
TAO_Time_Service_Server Class Reference

TimeService Object Implementation. More...

#include <TAO_Time_Service_Server.h>

Inheritance diagram for TAO_Time_Service_Server:
Inheritance graph
Collaboration diagram for TAO_Time_Service_Server:
Collaboration graph

Public Member Functions

 TAO_Time_Service_Server (void)
 Constructor. More...
 
 ~TAO_Time_Service_Server (void)
 Destructor. More...
 
virtual CosTime::UTO_ptr universal_time (void)
 
virtual CosTime::UTO_ptr secure_universal_time (void)
 
virtual CosTime::UTO_ptr new_universal_time (TimeBase::TimeT time, TimeBase::InaccuracyT inaccuracy, TimeBase::TdfT tdf)
 This creates a new UTO based on the given parameters. More...
 
virtual CosTime::UTO_ptr uto_from_utc (const TimeBase::UtcT &utc)
 This creates a new UTO given a time in the UtcT form. More...
 
virtual CosTime::TIO_ptr new_interval (TimeBase::TimeT lower, TimeBase::TimeT upper)
 This creates a new TIO with the given parameters. More...
 

Detailed Description

TimeService Object Implementation.

The Object implementation implements methods to retrieve current time as well as secure current time. The times are retrieved as UTOs. The object also allows creation of a TIO for a given time interval. In general, the TimeService manages the UTOs and the TIOs. The notion of time returned here is the local time of the system.

Constructor & Destructor Documentation

TAO_Time_Service_Server::TAO_Time_Service_Server ( void  )

Constructor.

TAO_Time_Service_Server::~TAO_Time_Service_Server ( void  )

Destructor.

Member Function Documentation

CosTime::TIO_ptr TAO_Time_Service_Server::new_interval ( TimeBase::TimeT  lower,
TimeBase::TimeT  upper 
)
virtual

This creates a new TIO with the given parameters.

CosTime::UTO_ptr TAO_Time_Service_Server::new_universal_time ( TimeBase::TimeT  time,
TimeBase::InaccuracyT  inaccuracy,
TimeBase::TdfT  tdf 
)
virtual

This creates a new UTO based on the given parameters.

CosTime::UTO_ptr TAO_Time_Service_Server::secure_universal_time ( void  )
virtual

This operation returns the current time in a UTO only if the time can be guaranteed to have been obtained securely. Currently this operation is not implemented and throws a CORBA::NO_IMPLEMENT exception, if called.

CosTime::UTO_ptr TAO_Time_Service_Server::universal_time ( void  )
virtual

This operation returns the current system time and an estimate of inaccuracy in a UTO.

CosTime::UTO_ptr TAO_Time_Service_Server::uto_from_utc ( const TimeBase::UtcT &  utc)
virtual

This creates a new UTO given a time in the UtcT form.


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