/usr/include/tao/DynamicInterface/Request.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 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 | // -*- C++ -*-
//
// $Id: Request.inl 91689 2010-09-09 11:45:09Z johnnyw $
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_INLINE CORBA::Request_ptr
CORBA::Request::_duplicate (CORBA::Request_ptr x)
{
if (x != 0)
{
x->_incr_refcount ();
}
return x;
}
ACE_INLINE CORBA::Request_ptr
CORBA::Request::_nil (void)
{
return 0;
}
ACE_INLINE CORBA::Object_ptr
CORBA::Request::target (void) const
{
return this->target_;
}
// Return the operation name for the request.
ACE_INLINE const CORBA::Char *
CORBA::Request::operation (void) const
{
return this->opname_;
}
// Return the arguments for the request.
ACE_INLINE CORBA::NVList_ptr
CORBA::Request::arguments (void)
{
return this->args_;
}
// Return the result for the request.
ACE_INLINE CORBA::NamedValue_ptr
CORBA::Request::result (void)
{
return this->result_;
}
// Return the exceptions resulting from this request.
ACE_INLINE CORBA::ExceptionList_ptr
CORBA::Request::exceptions (void)
{
return this->exceptions_.in ();
}
// Return the request's contexts
ACE_INLINE CORBA::ContextList_ptr
CORBA::Request::contexts (void)
{
return this->contexts_;
}
// The argument manipulation helper functions
ACE_INLINE CORBA::Any &
CORBA::Request::add_in_arg (void)
{
return this->args_->add_element (CORBA::ARG_IN)->any_;
}
ACE_INLINE CORBA::Any &
CORBA::Request::add_in_arg (const CORBA::Char *name)
{
return this->args_->add_item (name, CORBA::ARG_IN)->any_;
}
ACE_INLINE CORBA::Any &
CORBA::Request::add_inout_arg (void)
{
return this->args_->add_element (CORBA::ARG_INOUT)->any_;
}
ACE_INLINE CORBA::Any &
CORBA::Request::add_inout_arg (const CORBA::Char *name)
{
return this->args_->add_item (name, CORBA::ARG_INOUT)->any_;
}
ACE_INLINE CORBA::Any &
CORBA::Request::add_out_arg (void)
{
return this->args_->add_element (CORBA::ARG_OUT)->any_;
}
ACE_INLINE CORBA::Any &
CORBA::Request::add_out_arg (const CORBA::Char *name)
{
return this->args_->add_item (name, CORBA::ARG_OUT)->any_;
}
ACE_INLINE void
CORBA::Request::set_return_type (CORBA::TypeCode_ptr tc)
{
this->result_->any_._tao_set_typecode (tc);
}
ACE_INLINE CORBA::Any &
CORBA::Request::return_value (void )
{
return this->result_->any_;
}
ACE_INLINE CORBA::Context_ptr
CORBA::Request::ctx (void) const
{
return this->ctx_;
}
ACE_INLINE void
CORBA::Request::ctx (CORBA::Context_ptr ctx)
{
this->ctx_ = ctx;
}
ACE_INLINE void
CORBA::Request::_tao_lazy_evaluation (bool lazy_evaluation)
{
this->lazy_evaluation_ = lazy_evaluation;
}
ACE_INLINE int
CORBA::Request::_tao_byte_order (void) const
{
return this->byte_order_;
}
ACE_INLINE void
CORBA::Request::_tao_byte_order (int byte_order)
{
this->byte_order_ = byte_order;
}
ACE_INLINE void
CORBA::Request::raw_user_exception (TAO_InputCDR &cdr)
{
this->raw_user_exception_.set (cdr.start ()->rd_ptr (),
cdr.start ()->length (),
1);
}
ACE_INLINE ACE_CString &
CORBA::Request::raw_user_exception (void)
{
return this->raw_user_exception_;
}
ACE_INLINE CORBA::Boolean
CORBA::Request::response_received (void)
{
ACE_GUARD_RETURN (TAO_SYNCH_MUTEX,
ace_mon,
this->lock_,
false);
return this->response_received_;
}
TAO_END_VERSIONED_NAMESPACE_DECL
|