diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:21 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:21 +0000 |
commit | 0e49389337be86641451a5c36c24bf742fe97523 (patch) | |
tree | 197c810e5f5bce17b1233a7cb8d7b50c0bcd25e2 /TAO/tao/Resume_Handle.inl | |
parent | 8008dd09ccf88d4edef237a184a698cac42f2952 (diff) | |
download | ATCD-0e49389337be86641451a5c36c24bf742fe97523.tar.gz |
Repo restructuring
Diffstat (limited to 'TAO/tao/Resume_Handle.inl')
-rw-r--r-- | TAO/tao/Resume_Handle.inl | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/TAO/tao/Resume_Handle.inl b/TAO/tao/Resume_Handle.inl new file mode 100644 index 00000000000..e89466fd4e2 --- /dev/null +++ b/TAO/tao/Resume_Handle.inl @@ -0,0 +1,40 @@ +// -*- C++ -*- +// +//$Id$ + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +ACE_INLINE +TAO_Resume_Handle::TAO_Resume_Handle (TAO_ORB_Core *orb_core, + ACE_HANDLE h) + : orb_core_ (orb_core), + handle_ (h), + flag_ (TAO_HANDLE_RESUMABLE) +{ +} + +ACE_INLINE +TAO_Resume_Handle::~TAO_Resume_Handle (void) +{ + if (this->flag_ == TAO_HANDLE_RESUMABLE) + this->resume_handle (); +} + + +ACE_INLINE void +TAO_Resume_Handle::set_flag (TAO_Handle_Resume_Flag fl) +{ + this->flag_ = fl; +} + +ACE_INLINE TAO_Resume_Handle & +TAO_Resume_Handle::operator= (const TAO_Resume_Handle &rhs) +{ + this->orb_core_ = rhs.orb_core_; + this->handle_ = rhs.handle_; + this->flag_ = rhs.flag_; + + return *this; +} + +TAO_END_VERSIONED_NAMESPACE_DECL |