1 #include "tao/Policy_Manager.h"
3 #if (TAO_HAS_CORBA_MESSAGING == 1)
5 #if !defined (__ACE_INLINE__)
6 # include "tao/Policy_Manager.inl"
7 #endif /* ! __ACE_INLINE__ */
9 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
12 TAO_Policy_Manager::get_policy_overrides (const CORBA::PolicyTypeSeq
& ts
)
14 ACE_GUARD_RETURN (TAO_SYNCH_MUTEX
, ace_mon
, this->mutex_
, nullptr);
15 return this->impl_
.get_policy_overrides (ts
);
19 TAO_Policy_Manager::set_policy_overrides (const CORBA::PolicyList
& policies
,
20 CORBA::SetOverrideType set_add
)
22 ACE_GUARD (TAO_SYNCH_MUTEX
, ace_mon
, this->mutex_
);
23 this->impl_
.set_policy_overrides (policies
, set_add
);
26 TAO_END_VERSIONED_NAMESPACE_DECL
28 #endif /* TAO_HAS_CORBA_MESSAGING == 1 */