/usr/include/tao/ORB.inl is in libtao-dev 6.0.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | // -*- C++ -*-
//
// $Id: ORB.inl 91262 2010-08-03 14:02:36Z parsons $
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
// ---------------------------------------------------------------------------
// ORB specific
// ---------------------------------------------------------------------------
ACE_INLINE ACE_Time_Value *
CORBA::ORB::get_timeout (void)
{
return this->timeout_;
}
ACE_INLINE void
CORBA::ORB::set_timeout (ACE_Time_Value *timeout)
{
this->timeout_ = timeout;
}
ACE_INLINE unsigned long
CORBA::ORB::_incr_refcount (void)
{
return ++this->refcount_;
}
ACE_INLINE unsigned long
CORBA::ORB::_refcount (void) const
{
return this->refcount_.value ();
}
ACE_INLINE unsigned long
CORBA::ORB::_decr_refcount (void)
{
unsigned long const count = --this->refcount_;
if (count != 0)
{
return count;
}
delete this;
return 0;
}
ACE_INLINE CORBA::ORB_ptr
CORBA::ORB::_duplicate (CORBA::ORB_ptr obj)
{
if (obj)
{
obj->_incr_refcount ();
}
return obj;
}
// Null pointers represent nil objects.
ACE_INLINE CORBA::ORB_ptr
CORBA::ORB::_nil (void)
{
return 0;
}
ACE_INLINE void
CORBA::ORB::_use_omg_ior_format (CORBA::Boolean ior)
{
this->use_omg_ior_format_ = ior;
}
ACE_INLINE CORBA::Boolean
CORBA::ORB::_use_omg_ior_format (void)
{
return this->use_omg_ior_format_;
}
ACE_INLINE TAO_ORB_Core *
CORBA::ORB::orb_core (void) const
{
return this->orb_core_;
}
TAO_END_VERSIONED_NAMESPACE_DECL
|