summaryrefslogtreecommitdiff
path: root/trunk/TAO/orbsvcs/orbsvcs/ESF/ESF_Proxy_Admin.inl
blob: 882e6c9c056193464fa266d887b70c578e95d0de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// -*- C++ -*-
//
// $Id$

TAO_BEGIN_VERSIONED_NAMESPACE_DECL

template<class EC,class P,class I> ACE_INLINE void
TAO_ESF_Proxy_Admin<EC,P,I>::
    for_each (TAO_ESF_Worker<P> *worker
              ACE_ENV_ARG_DECL)
      ACE_THROW_SPEC ((CORBA::SystemException))
{
  this->collection_->for_each (worker ACE_ENV_ARG_PARAMETER);
}

template <class C>
ACE_INLINE
TAO_ESF_RefCountedRef<C>::TAO_ESF_RefCountedRef (C *counted)
  : counted_ (counted)
{}

template <class C>
ACE_INLINE
TAO_ESF_RefCountedRef<C>::~TAO_ESF_RefCountedRef ()
{
  if (this->counted_ != 0)
    {
      this->counted_->_decr_refcnt ();
    }
}

TAO_END_VERSIONED_NAMESPACE_DECL