TAO::Portable_Server::Temporary_Creation_Time Class Reference

Special creation time only useful in the lifetime of the upcall. More...

#include <Creation_Time.h>

List of all members.

Public Member Functions

 Temporary_Creation_Time (void)
void creation_time (const void *creation_time)
bool operator== (const Creation_Time &rhs) const
bool operator!= (const Creation_Time &rhs) const

Protected Attributes

void * time_stamp_


Detailed Description

Special creation time only useful in the lifetime of the upcall.

Special creation time only useful in the lifetime of the upcall.

Definition at line 77 of file Creation_Time.h.


Constructor & Destructor Documentation

ACE_INLINE TAO::Portable_Server::Temporary_Creation_Time::Temporary_Creation_Time ( void   ) 

Definition at line 113 of file Creation_Time.inl.

00114       : time_stamp_ (0)
00115     {
00116     }


Member Function Documentation

ACE_INLINE void TAO::Portable_Server::Temporary_Creation_Time::creation_time ( const void *  creation_time  ) 

Definition at line 119 of file Creation_Time.inl.

References time_stamp_.

Referenced by TAO_Root_POA::parse_key().

00120     {
00121       this->time_stamp_ = (void *) creation_time;
00122     }

ACE_INLINE bool TAO::Portable_Server::Temporary_Creation_Time::operator!= ( const Creation_Time rhs  )  const

Definition at line 88 of file Creation_Time.inl.

References TAO::Portable_Server::Creation_Time::creation_time(), TAO::Portable_Server::Creation_Time::creation_time_length(), and ACE_OS::memcmp().

00089     {
00090     #if (POA_NO_TIMESTAMP == 1)
00091       ACE_UNUSED_ARG (rhs);
00092       return false;
00093     #else
00094       return ACE_OS::memcmp (this->time_stamp_,
00095                              rhs.creation_time (),
00096                              Creation_Time::creation_time_length ()) != 0;
00097     #endif /* POA_NO_TIMESTAMP */
00098     }

ACE_INLINE bool TAO::Portable_Server::Temporary_Creation_Time::operator== ( const Creation_Time rhs  )  const

Definition at line 75 of file Creation_Time.inl.

References TAO::Portable_Server::Creation_Time::creation_time(), TAO::Portable_Server::Creation_Time::creation_time_length(), and ACE_OS::memcmp().

00076     {
00077     #if (POA_NO_TIMESTAMP == 1)
00078       ACE_UNUSED_ARG (rhs);
00079       return true;
00080     #else
00081       return ACE_OS::memcmp (this->time_stamp_,
00082                              rhs.creation_time (),
00083                              Creation_Time::creation_time_length ()) == 0;
00084     #endif /* POA_NO_TIMESTAMP */
00085     }


Member Data Documentation

void* TAO::Portable_Server::Temporary_Creation_Time::time_stamp_ [protected]

Definition at line 91 of file Creation_Time.h.

Referenced by creation_time().


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:41:38 2010 for TAO_PortableServer by  doxygen 1.4.7