ifr_basec.cpp
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C++ 代码 · 共 2,607 行 · 第 1/5 页
CPP
2,607 行
TAO::Arg_Traits<CORBA::Container>::ret_val _tao_retval;
TAO::Argument *_tao_signature [] =
{
&_tao_retval
};
TAO::Invocation_Adapter _tao_call (
this,
_tao_signature,
1,
"_get_defined_in",
15,
this->the_TAO_Contained_Proxy_Broker_
);
_tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (_tao_retval.excp ());
return _tao_retval.retn ();
}
// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78
char * CORBA::Contained::absolute_name (
ACE_ENV_SINGLE_ARG_DECL
)
ACE_THROW_SPEC ((
CORBA::SystemException
))
{
if (!this->is_evaluated ())
{
ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
}
if (this->the_TAO_Contained_Proxy_Broker_ == 0)
{
CORBA_Contained_setup_collocation (
this->ACE_NESTED_CLASS (CORBA, Object)::_is_collocated ()
);
}
TAO::Arg_Traits<CORBA::ScopedName>::ret_val _tao_retval;
TAO::Argument *_tao_signature [] =
{
&_tao_retval
};
TAO::Invocation_Adapter _tao_call (
this,
_tao_signature,
1,
"_get_absolute_name",
18,
this->the_TAO_Contained_Proxy_Broker_
);
_tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (_tao_retval.excp ());
return _tao_retval.retn ();
}
// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78
::CORBA::Repository_ptr CORBA::Contained::containing_repository (
ACE_ENV_SINGLE_ARG_DECL
)
ACE_THROW_SPEC ((
CORBA::SystemException
))
{
if (!this->is_evaluated ())
{
ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
}
if (this->the_TAO_Contained_Proxy_Broker_ == 0)
{
CORBA_Contained_setup_collocation (
this->ACE_NESTED_CLASS (CORBA, Object)::_is_collocated ()
);
}
TAO::Arg_Traits<CORBA::Repository>::ret_val _tao_retval;
TAO::Argument *_tao_signature [] =
{
&_tao_retval
};
TAO::Invocation_Adapter _tao_call (
this,
_tao_signature,
1,
"_get_containing_repository",
26,
this->the_TAO_Contained_Proxy_Broker_
);
_tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (_tao_retval.excp ());
return _tao_retval.retn ();
}
// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:284
static const CORBA::Long _oc_CORBA_Contained_Description[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
44,
ACE_NTOHL (0x49444c3a),
ACE_NTOHL (0x6f6d672e),
ACE_NTOHL (0x6f72672f),
ACE_NTOHL (0x434f5242),
ACE_NTOHL (0x412f436f),
ACE_NTOHL (0x6e746169),
ACE_NTOHL (0x6e65642f),
ACE_NTOHL (0x44657363),
ACE_NTOHL (0x72697074),
ACE_NTOHL (0x696f6e3a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/CORBA/Contained/Description:1.0
12,
ACE_NTOHL (0x44657363),
ACE_NTOHL (0x72697074),
ACE_NTOHL (0x696f6e00), // name = Description
2, // member count
5,
ACE_NTOHL (0x6b696e64),
ACE_NTOHL (0x0), // name = kind
CORBA::tk_enum, // typecode kind
684, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
37,
ACE_NTOHL (0x49444c3a),
ACE_NTOHL (0x6f6d672e),
ACE_NTOHL (0x6f72672f),
ACE_NTOHL (0x434f5242),
ACE_NTOHL (0x412f4465),
ACE_NTOHL (0x66696e69),
ACE_NTOHL (0x74696f6e),
ACE_NTOHL (0x4b696e64),
ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:omg.org/CORBA/DefinitionKind:1.0
15,
ACE_NTOHL (0x44656669),
ACE_NTOHL (0x6e697469),
ACE_NTOHL (0x6f6e4b69),
ACE_NTOHL (0x6e640000), // name = DefinitionKind
36, // member count
8,
ACE_NTOHL (0x646b5f6e),
ACE_NTOHL (0x6f6e6500), // name = dk_none
7,
ACE_NTOHL (0x646b5f61),
ACE_NTOHL (0x6c6c0000), // name = dk_all
13,
ACE_NTOHL (0x646b5f41),
ACE_NTOHL (0x74747269),
ACE_NTOHL (0x62757465),
ACE_NTOHL (0x0), // name = dk_Attribute
12,
ACE_NTOHL (0x646b5f43),
ACE_NTOHL (0x6f6e7374),
ACE_NTOHL (0x616e7400), // name = dk_Constant
13,
ACE_NTOHL (0x646b5f45),
ACE_NTOHL (0x78636570),
ACE_NTOHL (0x74696f6e),
ACE_NTOHL (0x0), // name = dk_Exception
13,
ACE_NTOHL (0x646b5f49),
ACE_NTOHL (0x6e746572),
ACE_NTOHL (0x66616365),
ACE_NTOHL (0x0), // name = dk_Interface
10,
ACE_NTOHL (0x646b5f4d),
ACE_NTOHL (0x6f64756c),
ACE_NTOHL (0x65000000), // name = dk_Module
13,
ACE_NTOHL (0x646b5f4f),
ACE_NTOHL (0x70657261),
ACE_NTOHL (0x74696f6e),
ACE_NTOHL (0x0), // name = dk_Operation
11,
ACE_NTOHL (0x646b5f54),
ACE_NTOHL (0x79706564),
ACE_NTOHL (0x65660000), // name = dk_Typedef
9,
ACE_NTOHL (0x646b5f41),
ACE_NTOHL (0x6c696173),
ACE_NTOHL (0x0), // name = dk_Alias
10,
ACE_NTOHL (0x646b5f53),
ACE_NTOHL (0x74727563),
ACE_NTOHL (0x74000000), // name = dk_Struct
9,
ACE_NTOHL (0x646b5f55),
ACE_NTOHL (0x6e696f6e),
ACE_NTOHL (0x0), // name = dk_Union
8,
ACE_NTOHL (0x646b5f45),
ACE_NTOHL (0x6e756d00), // name = dk_Enum
13,
ACE_NTOHL (0x646b5f50),
ACE_NTOHL (0x72696d69),
ACE_NTOHL (0x74697665),
ACE_NTOHL (0x0), // name = dk_Primitive
10,
ACE_NTOHL (0x646b5f53),
ACE_NTOHL (0x7472696e),
ACE_NTOHL (0x67000000), // name = dk_String
12,
ACE_NTOHL (0x646b5f53),
ACE_NTOHL (0x65717565),
ACE_NTOHL (0x6e636500), // name = dk_Sequence
9,
ACE_NTOHL (0x646b5f41),
ACE_NTOHL (0x72726179),
ACE_NTOHL (0x0), // name = dk_Array
14,
ACE_NTOHL (0x646b5f52),
ACE_NTOHL (0x65706f73),
ACE_NTOHL (0x69746f72),
ACE_NTOHL (0x79000000), // name = dk_Repository
11,
ACE_NTOHL (0x646b5f57),
ACE_NTOHL (0x73747269),
ACE_NTOHL (0x6e670000), // name = dk_Wstring
9,
ACE_NTOHL (0x646b5f46),
ACE_NTOHL (0x69786564),
ACE_NTOHL (0x0), // name = dk_Fixed
9,
ACE_NTOHL (0x646b5f56),
ACE_NTOHL (0x616c7565),
ACE_NTOHL (0x0), // name = dk_Value
12,
ACE_NTOHL (0x646b5f56),
ACE_NTOHL (0x616c7565),
ACE_NTOHL (0x426f7800), // name = dk_ValueBox
15,
ACE_NTOHL (0x646b5f56),
ACE_NTOHL (0x616c7565),
ACE_NTOHL (0x4d656d62),
ACE_NTOHL (0x65720000), // name = dk_ValueMember
10,
ACE_NTOHL (0x646b5f4e),
ACE_NTOHL (0x61746976),
ACE_NTOHL (0x65000000), // name = dk_Native
21,
ACE_NTOHL (0x646b5f41),
ACE_NTOHL (0x62737472),
ACE_NTOHL (0x61637449),
ACE_NTOHL (0x6e746572),
ACE_NTOHL (0x66616365),
ACE_NTOHL (0x0), // name = dk_AbstractInterface
18,
ACE_NTOHL (0x646b5f4c),
ACE_NTOHL (0x6f63616c),
ACE_NTOHL (0x496e7465),
ACE_NTOHL (0x72666163),
ACE_NTOHL (0x65000000), // name = dk_LocalInterface
13,
ACE_NTOHL (0x646b5f43),
ACE_NTOHL (0x6f6d706f),
ACE_NTOHL (0x6e656e74),
ACE_NTOHL (0x0), // name = dk_Component
8,
ACE_NTOHL (0x646b5f48),
ACE_NTOHL (0x6f6d6500), // name = dk_Home
11,
ACE_NTOHL (0x646b5f46),
ACE_NTOHL (0x6163746f),
ACE_NTOHL (0x72790000), // name = dk_Factory
10,
ACE_NTOHL (0x646b5f46),
ACE_NTOHL (0x696e6465),
ACE_NTOHL (0x72000000), // name = dk_Finder
9,
ACE_NTOHL (0x646b5f45),
ACE_NTOHL (0x6d697473),
ACE_NTOHL (0x0), // name = dk_Emits
13,
ACE_NTOHL (0x646b5f50),
ACE_NTOHL (0x75626c69),
ACE_NTOHL (0x73686573),
ACE_NTOHL (0x0), // name = dk_Publishes
12,
ACE_NTOHL (0x646b5f43),
ACE_NTOHL (0x6f6e7375),
ACE_NTOHL (0x6d657300), // name = dk_Consumes
12,
ACE_NTOHL (0x646b5f50),
ACE_NTOHL (0x726f7669),
ACE_NTOHL (0x64657300), // name = dk_Provides
8,
ACE_NTOHL (0x646b5f55),
ACE_NTOHL (0x73657300), // name = dk_Uses
9,
ACE_NTOHL (0x646b5f45),
ACE_NTOHL (0x76656e74),
ACE_NTOHL (0x0), // name = dk_Event
6,
ACE_NTOHL (0x76616c75),
ACE_NTOHL (0x65000000), // name = value
CORBA::tk_any,
};
static CORBA::TypeCode _tc_TAO_tc_CORBA_Contained_Description (
CORBA::tk_struct,
sizeof (_oc_CORBA_Contained_Description),
(char *) &_oc_CORBA_Contained_Description,
0,
sizeof (CORBA::Contained::Description)
);
::CORBA::TypeCode_ptr CORBA::Contained::_tc_Description =
&_tc_TAO_tc_CORBA_Contained_Description;
// TAO_IDL - Generated from
// be/be_visitor_structure/structure_cs.cpp:66
void
CORBA::Contained::Description::_tao_any_destructor (
void *_tao_void_pointer
)
{
Description *_tao_tmp_pointer =
ACE_static_cast (Description *, _tao_void_pointer);
delete _tao_tmp_pointer;
}
// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78
::CORBA::Contained::Description * CORBA::Contained::describe (
ACE_ENV_SINGLE_ARG_DECL
)
ACE_THROW_SPEC ((
CORBA::SystemException
))
{
if (!this->is_evaluated ())
{
ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
}
if (this->the_TAO_Contained_Proxy_Broker_ == 0)
{
CORBA_Contained_setup_collocation (
this->ACE_NESTED_CLASS (CORBA, Object)::_is_collocated ()
);
}
TAO::Arg_Traits<CORBA::Contained::Description>::ret_val _tao_retval;
TAO::Argument *_tao_signature [] =
{
&_tao_retval
};
TAO::Invocation_Adapter _tao_call (
this,
_tao_signature,
1,
"describe",
8,
this->the_TAO_Contained_Proxy_Broker_
);
_tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (_tao_retval.excp ());
return _tao_retval.retn ();
}
// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78
void CORBA::Contained::move (
CORBA::Container_ptr new_container,
const char * new_name,
const char * new_version
ACE_ENV_ARG_DECL
)
ACE_THROW_SPEC ((
CORBA::SystemException
))
{
if (!this->is_evaluated ())
{
ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
}
if (this->the_TAO_Contained_Proxy_Broker_ == 0)
{
CORBA_Contained_setup_collocation (
this->ACE_NESTED_CLASS (CORBA, Object)::_is_collocated ()
);
}
TAO::Arg_Traits<void>::ret_val _tao_retval;
TAO::Arg_Traits<CORBA::Container>::in_arg_val _tao_new_container (new_container);
TAO::Arg_Traits<CORBA::Identifier>::in_arg_val _tao_new_name (new_name);
TAO::Arg_Traits<CORBA::VersionSpec>::in_arg_val _tao_new_version (new_version);
TAO::Argument *_tao_signature [] =
{
&_tao_retval,
&_tao_new_container,
&_tao_new_name,
&_tao_new_version
};
TAO::Invocation_Adapter _tao_call (
this,
_tao_signature,
4,
"move",
4,
this->the_TAO_Contained_Proxy_Broker_
);
_tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
ACE_CHECK;
}
CORBA::Contained::Contained (int collocated)
: the_TAO_Contained_Proxy_Broker_ (0)
{
this->CORBA_Contained_setup_collocation (collocated);
}
void
CORBA::Contained::CORBA_Contained_setup_collocation (int collocated)
{
if (collocated)
{
this->the_TAO_Contained_Proxy_Broker_ =
::CORBA__TAO_Contained_Proxy_Broker_Factory_function_pointer (this);
}
this->CORBA_IRObject_setup_collocation (collocated);
}
CORBA::Contained::~Contained (void)
{}
void
CORBA::Contained::_tao_any_destructor (void *_tao_void_pointer)
{
Contained *_tao_tmp_pointer =
ACE_static_cast (Contained *, _tao_void_pointer);
CORBA::release (_tao_tmp_pointer);
}
CORBA::Contained_ptr
CORBA::Contained::_narrow (
CORBA::Object_ptr _tao_objref
ACE_ENV_ARG_DECL
)
{
return
TAO::Narrow_Utils<Contained>::narrow (
_tao_objref,
"IDL:omg.org/CORBA/Contained:1.0",
CORBA__TAO_Contained_Proxy_Broker_Factory_function_pointer
ACE_ENV_ARG_PARAMETER
);
}
CORBA::Contained_ptr
CORBA::Contained::_unchecked_narrow (
CORBA::Object_ptr _tao_objref
ACE_ENV_ARG_DECL
)
{
return
TAO::Narrow_Utils<Contained>::unchecked_narrow (
_tao_objref,
"IDL:omg.org/CORBA/Contained:1.0",
CORBA__TAO_Contained_Proxy_Broker_Factory_function_pointer
ACE_ENV_ARG_PARAMETER
);
}
CORBA::Contained_ptr
CORBA::Contained::_duplicate (Contained_ptr obj)
{
if (! CORBA::is_nil (obj))
{
obj->_add_ref ();
}
return obj;
}
CORBA::Boolean
CORBA::Contained::_is_a (
const char *value
ACE_ENV_ARG_DECL
)
{
if (
!ACE_OS::strcmp (
(char *)value,
"IDL:omg.org/CORBA/IRObject:1.0"
) ||
!ACE_OS::strcmp (
(char *)value,
"IDL:omg.org/CORBA/Contained:1.0"
) ||
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?