#include <TAO_UTO.h>
Collaboration diagram for TAO_UTO:
Public Member Functions | |
TAO_UTO (TimeBase::TimeT time, TimeBase::InaccuracyT inaccuracy, TimeBase::TdfT tdf) | |
Constructor. | |
~TAO_UTO (void) | |
Destructor. | |
Private Attributes | |
TimeBase::UtcT | attr_utc_time_ |
For the readonly attribute . |
This is an encapsulation of the time. It provides the following operations on basic time.
Definition at line 44 of file TAO_UTO.h.
|
Constructor.
Definition at line 16 of file TAO_UTO.cpp. References ACE_U64_TO_U32, attr_utc_time_, TimeBase::UtcT::inacchi, TimeBase::UtcT::inacclo, TimeBase::UtcT::tdf, and TimeBase::UtcT::time.
00019 { 00020 00021 this->attr_utc_time_.time = time; 00022 00023 // Extract the lower 32 bits in the inacclo. 00024 this->attr_utc_time_.inacclo = (CORBA::ULong) ACE_U64_TO_U32 (inaccuracy); 00025 00026 // Extract the lower 16 bits of the remaining bits. 'And'ing with 0xFFFF 00027 // is only a sanity check. 00028 00029 #if defined (ACE_LACKS_U_LONGLONG_T) 00030 this->attr_utc_time_.inacchi = 0; 00031 #else 00032 this->attr_utc_time_.inacchi = 00033 static_cast<CORBA::UShort> ((inaccuracy >> 32U) & 0xFFFF); 00034 00035 #endif /* ACE_LACKS_U_LONGLONG_T */ 00036 00037 this->attr_utc_time_.tdf = tdf; 00038 00039 } |
|
Destructor.
Definition at line 43 of file TAO_UTO.cpp.
00044 { 00045 } |
|
For the readonly attribute . The readonly attribute structure having the time, inaccuracy and displacement. The get methods for other readonly attributes (time, inaccuracy, tdf) defined in the IDL use the members of this structure and hence need not have separate member variables for them. Definition at line 102 of file TAO_UTO.h. Referenced by TAO_UTO(). |