Public Member Functions | Protected Attributes

TAO::Portable_Server::Temporary_Creation_Time Class Reference

#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.

Definition at line 77 of file Creation_Time.h.


Constructor & Destructor Documentation

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

Definition at line 113 of file Creation_Time.inl.

      : time_stamp_ (0)
    {
    }


Member Function Documentation

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

Definition at line 119 of file Creation_Time.inl.

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

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

Definition at line 88 of file Creation_Time.inl.

    {
    #if (POA_NO_TIMESTAMP == 1)
      ACE_UNUSED_ARG (rhs);
      return false;
    #else
      return ACE_OS::memcmp (this->time_stamp_,
                             rhs.creation_time (),
                             Creation_Time::creation_time_length ()) != 0;
    #endif /* POA_NO_TIMESTAMP */
    }

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

Definition at line 75 of file Creation_Time.inl.

    {
    #if (POA_NO_TIMESTAMP == 1)
      ACE_UNUSED_ARG (rhs);
      return true;
    #else
      return ACE_OS::memcmp (this->time_stamp_,
                             rhs.creation_time (),
                             Creation_Time::creation_time_length ()) == 0;
    #endif /* POA_NO_TIMESTAMP */
    }


Member Data Documentation

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

Definition at line 91 of file Creation_Time.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines