summaryrefslogtreecommitdiff
path: root/TAO/tao/Object.i
diff options
context:
space:
mode:
authorbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-03-30 15:19:31 +0000
committerbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-03-30 15:19:31 +0000
commitb1f0f87a0d065ff37863fc03e7ccc266913ae0e4 (patch)
tree407049f7d9d88418bafd5a1032ad53830af05882 /TAO/tao/Object.i
parentfd55e7c75d09a399a4224d51efca13de4e99fbcd (diff)
downloadATCD-b1f0f87a0d065ff37863fc03e7ccc266913ae0e4.tar.gz
ChangeLogTag: Sun Mar 30 09:17:09 2003 Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/Object.i')
-rw-r--r--TAO/tao/Object.i40
1 files changed, 37 insertions, 3 deletions
diff --git a/TAO/tao/Object.i b/TAO/tao/Object.i
index 72ca365f31a..3a3d03cfcf8 100644
--- a/TAO/tao/Object.i
+++ b/TAO/tao/Object.i
@@ -1,21 +1,24 @@
// -*- C++ -*-
//
// $Id$
-
// ****************************************************************
ACE_INLINE
CORBA::Object::Object (int)
- : is_collocated_ (0),
- servant_ (0),
+ : servant_ (0),
+ is_collocated_ (0),
is_local_ (1),
proxy_broker_ (0),
+ is_evaluated_ (1),
+ ior_ (),
+ orb_core_ (0),
protocol_proxy_ (0),
refcount_ (1),
refcount_lock_ (0)
{
}
+
ACE_INLINE CORBA::Object_ptr
CORBA::Object::_duplicate (CORBA::Object_ptr obj)
{
@@ -92,6 +95,37 @@ CORBA::Object::marshal (TAO_OutputCDR &cdr)
return (cdr << this);
}
+ACE_INLINE CORBA::Boolean
+CORBA::Object::is_evaluated (void) const
+{
+ return this->is_evaluated_;
+}
+
+ACE_INLINE void
+CORBA::Object::set_collocated_servant (TAO_Abstract_ServantBase *b)
+{
+ this->servant_ = b;
+ this->is_collocated_ = 1;
+}
+
+ACE_INLINE TAO_ORB_Core *
+CORBA::Object::orb_core (void) const
+{
+ return this->orb_core_;
+}
+
+ACE_INLINE IOP::IOR *
+CORBA::Object::steal_ior (void)
+{
+ return this->ior_._retn ();
+}
+
+ACE_INLINE const IOP::IOR &
+CORBA::Object::ior (void) const
+{
+ return this->ior_.in ();
+}
+
// *************************************************************
// Inline operations for class CORBA::Object_var
// *************************************************************