00001 // -*- C++ -*- 00002 // 00003 // ESF_Proxy_Admin.i,v 1.8 2005/11/10 06:47:23 ossama Exp 00004 00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00006 00007 template<class EC,class P,class I> ACE_INLINE void 00008 TAO_ESF_Proxy_Admin<EC,P,I>:: 00009 for_each (TAO_ESF_Worker<P> *worker 00010 ACE_ENV_ARG_DECL) 00011 ACE_THROW_SPEC ((CORBA::SystemException)) 00012 { 00013 this->collection_->for_each (worker ACE_ENV_ARG_PARAMETER); 00014 } 00015 00016 template <class C> 00017 ACE_INLINE 00018 TAO_ESF_RefCountedRef<C>::TAO_ESF_RefCountedRef (C *counted) 00019 : counted_ (counted) 00020 {} 00021 00022 template <class C> 00023 ACE_INLINE 00024 TAO_ESF_RefCountedRef<C>::~TAO_ESF_RefCountedRef () 00025 { 00026 if (this->counted_ != 0) 00027 { 00028 this->counted_->_decr_refcnt (); 00029 } 00030 } 00031 00032 TAO_END_VERSIONED_NAMESPACE_DECL