diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Time/TAO_UTO.h')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Time/TAO_UTO.h | 32 |
1 files changed, 12 insertions, 20 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Time/TAO_UTO.h b/TAO/orbsvcs/orbsvcs/Time/TAO_UTO.h index b141b453cd4..4360cf131b7 100644 --- a/TAO/orbsvcs/orbsvcs/Time/TAO_UTO.h +++ b/TAO/orbsvcs/orbsvcs/Time/TAO_UTO.h @@ -18,7 +18,7 @@ // ============================================================================ #ifndef TAO_UTO_H -#define TAO_UTO_H +#define TAO_UTO_H #include "orbsvcs/TimeServiceS.h" @@ -46,54 +46,46 @@ class TAO_ORBSVCS_Export TAO_UTO : public POA_CosTime::UTO public: // = Initialization and termination methods. TAO_UTO (TimeBase::TimeT time, - TimeBase::InaccuracyT inaccuracy, - TimeBase::TdfT tdf); + TimeBase::InaccuracyT inaccuracy, + TimeBase::TdfT tdf); // Constructor. ~TAO_UTO (void); // Destructor. - virtual TimeBase::TimeT time (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); + virtual TimeBase::TimeT time (CORBA::Environment &env); // For the readonly attribute <time>. - virtual TimeBase::InaccuracyT inaccuracy (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); + virtual TimeBase::InaccuracyT inaccuracy (CORBA::Environment &env); // For the readonly attribute <inaccuracy>. - virtual TimeBase::TdfT tdf (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); + virtual TimeBase::TdfT tdf (CORBA::Environment &env); // For the readonly attribute <tdf>, which is the "time displacement // factor". - virtual TimeBase::UtcT utc_time (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); + virtual TimeBase::UtcT utc_time (CORBA::Environment &env); // For the readonly attribute <utc_time>. - CosTime::UTO_ptr absolute_time (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); + CosTime::UTO_ptr absolute_time (CORBA::Environment &env); // Absolute time = Relative time + Base time. // ?? Find out more about the Base Time, UTC and // Distributed Time Sync. Algos. [3 CosTime::TimeComparison compare_time (CosTime::ComparisonType comparison_type, - CosTime::UTO_ptr uto, - CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); + CosTime::UTO_ptr uto, + CORBA::Environment &env); // Compares the time contained in the object with the time in the // supplied uto according to the supplied comparison type. CosTime::TIO_ptr time_to_interval (CosTime::UTO_ptr, - CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); + CORBA::Environment &env); // Returns a TIO representing the time interval between the time in // the object and the time in the UTO passed as a parameter. The // interval returned is the interval between the mid-points of the // two UTOs. Inaccuracies are ignored. Note the result of this // operation is meaningless if the base times of UTOs are different. - CosTime::TIO_ptr interval (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); + CosTime::TIO_ptr interval (CORBA::Environment &env); // Returns a TIO object representing the error interval around the // time value in the UTO. |