#include <Creation_Time.h>
Public Member Functions | |
Creation_Time (const ACE_Time_Value &creation_time) | |
Creation_Time (void) | |
void | creation_time (const void *creation_time) |
const void * | creation_time (void) const |
bool | operator== (const Creation_Time &rhs) const |
bool | operator!= (const Creation_Time &rhs) const |
bool | operator== (const Temporary_Creation_Time &rhs) const |
bool | operator!= (const Temporary_Creation_Time &rhs) const |
Static Public Member Functions | |
CORBA::ULong | creation_time_length (void) |
Protected Types | |
enum | { SEC_FIELD = 0, USEC_FIELD = 1 } |
Protected Attributes | |
CORBA::ULong | time_stamp_ [2] |
Timestamp. |
|
Definition at line 58 of file Creation_Time.h.
00059 { 00060 SEC_FIELD = 0, 00061 USEC_FIELD = 1 00062 }; |
|
Definition at line 21 of file Creation_Time.inl. References ACE_Time_Value::sec(), time_stamp_, and ACE_Time_Value::usec().
00022 { 00023 this->time_stamp_[Creation_Time::SEC_FIELD] = (CORBA::ULong) creation_time.sec (); 00024 this->time_stamp_[Creation_Time::USEC_FIELD] = (CORBA::ULong) creation_time.usec (); 00025 } |
|
Definition at line 28 of file Creation_Time.inl. References time_stamp_.
00029 { 00030 this->time_stamp_[Creation_Time::SEC_FIELD] = 0; 00031 this->time_stamp_[Creation_Time::USEC_FIELD] = 0; 00032 } |
|
Definition at line 43 of file Creation_Time.inl. References time_stamp_.
00044 { 00045 return &this->time_stamp_; 00046 } |
|
Definition at line 35 of file Creation_Time.inl. References ACE_OS::memcpy(). Referenced by TAO::Portable_Server::Temporary_Creation_Time::operator!=(), and TAO::Portable_Server::Temporary_Creation_Time::operator==().
00036 { 00037 ACE_OS::memcpy (&this->time_stamp_, 00038 creation_time, 00039 Creation_Time::creation_time_length ()); 00040 } |
|
Definition at line 15 of file Creation_Time.inl. Referenced by TAO_Root_POA::parse_key().
00016 { 00017 return 2 * sizeof (CORBA::ULong); 00018 } |
|
Definition at line 107 of file Creation_Time.inl.
00108 { 00109 return rhs != *this; 00110 } |
|
Definition at line 62 of file Creation_Time.inl. References ACE_OS::memcmp(), and time_stamp_.
00063 { 00064 #if (POA_NO_TIMESTAMP == 1) 00065 ACE_UNUSED_ARG (rhs); 00066 return false; 00067 #else 00068 return ACE_OS::memcmp (&this->time_stamp_, 00069 &rhs.time_stamp_, 00070 Creation_Time::creation_time_length ()) != 0; 00071 #endif /* POA_NO_TIMESTAMP */ 00072 } |
|
Definition at line 101 of file Creation_Time.inl.
00102 { 00103 return rhs == *this; 00104 } |
|
Definition at line 49 of file Creation_Time.inl. References ACE_OS::memcmp(), and time_stamp_.
00050 { 00051 #if (POA_NO_TIMESTAMP == 1) 00052 ACE_UNUSED_ARG (rhs); 00053 return true; 00054 #else 00055 return ACE_OS::memcmp (&this->time_stamp_, 00056 &rhs.time_stamp_, 00057 Creation_Time::creation_time_length ()) == 0; 00058 #endif /* POA_NO_TIMESTAMP */ 00059 } |
|
Timestamp.
Definition at line 65 of file Creation_Time.h. Referenced by creation_time(), Creation_Time(), operator!=(), and operator==(). |