LF_Event.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // LF_Event.inl,v 1.6 2005/11/02 07:13:03 ossama Exp
00004 
00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00006 
00007 ACE_INLINE int
00008 TAO_LF_Event::bind (TAO_LF_Follower *follower)
00009 {
00010   if (this->follower_ != 0)
00011     return -1;
00012   this->follower_ = follower;
00013   return 0;
00014 }
00015 
00016 ACE_INLINE int
00017 TAO_LF_Event::unbind (void)
00018 {
00019   if (this->follower_ == 0)
00020     return -1;
00021   this->follower_ = 0;
00022   return 0;
00023 }
00024 
00025 ACE_INLINE void
00026 TAO_LF_Event::reset_state (int new_state)
00027 {
00028   this->state_ = new_state;
00029 }
00030 
00031 ACE_INLINE int
00032 TAO_LF_Event::keep_waiting (void)
00033 {
00034   return (this->successful () == 0) && (this->error_detected () == 0);
00035 }
00036 
00037 TAO_END_VERSIONED_NAMESPACE_DECL

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