Resume_Handle.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 //Resume_Handle.inl,v 1.5 2005/11/02 11:03:26 ossama Exp
00004 
00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00006 
00007 ACE_INLINE
00008 TAO_Resume_Handle::TAO_Resume_Handle (TAO_ORB_Core *orb_core,
00009                                       ACE_HANDLE h)
00010   : orb_core_ (orb_core),
00011     handle_ (h),
00012     flag_ (TAO_HANDLE_RESUMABLE)
00013 {
00014 }
00015 
00016 ACE_INLINE
00017 TAO_Resume_Handle::~TAO_Resume_Handle (void)
00018 {
00019   if (this->flag_ == TAO_HANDLE_RESUMABLE)
00020     this->resume_handle ();
00021 }
00022 
00023 
00024 ACE_INLINE void
00025 TAO_Resume_Handle::set_flag (TAO_Handle_Resume_Flag fl)
00026 {
00027   this->flag_ = fl;
00028 }
00029 
00030 ACE_INLINE TAO_Resume_Handle &
00031 TAO_Resume_Handle::operator= (const TAO_Resume_Handle &rhs)
00032 {
00033   this->orb_core_ = rhs.orb_core_;
00034   this->handle_ = rhs.handle_;
00035   this->flag_ = rhs.flag_;
00036 
00037   return *this;
00038 }
00039 
00040 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Thu Nov 9 11:54:21 2006 for TAO by doxygen 1.3.6