summaryrefslogtreecommitdiff
path: root/modules/CIAO/ciao/Containers/Container_Base.inl
blob: b4198116983d77cade22b449d9503cc28c75d1b5 (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
33
// $Id$

namespace CIAO
{
  ACE_INLINE PortableServer::POA_ptr
  Container_i::the_POA (void)
  {
    return this->component_poa_.in ();
  }

  ACE_INLINE PortableServer::POA_ptr
  Container_i::the_port_POA (void)
  {
    return this->facet_cons_poa_.in ();
  }

  ACE_INLINE CORBA::ORB_ptr
  Container_i::the_ORB (void) const
  {
    return this->orb_.in ();
  }

  ACE_INLINE void
  Container_i::set_receptacle_policy_map (::CIAO::REC_POL_MAP &rec_pol_map)
  {
    for (::CIAO::REC_POL_MAP_ITERATOR it = rec_pol_map.begin ();
         it != rec_pol_map.end ();
         ++it)
      {
        this->rec_pol_map_.bind ((*it).ext_id_, (*it).int_id_);
      }
  }
}