summaryrefslogtreecommitdiff
path: root/TAO/tao/ORB_Core.i
diff options
context:
space:
mode:
authordoccvs <doccvs@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-12-22 22:19:33 +0000
committerdoccvs <doccvs@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-12-22 22:19:33 +0000
commit10c3dff538a9faa6eb1f44a2d8c83bd6a7328109 (patch)
tree4742dc76fcf1d3099728949e4cbe4770ab3b65fb /TAO/tao/ORB_Core.i
parent548b94c037cd9d5a8e51311d150033d738d9abb3 (diff)
downloadATCD-10c3dff538a9faa6eb1f44a2d8c83bd6a7328109.tar.gz
ChangeLogTag: Fri Dec 22 14:13:46 2000 Priyanka Gontla <pgontla@ece.uci.edu>
Diffstat (limited to 'TAO/tao/ORB_Core.i')
-rw-r--r--TAO/tao/ORB_Core.i30
1 files changed, 21 insertions, 9 deletions
diff --git a/TAO/tao/ORB_Core.i b/TAO/tao/ORB_Core.i
index 35f1e77cad4..1180c14074c 100644
--- a/TAO/tao/ORB_Core.i
+++ b/TAO/tao/ORB_Core.i
@@ -589,6 +589,12 @@ TAO_ORB_Core::poa_current (CORBA::Object_ptr current)
CORBA::Object::_duplicate (current);
}
+ACE_INLINE TAO_Policy_Manager_Impl *
+TAO_ORB_Core::get_default_policies (void)
+{
+ return this->default_policies_;
+}
+
ACE_INLINE CORBA_Environment *
TAO_ORB_Core::default_environment (void) const
{
@@ -651,22 +657,28 @@ TAO_ORB_Core::client_priority_policy_selector (void)
return this->client_priority_policy_selector_;
}
-ACE_INLINE TAO_Priority_Mapping_Manager *
-TAO_ORB_Core::priority_mapping_manager (void)
+ACE_INLINE CORBA::Object_ptr
+TAO_ORB_Core::rt_orb (CORBA::Environment &ACE_TRY_ENV)
{
- return this->priority_mapping_manager_;
+if (CORBA::is_nil (this->rt_orb_))
+ {
+ this->resolve_rt_orb_i (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (CORBA::Object::_nil ());
+ }
+ return CORBA::Object::_duplicate (this->rt_orb_);
}
-ACE_INLINE TAO_RT_ORB *
-TAO_ORB_Core::rt_orb (void)
+ACE_INLINE CORBA::Object_ptr
+TAO_ORB_Core::rt_current (void)
{
- return this->rt_orb_;
+ return CORBA::Object::_duplicate (this->rt_current_);
}
-ACE_INLINE TAO_RT_Current *
-TAO_ORB_Core::rt_current (void)
+ACE_INLINE void
+TAO_ORB_Core::rt_current (CORBA::Object_ptr current)
{
- return this->rt_current_;
+ this->rt_current_ =
+ CORBA::Object::_duplicate (current);
}
#endif /* TAO_HAS_RT_CORBA == 1 */