Event.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Event.inl,v 1.10 2005/11/14 22:03:49 ossama Exp
00004 
00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00006 
00007 ACE_INLINE const TAO_Notify_Property_Short&
00008 TAO_Notify_Event::priority (void) const
00009 {
00010   return this->priority_;
00011 }
00012 
00013 ACE_INLINE const TAO_Notify_Property_Time&
00014 TAO_Notify_Event::timeout (void) const
00015 {
00016   return this->timeout_;
00017 }
00018 
00019 ACE_INLINE const TAO_Notify_Property_Boolean&
00020 TAO_Notify_Event::reliable (void) const
00021 {
00022   return this->reliable_;
00023 }
00024 
00025 ACE_INLINE
00026 TAO_Notify_Event*
00027 TAO_Notify_Event::queueable_copy (ACE_ENV_SINGLE_ARG_DECL) const
00028 {
00029   if ( is_on_heap_ )
00030   {
00031     return const_cast< TAO_Notify_Event* >( this );
00032   }
00033   else if (this->clone_.get() == 0)
00034   {
00035     TAO_Notify_Event* copied = this->copy (ACE_ENV_SINGLE_ARG_PARAMETER);
00036     ACE_CHECK_RETURN(0);
00037     copied->is_on_heap_ = true;
00038     this->clone_.reset( copied );
00039   }
00040   return this->clone_.get();
00041 }
00042 
00043 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Thu Nov 9 13:24:10 2006 for TAO_CosNotification by doxygen 1.3.6