diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Time/TAO_UTO.h')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Time/TAO_UTO.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Time/TAO_UTO.h b/TAO/orbsvcs/orbsvcs/Time/TAO_UTO.h index e1191227c14..4c57b221c4c 100644 --- a/TAO/orbsvcs/orbsvcs/Time/TAO_UTO.h +++ b/TAO/orbsvcs/orbsvcs/Time/TAO_UTO.h @@ -56,38 +56,38 @@ public: // Destructor. virtual TimeBase::TimeT time ( - CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ()) + TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) ACE_THROW_SPEC ((CORBA::SystemException)); // For the readonly attribute <time>. - virtual TimeBase::InaccuracyT inaccuracy (CORBA::Environment &env) + virtual TimeBase::InaccuracyT inaccuracy (TAO_ENV_SINGLE_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)); // For the readonly attribute <inaccuracy>. - virtual TimeBase::TdfT tdf (CORBA::Environment &env) + virtual TimeBase::TdfT tdf (TAO_ENV_SINGLE_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)); // For the readonly attribute <tdf>, which is the "time displacement // factor". - virtual TimeBase::UtcT utc_time (CORBA::Environment &env) + virtual TimeBase::UtcT utc_time (TAO_ENV_SINGLE_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)); // For the readonly attribute <utc_time>. - CosTime::UTO_ptr absolute_time (CORBA::Environment &env) + CosTime::UTO_ptr absolute_time (TAO_ENV_SINGLE_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)); // 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) + CosTime::UTO_ptr uto + TAO_ENV_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)); // 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) + CosTime::TIO_ptr time_to_interval (CosTime::UTO_ptr + TAO_ENV_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)); // Returns a TIO representing the time interval between the time in // the object and the time in the UTO passed as a parameter. The @@ -95,7 +95,7 @@ public: // 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) + CosTime::TIO_ptr interval (TAO_ENV_SINGLE_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)); // Returns a TIO object representing the error interval around the // time value in the UTO. |