00001 // -*- C++ -*- 00002 // 00003 //$Id: Recyclable.inl 69051 2005-10-28 16:14:56Z ossama $ 00004 00005 ACE_BEGIN_VERSIONED_NAMESPACE_DECL 00006 00007 ACE_INLINE ACE_Recyclable_State 00008 ACE_Recyclable::recycle_state (void) const 00009 { 00010 return this->recycle_state_; 00011 } 00012 00013 ACE_INLINE void 00014 ACE_Recyclable::recycle_state (ACE_Recyclable_State new_state) 00015 { 00016 if (this->recycle_state_ != ACE_RECYCLABLE_CLOSED) 00017 this->recycle_state_ = new_state; 00018 } 00019 00020 ACE_END_VERSIONED_NAMESPACE_DECL