summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TAO/ChangeLog-98c36
-rw-r--r--TAO/TAO_IDL/be/be_scope.cpp44
-rw-r--r--TAO/TAO_IDL/be/be_structure.cpp5
-rw-r--r--TAO/TAO_IDL/be/be_typedef.cpp1
-rw-r--r--TAO/orbsvcs/lib/CosNamingC.cpp1808
-rw-r--r--TAO/orbsvcs/lib/CosNamingS.cpp18
-rw-r--r--TAO/orbsvcs/lib/RtecEventChannelAdmin.idl12
-rw-r--r--TAO/orbsvcs/lib/RtecEventChannelAdminC.cpp2191
-rw-r--r--TAO/orbsvcs/lib/RtecEventChannelAdminC.h186
-rw-r--r--TAO/orbsvcs/lib/RtecEventChannelAdminC.i374
-rw-r--r--TAO/orbsvcs/lib/RtecEventChannelAdminS.cpp189
-rw-r--r--TAO/orbsvcs/lib/RtecEventChannelAdminS.h30
-rw-r--r--TAO/orbsvcs/lib/RtecEventChannelAdminS.i10
-rw-r--r--TAO/orbsvcs/lib/RtecEventComm.idl11
-rw-r--r--TAO/orbsvcs/lib/RtecEventCommC.cpp933
-rw-r--r--TAO/orbsvcs/lib/RtecEventCommC.h188
-rw-r--r--TAO/orbsvcs/lib/RtecEventCommC.i374
-rw-r--r--TAO/orbsvcs/lib/RtecEventCommS.cpp182
-rw-r--r--TAO/orbsvcs/lib/RtecEventCommS.h36
-rw-r--r--TAO/orbsvcs/lib/RtecEventCommS.i10
-rw-r--r--TAO/orbsvcs/lib/RtecSchedulerC.cpp1824
-rw-r--r--TAO/orbsvcs/lib/RtecSchedulerS.cpp3
22 files changed, 3477 insertions, 4988 deletions
diff --git a/TAO/ChangeLog-98c b/TAO/ChangeLog-98c
index c6d949a796d..22dd253824f 100644
--- a/TAO/ChangeLog-98c
+++ b/TAO/ChangeLog-98c
@@ -1,3 +1,39 @@
+Mon Nov 17 01:48:17 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
+
+ * TAO_IDL/be/be_scope.cpp:
+ TypeCode generation was failing for imported members.
+
+ * TAO_IDL/be/be_structure.cpp:
+ Member count must include all members, imported or not.
+
+ * TAO_IDL/be/be_typedef.cpp:
+ Added missing decr_indent() in the typecode generation which was
+ making the generated code completely unreadable.
+
+ * orbsvcs/lib/RtecEventChannelAdmin.idl:
+ * orbsvcs/lib/RtecEventComm.idl:
+ Removed the PullConsumer and PullSupplier classes, they are not
+ supported.
+
+ * orbsvcs/lib/CosNamingC.cpp:
+ * orbsvcs/lib/CosNamingS.cpp:
+ * orbsvcs/lib/RtecEventChannelAdminC.cpp:
+ * orbsvcs/lib/RtecEventChannelAdminC.h:
+ * orbsvcs/lib/RtecEventChannelAdminC.i:
+ * orbsvcs/lib/RtecEventChannelAdminS.cpp:
+ * orbsvcs/lib/RtecEventChannelAdminS.h:
+ * orbsvcs/lib/RtecEventChannelAdminS.i:
+ * orbsvcs/lib/RtecEventCommC.cpp:
+ * orbsvcs/lib/RtecEventCommC.h:
+ * orbsvcs/lib/RtecEventCommC.i:
+ * orbsvcs/lib/RtecEventCommS.cpp:
+ * orbsvcs/lib/RtecEventCommS.h:
+ * orbsvcs/lib/RtecEventCommS.i:
+ * orbsvcs/lib/RtecSchedulerC.cpp:
+ * orbsvcs/lib/RtecSchedulerS.cpp:
+ New version of the generated files, this last version is almost
+ making in it, but still needs hand crafting.
+
Sun Nov 16 23:30:26 1997 Sergio Flores <sergio@tango.cs.wustl.edu>
* orbsvcs/tests/Logger/svr.cpp (main):
diff --git a/TAO/TAO_IDL/be/be_scope.cpp b/TAO/TAO_IDL/be/be_scope.cpp
index 47920cb8499..ac49c68cf48 100644
--- a/TAO/TAO_IDL/be/be_scope.cpp
+++ b/TAO/TAO_IDL/be/be_scope.cpp
@@ -323,15 +323,13 @@ be_scope::gen_encapsulation (void)
{
// get the next AST decl node
d = si->item ();
- if (!d->imported ())
+
+ bd = be_decl::narrow_from_decl (d);
+ if (bd->gen_encapsulation () == -1)
{
- bd = be_decl::narrow_from_decl (d);
- if (bd->gen_encapsulation () == -1)
- {
- // failure
- return -1;
- }
- }
+ // failure
+ return -1;
+ }
si->next ();
} // end of while
delete si; // free the iterator object
@@ -358,25 +356,21 @@ be_scope::tc_encap_len (void)
{
// get the next AST decl node
d = si->item ();
- if (!d->imported ())
- {
- // we are not imported.
- // NOTE: Our assumptin here is that whatever scope we are in, the
- // node type that shows up here *MUST* be valid according to the
- // IDL grammar. We do not check for this since the front end must
- // have taken care of weeding out such errors
+ // NOTE: Our assumptin here is that whatever scope we are in, the
+ // node type that shows up here *MUST* be valid according to the
+ // IDL grammar. We do not check for this since the front end must
+ // have taken care of weeding out such errors
- bd = be_decl::narrow_from_decl (d);
- if (bd != 0)
- {
- encap_len += bd->tc_encap_len ();
- }
- else
- {
- ACE_DEBUG ((LM_DEBUG, "WARNING (%N:%l): "
- "narrow_from_decl returned 0\n"));
- }
+ bd = be_decl::narrow_from_decl (d);
+ if (bd != 0)
+ {
+ encap_len += bd->tc_encap_len ();
+ }
+ else
+ {
+ ACE_DEBUG ((LM_DEBUG, "WARNING (%N:%l): "
+ "narrow_from_decl returned 0\n"));
}
si->next ();
} // end of while
diff --git a/TAO/TAO_IDL/be/be_structure.cpp b/TAO/TAO_IDL/be/be_structure.cpp
index 0efbdef1eb4..eef770bbcc2 100644
--- a/TAO/TAO_IDL/be/be_structure.cpp
+++ b/TAO/TAO_IDL/be/be_structure.cpp
@@ -54,10 +54,7 @@ be_structure::compute_member_count (void)
{
// get the next AST decl node
d = si->item ();
- if (!d->imported ())
- {
- this->member_count_++;
- }
+ this->member_count_++;
si->next ();
} // end of while
delete si; // free the iterator object
diff --git a/TAO/TAO_IDL/be/be_typedef.cpp b/TAO/TAO_IDL/be/be_typedef.cpp
index c55aa2f3738..ed1beb59f17 100644
--- a/TAO/TAO_IDL/be/be_typedef.cpp
+++ b/TAO/TAO_IDL/be/be_typedef.cpp
@@ -227,6 +227,7 @@ be_typedef::gen_typecode (void)
{
return -1;
}
+ cs->decr_indent (0);
return 0;
}
diff --git a/TAO/orbsvcs/lib/CosNamingC.cpp b/TAO/orbsvcs/lib/CosNamingC.cpp
index edf4e185fed..5b14dd413d6 100644
--- a/TAO/orbsvcs/lib/CosNamingC.cpp
+++ b/TAO/orbsvcs/lib/CosNamingC.cpp
@@ -30,972 +30,972 @@ static const CORBA::Long _oc_CosNaming_NameComponent[] =
2, // member count
3, 0x69640000, // name = id
CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
+ 56, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4973, 0x7472696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Istring:1.0
8, 0x49737472, 0x696e6700, // name = Istring
CORBA::tk_string,
0, // string length
- 5, 0x6b696e64, 0x0, // name = kind
+ 5, 0x6b696e64, 0x0, // name = kind
+ CORBA::tk_alias, // typecode kind for typedefs
+ 56, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4973, 0x7472696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Istring:1.0
+ 8, 0x49737472, 0x696e6700, // name = Istring
+ CORBA::tk_string,
+ 0, // string length
+ };
+static CORBA::TypeCode _tc__tc_CosNaming_NameComponent (CORBA::tk_struct, sizeof (_oc_CosNaming_NameComponent), (unsigned char *) &_oc_CosNaming_NameComponent, CORBA::B_FALSE);
+CORBA::TypeCode_ptr CosNaming::_tc_NameComponent = &_tc__tc_CosNaming_NameComponent;
+
+// *************************************************************
+// class CosNaming::_tao__seq_Name
+// *************************************************************
+
+// copy constructor
+CosNaming::_tao__seq_Name::_tao__seq_Name (const CosNaming::_tao__seq_Name &seq)
+ : maximum_ (seq.maximum_),
+ length_ (seq.length_),
+ buffer_ (CosNaming::_tao__seq_Name::allocbuf (seq.maximum_)),
+ release_ (1) // we always own it
+{
+ for (CORBA::ULong i=0; i < seq.length_; i++)
+ this->buffer_[i] = seq.buffer_[i];
+}
+
+// destructor
+CosNaming::_tao__seq_Name::~_tao__seq_Name (void)
+{
+ if (this->release_) // we own the buffer
+ {
+ CosNaming::_tao__seq_Name::freebuf (this->buffer_);
+ }
+}
+
+// assignment operator
+CosNaming::_tao__seq_Name&
+CosNaming::_tao__seq_Name::operator= (const CosNaming::_tao__seq_Name &seq)
+{
+ if (this == &seq) return *this;
+ if (this->release_)
+ {
+ CosNaming::_tao__seq_Name::freebuf (this->buffer_);
+ }
+ this->length_ = seq.length_;
+ this->maximum_ = seq.maximum_;
+ this->buffer_ = CosNaming::_tao__seq_Name::allocbuf (seq.maximum_),
+ this->release_ =1; // we always own it
+ for (CORBA::ULong i=0; i < seq.length_; i++)
+ this->buffer_[i] = seq.buffer_[i];
+ return *this;
+}
+
+void
+CosNaming::_tao__seq_Name::length (CORBA::ULong length)
+{
+ if (length > this->maximum_)
+ {
+ CosNaming::NameComponent *tmp = CosNaming::_tao__seq_Name::allocbuf (length);
+ if (tmp == 0)
+ return;
+ for (int i = 0; i < this->length_; ++i)
+ {
+ tmp[i] = this->buffer_[i];
+ }
+ if (this->release_)
+ CosNaming::_tao__seq_Name::freebuf (this->buffer_);
+ this->buffer_ = tmp;
+ this->release_ = 1;
+
+ this->length_ = length;
+this->maximum_ = length;
+ }
+}
+
+static const CORBA::Long _oc_CosNaming__tao__seq_Name[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 212, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 32, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d65436f, 0x6d706f6e, 0x656e743a, 0x312e3000, // repository ID = IDL:CosNaming/NameComponent:1.0
+ 14, 0x4e616d65, 0x436f6d70, 0x6f6e656e, 0x74000000, // name = NameComponent
+ 2, // member count
+ 3, 0x69640000, // name = id
CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
+ 56, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4973, 0x7472696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Istring:1.0
8, 0x49737472, 0x696e6700, // name = Istring
CORBA::tk_string,
0, // string length
- };
- static CORBA::TypeCode _tc__tc_CosNaming_NameComponent (CORBA::tk_struct, sizeof (_oc_CosNaming_NameComponent), (unsigned char *) &_oc_CosNaming_NameComponent, CORBA::B_FALSE);
- CORBA::TypeCode_ptr CosNaming::_tc_NameComponent = &_tc__tc_CosNaming_NameComponent;
-
-// *************************************************************
- // class CosNaming::_tao__seq_Name
- // *************************************************************
-
- // copy constructor
- CosNaming::_tao__seq_Name::_tao__seq_Name (const CosNaming::_tao__seq_Name &seq)
- : maximum_ (seq.maximum_),
- length_ (seq.length_),
- buffer_ (CosNaming::_tao__seq_Name::allocbuf (seq.maximum_)),
- release_ (1) // we always own it
- {
- for (CORBA::ULong i=0; i < seq.length_; i++)
- this->buffer_[i] = seq.buffer_[i];
- }
+ 5, 0x6b696e64, 0x0, // name = kind
+ CORBA::tk_alias, // typecode kind for typedefs
+ 56, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4973, 0x7472696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Istring:1.0
+ 8, 0x49737472, 0x696e6700, // name = Istring
+ CORBA::tk_string,
+ 0, // string length
+ 0,
+};
+static CORBA::TypeCode _tc__tc_CosNaming__tao__seq_Name (CORBA::tk_sequence, sizeof (_oc_CosNaming__tao__seq_Name), (unsigned char *) &_oc_CosNaming__tao__seq_Name, CORBA::B_FALSE);
+CORBA::TypeCode_ptr CosNaming::_tc__tao__seq_Name = &_tc__tc_CosNaming__tao__seq_Name;
- // destructor
- CosNaming::_tao__seq_Name::~_tao__seq_Name (void)
- {
- if (this->release_) // we own the buffer
- {
- CosNaming::_tao__seq_Name::freebuf (this->buffer_);
- }
- }
+static const CORBA::Long _oc_CosNaming_Name[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 23, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d653a31, 0x2e300000, // repository ID = IDL:CosNaming/Name:1.0
+ 5, 0x4e616d65, 0x0, // name = Name
+ CORBA::tk_sequence, // typecode kind
+ 236, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 212, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 32, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d65436f, 0x6d706f6e, 0x656e743a, 0x312e3000, // repository ID = IDL:CosNaming/NameComponent:1.0
+ 14, 0x4e616d65, 0x436f6d70, 0x6f6e656e, 0x74000000, // name = NameComponent
+ 2, // member count
+ 3, 0x69640000, // name = id
+ CORBA::tk_alias, // typecode kind for typedefs
+ 56, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4973, 0x7472696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Istring:1.0
+ 8, 0x49737472, 0x696e6700, // name = Istring
+ CORBA::tk_string,
+ 0, // string length
+ 5, 0x6b696e64, 0x0, // name = kind
+ CORBA::tk_alias, // typecode kind for typedefs
+ 56, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4973, 0x7472696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Istring:1.0
+ 8, 0x49737472, 0x696e6700, // name = Istring
+ CORBA::tk_string,
+ 0, // string length
+ 0,
+};
+static CORBA::TypeCode _tc__tc_CosNaming_Name (CORBA::tk_alias, sizeof (_oc_CosNaming_Name), (unsigned char *) &_oc_CosNaming_Name, CORBA::B_FALSE);
+CORBA::TypeCode_ptr CosNaming::_tc_Name = &_tc__tc_CosNaming_Name;
- // assignment operator
- CosNaming::_tao__seq_Name&
- CosNaming::_tao__seq_Name::operator= (const CosNaming::_tao__seq_Name &seq)
- {
- if (this == &seq) return *this;
- if (this->release_)
- {
- CosNaming::_tao__seq_Name::freebuf (this->buffer_);
- }
- this->length_ = seq.length_;
- this->maximum_ = seq.maximum_;
- this->buffer_ = CosNaming::_tao__seq_Name::allocbuf (seq.maximum_),
- this->release_ =1; // we always own it
- for (CORBA::ULong i=0; i < seq.length_; i++)
- this->buffer_[i] = seq.buffer_[i];
- return *this;
- }
- void
- CosNaming::_tao__seq_Name::length (CORBA::ULong length)
- {
- if (length > this->maximum_)
- {
- CosNaming::NameComponent *tmp = CosNaming::_tao__seq_Name::allocbuf (length);
- if (tmp == 0)
- return;
- for (int i = 0; i < this->length_; ++i)
- {
- tmp[i] = this->buffer_[i];
- }
- if (this->release_)
- CosNaming::_tao__seq_Name::freebuf (this->buffer_);
- this->buffer_ = tmp;
- this->release_ = 1;
-
- this->length_ = length;
-this->maximum_ = length;
- }
- }
+static const CORBA::Long _oc_CosNaming_BindingType[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 30, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4269, 0x6e64696e, 0x67547970, 0x653a312e, 0x30000000, // repository ID = IDL:CosNaming/BindingType:1.0
+ 12, 0x42696e64, 0x696e6754, 0x79706500, // name = BindingType
+ 2, // member count
+ 8, 0x6e6f626a, 0x65637400, // name = nobject
+ 9, 0x6e636f6e, 0x74657874, 0x0, // name = ncontext
+};
+static CORBA::TypeCode _tc__tc_CosNaming_BindingType (CORBA::tk_enum, sizeof (_oc_CosNaming_BindingType), (unsigned char *) &_oc_CosNaming_BindingType, CORBA::B_FALSE);
+CORBA::TypeCode_ptr CosNaming::_tc_BindingType = &_tc__tc_CosNaming_BindingType;
- static const CORBA::Long _oc_CosNaming__tao__seq_Name[] =
- {
+static const CORBA::Long _oc_CosNaming_Binding[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4269, 0x6e64696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Binding:1.0
+ 8, 0x42696e64, 0x696e6700, // name = Binding
+ 2, // member count
+ 13, 0x62696e64, 0x696e675f, 0x6e616d65, 0x0, // name = binding_name
+ CORBA::tk_alias, // typecode kind for typedefs
+ 280, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 23, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d653a31, 0x2e300000, // repository ID = IDL:CosNaming/Name:1.0
+ 5, 0x4e616d65, 0x0, // name = Name
+ CORBA::tk_sequence, // typecode kind
+ 236, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
CORBA::tk_struct, // typecode kind
- 196, // encapsulation length
+ 212, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
32, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d65436f, 0x6d706f6e, 0x656e743a, 0x312e3000, // repository ID = IDL:CosNaming/NameComponent:1.0
14, 0x4e616d65, 0x436f6d70, 0x6f6e656e, 0x74000000, // name = NameComponent
2, // member count
3, 0x69640000, // name = id
CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
+ 56, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4973, 0x7472696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Istring:1.0
8, 0x49737472, 0x696e6700, // name = Istring
CORBA::tk_string,
0, // string length
- 5, 0x6b696e64, 0x0, // name = kind
+ 5, 0x6b696e64, 0x0, // name = kind
+ CORBA::tk_alias, // typecode kind for typedefs
+ 56, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4973, 0x7472696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Istring:1.0
+ 8, 0x49737472, 0x696e6700, // name = Istring
+ CORBA::tk_string,
+ 0, // string length
+ 0,
+ 13, 0x62696e64, 0x696e675f, 0x74797065, 0x0, // name = binding_type
+ CORBA::tk_enum, // typecode kind
+ 88, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 30, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4269, 0x6e64696e, 0x67547970, 0x653a312e, 0x30000000, // repository ID = IDL:CosNaming/BindingType:1.0
+ 12, 0x42696e64, 0x696e6754, 0x79706500, // name = BindingType
+ 2, // member count
+ 8, 0x6e6f626a, 0x65637400, // name = nobject
+ 9, 0x6e636f6e, 0x74657874, 0x0, // name = ncontext
+};
+static CORBA::TypeCode _tc__tc_CosNaming_Binding (CORBA::tk_struct, sizeof (_oc_CosNaming_Binding), (unsigned char *) &_oc_CosNaming_Binding, CORBA::B_FALSE);
+CORBA::TypeCode_ptr CosNaming::_tc_Binding = &_tc__tc_CosNaming_Binding;
+
+// *************************************************************
+// class CosNaming::_tao__seq_BindingList
+// *************************************************************
+
+// copy constructor
+CosNaming::_tao__seq_BindingList::_tao__seq_BindingList (const CosNaming::_tao__seq_BindingList &seq)
+ : maximum_ (seq.maximum_),
+ length_ (seq.length_),
+ buffer_ (CosNaming::_tao__seq_BindingList::allocbuf (seq.maximum_)),
+ release_ (1) // we always own it
+{
+ for (CORBA::ULong i=0; i < seq.length_; i++)
+ this->buffer_[i] = seq.buffer_[i];
+}
+
+// destructor
+CosNaming::_tao__seq_BindingList::~_tao__seq_BindingList (void)
+{
+ if (this->release_) // we own the buffer
+ {
+ CosNaming::_tao__seq_BindingList::freebuf (this->buffer_);
+ }
+}
+
+// assignment operator
+CosNaming::_tao__seq_BindingList&
+CosNaming::_tao__seq_BindingList::operator= (const CosNaming::_tao__seq_BindingList &seq)
+{
+ if (this == &seq) return *this;
+ if (this->release_)
+ {
+ CosNaming::_tao__seq_BindingList::freebuf (this->buffer_);
+ }
+ this->length_ = seq.length_;
+ this->maximum_ = seq.maximum_;
+ this->buffer_ = CosNaming::_tao__seq_BindingList::allocbuf (seq.maximum_),
+ this->release_ =1; // we always own it
+ for (CORBA::ULong i=0; i < seq.length_; i++)
+ this->buffer_[i] = seq.buffer_[i];
+ return *this;
+}
+
+void
+CosNaming::_tao__seq_BindingList::length (CORBA::ULong length)
+{
+ if (length > this->maximum_)
+ {
+ CosNaming::Binding *tmp = CosNaming::_tao__seq_BindingList::allocbuf (length);
+ if (tmp == 0)
+ return;
+ for (int i = 0; i < this->length_; ++i)
+ {
+ tmp[i] = this->buffer_[i];
+ }
+ if (this->release_)
+ CosNaming::_tao__seq_BindingList::freebuf (this->buffer_);
+ this->buffer_ = tmp;
+ this->release_ = 1;
+
+ this->length_ = length;
+this->maximum_ = length;
+ }
+}
+
+static const CORBA::Long _oc_CosNaming__tao__seq_BindingList[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 476, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4269, 0x6e64696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Binding:1.0
+ 8, 0x42696e64, 0x696e6700, // name = Binding
+ 2, // member count
+ 13, 0x62696e64, 0x696e675f, 0x6e616d65, 0x0, // name = binding_name
+ CORBA::tk_alias, // typecode kind for typedefs
+ 280, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 23, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d653a31, 0x2e300000, // repository ID = IDL:CosNaming/Name:1.0
+ 5, 0x4e616d65, 0x0, // name = Name
+ CORBA::tk_sequence, // typecode kind
+ 236, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 212, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 32, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d65436f, 0x6d706f6e, 0x656e743a, 0x312e3000, // repository ID = IDL:CosNaming/NameComponent:1.0
+ 14, 0x4e616d65, 0x436f6d70, 0x6f6e656e, 0x74000000, // name = NameComponent
+ 2, // member count
+ 3, 0x69640000, // name = id
CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
+ 56, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4973, 0x7472696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Istring:1.0
8, 0x49737472, 0x696e6700, // name = Istring
CORBA::tk_string,
0, // string length
- 0,
- };
- static CORBA::TypeCode _tc__tc_CosNaming__tao__seq_Name (CORBA::tk_sequence, sizeof (_oc_CosNaming__tao__seq_Name), (unsigned char *) &_oc_CosNaming__tao__seq_Name, CORBA::B_FALSE);
- CORBA::TypeCode_ptr CosNaming::_tc__tao__seq_Name = &_tc__tc_CosNaming__tao__seq_Name;
-
- static const CORBA::Long _oc_CosNaming_Name[] =
- {
- TAO_ENCAP_BYTE_ORDER, // byte order
- 23, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d653a31, 0x2e300000, // repository ID = IDL:CosNaming/Name:1.0
- 5, 0x4e616d65, 0x0, // name = Name
- CORBA::tk_sequence, // typecode kind
- 212, // encapsulation length
+ 5, 0x6b696e64, 0x0, // name = kind
+ CORBA::tk_alias, // typecode kind for typedefs
+ 56, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4973, 0x7472696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Istring:1.0
+ 8, 0x49737472, 0x696e6700, // name = Istring
+ CORBA::tk_string,
+ 0, // string length
+ 0,
+ 13, 0x62696e64, 0x696e675f, 0x74797065, 0x0, // name = binding_type
+ CORBA::tk_enum, // typecode kind
+ 88, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 30, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4269, 0x6e64696e, 0x67547970, 0x653a312e, 0x30000000, // repository ID = IDL:CosNaming/BindingType:1.0
+ 12, 0x42696e64, 0x696e6754, 0x79706500, // name = BindingType
+ 2, // member count
+ 8, 0x6e6f626a, 0x65637400, // name = nobject
+ 9, 0x6e636f6e, 0x74657874, 0x0, // name = ncontext
+ 0,
+};
+static CORBA::TypeCode _tc__tc_CosNaming__tao__seq_BindingList (CORBA::tk_sequence, sizeof (_oc_CosNaming__tao__seq_BindingList), (unsigned char *) &_oc_CosNaming__tao__seq_BindingList, CORBA::B_FALSE);
+CORBA::TypeCode_ptr CosNaming::_tc__tao__seq_BindingList = &_tc__tc_CosNaming__tao__seq_BindingList;
+
+static const CORBA::Long _oc_CosNaming_BindingList[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 30, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4269, 0x6e64696e, 0x674c6973, 0x743a312e, 0x30000000, // repository ID = IDL:CosNaming/BindingList:1.0
+ 12, 0x42696e64, 0x696e674c, 0x69737400, // name = BindingList
+ CORBA::tk_sequence, // typecode kind
+ 500, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 476, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4269, 0x6e64696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Binding:1.0
+ 8, 0x42696e64, 0x696e6700, // name = Binding
+ 2, // member count
+ 13, 0x62696e64, 0x696e675f, 0x6e616d65, 0x0, // name = binding_name
+ CORBA::tk_alias, // typecode kind for typedefs
+ 280, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 23, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d653a31, 0x2e300000, // repository ID = IDL:CosNaming/Name:1.0
+ 5, 0x4e616d65, 0x0, // name = Name
+ CORBA::tk_sequence, // typecode kind
+ 236, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 212, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_struct, // typecode kind
- 196, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 32, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d65436f, 0x6d706f6e, 0x656e743a, 0x312e3000, // repository ID = IDL:CosNaming/NameComponent:1.0
- 14, 0x4e616d65, 0x436f6d70, 0x6f6e656e, 0x74000000, // name = NameComponent
- 2, // member count
- 3, 0x69640000, // name = id
- CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4973, 0x7472696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Istring:1.0
- 8, 0x49737472, 0x696e6700, // name = Istring
- CORBA::tk_string,
- 0, // string length
- 5, 0x6b696e64, 0x0, // name = kind
- CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4973, 0x7472696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Istring:1.0
- 8, 0x49737472, 0x696e6700, // name = Istring
- CORBA::tk_string,
- 0, // string length
- 0,
- };
- static CORBA::TypeCode _tc__tc_CosNaming_Name (CORBA::tk_alias, sizeof (_oc_CosNaming_Name), (unsigned char *) &_oc_CosNaming_Name, CORBA::B_FALSE);
- CORBA::TypeCode_ptr CosNaming::_tc_Name = &_tc__tc_CosNaming_Name;
-
-
- static const CORBA::Long _oc_CosNaming_BindingType[] =
- {
+ 32, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d65436f, 0x6d706f6e, 0x656e743a, 0x312e3000, // repository ID = IDL:CosNaming/NameComponent:1.0
+ 14, 0x4e616d65, 0x436f6d70, 0x6f6e656e, 0x74000000, // name = NameComponent
+ 2, // member count
+ 3, 0x69640000, // name = id
+ CORBA::tk_alias, // typecode kind for typedefs
+ 56, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
- 30, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4269, 0x6e64696e, 0x67547970, 0x653a312e, 0x30000000, // repository ID = IDL:CosNaming/BindingType:1.0
- 12, 0x42696e64, 0x696e6754, 0x79706500, // name = BindingType
- 2, // member count
- 8, 0x6e6f626a, 0x65637400, // name = nobject
- 9, 0x6e636f6e, 0x74657874, 0x0, // name = ncontext
- };
- static CORBA::TypeCode _tc__tc_CosNaming_BindingType (CORBA::tk_enum, sizeof (_oc_CosNaming_BindingType), (unsigned char *) &_oc_CosNaming_BindingType, CORBA::B_FALSE);
- CORBA::TypeCode_ptr CosNaming::_tc_BindingType = &_tc__tc_CosNaming_BindingType;
-
- static const CORBA::Long _oc_CosNaming_Binding[] =
- {
+ 26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4973, 0x7472696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Istring:1.0
+ 8, 0x49737472, 0x696e6700, // name = Istring
+ CORBA::tk_string,
+ 0, // string length
+ 5, 0x6b696e64, 0x0, // name = kind
+ CORBA::tk_alias, // typecode kind for typedefs
+ 56, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
- 26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4269, 0x6e64696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Binding:1.0
- 8, 0x42696e64, 0x696e6700, // name = Binding
- 2, // member count
- 13, 0x62696e64, 0x696e675f, 0x6e616d65, 0x0, // name = binding_name
- CORBA::tk_alias, // typecode kind for typedefs
- 248, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 23, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d653a31, 0x2e300000, // repository ID = IDL:CosNaming/Name:1.0
- 5, 0x4e616d65, 0x0, // name = Name
- CORBA::tk_sequence, // typecode kind
- 212, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_struct, // typecode kind
- 196, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 32, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d65436f, 0x6d706f6e, 0x656e743a, 0x312e3000, // repository ID = IDL:CosNaming/NameComponent:1.0
- 14, 0x4e616d65, 0x436f6d70, 0x6f6e656e, 0x74000000, // name = NameComponent
- 2, // member count
- 3, 0x69640000, // name = id
- CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4973, 0x7472696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Istring:1.0
- 8, 0x49737472, 0x696e6700, // name = Istring
- CORBA::tk_string,
- 0, // string length
- 5, 0x6b696e64, 0x0, // name = kind
- CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4973, 0x7472696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Istring:1.0
- 8, 0x49737472, 0x696e6700, // name = Istring
- CORBA::tk_string,
- 0, // string length
- 0,
- 13, 0x62696e64, 0x696e675f, 0x74797065, 0x0, // name = binding_type
- CORBA::tk_enum, // typecode kind
- 88, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 30, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4269, 0x6e64696e, 0x67547970, 0x653a312e, 0x30000000, // repository ID = IDL:CosNaming/BindingType:1.0
- 12, 0x42696e64, 0x696e6754, 0x79706500, // name = BindingType
- 2, // member count
- 8, 0x6e6f626a, 0x65637400, // name = nobject
- 9, 0x6e636f6e, 0x74657874, 0x0, // name = ncontext
- };
- static CORBA::TypeCode _tc__tc_CosNaming_Binding (CORBA::tk_struct, sizeof (_oc_CosNaming_Binding), (unsigned char *) &_oc_CosNaming_Binding, CORBA::B_FALSE);
- CORBA::TypeCode_ptr CosNaming::_tc_Binding = &_tc__tc_CosNaming_Binding;
+ 26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4973, 0x7472696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Istring:1.0
+ 8, 0x49737472, 0x696e6700, // name = Istring
+ CORBA::tk_string,
+ 0, // string length
+ 0,
+ 13, 0x62696e64, 0x696e675f, 0x74797065, 0x0, // name = binding_type
+ CORBA::tk_enum, // typecode kind
+ 88, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 30, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4269, 0x6e64696e, 0x67547970, 0x653a312e, 0x30000000, // repository ID = IDL:CosNaming/BindingType:1.0
+ 12, 0x42696e64, 0x696e6754, 0x79706500, // name = BindingType
+ 2, // member count
+ 8, 0x6e6f626a, 0x65637400, // name = nobject
+ 9, 0x6e636f6e, 0x74657874, 0x0, // name = ncontext
+ 0,
+};
+static CORBA::TypeCode _tc__tc_CosNaming_BindingList (CORBA::tk_alias, sizeof (_oc_CosNaming_BindingList), (unsigned char *) &_oc_CosNaming_BindingList, CORBA::B_FALSE);
+CORBA::TypeCode_ptr CosNaming::_tc_BindingList = &_tc__tc_CosNaming_BindingList;
+
+CosNaming::NamingContext_ptr CosNaming::NamingContext::_duplicate (CosNaming::NamingContext_ptr obj)
+{
+ if (!CORBA::is_nil (obj))
+ obj->AddRef ();
+
+ return obj;
+} // end of _duplicate
-// *************************************************************
- // class CosNaming::_tao__seq_BindingList
- // *************************************************************
-
- // copy constructor
- CosNaming::_tao__seq_BindingList::_tao__seq_BindingList (const CosNaming::_tao__seq_BindingList &seq)
- : maximum_ (seq.maximum_),
- length_ (seq.length_),
- buffer_ (CosNaming::_tao__seq_BindingList::allocbuf (seq.maximum_)),
- release_ (1) // we always own it
- {
- for (CORBA::ULong i=0; i < seq.length_; i++)
- this->buffer_[i] = seq.buffer_[i];
- }
-
- // destructor
- CosNaming::_tao__seq_BindingList::~_tao__seq_BindingList (void)
- {
- if (this->release_) // we own the buffer
- {
- CosNaming::_tao__seq_BindingList::freebuf (this->buffer_);
- }
- }
-
- // assignment operator
- CosNaming::_tao__seq_BindingList&
- CosNaming::_tao__seq_BindingList::operator= (const CosNaming::_tao__seq_BindingList &seq)
- {
- if (this == &seq) return *this;
- if (this->release_)
- {
- CosNaming::_tao__seq_BindingList::freebuf (this->buffer_);
- }
- this->length_ = seq.length_;
- this->maximum_ = seq.maximum_;
- this->buffer_ = CosNaming::_tao__seq_BindingList::allocbuf (seq.maximum_),
- this->release_ =1; // we always own it
- for (CORBA::ULong i=0; i < seq.length_; i++)
- this->buffer_[i] = seq.buffer_[i];
- return *this;
- }
-
- void
- CosNaming::_tao__seq_BindingList::length (CORBA::ULong length)
- {
- if (length > this->maximum_)
- {
- CosNaming::Binding *tmp = CosNaming::_tao__seq_BindingList::allocbuf (length);
- if (tmp == 0)
- return;
- for (int i = 0; i < this->length_; ++i)
- {
- tmp[i] = this->buffer_[i];
- }
- if (this->release_)
- CosNaming::_tao__seq_BindingList::freebuf (this->buffer_);
- this->buffer_ = tmp;
- this->release_ = 1;
-
- this->length_ = length;
-this->maximum_ = length;
- }
- }
-
- static const CORBA::Long _oc_CosNaming__tao__seq_BindingList[] =
- {
- TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_struct, // typecode kind
- 444, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4269, 0x6e64696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Binding:1.0
- 8, 0x42696e64, 0x696e6700, // name = Binding
- 2, // member count
- 13, 0x62696e64, 0x696e675f, 0x6e616d65, 0x0, // name = binding_name
- CORBA::tk_alias, // typecode kind for typedefs
- 248, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 23, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d653a31, 0x2e300000, // repository ID = IDL:CosNaming/Name:1.0
- 5, 0x4e616d65, 0x0, // name = Name
- CORBA::tk_sequence, // typecode kind
- 212, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_struct, // typecode kind
- 196, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 32, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d65436f, 0x6d706f6e, 0x656e743a, 0x312e3000, // repository ID = IDL:CosNaming/NameComponent:1.0
- 14, 0x4e616d65, 0x436f6d70, 0x6f6e656e, 0x74000000, // name = NameComponent
- 2, // member count
- 3, 0x69640000, // name = id
- CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4973, 0x7472696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Istring:1.0
- 8, 0x49737472, 0x696e6700, // name = Istring
- CORBA::tk_string,
- 0, // string length
- 5, 0x6b696e64, 0x0, // name = kind
- CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4973, 0x7472696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Istring:1.0
- 8, 0x49737472, 0x696e6700, // name = Istring
- CORBA::tk_string,
- 0, // string length
- 0,
- 13, 0x62696e64, 0x696e675f, 0x74797065, 0x0, // name = binding_type
- CORBA::tk_enum, // typecode kind
- 88, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 30, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4269, 0x6e64696e, 0x67547970, 0x653a312e, 0x30000000, // repository ID = IDL:CosNaming/BindingType:1.0
- 12, 0x42696e64, 0x696e6754, 0x79706500, // name = BindingType
- 2, // member count
- 8, 0x6e6f626a, 0x65637400, // name = nobject
- 9, 0x6e636f6e, 0x74657874, 0x0, // name = ncontext
- 0,
- };
- static CORBA::TypeCode _tc__tc_CosNaming__tao__seq_BindingList (CORBA::tk_sequence, sizeof (_oc_CosNaming__tao__seq_BindingList), (unsigned char *) &_oc_CosNaming__tao__seq_BindingList, CORBA::B_FALSE);
- CORBA::TypeCode_ptr CosNaming::_tc__tao__seq_BindingList = &_tc__tc_CosNaming__tao__seq_BindingList;
-
- static const CORBA::Long _oc_CosNaming_BindingList[] =
- {
- TAO_ENCAP_BYTE_ORDER, // byte order
- 30, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4269, 0x6e64696e, 0x674c6973, 0x743a312e, 0x30000000, // repository ID = IDL:CosNaming/BindingList:1.0
- 12, 0x42696e64, 0x696e674c, 0x69737400, // name = BindingList
- CORBA::tk_sequence, // typecode kind
- 460, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_struct, // typecode kind
- 444, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4269, 0x6e64696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Binding:1.0
- 8, 0x42696e64, 0x696e6700, // name = Binding
- 2, // member count
- 13, 0x62696e64, 0x696e675f, 0x6e616d65, 0x0, // name = binding_name
- CORBA::tk_alias, // typecode kind for typedefs
- 248, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 23, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d653a31, 0x2e300000, // repository ID = IDL:CosNaming/Name:1.0
- 5, 0x4e616d65, 0x0, // name = Name
- CORBA::tk_sequence, // typecode kind
- 212, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_struct, // typecode kind
- 196, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 32, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d65436f, 0x6d706f6e, 0x656e743a, 0x312e3000, // repository ID = IDL:CosNaming/NameComponent:1.0
- 14, 0x4e616d65, 0x436f6d70, 0x6f6e656e, 0x74000000, // name = NameComponent
- 2, // member count
- 3, 0x69640000, // name = id
- CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4973, 0x7472696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Istring:1.0
- 8, 0x49737472, 0x696e6700, // name = Istring
- CORBA::tk_string,
- 0, // string length
- 5, 0x6b696e64, 0x0, // name = kind
- CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4973, 0x7472696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Istring:1.0
- 8, 0x49737472, 0x696e6700, // name = Istring
- CORBA::tk_string,
- 0, // string length
- 0,
- 13, 0x62696e64, 0x696e675f, 0x74797065, 0x0, // name = binding_type
- CORBA::tk_enum, // typecode kind
- 88, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 30, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4269, 0x6e64696e, 0x67547970, 0x653a312e, 0x30000000, // repository ID = IDL:CosNaming/BindingType:1.0
- 12, 0x42696e64, 0x696e6754, 0x79706500, // name = BindingType
- 2, // member count
- 8, 0x6e6f626a, 0x65637400, // name = nobject
- 9, 0x6e636f6e, 0x74657874, 0x0, // name = ncontext
- 0,
- };
- static CORBA::TypeCode _tc__tc_CosNaming_BindingList (CORBA::tk_alias, sizeof (_oc_CosNaming_BindingList), (unsigned char *) &_oc_CosNaming_BindingList, CORBA::B_FALSE);
- CORBA::TypeCode_ptr CosNaming::_tc_BindingList = &_tc__tc_CosNaming_BindingList;
-
- CosNaming::NamingContext_ptr CosNaming::NamingContext::_duplicate (CosNaming::NamingContext_ptr obj)
- {
- if (!CORBA::is_nil (obj))
- obj->AddRef ();
-
- return obj;
- } // end of _duplicate
-
- CosNaming::NamingContext_ptr CosNaming::NamingContext::_narrow (CORBA::Object_ptr obj, CORBA::Environment &env)
- {
- if (CORBA::is_nil (obj)) return CosNaming::NamingContext::_nil ();
- if (obj->_is_a ("IDL:CosNaming/NamingContext:1.0", env))
- {
- STUB_Object *istub;
- CosNaming::NamingContext_ptr new_obj; // to be returned
- if (obj->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- return CosNaming::NamingContext::_nil ();
-
- obj->Release (); // need this since QueryIntf bumped our refcount
- new_obj = new CosNaming::NamingContext (istub); // construct obj ref using the stub object
- return new_obj;
- } // end of if
- return CosNaming::NamingContext::_nil (); // _narrow failed
- } // end of _narrow
-
- CosNaming::NamingContext_ptr CosNaming::NamingContext::_nil (void)
- {
- return (CosNaming::NamingContext_ptr)NULL;
- } // end of _nil
-
- CosNaming::NamingContext_ptr CosNaming::NamingContext::_bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env)
- {
- CORBA::Object_ptr objref = CORBA::Object::_nil ();
- IIOP_Object *data = new IIOP_Object (host, port, key);
- if (!data) return CosNaming::NamingContext::_nil ();
- // get the object_ptr using Query Interface
- if (data->QueryInterface (IID_CORBA_Object, (void **)&objref) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return CosNaming::NamingContext::_nil ();
- }
- data->Release (); // QueryInterface had bumped up our count
- if (CORBA::is_nil (objref))
- return CosNaming::NamingContext::_nil ();
- else // narrow it
- return CosNaming::NamingContext::_narrow (objref, env);
- }
-
-
- static const CORBA::Long _oc_CosNaming_NamingContext_NotFoundReason[] =
- {
- TAO_ENCAP_BYTE_ORDER, // byte order
- 47, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d696e67, 0x436f6e74, 0x6578742f, 0x4e6f7446, 0x6f756e64, 0x52656173, 0x6f6e3a31, 0x2e300000, // repository ID = IDL:CosNaming/NamingContext/NotFoundReason:1.0
- 15, 0x4e6f7446, 0x6f756e64, 0x52656173, 0x6f6e0000, // name = NotFoundReason
- 3, // member count
- 13, 0x6d697373, 0x696e675f, 0x6e6f6465, 0x0, // name = missing_node
- 12, 0x6e6f745f, 0x636f6e74, 0x65787400, // name = not_context
- 11, 0x6e6f745f, 0x6f626a65, 0x63740000, // name = not_object
- };
- static CORBA::TypeCode _tc__tc_CosNaming_NamingContext_NotFoundReason (CORBA::tk_enum, sizeof (_oc_CosNaming_NamingContext_NotFoundReason), (unsigned char *) &_oc_CosNaming_NamingContext_NotFoundReason, CORBA::B_FALSE);
- CORBA::TypeCode_ptr CosNaming::NamingContext::_tc_NotFoundReason = &_tc__tc_CosNaming_NamingContext_NotFoundReason;
-
- static const CORBA::Long _oc_CosNaming_NamingContext_NotFound[] =
- {
- 0, // byte order
- 41, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d696e67, 0x436f6e74, 0x6578742f, 0x4e6f7446, 0x6f756e64, 0x3a312e30, 0x0, // repository ID = IDL:CosNaming/NamingContext/NotFound:1.0
- 9, 0x4e6f7446, 0x6f756e64, 0x0, // name = NotFound
- 2, // member count
- 4, 0x77687900, // name = why
- CORBA::tk_enum, // typecode kind
- 132, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 47, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d696e67, 0x436f6e74, 0x6578742f, 0x4e6f7446, 0x6f756e64, 0x52656173, 0x6f6e3a31, 0x2e300000, // repository ID = IDL:CosNaming/NamingContext/NotFoundReason:1.0
- 15, 0x4e6f7446, 0x6f756e64, 0x52656173, 0x6f6e0000, // name = NotFoundReason
- 3, // member count
- 13, 0x6d697373, 0x696e675f, 0x6e6f6465, 0x0, // name = missing_node
- 12, 0x6e6f745f, 0x636f6e74, 0x65787400, // name = not_context
- 11, 0x6e6f745f, 0x6f626a65, 0x63740000, // name = not_object
- 13, 0x72657374, 0x5f6f665f, 0x6e616d65, 0x0, // name = rest_of_name
- CORBA::tk_alias, // typecode kind for typedefs
- 248, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 23, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d653a31, 0x2e300000, // repository ID = IDL:CosNaming/Name:1.0
- 5, 0x4e616d65, 0x0, // name = Name
- CORBA::tk_sequence, // typecode kind
- 212, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_struct, // typecode kind
- 196, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 32, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d65436f, 0x6d706f6e, 0x656e743a, 0x312e3000, // repository ID = IDL:CosNaming/NameComponent:1.0
- 14, 0x4e616d65, 0x436f6d70, 0x6f6e656e, 0x74000000, // name = NameComponent
- 2, // member count
- 3, 0x69640000, // name = id
- CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4973, 0x7472696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Istring:1.0
- 8, 0x49737472, 0x696e6700, // name = Istring
- CORBA::tk_string,
- 0, // string length
- 5, 0x6b696e64, 0x0, // name = kind
- CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4973, 0x7472696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Istring:1.0
- 8, 0x49737472, 0x696e6700, // name = Istring
- CORBA::tk_string,
- 0, // string length
- 0,
- };
- static CORBA::TypeCode _tc__tc_CosNaming_NamingContext_NotFound (CORBA::tk_struct, sizeof (_oc_CosNaming_NamingContext_NotFound), (unsigned char *) &_oc_CosNaming_NamingContext_NotFound, CORBA::B_FALSE);
- CORBA::TypeCode_ptr CosNaming::NamingContext::_tc_NotFound = &_tc__tc_CosNaming_NamingContext_NotFound;
-
- static const CORBA::Long _oc_CosNaming_NamingContext_CannotProceed[] =
- {
- 0, // byte order
- 46, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d696e67, 0x436f6e74, 0x6578742f, 0x43616e6e, 0x6f745072, 0x6f636565, 0x643a312e, 0x30000000, // repository ID = IDL:CosNaming/NamingContext/CannotProceed:1.0
- 14, 0x43616e6e, 0x6f745072, 0x6f636565, 0x64000000, // name = CannotProceed
- 2, // member count
- 4, 0x63787400, // name = cxt
- CORBA::tk_objref, // typecode kind
- 68, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 32, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d696e67, 0x436f6e74, 0x6578743a, 0x312e3000, // repository ID = IDL:CosNaming/NamingContext:1.0
- 14, 0x4e616d69, 0x6e67436f, 0x6e746578, 0x74000000, // name = NamingContext,
- 13, 0x72657374, 0x5f6f665f, 0x6e616d65, 0x0, // name = rest_of_name
- CORBA::tk_alias, // typecode kind for typedefs
- 248, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 23, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d653a31, 0x2e300000, // repository ID = IDL:CosNaming/Name:1.0
- 5, 0x4e616d65, 0x0, // name = Name
- CORBA::tk_sequence, // typecode kind
- 212, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_struct, // typecode kind
- 196, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 32, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d65436f, 0x6d706f6e, 0x656e743a, 0x312e3000, // repository ID = IDL:CosNaming/NameComponent:1.0
- 14, 0x4e616d65, 0x436f6d70, 0x6f6e656e, 0x74000000, // name = NameComponent
- 2, // member count
- 3, 0x69640000, // name = id
- CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4973, 0x7472696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Istring:1.0
- 8, 0x49737472, 0x696e6700, // name = Istring
- CORBA::tk_string,
- 0, // string length
- 5, 0x6b696e64, 0x0, // name = kind
- CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4973, 0x7472696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Istring:1.0
- 8, 0x49737472, 0x696e6700, // name = Istring
- CORBA::tk_string,
- 0, // string length
- 0,
- };
- static CORBA::TypeCode _tc__tc_CosNaming_NamingContext_CannotProceed (CORBA::tk_struct, sizeof (_oc_CosNaming_NamingContext_CannotProceed), (unsigned char *) &_oc_CosNaming_NamingContext_CannotProceed, CORBA::B_FALSE);
- CORBA::TypeCode_ptr CosNaming::NamingContext::_tc_CannotProceed = &_tc__tc_CosNaming_NamingContext_CannotProceed;
-
- static const CORBA::Long _oc_CosNaming_NamingContext_InvalidName[] =
- {
- 0, // byte order
- 44, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d696e67, 0x436f6e74, 0x6578742f, 0x496e7661, 0x6c69644e, 0x616d653a, 0x312e3000, // repository ID = IDL:CosNaming/NamingContext/InvalidName:1.0
- 12, 0x496e7661, 0x6c69644e, 0x616d6500, // name = InvalidName
- 0, // member count
- };
- static CORBA::TypeCode _tc__tc_CosNaming_NamingContext_InvalidName (CORBA::tk_struct, sizeof (_oc_CosNaming_NamingContext_InvalidName), (unsigned char *) &_oc_CosNaming_NamingContext_InvalidName, CORBA::B_FALSE);
- CORBA::TypeCode_ptr CosNaming::NamingContext::_tc_InvalidName = &_tc__tc_CosNaming_NamingContext_InvalidName;
-
- static const CORBA::Long _oc_CosNaming_NamingContext_AlreadyBound[] =
- {
- 0, // byte order
- 45, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d696e67, 0x436f6e74, 0x6578742f, 0x416c7265, 0x61647942, 0x6f756e64, 0x3a312e30, 0x0, // repository ID = IDL:CosNaming/NamingContext/AlreadyBound:1.0
- 13, 0x416c7265, 0x61647942, 0x6f756e64, 0x0, // name = AlreadyBound
- 0, // member count
- };
- static CORBA::TypeCode _tc__tc_CosNaming_NamingContext_AlreadyBound (CORBA::tk_struct, sizeof (_oc_CosNaming_NamingContext_AlreadyBound), (unsigned char *) &_oc_CosNaming_NamingContext_AlreadyBound, CORBA::B_FALSE);
- CORBA::TypeCode_ptr CosNaming::NamingContext::_tc_AlreadyBound = &_tc__tc_CosNaming_NamingContext_AlreadyBound;
-
- static const CORBA::Long _oc_CosNaming_NamingContext_NotEmpty[] =
- {
- 0, // byte order
- 41, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d696e67, 0x436f6e74, 0x6578742f, 0x4e6f7445, 0x6d707479, 0x3a312e30, 0x0, // repository ID = IDL:CosNaming/NamingContext/NotEmpty:1.0
- 9, 0x4e6f7445, 0x6d707479, 0x0, // name = NotEmpty
- 0, // member count
- };
- static CORBA::TypeCode _tc__tc_CosNaming_NamingContext_NotEmpty (CORBA::tk_struct, sizeof (_oc_CosNaming_NamingContext_NotEmpty), (unsigned char *) &_oc_CosNaming_NamingContext_NotEmpty, CORBA::B_FALSE);
- CORBA::TypeCode_ptr CosNaming::NamingContext::_tc_NotEmpty = &_tc__tc_CosNaming_NamingContext_NotEmpty;
-
- static const TAO_Param_Data CosNaming_NamingContext_bind_paramdata [] =
- {
- {CORBA::_tc_void, PARAM_RETURN, 0},
- {CosNaming::_tc_Name, PARAM_IN, 0},
- {CORBA::_tc_Object, PARAM_IN, 0}
- };
-
- static const TAO_Call_Data CosNaming_NamingContext_bind_calldata =
- {"bind", 1, 3, CosNaming_NamingContext_bind_paramdata, 0, 0};
-
- void CosNaming::NamingContext::bind (const CosNaming::Name & n, CORBA::Object_ptr obj, CORBA::Environment &env)
- {
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return;
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &CosNaming_NamingContext_bind_calldata, 0, &n, &obj);
- return; // no value
-
+CosNaming::NamingContext_ptr CosNaming::NamingContext::_narrow (CORBA::Object_ptr obj, CORBA::Environment &env)
+{
+ if (CORBA::is_nil (obj)) return CosNaming::NamingContext::_nil ();
+ if (obj->_is_a ("IDL:CosNaming/NamingContext:1.0", env))
+ {
+ STUB_Object *istub;
+ CosNaming::NamingContext_ptr new_obj; // to be returned
+ if (obj->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ return CosNaming::NamingContext::_nil ();
+
+ obj->Release (); // need this since QueryIntf bumped our refcount
+ new_obj = new CosNaming::NamingContext (istub); // construct obj ref using the stub object
+ return new_obj;
+ } // end of if
+ return CosNaming::NamingContext::_nil (); // _narrow failed
+} // end of _narrow
+
+CosNaming::NamingContext_ptr CosNaming::NamingContext::_nil (void)
+{
+ return (CosNaming::NamingContext_ptr)NULL;
+} // end of _nil
+
+CosNaming::NamingContext_ptr CosNaming::NamingContext::_bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env)
+{
+ CORBA::Object_ptr objref = CORBA::Object::_nil ();
+ IIOP_Object *data = new IIOP_Object (host, port, key);
+ if (!data) return CosNaming::NamingContext::_nil ();
+ // get the object_ptr using Query Interface
+ if (data->QueryInterface (IID_CORBA_Object, (void **)&objref) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return CosNaming::NamingContext::_nil ();
+ }
+ data->Release (); // QueryInterface had bumped up our count
+ if (CORBA::is_nil (objref))
+ return CosNaming::NamingContext::_nil ();
+ else // narrow it
+ return CosNaming::NamingContext::_narrow (objref, env);
+}
+
+
+static const CORBA::Long _oc_CosNaming_NamingContext_NotFoundReason[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 47, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d696e67, 0x436f6e74, 0x6578742f, 0x4e6f7446, 0x6f756e64, 0x52656173, 0x6f6e3a31, 0x2e300000, // repository ID = IDL:CosNaming/NamingContext/NotFoundReason:1.0
+ 15, 0x4e6f7446, 0x6f756e64, 0x52656173, 0x6f6e0000, // name = NotFoundReason
+ 3, // member count
+ 13, 0x6d697373, 0x696e675f, 0x6e6f6465, 0x0, // name = missing_node
+ 12, 0x6e6f745f, 0x636f6e74, 0x65787400, // name = not_context
+ 11, 0x6e6f745f, 0x6f626a65, 0x63740000, // name = not_object
+};
+static CORBA::TypeCode _tc__tc_CosNaming_NamingContext_NotFoundReason (CORBA::tk_enum, sizeof (_oc_CosNaming_NamingContext_NotFoundReason), (unsigned char *) &_oc_CosNaming_NamingContext_NotFoundReason, CORBA::B_FALSE);
+CORBA::TypeCode_ptr CosNaming::NamingContext::_tc_NotFoundReason = &_tc__tc_CosNaming_NamingContext_NotFoundReason;
+
+static const CORBA::Long _oc_CosNaming_NamingContext_NotFound[] =
+{
+ 0, // byte order
+ 41, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d696e67, 0x436f6e74, 0x6578742f, 0x4e6f7446, 0x6f756e64, 0x3a312e30, 0x0, // repository ID = IDL:CosNaming/NamingContext/NotFound:1.0
+ 9, 0x4e6f7446, 0x6f756e64, 0x0, // name = NotFound
+ 2, // member count
+ 4, 0x77687900, // name = why
+ CORBA::tk_enum, // typecode kind
+ 132, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 47, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d696e67, 0x436f6e74, 0x6578742f, 0x4e6f7446, 0x6f756e64, 0x52656173, 0x6f6e3a31, 0x2e300000, // repository ID = IDL:CosNaming/NamingContext/NotFoundReason:1.0
+ 15, 0x4e6f7446, 0x6f756e64, 0x52656173, 0x6f6e0000, // name = NotFoundReason
+ 3, // member count
+ 13, 0x6d697373, 0x696e675f, 0x6e6f6465, 0x0, // name = missing_node
+ 12, 0x6e6f745f, 0x636f6e74, 0x65787400, // name = not_context
+ 11, 0x6e6f745f, 0x6f626a65, 0x63740000, // name = not_object
+ 13, 0x72657374, 0x5f6f665f, 0x6e616d65, 0x0, // name = rest_of_name
+ CORBA::tk_alias, // typecode kind for typedefs
+ 280, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 23, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d653a31, 0x2e300000, // repository ID = IDL:CosNaming/Name:1.0
+ 5, 0x4e616d65, 0x0, // name = Name
+ CORBA::tk_sequence, // typecode kind
+ 236, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 212, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 32, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d65436f, 0x6d706f6e, 0x656e743a, 0x312e3000, // repository ID = IDL:CosNaming/NameComponent:1.0
+ 14, 0x4e616d65, 0x436f6d70, 0x6f6e656e, 0x74000000, // name = NameComponent
+ 2, // member count
+ 3, 0x69640000, // name = id
+ CORBA::tk_alias, // typecode kind for typedefs
+ 56, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4973, 0x7472696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Istring:1.0
+ 8, 0x49737472, 0x696e6700, // name = Istring
+ CORBA::tk_string,
+ 0, // string length
+ 5, 0x6b696e64, 0x0, // name = kind
+ CORBA::tk_alias, // typecode kind for typedefs
+ 56, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4973, 0x7472696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Istring:1.0
+ 8, 0x49737472, 0x696e6700, // name = Istring
+ CORBA::tk_string,
+ 0, // string length
+ 0,
+};
+static CORBA::TypeCode _tc__tc_CosNaming_NamingContext_NotFound (CORBA::tk_struct, sizeof (_oc_CosNaming_NamingContext_NotFound), (unsigned char *) &_oc_CosNaming_NamingContext_NotFound, CORBA::B_FALSE);
+CORBA::TypeCode_ptr CosNaming::NamingContext::_tc_NotFound = &_tc__tc_CosNaming_NamingContext_NotFound;
+
+static const CORBA::Long _oc_CosNaming_NamingContext_CannotProceed[] =
+{
+ 0, // byte order
+ 46, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d696e67, 0x436f6e74, 0x6578742f, 0x43616e6e, 0x6f745072, 0x6f636565, 0x643a312e, 0x30000000, // repository ID = IDL:CosNaming/NamingContext/CannotProceed:1.0
+ 14, 0x43616e6e, 0x6f745072, 0x6f636565, 0x64000000, // name = CannotProceed
+ 2, // member count
+ 4, 0x63787400, // name = cxt
+ CORBA::tk_objref, // typecode kind
+ 68, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 32, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d696e67, 0x436f6e74, 0x6578743a, 0x312e3000, // repository ID = IDL:CosNaming/NamingContext:1.0
+ 14, 0x4e616d69, 0x6e67436f, 0x6e746578, 0x74000000, // name = NamingContext,
+ 13, 0x72657374, 0x5f6f665f, 0x6e616d65, 0x0, // name = rest_of_name
+ CORBA::tk_alias, // typecode kind for typedefs
+ 280, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 23, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d653a31, 0x2e300000, // repository ID = IDL:CosNaming/Name:1.0
+ 5, 0x4e616d65, 0x0, // name = Name
+ CORBA::tk_sequence, // typecode kind
+ 236, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 212, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 32, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d65436f, 0x6d706f6e, 0x656e743a, 0x312e3000, // repository ID = IDL:CosNaming/NameComponent:1.0
+ 14, 0x4e616d65, 0x436f6d70, 0x6f6e656e, 0x74000000, // name = NameComponent
+ 2, // member count
+ 3, 0x69640000, // name = id
+ CORBA::tk_alias, // typecode kind for typedefs
+ 56, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4973, 0x7472696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Istring:1.0
+ 8, 0x49737472, 0x696e6700, // name = Istring
+ CORBA::tk_string,
+ 0, // string length
+ 5, 0x6b696e64, 0x0, // name = kind
+ CORBA::tk_alias, // typecode kind for typedefs
+ 56, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 26, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4973, 0x7472696e, 0x673a312e, 0x30000000, // repository ID = IDL:CosNaming/Istring:1.0
+ 8, 0x49737472, 0x696e6700, // name = Istring
+ CORBA::tk_string,
+ 0, // string length
+ 0,
+};
+static CORBA::TypeCode _tc__tc_CosNaming_NamingContext_CannotProceed (CORBA::tk_struct, sizeof (_oc_CosNaming_NamingContext_CannotProceed), (unsigned char *) &_oc_CosNaming_NamingContext_CannotProceed, CORBA::B_FALSE);
+CORBA::TypeCode_ptr CosNaming::NamingContext::_tc_CannotProceed = &_tc__tc_CosNaming_NamingContext_CannotProceed;
+
+static const CORBA::Long _oc_CosNaming_NamingContext_InvalidName[] =
+{
+ 0, // byte order
+ 44, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d696e67, 0x436f6e74, 0x6578742f, 0x496e7661, 0x6c69644e, 0x616d653a, 0x312e3000, // repository ID = IDL:CosNaming/NamingContext/InvalidName:1.0
+ 12, 0x496e7661, 0x6c69644e, 0x616d6500, // name = InvalidName
+ 0, // member count
+};
+static CORBA::TypeCode _tc__tc_CosNaming_NamingContext_InvalidName (CORBA::tk_struct, sizeof (_oc_CosNaming_NamingContext_InvalidName), (unsigned char *) &_oc_CosNaming_NamingContext_InvalidName, CORBA::B_FALSE);
+CORBA::TypeCode_ptr CosNaming::NamingContext::_tc_InvalidName = &_tc__tc_CosNaming_NamingContext_InvalidName;
+
+static const CORBA::Long _oc_CosNaming_NamingContext_AlreadyBound[] =
+{
+ 0, // byte order
+ 45, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d696e67, 0x436f6e74, 0x6578742f, 0x416c7265, 0x61647942, 0x6f756e64, 0x3a312e30, 0x0, // repository ID = IDL:CosNaming/NamingContext/AlreadyBound:1.0
+ 13, 0x416c7265, 0x61647942, 0x6f756e64, 0x0, // name = AlreadyBound
+ 0, // member count
+};
+static CORBA::TypeCode _tc__tc_CosNaming_NamingContext_AlreadyBound (CORBA::tk_struct, sizeof (_oc_CosNaming_NamingContext_AlreadyBound), (unsigned char *) &_oc_CosNaming_NamingContext_AlreadyBound, CORBA::B_FALSE);
+CORBA::TypeCode_ptr CosNaming::NamingContext::_tc_AlreadyBound = &_tc__tc_CosNaming_NamingContext_AlreadyBound;
+
+static const CORBA::Long _oc_CosNaming_NamingContext_NotEmpty[] =
+{
+ 0, // byte order
+ 41, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d696e67, 0x436f6e74, 0x6578742f, 0x4e6f7445, 0x6d707479, 0x3a312e30, 0x0, // repository ID = IDL:CosNaming/NamingContext/NotEmpty:1.0
+ 9, 0x4e6f7445, 0x6d707479, 0x0, // name = NotEmpty
+ 0, // member count
+};
+static CORBA::TypeCode _tc__tc_CosNaming_NamingContext_NotEmpty (CORBA::tk_struct, sizeof (_oc_CosNaming_NamingContext_NotEmpty), (unsigned char *) &_oc_CosNaming_NamingContext_NotEmpty, CORBA::B_FALSE);
+CORBA::TypeCode_ptr CosNaming::NamingContext::_tc_NotEmpty = &_tc__tc_CosNaming_NamingContext_NotEmpty;
+
+static const TAO_Param_Data CosNaming_NamingContext_bind_paramdata [] =
+{
+ {CORBA::_tc_void, PARAM_RETURN, 0},
+ {CosNaming::_tc_Name, PARAM_IN, 0},
+ {CORBA::_tc_Object, PARAM_IN, 0}
+};
+
+static const TAO_Call_Data CosNaming_NamingContext_bind_calldata =
+{"bind", 1, 3, CosNaming_NamingContext_bind_paramdata, 0, 0};
+
+void CosNaming::NamingContext::bind (const CosNaming::Name & n, CORBA::Object_ptr obj, CORBA::Environment &env)
+{
+ STUB_Object *istub;
+
+ if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return;
+ }
+ this->Release (); // QueryInterface has bumped up our refcount
+ istub->do_call (env, &CosNaming_NamingContext_bind_calldata, 0, &n, &obj);
+ return; // no value
+
}
- static const TAO_Param_Data CosNaming_NamingContext_rebind_paramdata [] =
- {
- {CORBA::_tc_void, PARAM_RETURN, 0},
- {CosNaming::_tc_Name, PARAM_IN, 0},
- {CORBA::_tc_Object, PARAM_IN, 0}
- };
-
- static const TAO_Call_Data CosNaming_NamingContext_rebind_calldata =
- {"rebind", 1, 3, CosNaming_NamingContext_rebind_paramdata, 0, 0};
-
- void CosNaming::NamingContext::rebind (const CosNaming::Name & n, CORBA::Object_ptr obj, CORBA::Environment &env)
- {
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return;
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &CosNaming_NamingContext_rebind_calldata, 0, &n, &obj);
- return; // no value
-
+static const TAO_Param_Data CosNaming_NamingContext_rebind_paramdata [] =
+{
+ {CORBA::_tc_void, PARAM_RETURN, 0},
+ {CosNaming::_tc_Name, PARAM_IN, 0},
+ {CORBA::_tc_Object, PARAM_IN, 0}
+};
+
+static const TAO_Call_Data CosNaming_NamingContext_rebind_calldata =
+{"rebind", 1, 3, CosNaming_NamingContext_rebind_paramdata, 0, 0};
+
+void CosNaming::NamingContext::rebind (const CosNaming::Name & n, CORBA::Object_ptr obj, CORBA::Environment &env)
+{
+ STUB_Object *istub;
+
+ if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return;
+ }
+ this->Release (); // QueryInterface has bumped up our refcount
+ istub->do_call (env, &CosNaming_NamingContext_rebind_calldata, 0, &n, &obj);
+ return; // no value
+
}
- static const TAO_Param_Data CosNaming_NamingContext_bind_context_paramdata [] =
- {
- {CORBA::_tc_void, PARAM_RETURN, 0},
- {CosNaming::_tc_Name, PARAM_IN, 0},
- {CosNaming::_tc_NamingContext, PARAM_IN, 0}
- };
-
- static const TAO_Call_Data CosNaming_NamingContext_bind_context_calldata =
- {"bind_context", 1, 3, CosNaming_NamingContext_bind_context_paramdata, 0, 0};
-
- void CosNaming::NamingContext::bind_context (const CosNaming::Name & n, CosNaming::NamingContext_ptr nc, CORBA::Environment &env)
- {
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return;
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &CosNaming_NamingContext_bind_context_calldata, 0, &n, &nc);
- return; // no value
-
+static const TAO_Param_Data CosNaming_NamingContext_bind_context_paramdata [] =
+{
+ {CORBA::_tc_void, PARAM_RETURN, 0},
+ {CosNaming::_tc_Name, PARAM_IN, 0},
+ {CosNaming::_tc_NamingContext, PARAM_IN, 0}
+};
+
+static const TAO_Call_Data CosNaming_NamingContext_bind_context_calldata =
+{"bind_context", 1, 3, CosNaming_NamingContext_bind_context_paramdata, 0, 0};
+
+void CosNaming::NamingContext::bind_context (const CosNaming::Name & n, CosNaming::NamingContext_ptr nc, CORBA::Environment &env)
+{
+ STUB_Object *istub;
+
+ if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return;
+ }
+ this->Release (); // QueryInterface has bumped up our refcount
+ istub->do_call (env, &CosNaming_NamingContext_bind_context_calldata, 0, &n, &nc);
+ return; // no value
+
}
- static const TAO_Param_Data CosNaming_NamingContext_rebind_context_paramdata [] =
- {
- {CORBA::_tc_void, PARAM_RETURN, 0},
- {CosNaming::_tc_Name, PARAM_IN, 0},
- {CosNaming::_tc_NamingContext, PARAM_IN, 0}
- };
-
- static const TAO_Call_Data CosNaming_NamingContext_rebind_context_calldata =
- {"rebind_context", 1, 3, CosNaming_NamingContext_rebind_context_paramdata, 0, 0};
-
- void CosNaming::NamingContext::rebind_context (const CosNaming::Name & n, CosNaming::NamingContext_ptr nc, CORBA::Environment &env)
- {
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return;
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &CosNaming_NamingContext_rebind_context_calldata, 0, &n, &nc);
- return; // no value
-
+static const TAO_Param_Data CosNaming_NamingContext_rebind_context_paramdata [] =
+{
+ {CORBA::_tc_void, PARAM_RETURN, 0},
+ {CosNaming::_tc_Name, PARAM_IN, 0},
+ {CosNaming::_tc_NamingContext, PARAM_IN, 0}
+};
+
+static const TAO_Call_Data CosNaming_NamingContext_rebind_context_calldata =
+{"rebind_context", 1, 3, CosNaming_NamingContext_rebind_context_paramdata, 0, 0};
+
+void CosNaming::NamingContext::rebind_context (const CosNaming::Name & n, CosNaming::NamingContext_ptr nc, CORBA::Environment &env)
+{
+ STUB_Object *istub;
+
+ if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return;
+ }
+ this->Release (); // QueryInterface has bumped up our refcount
+ istub->do_call (env, &CosNaming_NamingContext_rebind_context_calldata, 0, &n, &nc);
+ return; // no value
+
}
- static const TAO_Param_Data CosNaming_NamingContext_resolve_paramdata [] =
- {
- {CORBA::_tc_Object, PARAM_RETURN, 0},
- {CosNaming::_tc_Name, PARAM_IN, 0}
- };
-
- static const TAO_Call_Data CosNaming_NamingContext_resolve_calldata =
- {"resolve", 1, 2, CosNaming_NamingContext_resolve_paramdata, 0, 0};
-
- CORBA::Object_ptr CosNaming::NamingContext::resolve (const CosNaming::Name & n, CORBA::Environment &env)
- {
- CORBA::Object_ptr retval;
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return 0;
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &CosNaming_NamingContext_resolve_calldata, &retval, &n);
- return retval;
-
+static const TAO_Param_Data CosNaming_NamingContext_resolve_paramdata [] =
+{
+ {CORBA::_tc_Object, PARAM_RETURN, 0},
+ {CosNaming::_tc_Name, PARAM_IN, 0}
+};
+
+static const TAO_Call_Data CosNaming_NamingContext_resolve_calldata =
+{"resolve", 1, 2, CosNaming_NamingContext_resolve_paramdata, 0, 0};
+
+CORBA::Object_ptr CosNaming::NamingContext::resolve (const CosNaming::Name & n, CORBA::Environment &env)
+{
+ CORBA::Object_ptr retval;
+ STUB_Object *istub;
+
+ if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return 0;
+ }
+ this->Release (); // QueryInterface has bumped up our refcount
+ istub->do_call (env, &CosNaming_NamingContext_resolve_calldata, &retval, &n);
+ return retval;
+
}
- static const TAO_Param_Data CosNaming_NamingContext_unbind_paramdata [] =
- {
- {CORBA::_tc_void, PARAM_RETURN, 0},
- {CosNaming::_tc_Name, PARAM_IN, 0}
- };
-
- static const TAO_Call_Data CosNaming_NamingContext_unbind_calldata =
- {"unbind", 1, 2, CosNaming_NamingContext_unbind_paramdata, 0, 0};
-
- void CosNaming::NamingContext::unbind (const CosNaming::Name & n, CORBA::Environment &env)
- {
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return;
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &CosNaming_NamingContext_unbind_calldata, 0, &n);
- return; // no value
-
+static const TAO_Param_Data CosNaming_NamingContext_unbind_paramdata [] =
+{
+ {CORBA::_tc_void, PARAM_RETURN, 0},
+ {CosNaming::_tc_Name, PARAM_IN, 0}
+};
+
+static const TAO_Call_Data CosNaming_NamingContext_unbind_calldata =
+{"unbind", 1, 2, CosNaming_NamingContext_unbind_paramdata, 0, 0};
+
+void CosNaming::NamingContext::unbind (const CosNaming::Name & n, CORBA::Environment &env)
+{
+ STUB_Object *istub;
+
+ if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return;
+ }
+ this->Release (); // QueryInterface has bumped up our refcount
+ istub->do_call (env, &CosNaming_NamingContext_unbind_calldata, 0, &n);
+ return; // no value
+
}
- static const TAO_Param_Data CosNaming_NamingContext_new_context_paramdata [] =
- {
- {CosNaming::_tc_NamingContext, PARAM_RETURN, 0}
- };
-
- static const TAO_Call_Data CosNaming_NamingContext_new_context_calldata =
- {"new_context", 1, 1, CosNaming_NamingContext_new_context_paramdata, 0, 0};
-
- CosNaming::NamingContext_ptr CosNaming::NamingContext::new_context (CORBA::Environment &env)
- {
- CORBA::Object_ptr retval = CORBA::Object::_nil ();
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return CosNaming::NamingContext::_nil ();
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &CosNaming_NamingContext_new_context_calldata, &retval);
- return CosNaming::NamingContext::_narrow (retval, env);
-
+static const TAO_Param_Data CosNaming_NamingContext_new_context_paramdata [] =
+{
+ {CosNaming::_tc_NamingContext, PARAM_RETURN, 0}
+};
+
+static const TAO_Call_Data CosNaming_NamingContext_new_context_calldata =
+{"new_context", 1, 1, CosNaming_NamingContext_new_context_paramdata, 0, 0};
+
+CosNaming::NamingContext_ptr CosNaming::NamingContext::new_context (CORBA::Environment &env)
+{
+ CORBA::Object_ptr retval = CORBA::Object::_nil ();
+ STUB_Object *istub;
+
+ if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return CosNaming::NamingContext::_nil ();
+ }
+ this->Release (); // QueryInterface has bumped up our refcount
+ istub->do_call (env, &CosNaming_NamingContext_new_context_calldata, &retval);
+ return CosNaming::NamingContext::_narrow (retval, env);
+
}
- static const TAO_Param_Data CosNaming_NamingContext_bind_new_context_paramdata [] =
- {
- {CosNaming::_tc_NamingContext, PARAM_RETURN, 0},
- {CosNaming::_tc_Name, PARAM_IN, 0}
- };
-
- static const TAO_Call_Data CosNaming_NamingContext_bind_new_context_calldata =
- {"bind_new_context", 1, 2, CosNaming_NamingContext_bind_new_context_paramdata, 0, 0};
-
- CosNaming::NamingContext_ptr CosNaming::NamingContext::bind_new_context (const CosNaming::Name & n, CORBA::Environment &env)
- {
- CORBA::Object_ptr retval = CORBA::Object::_nil ();
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return CosNaming::NamingContext::_nil ();
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &CosNaming_NamingContext_bind_new_context_calldata, &retval, &n);
- return CosNaming::NamingContext::_narrow (retval, env);
-
+static const TAO_Param_Data CosNaming_NamingContext_bind_new_context_paramdata [] =
+{
+ {CosNaming::_tc_NamingContext, PARAM_RETURN, 0},
+ {CosNaming::_tc_Name, PARAM_IN, 0}
+};
+
+static const TAO_Call_Data CosNaming_NamingContext_bind_new_context_calldata =
+{"bind_new_context", 1, 2, CosNaming_NamingContext_bind_new_context_paramdata, 0, 0};
+
+CosNaming::NamingContext_ptr CosNaming::NamingContext::bind_new_context (const CosNaming::Name & n, CORBA::Environment &env)
+{
+ CORBA::Object_ptr retval = CORBA::Object::_nil ();
+ STUB_Object *istub;
+
+ if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return CosNaming::NamingContext::_nil ();
+ }
+ this->Release (); // QueryInterface has bumped up our refcount
+ istub->do_call (env, &CosNaming_NamingContext_bind_new_context_calldata, &retval, &n);
+ return CosNaming::NamingContext::_narrow (retval, env);
+
+}
+
+static const TAO_Param_Data CosNaming_NamingContext_destroy_paramdata [] =
+{
+ {CORBA::_tc_void, PARAM_RETURN, 0}
+};
+
+static const TAO_Call_Data CosNaming_NamingContext_destroy_calldata =
+{"destroy", 1, 1, CosNaming_NamingContext_destroy_paramdata, 0, 0};
+
+void CosNaming::NamingContext::destroy (CORBA::Environment &env)
+{
+ STUB_Object *istub;
+
+ if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return;
+ }
+ this->Release (); // QueryInterface has bumped up our refcount
+ istub->do_call (env, &CosNaming_NamingContext_destroy_calldata, 0);
+ return; // no value
+
}
- static const TAO_Param_Data CosNaming_NamingContext_destroy_paramdata [] =
- {
- {CORBA::_tc_void, PARAM_RETURN, 0}
- };
-
- static const TAO_Call_Data CosNaming_NamingContext_destroy_calldata =
- {"destroy", 1, 1, CosNaming_NamingContext_destroy_paramdata, 0, 0};
-
- void CosNaming::NamingContext::destroy (CORBA::Environment &env)
- {
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return;
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &CosNaming_NamingContext_destroy_calldata, 0);
- return; // no value
-
+static const TAO_Param_Data CosNaming_NamingContext_list_paramdata [] =
+{
+ {CORBA::_tc_void, PARAM_RETURN, 0},
+ {CORBA::_tc_ulong, PARAM_IN, 0},
+ {CosNaming::_tc_BindingList, PARAM_OUT, 0},
+ {CosNaming::_tc_BindingIterator, PARAM_OUT, 0}
+};
+
+static const TAO_Call_Data CosNaming_NamingContext_list_calldata =
+{"list", 1, 4, CosNaming_NamingContext_list_paramdata, 0, 0};
+
+void CosNaming::NamingContext::list (CORBA::ULong how_many, CosNaming::BindingList_out bl, CosNaming::BindingIterator_out bi, CORBA::Environment &env)
+{
+ STUB_Object *istub;
+
+ if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return;
+ }
+ this->Release (); // QueryInterface has bumped up our refcount
+ istub->do_call (env, &CosNaming_NamingContext_list_calldata, 0, &how_many, &bl, &bi);
+ return; // no value
+
}
- static const TAO_Param_Data CosNaming_NamingContext_list_paramdata [] =
- {
- {CORBA::_tc_void, PARAM_RETURN, 0},
- {CORBA::_tc_ulong, PARAM_IN, 0},
- {CosNaming::_tc_BindingList, PARAM_OUT, 0},
- {CosNaming::_tc_BindingIterator, PARAM_OUT, 0}
- };
-
- static const TAO_Call_Data CosNaming_NamingContext_list_calldata =
- {"list", 1, 4, CosNaming_NamingContext_list_paramdata, 0, 0};
-
- void CosNaming::NamingContext::list (CORBA::ULong how_many, CosNaming::BindingList_out bl, CosNaming::BindingIterator_out bi, CORBA::Environment &env)
- {
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return;
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &CosNaming_NamingContext_list_calldata, 0, &how_many, &bl, &bi);
- return; // no value
-
+static const CORBA::Long _oc_CosNaming_NamingContext[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 32, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d696e67, 0x436f6e74, 0x6578743a, 0x312e3000, // repository ID = IDL:CosNaming/NamingContext:1.0
+ 14, 0x4e616d69, 0x6e67436f, 0x6e746578, 0x74000000, // name = NamingContext,
+};
+static CORBA::TypeCode _tc__tc_CosNaming_NamingContext (CORBA::tk_objref, sizeof (_oc_CosNaming_NamingContext), (unsigned char *) &_oc_CosNaming_NamingContext, CORBA::B_FALSE);
+CORBA::TypeCode_ptr CosNaming::_tc_NamingContext = &_tc__tc_CosNaming_NamingContext;
+
+CosNaming::BindingIterator_ptr CosNaming::BindingIterator::_duplicate (CosNaming::BindingIterator_ptr obj)
+{
+ if (!CORBA::is_nil (obj))
+ obj->AddRef ();
+
+ return obj;
+} // end of _duplicate
+
+CosNaming::BindingIterator_ptr CosNaming::BindingIterator::_narrow (CORBA::Object_ptr obj, CORBA::Environment &env)
+{
+ if (CORBA::is_nil (obj)) return CosNaming::BindingIterator::_nil ();
+ if (obj->_is_a ("IDL:CosNaming/BindingIterator:1.0", env))
+ {
+ STUB_Object *istub;
+ CosNaming::BindingIterator_ptr new_obj; // to be returned
+ if (obj->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ return CosNaming::BindingIterator::_nil ();
+
+ obj->Release (); // need this since QueryIntf bumped our refcount
+ new_obj = new CosNaming::BindingIterator (istub); // construct obj ref using the stub object
+ return new_obj;
+ } // end of if
+ return CosNaming::BindingIterator::_nil (); // _narrow failed
+} // end of _narrow
+
+CosNaming::BindingIterator_ptr CosNaming::BindingIterator::_nil (void)
+{
+ return (CosNaming::BindingIterator_ptr)NULL;
+} // end of _nil
+
+CosNaming::BindingIterator_ptr CosNaming::BindingIterator::_bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env)
+{
+ CORBA::Object_ptr objref = CORBA::Object::_nil ();
+ IIOP_Object *data = new IIOP_Object (host, port, key);
+ if (!data) return CosNaming::BindingIterator::_nil ();
+ // get the object_ptr using Query Interface
+ if (data->QueryInterface (IID_CORBA_Object, (void **)&objref) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return CosNaming::BindingIterator::_nil ();
+ }
+ data->Release (); // QueryInterface had bumped up our count
+ if (CORBA::is_nil (objref))
+ return CosNaming::BindingIterator::_nil ();
+ else // narrow it
+ return CosNaming::BindingIterator::_narrow (objref, env);
}
- static const CORBA::Long _oc_CosNaming_NamingContext[] =
- {
- TAO_ENCAP_BYTE_ORDER, // byte order
- 32, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4e61, 0x6d696e67, 0x436f6e74, 0x6578743a, 0x312e3000, // repository ID = IDL:CosNaming/NamingContext:1.0
- 14, 0x4e616d69, 0x6e67436f, 0x6e746578, 0x74000000, // name = NamingContext,
- };
- static CORBA::TypeCode _tc__tc_CosNaming_NamingContext (CORBA::tk_objref, sizeof (_oc_CosNaming_NamingContext), (unsigned char *) &_oc_CosNaming_NamingContext, CORBA::B_FALSE);
- CORBA::TypeCode_ptr CosNaming::_tc_NamingContext = &_tc__tc_CosNaming_NamingContext;
-
- CosNaming::BindingIterator_ptr CosNaming::BindingIterator::_duplicate (CosNaming::BindingIterator_ptr obj)
- {
- if (!CORBA::is_nil (obj))
- obj->AddRef ();
-
- return obj;
- } // end of _duplicate
-
- CosNaming::BindingIterator_ptr CosNaming::BindingIterator::_narrow (CORBA::Object_ptr obj, CORBA::Environment &env)
- {
- if (CORBA::is_nil (obj)) return CosNaming::BindingIterator::_nil ();
- if (obj->_is_a ("IDL:CosNaming/BindingIterator:1.0", env))
- {
- STUB_Object *istub;
- CosNaming::BindingIterator_ptr new_obj; // to be returned
- if (obj->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- return CosNaming::BindingIterator::_nil ();
-
- obj->Release (); // need this since QueryIntf bumped our refcount
- new_obj = new CosNaming::BindingIterator (istub); // construct obj ref using the stub object
- return new_obj;
- } // end of if
- return CosNaming::BindingIterator::_nil (); // _narrow failed
- } // end of _narrow
-
- CosNaming::BindingIterator_ptr CosNaming::BindingIterator::_nil (void)
- {
- return (CosNaming::BindingIterator_ptr)NULL;
- } // end of _nil
-
- CosNaming::BindingIterator_ptr CosNaming::BindingIterator::_bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env)
- {
- CORBA::Object_ptr objref = CORBA::Object::_nil ();
- IIOP_Object *data = new IIOP_Object (host, port, key);
- if (!data) return CosNaming::BindingIterator::_nil ();
- // get the object_ptr using Query Interface
- if (data->QueryInterface (IID_CORBA_Object, (void **)&objref) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return CosNaming::BindingIterator::_nil ();
- }
- data->Release (); // QueryInterface had bumped up our count
- if (CORBA::is_nil (objref))
- return CosNaming::BindingIterator::_nil ();
- else // narrow it
- return CosNaming::BindingIterator::_narrow (objref, env);
- }
-
- static const TAO_Param_Data CosNaming_BindingIterator_next_one_paramdata [] =
- {
- {CORBA::_tc_boolean, PARAM_RETURN, 0},
- {CosNaming::_tc_Binding, PARAM_OUT, 0}
- };
-
- static const TAO_Call_Data CosNaming_BindingIterator_next_one_calldata =
- {"next_one", 1, 2, CosNaming_BindingIterator_next_one_paramdata, 0, 0};
-
- CORBA::Boolean CosNaming::BindingIterator::next_one (CosNaming::Binding_out b, CORBA::Environment &env)
- {
- CORBA::Boolean retval;
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return retval;
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &CosNaming_BindingIterator_next_one_calldata, &retval, &b);
- return retval;
-
+static const TAO_Param_Data CosNaming_BindingIterator_next_one_paramdata [] =
+{
+ {CORBA::_tc_boolean, PARAM_RETURN, 0},
+ {CosNaming::_tc_Binding, PARAM_OUT, 0}
+};
+
+static const TAO_Call_Data CosNaming_BindingIterator_next_one_calldata =
+{"next_one", 1, 2, CosNaming_BindingIterator_next_one_paramdata, 0, 0};
+
+CORBA::Boolean CosNaming::BindingIterator::next_one (CosNaming::Binding_out b, CORBA::Environment &env)
+{
+ CORBA::Boolean retval;
+ STUB_Object *istub;
+
+ if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return retval;
+ }
+ this->Release (); // QueryInterface has bumped up our refcount
+ istub->do_call (env, &CosNaming_BindingIterator_next_one_calldata, &retval, &b);
+ return retval;
+
}
- static const TAO_Param_Data CosNaming_BindingIterator_next_n_paramdata [] =
- {
- {CORBA::_tc_boolean, PARAM_RETURN, 0},
- {CORBA::_tc_ulong, PARAM_IN, 0},
- {CosNaming::_tc_BindingList, PARAM_OUT, 0}
- };
-
- static const TAO_Call_Data CosNaming_BindingIterator_next_n_calldata =
- {"next_n", 1, 3, CosNaming_BindingIterator_next_n_paramdata, 0, 0};
-
- CORBA::Boolean CosNaming::BindingIterator::next_n (CORBA::ULong how_many, CosNaming::BindingList_out bl, CORBA::Environment &env)
- {
- CORBA::Boolean retval;
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return retval;
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &CosNaming_BindingIterator_next_n_calldata, &retval, &how_many, &bl);
- return retval;
-
+static const TAO_Param_Data CosNaming_BindingIterator_next_n_paramdata [] =
+{
+ {CORBA::_tc_boolean, PARAM_RETURN, 0},
+ {CORBA::_tc_ulong, PARAM_IN, 0},
+ {CosNaming::_tc_BindingList, PARAM_OUT, 0}
+};
+
+static const TAO_Call_Data CosNaming_BindingIterator_next_n_calldata =
+{"next_n", 1, 3, CosNaming_BindingIterator_next_n_paramdata, 0, 0};
+
+CORBA::Boolean CosNaming::BindingIterator::next_n (CORBA::ULong how_many, CosNaming::BindingList_out bl, CORBA::Environment &env)
+{
+ CORBA::Boolean retval;
+ STUB_Object *istub;
+
+ if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return retval;
+ }
+ this->Release (); // QueryInterface has bumped up our refcount
+ istub->do_call (env, &CosNaming_BindingIterator_next_n_calldata, &retval, &how_many, &bl);
+ return retval;
+
}
- static const TAO_Param_Data CosNaming_BindingIterator_destroy_paramdata [] =
- {
- {CORBA::_tc_void, PARAM_RETURN, 0}
- };
-
- static const TAO_Call_Data CosNaming_BindingIterator_destroy_calldata =
- {"destroy", 1, 1, CosNaming_BindingIterator_destroy_paramdata, 0, 0};
-
- void CosNaming::BindingIterator::destroy (CORBA::Environment &env)
- {
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return;
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &CosNaming_BindingIterator_destroy_calldata, 0);
- return; // no value
-
+static const TAO_Param_Data CosNaming_BindingIterator_destroy_paramdata [] =
+{
+ {CORBA::_tc_void, PARAM_RETURN, 0}
+};
+
+static const TAO_Call_Data CosNaming_BindingIterator_destroy_calldata =
+{"destroy", 1, 1, CosNaming_BindingIterator_destroy_paramdata, 0, 0};
+
+void CosNaming::BindingIterator::destroy (CORBA::Environment &env)
+{
+ STUB_Object *istub;
+
+ if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return;
+ }
+ this->Release (); // QueryInterface has bumped up our refcount
+ istub->do_call (env, &CosNaming_BindingIterator_destroy_calldata, 0);
+ return; // no value
+
}
- static const CORBA::Long _oc_CosNaming_BindingIterator[] =
- {
- TAO_ENCAP_BYTE_ORDER, // byte order
- 34, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4269, 0x6e64696e, 0x67497465, 0x7261746f, 0x723a312e, 0x30000000, // repository ID = IDL:CosNaming/BindingIterator:1.0
- 16, 0x42696e64, 0x696e6749, 0x74657261, 0x746f7200, // name = BindingIterator,
- };
- static CORBA::TypeCode _tc__tc_CosNaming_BindingIterator (CORBA::tk_objref, sizeof (_oc_CosNaming_BindingIterator), (unsigned char *) &_oc_CosNaming_BindingIterator, CORBA::B_FALSE);
- CORBA::TypeCode_ptr CosNaming::_tc_BindingIterator = &_tc__tc_CosNaming_BindingIterator;
+static const CORBA::Long _oc_CosNaming_BindingIterator[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 34, 0x49444c3a, 0x436f734e, 0x616d696e, 0x672f4269, 0x6e64696e, 0x67497465, 0x7261746f, 0x723a312e, 0x30000000, // repository ID = IDL:CosNaming/BindingIterator:1.0
+ 16, 0x42696e64, 0x696e6749, 0x74657261, 0x746f7200, // name = BindingIterator,
+};
+static CORBA::TypeCode _tc__tc_CosNaming_BindingIterator (CORBA::tk_objref, sizeof (_oc_CosNaming_BindingIterator), (unsigned char *) &_oc_CosNaming_BindingIterator, CORBA::B_FALSE);
+CORBA::TypeCode_ptr CosNaming::_tc_BindingIterator = &_tc__tc_CosNaming_BindingIterator;
diff --git a/TAO/orbsvcs/lib/CosNamingS.cpp b/TAO/orbsvcs/lib/CosNamingS.cpp
index f2fe602ce91..3c75b994cae 100644
--- a/TAO/orbsvcs/lib/CosNamingS.cpp
+++ b/TAO/orbsvcs/lib/CosNamingS.cpp
@@ -188,7 +188,7 @@ void POA_CosNaming::NamingContext::new_context_skel (CORBA::ServerRequest &_tao_
CORBA::NVList_ptr nvlist;
POA_CosNaming::NamingContext_ptr impl;
CORBA::Any *result;
- CORBA::Object_ptr retval;
+ CORBA::Object_ptr *retval = new CORBA::Object_ptr;
// create an NV list and populate it with typecodes
_tao_server_request.orb ()->create_list (0, nvlist); // initialize a list
@@ -197,8 +197,8 @@ void POA_CosNaming::NamingContext::new_context_skel (CORBA::ServerRequest &_tao_
_tao_server_request.params (nvlist, _tao_environment);
if (_tao_environment.exception ()) return;
impl = (POA_CosNaming::NamingContext_ptr) _tao_object_reference->get_subclass ();
- retval = impl->new_context(_tao_environment);
- result = new CORBA::Any (CosNaming::_tc_NamingContext, retval, 0); // ORB does not own
+ *retval = impl->new_context(_tao_environment);
+ result = new CORBA::Any (CosNaming::_tc_NamingContext, retval, 1); // ORB owns
_tao_server_request.result (result, _tao_environment);
}
@@ -208,7 +208,7 @@ void POA_CosNaming::NamingContext::bind_new_context_skel (CORBA::ServerRequest &
CORBA::NVList_ptr nvlist;
POA_CosNaming::NamingContext_ptr impl;
CORBA::Any *result;
- CORBA::Object_ptr retval;
+ CORBA::Object_ptr *retval = new CORBA::Object_ptr;
CosNaming::Name n;
CORBA::NamedValue_ptr nv_n;
CORBA::Any any_n (CosNaming::_tc_Name, &n); // ORB does not own
@@ -221,8 +221,8 @@ void POA_CosNaming::NamingContext::bind_new_context_skel (CORBA::ServerRequest &
_tao_server_request.params (nvlist, _tao_environment);
if (_tao_environment.exception ()) return;
impl = (POA_CosNaming::NamingContext_ptr) _tao_object_reference->get_subclass ();
- retval = impl->bind_new_context(n, _tao_environment);
- result = new CORBA::Any (CosNaming::_tc_NamingContext, retval, 0); // ORB does not own
+ *retval = impl->bind_new_context(n, _tao_environment);
+ result = new CORBA::Any (CosNaming::_tc_NamingContext, retval, 1); // ORB owns
_tao_server_request.result (result, _tao_environment);
}
@@ -273,9 +273,8 @@ void POA_CosNaming::NamingContext::list_skel (CORBA::ServerRequest &_tao_server_
}
-void POA_CosNaming::NamingContext::_is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env)
+void POA_CosNaming::NamingContext::_is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr /* obj */, CORBA::Environment &env)
{
- ACE_UNUSED_ARG (obj); // argument not used
const CORBA::String type_id = "IDL:CosNaming/NamingContext:1.0"; // repository ID
CORBA::NVList_ptr nvlist;
CORBA::NamedValue_ptr nv;
@@ -394,9 +393,8 @@ void POA_CosNaming::BindingIterator::destroy_skel (CORBA::ServerRequest &_tao_se
}
-void POA_CosNaming::BindingIterator::_is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env)
+void POA_CosNaming::BindingIterator::_is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr /* obj */, CORBA::Environment &env)
{
- ACE_UNUSED_ARG (obj); // argument not used
const CORBA::String type_id = "IDL:CosNaming/BindingIterator:1.0"; // repository ID
CORBA::NVList_ptr nvlist;
CORBA::NamedValue_ptr nv;
diff --git a/TAO/orbsvcs/lib/RtecEventChannelAdmin.idl b/TAO/orbsvcs/lib/RtecEventChannelAdmin.idl
index 0e3d5fb55ee..beaad910d75 100644
--- a/TAO/orbsvcs/lib/RtecEventChannelAdmin.idl
+++ b/TAO/orbsvcs/lib/RtecEventChannelAdmin.idl
@@ -39,18 +39,6 @@ module RtecEventChannelAdmin {
raises(AlreadyConnected);
};
- interface ProxyPullSupplier: RtecEventComm::PullSupplier {
- void connect_pull_consumer(
- in RtecEventComm::PullConsumer pull_consumer)
- raises(AlreadyConnected);
- };
-
- interface ProxyPullConsumer: RtecEventComm::PullConsumer {
- void connect_pull_supplier(
- in RtecEventComm::PullSupplier pull_supplier)
- raises(AlreadyConnected,TypeError);
- };
-
interface ProxyPushSupplier: RtecEventComm::PushSupplier {
void connect_push_consumer(
in RtecEventComm::PushConsumer push_consumer,
diff --git a/TAO/orbsvcs/lib/RtecEventChannelAdminC.cpp b/TAO/orbsvcs/lib/RtecEventChannelAdminC.cpp
index 323a9f76374..bf540d7e670 100644
--- a/TAO/orbsvcs/lib/RtecEventChannelAdminC.cpp
+++ b/TAO/orbsvcs/lib/RtecEventChannelAdminC.cpp
@@ -39,1095 +39,1312 @@ static const CORBA::Long _oc_RtecEventChannelAdmin_Dependency[] =
2, // member count
7, 0x6576656e, 0x745f0000, // name = event_
CORBA::tk_struct, // typecode kind
- 52, // encapsulation length
+ 396, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
28, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e743a, 0x312e3000, // repository ID = IDL:RtecEventComm/Event:1.0
6, 0x4576656e, 0x74000000, // name = Event
- 0, // member count
- 8, 0x72745f69, 0x6e666f00, // name = rt_info
+ 4, // member count
+ 8, 0x736f7572, 0x63655f00, // name = source_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 68, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 36, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7453, 0x6f757263, 0x6549443a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventSourceID:1.0
+ 14, 0x4576656e, 0x74536f75, 0x72636549, 0x44000000, // name = EventSourceID
+ CORBA::tk_long,
+
+ 6, 0x74797065, 0x5f000000, // name = type_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 60, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7454, 0x7970653a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventType:1.0
+ 10, 0x4576656e, 0x74547970, 0x65000000, // name = EventType
+ CORBA::tk_long,
+
+ 6, 0x74696d65, 0x5f000000, // name = time_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 52, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 27, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecEventComm/Time:1.0
+ 5, 0x54696d65, 0x0, // name = Time
+ CORBA::tk_long,
+
+ 6, 0x64617461, 0x5f000000, // name = data_
+ CORBA::tk_struct, // typecode kind
+ 84, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventData:1.0
+ 10, 0x4576656e, 0x74446174, 0x61000000, // name = EventData
+ 2, // member count
+ 2, 0x78000000, // name = x
+ CORBA::tk_long,
+
+ 2, 0x79000000, // name = y
+ CORBA::tk_long,
+
+ 8, 0x72745f69, 0x6e666f00, // name = rt_info
CORBA::tk_alias, // typecode kind for typedefs
- 56, // encapsulation length
+ 60, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0
9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t
CORBA::tk_long,
- };
- static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_Dependency (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_Dependency), (unsigned char *) &_oc_RtecEventChannelAdmin_Dependency, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_Dependency = &_tc__tc_RtecEventChannelAdmin_Dependency;
+};
+static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_Dependency (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_Dependency), (unsigned char *) &_oc_RtecEventChannelAdmin_Dependency, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_Dependency = &_tc__tc_RtecEventChannelAdmin_Dependency;
// *************************************************************
- // class RtecEventChannelAdmin::_tao__seq_DependencySet
- // *************************************************************
-
- // copy constructor
- RtecEventChannelAdmin::_tao__seq_DependencySet::_tao__seq_DependencySet (const RtecEventChannelAdmin::_tao__seq_DependencySet &seq)
- : maximum_ (seq.maximum_),
- length_ (seq.length_),
- buffer_ (RtecEventChannelAdmin::_tao__seq_DependencySet::allocbuf (seq.maximum_)),
- release_ (1) // we always own it
+// class RtecEventChannelAdmin::_tao__seq_DependencySet
+// *************************************************************
+
+// copy constructor
+RtecEventChannelAdmin::_tao__seq_DependencySet::_tao__seq_DependencySet (const RtecEventChannelAdmin::_tao__seq_DependencySet &seq)
+ : maximum_ (seq.maximum_),
+ length_ (seq.length_),
+ buffer_ (RtecEventChannelAdmin::_tao__seq_DependencySet::allocbuf (seq.maximum_)),
+ release_ (1) // we always own it
+{
+ for (CORBA::ULong i=0; i < seq.length_; i++)
+ this->buffer_[i] = seq.buffer_[i];
+}
+
+// destructor
+RtecEventChannelAdmin::_tao__seq_DependencySet::~_tao__seq_DependencySet (void)
+{
+ if (this->release_) // we own the buffer
{
- for (CORBA::ULong i=0; i < seq.length_; i++)
- this->buffer_[i] = seq.buffer_[i];
+ RtecEventChannelAdmin::_tao__seq_DependencySet::freebuf (this->buffer_);
}
+}
- // destructor
- RtecEventChannelAdmin::_tao__seq_DependencySet::~_tao__seq_DependencySet (void)
+// assignment operator
+RtecEventChannelAdmin::_tao__seq_DependencySet&
+RtecEventChannelAdmin::_tao__seq_DependencySet::operator= (const RtecEventChannelAdmin::_tao__seq_DependencySet &seq)
+{
+ if (this == &seq) return *this;
+ if (this->release_)
{
- if (this->release_) // we own the buffer
- {
- RtecEventChannelAdmin::_tao__seq_DependencySet::freebuf (this->buffer_);
- }
+ RtecEventChannelAdmin::_tao__seq_DependencySet::freebuf (this->buffer_);
}
+ this->length_ = seq.length_;
+ this->maximum_ = seq.maximum_;
+ this->buffer_ = RtecEventChannelAdmin::_tao__seq_DependencySet::allocbuf (seq.maximum_),
+ this->release_ =1; // we always own it
+ for (CORBA::ULong i=0; i < seq.length_; i++)
+ this->buffer_[i] = seq.buffer_[i];
+ return *this;
+}
- // assignment operator
- RtecEventChannelAdmin::_tao__seq_DependencySet&
- RtecEventChannelAdmin::_tao__seq_DependencySet::operator= (const RtecEventChannelAdmin::_tao__seq_DependencySet &seq)
+void
+RtecEventChannelAdmin::_tao__seq_DependencySet::length (CORBA::ULong length)
+{
+ if (length > this->maximum_)
{
- if (this == &seq) return *this;
- if (this->release_)
+ RtecEventChannelAdmin::Dependency *tmp = RtecEventChannelAdmin::_tao__seq_DependencySet::allocbuf (length);
+ if (tmp == 0)
+ return;
+ for (int i = 0; i < this->length_; ++i)
{
- RtecEventChannelAdmin::_tao__seq_DependencySet::freebuf (this->buffer_);
+ tmp[i] = this->buffer_[i];
}
- this->length_ = seq.length_;
- this->maximum_ = seq.maximum_;
- this->buffer_ = RtecEventChannelAdmin::_tao__seq_DependencySet::allocbuf (seq.maximum_),
- this->release_ =1; // we always own it
- for (CORBA::ULong i=0; i < seq.length_; i++)
- this->buffer_[i] = seq.buffer_[i];
- return *this;
- }
+ if (this->release_)
+ RtecEventChannelAdmin::_tao__seq_DependencySet::freebuf (this->buffer_);
+ this->buffer_ = tmp;
+ this->release_ = 1;
- void
- RtecEventChannelAdmin::_tao__seq_DependencySet::length (CORBA::ULong length)
- {
- if (length > this->maximum_)
- {
- RtecEventChannelAdmin::Dependency *tmp = RtecEventChannelAdmin::_tao__seq_DependencySet::allocbuf (length);
- if (tmp == 0)
- return;
- for (int i = 0; i < this->length_; ++i)
- {
- tmp[i] = this->buffer_[i];
- }
- if (this->release_)
- RtecEventChannelAdmin::_tao__seq_DependencySet::freebuf (this->buffer_);
- this->buffer_ = tmp;
- this->release_ = 1;
-
- this->length_ = length;
+ this->length_ = length;
this->maximum_ = length;
- }
}
+}
- static const CORBA::Long _oc_RtecEventChannelAdmin__tao__seq_DependencySet[] =
- {
+static const CORBA::Long _oc_RtecEventChannelAdmin__tao__seq_DependencySet[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 568, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_struct, // typecode kind
- 220, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 41, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4465, 0x70656e64, 0x656e6379, 0x3a312e30, 0x0, // repository ID = IDL:RtecEventChannelAdmin/Dependency:1.0
- 11, 0x44657065, 0x6e64656e, 0x63790000, // name = Dependency
- 2, // member count
- 7, 0x6576656e, 0x745f0000, // name = event_
- CORBA::tk_struct, // typecode kind
- 52, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 28, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e743a, 0x312e3000, // repository ID = IDL:RtecEventComm/Event:1.0
- 6, 0x4576656e, 0x74000000, // name = Event
- 0, // member count
- 8, 0x72745f69, 0x6e666f00, // name = rt_info
- CORBA::tk_alias, // typecode kind for typedefs
- 56, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0
- 9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t
- CORBA::tk_long,
+ 41, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4465, 0x70656e64, 0x656e6379, 0x3a312e30, 0x0, // repository ID = IDL:RtecEventChannelAdmin/Dependency:1.0
+ 11, 0x44657065, 0x6e64656e, 0x63790000, // name = Dependency
+ 2, // member count
+ 7, 0x6576656e, 0x745f0000, // name = event_
+ CORBA::tk_struct, // typecode kind
+ 396, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 28, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e743a, 0x312e3000, // repository ID = IDL:RtecEventComm/Event:1.0
+ 6, 0x4576656e, 0x74000000, // name = Event
+ 4, // member count
+ 8, 0x736f7572, 0x63655f00, // name = source_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 68, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 36, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7453, 0x6f757263, 0x6549443a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventSourceID:1.0
+ 14, 0x4576656e, 0x74536f75, 0x72636549, 0x44000000, // name = EventSourceID
+ CORBA::tk_long,
- 0,
- };
- static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin__tao__seq_DependencySet (CORBA::tk_sequence, sizeof (_oc_RtecEventChannelAdmin__tao__seq_DependencySet), (unsigned char *) &_oc_RtecEventChannelAdmin__tao__seq_DependencySet, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc__tao__seq_DependencySet = &_tc__tc_RtecEventChannelAdmin__tao__seq_DependencySet;
+ 6, 0x74797065, 0x5f000000, // name = type_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 60, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7454, 0x7970653a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventType:1.0
+ 10, 0x4576656e, 0x74547970, 0x65000000, // name = EventType
+ CORBA::tk_long,
- static const CORBA::Long _oc_RtecEventChannelAdmin_DependencySet[] =
- {
+ 6, 0x74696d65, 0x5f000000, // name = time_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 52, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 27, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecEventComm/Time:1.0
+ 5, 0x54696d65, 0x0, // name = Time
+ CORBA::tk_long,
+
+ 6, 0x64617461, 0x5f000000, // name = data_
+ CORBA::tk_struct, // typecode kind
+ 84, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventData:1.0
+ 10, 0x4576656e, 0x74446174, 0x61000000, // name = EventData
+ 2, // member count
+ 2, 0x78000000, // name = x
+ CORBA::tk_long,
+
+ 2, 0x79000000, // name = y
+ CORBA::tk_long,
+
+ 8, 0x72745f69, 0x6e666f00, // name = rt_info
+ CORBA::tk_alias, // typecode kind for typedefs
+ 60, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0
+ 9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t
+ CORBA::tk_long,
+
+ 0,
+};
+static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin__tao__seq_DependencySet (CORBA::tk_sequence, sizeof (_oc_RtecEventChannelAdmin__tao__seq_DependencySet), (unsigned char *) &_oc_RtecEventChannelAdmin__tao__seq_DependencySet, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc__tao__seq_DependencySet = &_tc__tc_RtecEventChannelAdmin__tao__seq_DependencySet;
+
+static const CORBA::Long _oc_RtecEventChannelAdmin_DependencySet[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 44, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4465, 0x70656e64, 0x656e6379, 0x5365743a, 0x312e3000, // repository ID = IDL:RtecEventChannelAdmin/DependencySet:1.0
+ 14, 0x44657065, 0x6e64656e, 0x63795365, 0x74000000, // name = DependencySet
+ CORBA::tk_sequence, // typecode kind
+ 592, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 568, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 41, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4465, 0x70656e64, 0x656e6379, 0x3a312e30, 0x0, // repository ID = IDL:RtecEventChannelAdmin/Dependency:1.0
+ 11, 0x44657065, 0x6e64656e, 0x63790000, // name = Dependency
+ 2, // member count
+ 7, 0x6576656e, 0x745f0000, // name = event_
+ CORBA::tk_struct, // typecode kind
+ 396, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 28, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e743a, 0x312e3000, // repository ID = IDL:RtecEventComm/Event:1.0
+ 6, 0x4576656e, 0x74000000, // name = Event
+ 4, // member count
+ 8, 0x736f7572, 0x63655f00, // name = source_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 68, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 36, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7453, 0x6f757263, 0x6549443a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventSourceID:1.0
+ 14, 0x4576656e, 0x74536f75, 0x72636549, 0x44000000, // name = EventSourceID
+ CORBA::tk_long,
+
+ 6, 0x74797065, 0x5f000000, // name = type_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 60, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7454, 0x7970653a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventType:1.0
+ 10, 0x4576656e, 0x74547970, 0x65000000, // name = EventType
+ CORBA::tk_long,
+
+ 6, 0x74696d65, 0x5f000000, // name = time_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 52, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 27, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecEventComm/Time:1.0
+ 5, 0x54696d65, 0x0, // name = Time
+ CORBA::tk_long,
+
+ 6, 0x64617461, 0x5f000000, // name = data_
+ CORBA::tk_struct, // typecode kind
+ 84, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventData:1.0
+ 10, 0x4576656e, 0x74446174, 0x61000000, // name = EventData
+ 2, // member count
+ 2, 0x78000000, // name = x
+ CORBA::tk_long,
+
+ 2, 0x79000000, // name = y
+ CORBA::tk_long,
+
+ 8, 0x72745f69, 0x6e666f00, // name = rt_info
+ CORBA::tk_alias, // typecode kind for typedefs
+ 60, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0
+ 9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t
+ CORBA::tk_long,
+
+ 0,
+};
+static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_DependencySet (CORBA::tk_alias, sizeof (_oc_RtecEventChannelAdmin_DependencySet), (unsigned char *) &_oc_RtecEventChannelAdmin_DependencySet, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_DependencySet = &_tc__tc_RtecEventChannelAdmin_DependencySet;
+
+static const CORBA::Long _oc_RtecEventChannelAdmin_ConsumerQOS[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 42, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f436f, 0x6e73756d, 0x6572514f, 0x533a312e, 0x30000000, // repository ID = IDL:RtecEventChannelAdmin/ConsumerQOS:1.0
+ 12, 0x436f6e73, 0x756d6572, 0x514f5300, // name = ConsumerQOS
+ 2, // member count
+ 13, 0x64657065, 0x6e64656e, 0x63696573, 0x0, // name = dependencies
+ CORBA::tk_alias, // typecode kind for typedefs
+ 664, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
44, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4465, 0x70656e64, 0x656e6379, 0x5365743a, 0x312e3000, // repository ID = IDL:RtecEventChannelAdmin/DependencySet:1.0
14, 0x44657065, 0x6e64656e, 0x63795365, 0x74000000, // name = DependencySet
CORBA::tk_sequence, // typecode kind
- 236, // encapsulation length
+ 592, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
CORBA::tk_struct, // typecode kind
- 220, // encapsulation length
+ 568, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
41, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4465, 0x70656e64, 0x656e6379, 0x3a312e30, 0x0, // repository ID = IDL:RtecEventChannelAdmin/Dependency:1.0
11, 0x44657065, 0x6e64656e, 0x63790000, // name = Dependency
2, // member count
7, 0x6576656e, 0x745f0000, // name = event_
CORBA::tk_struct, // typecode kind
- 52, // encapsulation length
+ 396, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
28, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e743a, 0x312e3000, // repository ID = IDL:RtecEventComm/Event:1.0
6, 0x4576656e, 0x74000000, // name = Event
- 0, // member count
- 8, 0x72745f69, 0x6e666f00, // name = rt_info
+ 4, // member count
+ 8, 0x736f7572, 0x63655f00, // name = source_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 68, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 36, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7453, 0x6f757263, 0x6549443a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventSourceID:1.0
+ 14, 0x4576656e, 0x74536f75, 0x72636549, 0x44000000, // name = EventSourceID
+ CORBA::tk_long,
+
+ 6, 0x74797065, 0x5f000000, // name = type_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 60, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7454, 0x7970653a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventType:1.0
+ 10, 0x4576656e, 0x74547970, 0x65000000, // name = EventType
+ CORBA::tk_long,
+
+ 6, 0x74696d65, 0x5f000000, // name = time_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 52, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 27, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecEventComm/Time:1.0
+ 5, 0x54696d65, 0x0, // name = Time
+ CORBA::tk_long,
+
+ 6, 0x64617461, 0x5f000000, // name = data_
+ CORBA::tk_struct, // typecode kind
+ 84, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventData:1.0
+ 10, 0x4576656e, 0x74446174, 0x61000000, // name = EventData
+ 2, // member count
+ 2, 0x78000000, // name = x
+ CORBA::tk_long,
+
+ 2, 0x79000000, // name = y
+ CORBA::tk_long,
+
+ 8, 0x72745f69, 0x6e666f00, // name = rt_info
CORBA::tk_alias, // typecode kind for typedefs
- 56, // encapsulation length
+ 60, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0
9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t
CORBA::tk_long,
- 0,
- };
- static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_DependencySet (CORBA::tk_alias, sizeof (_oc_RtecEventChannelAdmin_DependencySet), (unsigned char *) &_oc_RtecEventChannelAdmin_DependencySet, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_DependencySet = &_tc__tc_RtecEventChannelAdmin_DependencySet;
+ 0,
+ 14, 0x666f7277, 0x6172645f, 0x6576656e, 0x74000000, // name = forward_event
+ CORBA::tk_struct, // typecode kind
+ 396, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 28, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e743a, 0x312e3000, // repository ID = IDL:RtecEventComm/Event:1.0
+ 6, 0x4576656e, 0x74000000, // name = Event
+ 4, // member count
+ 8, 0x736f7572, 0x63655f00, // name = source_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 68, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 36, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7453, 0x6f757263, 0x6549443a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventSourceID:1.0
+ 14, 0x4576656e, 0x74536f75, 0x72636549, 0x44000000, // name = EventSourceID
+ CORBA::tk_long,
+
+ 6, 0x74797065, 0x5f000000, // name = type_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 60, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7454, 0x7970653a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventType:1.0
+ 10, 0x4576656e, 0x74547970, 0x65000000, // name = EventType
+ CORBA::tk_long,
+
+ 6, 0x74696d65, 0x5f000000, // name = time_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 52, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 27, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecEventComm/Time:1.0
+ 5, 0x54696d65, 0x0, // name = Time
+ CORBA::tk_long,
+
+ 6, 0x64617461, 0x5f000000, // name = data_
+ CORBA::tk_struct, // typecode kind
+ 84, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventData:1.0
+ 10, 0x4576656e, 0x74446174, 0x61000000, // name = EventData
+ 2, // member count
+ 2, 0x78000000, // name = x
+ CORBA::tk_long,
+
+ 2, 0x79000000, // name = y
+ CORBA::tk_long,
+
+ };
+static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_ConsumerQOS (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_ConsumerQOS), (unsigned char *) &_oc_RtecEventChannelAdmin_ConsumerQOS, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_ConsumerQOS = &_tc__tc_RtecEventChannelAdmin_ConsumerQOS;
+
+static const CORBA::Long _oc_RtecEventChannelAdmin_Publication[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 42, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5075, 0x626c6963, 0x6174696f, 0x6e3a312e, 0x30000000, // repository ID = IDL:RtecEventChannelAdmin/Publication:1.0
+ 12, 0x5075626c, 0x69636174, 0x696f6e00, // name = Publication
+ 2, // member count
+ 7, 0x6576656e, 0x745f0000, // name = event_
+ CORBA::tk_struct, // typecode kind
+ 396, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 28, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e743a, 0x312e3000, // repository ID = IDL:RtecEventComm/Event:1.0
+ 6, 0x4576656e, 0x74000000, // name = Event
+ 4, // member count
+ 8, 0x736f7572, 0x63655f00, // name = source_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 68, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 36, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7453, 0x6f757263, 0x6549443a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventSourceID:1.0
+ 14, 0x4576656e, 0x74536f75, 0x72636549, 0x44000000, // name = EventSourceID
+ CORBA::tk_long,
+
+ 6, 0x74797065, 0x5f000000, // name = type_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 60, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7454, 0x7970653a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventType:1.0
+ 10, 0x4576656e, 0x74547970, 0x65000000, // name = EventType
+ CORBA::tk_long,
+
+ 6, 0x74696d65, 0x5f000000, // name = time_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 52, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 27, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecEventComm/Time:1.0
+ 5, 0x54696d65, 0x0, // name = Time
+ CORBA::tk_long,
+
+ 6, 0x64617461, 0x5f000000, // name = data_
+ CORBA::tk_struct, // typecode kind
+ 84, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventData:1.0
+ 10, 0x4576656e, 0x74446174, 0x61000000, // name = EventData
+ 2, // member count
+ 2, 0x78000000, // name = x
+ CORBA::tk_long,
+
+ 2, 0x79000000, // name = y
+ CORBA::tk_long,
+
+ 17, 0x64657065, 0x6e64656e, 0x63795f69, 0x6e666f5f, 0x0, // name = dependency_info_
+ CORBA::tk_struct, // typecode kind
+ 176, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 38, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f496e66, 0x6f3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Dependency_Info:1.0
+ 16, 0x44657065, 0x6e64656e, 0x63795f49, 0x6e666f00, // name = Dependency_Info
+ 2, // member count
+ 16, 0x6e756d62, 0x65725f6f, 0x665f6361, 0x6c6c7300, // name = number_of_calls
+ CORBA::tk_long,
+
+ 8, 0x72745f69, 0x6e666f00, // name = rt_info
+ CORBA::tk_alias, // typecode kind for typedefs
+ 60, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0
+ 9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t
+ CORBA::tk_long,
+
+ };
+static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_Publication (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_Publication), (unsigned char *) &_oc_RtecEventChannelAdmin_Publication, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_Publication = &_tc__tc_RtecEventChannelAdmin_Publication;
+
+// *************************************************************
+// class RtecEventChannelAdmin::_tao__seq_PublicationSet
+// *************************************************************
+
+// copy constructor
+RtecEventChannelAdmin::_tao__seq_PublicationSet::_tao__seq_PublicationSet (const RtecEventChannelAdmin::_tao__seq_PublicationSet &seq)
+ : maximum_ (seq.maximum_),
+ length_ (seq.length_),
+ buffer_ (RtecEventChannelAdmin::_tao__seq_PublicationSet::allocbuf (seq.maximum_)),
+ release_ (1) // we always own it
+{
+ for (CORBA::ULong i=0; i < seq.length_; i++)
+ this->buffer_[i] = seq.buffer_[i];
+}
+
+// destructor
+RtecEventChannelAdmin::_tao__seq_PublicationSet::~_tao__seq_PublicationSet (void)
+{
+ if (this->release_) // we own the buffer
+ {
+ RtecEventChannelAdmin::_tao__seq_PublicationSet::freebuf (this->buffer_);
+ }
+}
+
+// assignment operator
+RtecEventChannelAdmin::_tao__seq_PublicationSet&
+RtecEventChannelAdmin::_tao__seq_PublicationSet::operator= (const RtecEventChannelAdmin::_tao__seq_PublicationSet &seq)
+{
+ if (this == &seq) return *this;
+ if (this->release_)
+ {
+ RtecEventChannelAdmin::_tao__seq_PublicationSet::freebuf (this->buffer_);
+ }
+ this->length_ = seq.length_;
+ this->maximum_ = seq.maximum_;
+ this->buffer_ = RtecEventChannelAdmin::_tao__seq_PublicationSet::allocbuf (seq.maximum_),
+ this->release_ =1; // we always own it
+ for (CORBA::ULong i=0; i < seq.length_; i++)
+ this->buffer_[i] = seq.buffer_[i];
+ return *this;
+}
+
+void
+RtecEventChannelAdmin::_tao__seq_PublicationSet::length (CORBA::ULong length)
+{
+ if (length > this->maximum_)
+ {
+ RtecEventChannelAdmin::Publication *tmp = RtecEventChannelAdmin::_tao__seq_PublicationSet::allocbuf (length);
+ if (tmp == 0)
+ return;
+ for (int i = 0; i < this->length_; ++i)
+ {
+ tmp[i] = this->buffer_[i];
+ }
+ if (this->release_)
+ RtecEventChannelAdmin::_tao__seq_PublicationSet::freebuf (this->buffer_);
+ this->buffer_ = tmp;
+ this->release_ = 1;
+
+ this->length_ = length;
+this->maximum_ = length;
+ }
+}
+
+static const CORBA::Long _oc_RtecEventChannelAdmin__tao__seq_PublicationSet[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 696, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 42, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5075, 0x626c6963, 0x6174696f, 0x6e3a312e, 0x30000000, // repository ID = IDL:RtecEventChannelAdmin/Publication:1.0
+ 12, 0x5075626c, 0x69636174, 0x696f6e00, // name = Publication
+ 2, // member count
+ 7, 0x6576656e, 0x745f0000, // name = event_
+ CORBA::tk_struct, // typecode kind
+ 396, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 28, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e743a, 0x312e3000, // repository ID = IDL:RtecEventComm/Event:1.0
+ 6, 0x4576656e, 0x74000000, // name = Event
+ 4, // member count
+ 8, 0x736f7572, 0x63655f00, // name = source_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 68, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 36, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7453, 0x6f757263, 0x6549443a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventSourceID:1.0
+ 14, 0x4576656e, 0x74536f75, 0x72636549, 0x44000000, // name = EventSourceID
+ CORBA::tk_long,
+
+ 6, 0x74797065, 0x5f000000, // name = type_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 60, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7454, 0x7970653a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventType:1.0
+ 10, 0x4576656e, 0x74547970, 0x65000000, // name = EventType
+ CORBA::tk_long,
+
+ 6, 0x74696d65, 0x5f000000, // name = time_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 52, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 27, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecEventComm/Time:1.0
+ 5, 0x54696d65, 0x0, // name = Time
+ CORBA::tk_long,
+
+ 6, 0x64617461, 0x5f000000, // name = data_
+ CORBA::tk_struct, // typecode kind
+ 84, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventData:1.0
+ 10, 0x4576656e, 0x74446174, 0x61000000, // name = EventData
+ 2, // member count
+ 2, 0x78000000, // name = x
+ CORBA::tk_long,
+
+ 2, 0x79000000, // name = y
+ CORBA::tk_long,
- static const CORBA::Long _oc_RtecEventChannelAdmin_ConsumerQOS[] =
- {
+ 17, 0x64657065, 0x6e64656e, 0x63795f69, 0x6e666f5f, 0x0, // name = dependency_info_
+ CORBA::tk_struct, // typecode kind
+ 176, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
- 42, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f436f, 0x6e73756d, 0x6572514f, 0x533a312e, 0x30000000, // repository ID = IDL:RtecEventChannelAdmin/ConsumerQOS:1.0
- 12, 0x436f6e73, 0x756d6572, 0x514f5300, // name = ConsumerQOS
+ 38, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f496e66, 0x6f3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Dependency_Info:1.0
+ 16, 0x44657065, 0x6e64656e, 0x63795f49, 0x6e666f00, // name = Dependency_Info
2, // member count
- 13, 0x64657065, 0x6e64656e, 0x63696573, 0x0, // name = dependencies
+ 16, 0x6e756d62, 0x65725f6f, 0x665f6361, 0x6c6c7300, // name = number_of_calls
+ CORBA::tk_long,
+
+ 8, 0x72745f69, 0x6e666f00, // name = rt_info
CORBA::tk_alias, // typecode kind for typedefs
- 300, // encapsulation length
+ 60, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
- 44, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4465, 0x70656e64, 0x656e6379, 0x5365743a, 0x312e3000, // repository ID = IDL:RtecEventChannelAdmin/DependencySet:1.0
- 14, 0x44657065, 0x6e64656e, 0x63795365, 0x74000000, // name = DependencySet
- CORBA::tk_sequence, // typecode kind
- 236, // encapsulation length
+ 31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0
+ 9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t
+ CORBA::tk_long,
+
+ 0,
+};
+static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin__tao__seq_PublicationSet (CORBA::tk_sequence, sizeof (_oc_RtecEventChannelAdmin__tao__seq_PublicationSet), (unsigned char *) &_oc_RtecEventChannelAdmin__tao__seq_PublicationSet, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc__tao__seq_PublicationSet = &_tc__tc_RtecEventChannelAdmin__tao__seq_PublicationSet;
+
+static const CORBA::Long _oc_RtecEventChannelAdmin_PublicationSet[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 45, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5075, 0x626c6963, 0x6174696f, 0x6e536574, 0x3a312e30, 0x0, // repository ID = IDL:RtecEventChannelAdmin/PublicationSet:1.0
+ 15, 0x5075626c, 0x69636174, 0x696f6e53, 0x65740000, // name = PublicationSet
+ CORBA::tk_sequence, // typecode kind
+ 720, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 696, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 42, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5075, 0x626c6963, 0x6174696f, 0x6e3a312e, 0x30000000, // repository ID = IDL:RtecEventChannelAdmin/Publication:1.0
+ 12, 0x5075626c, 0x69636174, 0x696f6e00, // name = Publication
+ 2, // member count
+ 7, 0x6576656e, 0x745f0000, // name = event_
+ CORBA::tk_struct, // typecode kind
+ 396, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 28, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e743a, 0x312e3000, // repository ID = IDL:RtecEventComm/Event:1.0
+ 6, 0x4576656e, 0x74000000, // name = Event
+ 4, // member count
+ 8, 0x736f7572, 0x63655f00, // name = source_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 68, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_struct, // typecode kind
- 220, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 41, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4465, 0x70656e64, 0x656e6379, 0x3a312e30, 0x0, // repository ID = IDL:RtecEventChannelAdmin/Dependency:1.0
- 11, 0x44657065, 0x6e64656e, 0x63790000, // name = Dependency
- 2, // member count
- 7, 0x6576656e, 0x745f0000, // name = event_
- CORBA::tk_struct, // typecode kind
- 52, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 28, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e743a, 0x312e3000, // repository ID = IDL:RtecEventComm/Event:1.0
- 6, 0x4576656e, 0x74000000, // name = Event
- 0, // member count
- 8, 0x72745f69, 0x6e666f00, // name = rt_info
- CORBA::tk_alias, // typecode kind for typedefs
- 56, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0
- 9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t
- CORBA::tk_long,
+ 36, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7453, 0x6f757263, 0x6549443a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventSourceID:1.0
+ 14, 0x4576656e, 0x74536f75, 0x72636549, 0x44000000, // name = EventSourceID
+ CORBA::tk_long,
- 0,
- 14, 0x666f7277, 0x6172645f, 0x6576656e, 0x74000000, // name = forward_event
- CORBA::tk_struct, // typecode kind
- 52, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 28, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e743a, 0x312e3000, // repository ID = IDL:RtecEventComm/Event:1.0
- 6, 0x4576656e, 0x74000000, // name = Event
- 0, // member count
- };
- static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_ConsumerQOS (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_ConsumerQOS), (unsigned char *) &_oc_RtecEventChannelAdmin_ConsumerQOS, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_ConsumerQOS = &_tc__tc_RtecEventChannelAdmin_ConsumerQOS;
-
- static const CORBA::Long _oc_RtecEventChannelAdmin_Publication[] =
- {
+ 6, 0x74797065, 0x5f000000, // name = type_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 60, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
- 42, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5075, 0x626c6963, 0x6174696f, 0x6e3a312e, 0x30000000, // repository ID = IDL:RtecEventChannelAdmin/Publication:1.0
- 12, 0x5075626c, 0x69636174, 0x696f6e00, // name = Publication
+ 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7454, 0x7970653a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventType:1.0
+ 10, 0x4576656e, 0x74547970, 0x65000000, // name = EventType
+ CORBA::tk_long,
+
+ 6, 0x74696d65, 0x5f000000, // name = time_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 52, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 27, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecEventComm/Time:1.0
+ 5, 0x54696d65, 0x0, // name = Time
+ CORBA::tk_long,
+
+ 6, 0x64617461, 0x5f000000, // name = data_
+ CORBA::tk_struct, // typecode kind
+ 84, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventData:1.0
+ 10, 0x4576656e, 0x74446174, 0x61000000, // name = EventData
2, // member count
- 7, 0x6576656e, 0x745f0000, // name = event_
- CORBA::tk_struct, // typecode kind
+ 2, 0x78000000, // name = x
+ CORBA::tk_long,
+
+ 2, 0x79000000, // name = y
+ CORBA::tk_long,
+
+ 17, 0x64657065, 0x6e64656e, 0x63795f69, 0x6e666f5f, 0x0, // name = dependency_info_
+ CORBA::tk_struct, // typecode kind
+ 176, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 38, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f496e66, 0x6f3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Dependency_Info:1.0
+ 16, 0x44657065, 0x6e64656e, 0x63795f49, 0x6e666f00, // name = Dependency_Info
+ 2, // member count
+ 16, 0x6e756d62, 0x65725f6f, 0x665f6361, 0x6c6c7300, // name = number_of_calls
+ CORBA::tk_long,
+
+ 8, 0x72745f69, 0x6e666f00, // name = rt_info
+ CORBA::tk_alias, // typecode kind for typedefs
+ 60, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0
+ 9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t
+ CORBA::tk_long,
+
+ 0,
+};
+static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_PublicationSet (CORBA::tk_alias, sizeof (_oc_RtecEventChannelAdmin_PublicationSet), (unsigned char *) &_oc_RtecEventChannelAdmin_PublicationSet, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_PublicationSet = &_tc__tc_RtecEventChannelAdmin_PublicationSet;
+
+static const CORBA::Long _oc_RtecEventChannelAdmin_SupplierQOS[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 42, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5375, 0x70706c69, 0x6572514f, 0x533a312e, 0x30000000, // repository ID = IDL:RtecEventChannelAdmin/SupplierQOS:1.0
+ 12, 0x53757070, 0x6c696572, 0x514f5300, // name = SupplierQOS
+ 1, // member count
+ 14, 0x7075626c, 0x69636174, 0x696f6e73, 0x5f000000, // name = publications_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 796, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 45, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5075, 0x626c6963, 0x6174696f, 0x6e536574, 0x3a312e30, 0x0, // repository ID = IDL:RtecEventChannelAdmin/PublicationSet:1.0
+ 15, 0x5075626c, 0x69636174, 0x696f6e53, 0x65740000, // name = PublicationSet
+ CORBA::tk_sequence, // typecode kind
+ 720, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 696, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 42, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5075, 0x626c6963, 0x6174696f, 0x6e3a312e, 0x30000000, // repository ID = IDL:RtecEventChannelAdmin/Publication:1.0
+ 12, 0x5075626c, 0x69636174, 0x696f6e00, // name = Publication
+ 2, // member count
+ 7, 0x6576656e, 0x745f0000, // name = event_
+ CORBA::tk_struct, // typecode kind
+ 396, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 28, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e743a, 0x312e3000, // repository ID = IDL:RtecEventComm/Event:1.0
+ 6, 0x4576656e, 0x74000000, // name = Event
+ 4, // member count
+ 8, 0x736f7572, 0x63655f00, // name = source_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 68, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 36, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7453, 0x6f757263, 0x6549443a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventSourceID:1.0
+ 14, 0x4576656e, 0x74536f75, 0x72636549, 0x44000000, // name = EventSourceID
+ CORBA::tk_long,
+
+ 6, 0x74797065, 0x5f000000, // name = type_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 60, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7454, 0x7970653a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventType:1.0
+ 10, 0x4576656e, 0x74547970, 0x65000000, // name = EventType
+ CORBA::tk_long,
+
+ 6, 0x74696d65, 0x5f000000, // name = time_
+ CORBA::tk_alias, // typecode kind for typedefs
52, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
- 28, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e743a, 0x312e3000, // repository ID = IDL:RtecEventComm/Event:1.0
- 6, 0x4576656e, 0x74000000, // name = Event
- 0, // member count
- 17, 0x64657065, 0x6e64656e, 0x63795f69, 0x6e666f5f, 0x0, // name = dependency_info_
+ 27, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecEventComm/Time:1.0
+ 5, 0x54696d65, 0x0, // name = Time
+ CORBA::tk_long,
+
+ 6, 0x64617461, 0x5f000000, // name = data_
CORBA::tk_struct, // typecode kind
- 72, // encapsulation length
+ 84, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
- 38, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f496e66, 0x6f3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Dependency_Info:1.0
- 16, 0x44657065, 0x6e64656e, 0x63795f49, 0x6e666f00, // name = Dependency_Info
- 0, // member count
- };
- static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_Publication (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_Publication), (unsigned char *) &_oc_RtecEventChannelAdmin_Publication, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_Publication = &_tc__tc_RtecEventChannelAdmin_Publication;
+ 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventData:1.0
+ 10, 0x4576656e, 0x74446174, 0x61000000, // name = EventData
+ 2, // member count
+ 2, 0x78000000, // name = x
+ CORBA::tk_long,
-// *************************************************************
- // class RtecEventChannelAdmin::_tao__seq_PublicationSet
- // *************************************************************
-
- // copy constructor
- RtecEventChannelAdmin::_tao__seq_PublicationSet::_tao__seq_PublicationSet (const RtecEventChannelAdmin::_tao__seq_PublicationSet &seq)
- : maximum_ (seq.maximum_),
- length_ (seq.length_),
- buffer_ (RtecEventChannelAdmin::_tao__seq_PublicationSet::allocbuf (seq.maximum_)),
- release_ (1) // we always own it
- {
- for (CORBA::ULong i=0; i < seq.length_; i++)
- this->buffer_[i] = seq.buffer_[i];
- }
-
- // destructor
- RtecEventChannelAdmin::_tao__seq_PublicationSet::~_tao__seq_PublicationSet (void)
- {
- if (this->release_) // we own the buffer
- {
- RtecEventChannelAdmin::_tao__seq_PublicationSet::freebuf (this->buffer_);
- }
- }
-
- // assignment operator
- RtecEventChannelAdmin::_tao__seq_PublicationSet&
- RtecEventChannelAdmin::_tao__seq_PublicationSet::operator= (const RtecEventChannelAdmin::_tao__seq_PublicationSet &seq)
- {
- if (this == &seq) return *this;
- if (this->release_)
- {
- RtecEventChannelAdmin::_tao__seq_PublicationSet::freebuf (this->buffer_);
- }
- this->length_ = seq.length_;
- this->maximum_ = seq.maximum_;
- this->buffer_ = RtecEventChannelAdmin::_tao__seq_PublicationSet::allocbuf (seq.maximum_),
- this->release_ =1; // we always own it
- for (CORBA::ULong i=0; i < seq.length_; i++)
- this->buffer_[i] = seq.buffer_[i];
- return *this;
- }
-
- void
- RtecEventChannelAdmin::_tao__seq_PublicationSet::length (CORBA::ULong length)
- {
- if (length > this->maximum_)
- {
- RtecEventChannelAdmin::Publication *tmp = RtecEventChannelAdmin::_tao__seq_PublicationSet::allocbuf (length);
- if (tmp == 0)
- return;
- for (int i = 0; i < this->length_; ++i)
- {
- tmp[i] = this->buffer_[i];
- }
- if (this->release_)
- RtecEventChannelAdmin::_tao__seq_PublicationSet::freebuf (this->buffer_);
- this->buffer_ = tmp;
- this->release_ = 1;
-
- this->length_ = length;
-this->maximum_ = length;
- }
- }
+ 2, 0x79000000, // name = y
+ CORBA::tk_long,
- static const CORBA::Long _oc_RtecEventChannelAdmin__tao__seq_PublicationSet[] =
- {
- TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_struct, // typecode kind
- 248, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 42, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5075, 0x626c6963, 0x6174696f, 0x6e3a312e, 0x30000000, // repository ID = IDL:RtecEventChannelAdmin/Publication:1.0
- 12, 0x5075626c, 0x69636174, 0x696f6e00, // name = Publication
- 2, // member count
- 7, 0x6576656e, 0x745f0000, // name = event_
- CORBA::tk_struct, // typecode kind
- 52, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 28, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e743a, 0x312e3000, // repository ID = IDL:RtecEventComm/Event:1.0
- 6, 0x4576656e, 0x74000000, // name = Event
- 0, // member count
- 17, 0x64657065, 0x6e64656e, 0x63795f69, 0x6e666f5f, 0x0, // name = dependency_info_
- CORBA::tk_struct, // typecode kind
- 72, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 38, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f496e66, 0x6f3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Dependency_Info:1.0
- 16, 0x44657065, 0x6e64656e, 0x63795f49, 0x6e666f00, // name = Dependency_Info
- 0, // member count
- 0,
- };
- static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin__tao__seq_PublicationSet (CORBA::tk_sequence, sizeof (_oc_RtecEventChannelAdmin__tao__seq_PublicationSet), (unsigned char *) &_oc_RtecEventChannelAdmin__tao__seq_PublicationSet, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc__tao__seq_PublicationSet = &_tc__tc_RtecEventChannelAdmin__tao__seq_PublicationSet;
-
- static const CORBA::Long _oc_RtecEventChannelAdmin_PublicationSet[] =
- {
- TAO_ENCAP_BYTE_ORDER, // byte order
- 45, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5075, 0x626c6963, 0x6174696f, 0x6e536574, 0x3a312e30, 0x0, // repository ID = IDL:RtecEventChannelAdmin/PublicationSet:1.0
- 15, 0x5075626c, 0x69636174, 0x696f6e53, 0x65740000, // name = PublicationSet
- CORBA::tk_sequence, // typecode kind
- 264, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_struct, // typecode kind
- 248, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 42, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5075, 0x626c6963, 0x6174696f, 0x6e3a312e, 0x30000000, // repository ID = IDL:RtecEventChannelAdmin/Publication:1.0
- 12, 0x5075626c, 0x69636174, 0x696f6e00, // name = Publication
- 2, // member count
- 7, 0x6576656e, 0x745f0000, // name = event_
- CORBA::tk_struct, // typecode kind
- 52, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 28, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e743a, 0x312e3000, // repository ID = IDL:RtecEventComm/Event:1.0
- 6, 0x4576656e, 0x74000000, // name = Event
- 0, // member count
- 17, 0x64657065, 0x6e64656e, 0x63795f69, 0x6e666f5f, 0x0, // name = dependency_info_
- CORBA::tk_struct, // typecode kind
- 72, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 38, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f496e66, 0x6f3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Dependency_Info:1.0
- 16, 0x44657065, 0x6e64656e, 0x63795f49, 0x6e666f00, // name = Dependency_Info
- 0, // member count
- 0,
- };
- static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_PublicationSet (CORBA::tk_alias, sizeof (_oc_RtecEventChannelAdmin_PublicationSet), (unsigned char *) &_oc_RtecEventChannelAdmin_PublicationSet, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_PublicationSet = &_tc__tc_RtecEventChannelAdmin_PublicationSet;
-
- static const CORBA::Long _oc_RtecEventChannelAdmin_SupplierQOS[] =
- {
+ 17, 0x64657065, 0x6e64656e, 0x63795f69, 0x6e666f5f, 0x0, // name = dependency_info_
+ CORBA::tk_struct, // typecode kind
+ 176, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
- 42, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5375, 0x70706c69, 0x6572514f, 0x533a312e, 0x30000000, // repository ID = IDL:RtecEventChannelAdmin/SupplierQOS:1.0
- 12, 0x53757070, 0x6c696572, 0x514f5300, // name = SupplierQOS
- 1, // member count
- 14, 0x7075626c, 0x69636174, 0x696f6e73, 0x5f000000, // name = publications_
+ 38, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f496e66, 0x6f3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Dependency_Info:1.0
+ 16, 0x44657065, 0x6e64656e, 0x63795f49, 0x6e666f00, // name = Dependency_Info
+ 2, // member count
+ 16, 0x6e756d62, 0x65725f6f, 0x665f6361, 0x6c6c7300, // name = number_of_calls
+ CORBA::tk_long,
+
+ 8, 0x72745f69, 0x6e666f00, // name = rt_info
CORBA::tk_alias, // typecode kind for typedefs
- 332, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 45, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5075, 0x626c6963, 0x6174696f, 0x6e536574, 0x3a312e30, 0x0, // repository ID = IDL:RtecEventChannelAdmin/PublicationSet:1.0
- 15, 0x5075626c, 0x69636174, 0x696f6e53, 0x65740000, // name = PublicationSet
- CORBA::tk_sequence, // typecode kind
- 264, // encapsulation length
+ 60, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_struct, // typecode kind
- 248, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 42, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5075, 0x626c6963, 0x6174696f, 0x6e3a312e, 0x30000000, // repository ID = IDL:RtecEventChannelAdmin/Publication:1.0
- 12, 0x5075626c, 0x69636174, 0x696f6e00, // name = Publication
- 2, // member count
- 7, 0x6576656e, 0x745f0000, // name = event_
- CORBA::tk_struct, // typecode kind
- 52, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 28, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e743a, 0x312e3000, // repository ID = IDL:RtecEventComm/Event:1.0
- 6, 0x4576656e, 0x74000000, // name = Event
- 0, // member count
- 17, 0x64657065, 0x6e64656e, 0x63795f69, 0x6e666f5f, 0x0, // name = dependency_info_
- CORBA::tk_struct, // typecode kind
- 72, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 38, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f496e66, 0x6f3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Dependency_Info:1.0
- 16, 0x44657065, 0x6e64656e, 0x63795f49, 0x6e666f00, // name = Dependency_Info
- 0, // member count
- 0,
- };
- static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_SupplierQOS (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_SupplierQOS), (unsigned char *) &_oc_RtecEventChannelAdmin_SupplierQOS, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_SupplierQOS = &_tc__tc_RtecEventChannelAdmin_SupplierQOS;
-
- RtecEventChannelAdmin::ProxyPushConsumer_ptr RtecEventChannelAdmin::ProxyPushConsumer::_duplicate (RtecEventChannelAdmin::ProxyPushConsumer_ptr obj)
- {
- if (!CORBA::is_nil (obj))
- obj->AddRef ();
-
- return obj;
- } // end of _duplicate
-
- RtecEventChannelAdmin::ProxyPushConsumer_ptr RtecEventChannelAdmin::ProxyPushConsumer::_narrow (CORBA::Object_ptr obj, CORBA::Environment &env)
- {
- if (CORBA::is_nil (obj)) return RtecEventChannelAdmin::ProxyPushConsumer::_nil ();
- if (obj->_is_a ("IDL:RtecEventChannelAdmin/ProxyPushConsumer:1.0", env))
- {
- STUB_Object *istub;
- RtecEventChannelAdmin::ProxyPushConsumer_ptr new_obj; // to be returned
- if (obj->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- return RtecEventChannelAdmin::ProxyPushConsumer::_nil ();
-
- obj->Release (); // need this since QueryIntf bumped our refcount
- new_obj = new RtecEventChannelAdmin::ProxyPushConsumer (istub); // construct obj ref using the stub object
- return new_obj;
- } // end of if
- return RtecEventChannelAdmin::ProxyPushConsumer::_nil (); // _narrow failed
- } // end of _narrow
-
- RtecEventChannelAdmin::ProxyPushConsumer_ptr RtecEventChannelAdmin::ProxyPushConsumer::_nil (void)
- {
- return (RtecEventChannelAdmin::ProxyPushConsumer_ptr)NULL;
- } // end of _nil
-
- RtecEventChannelAdmin::ProxyPushConsumer_ptr RtecEventChannelAdmin::ProxyPushConsumer::_bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env)
- {
- CORBA::Object_ptr objref = CORBA::Object::_nil ();
- IIOP_Object *data = new IIOP_Object (host, port, key);
- if (!data) return RtecEventChannelAdmin::ProxyPushConsumer::_nil ();
- // get the object_ptr using Query Interface
- if (data->QueryInterface (IID_CORBA_Object, (void **)&objref) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return RtecEventChannelAdmin::ProxyPushConsumer::_nil ();
- }
- data->Release (); // QueryInterface had bumped up our count
- if (CORBA::is_nil (objref))
- return RtecEventChannelAdmin::ProxyPushConsumer::_nil ();
- else // narrow it
- return RtecEventChannelAdmin::ProxyPushConsumer::_narrow (objref, env);
- }
-
- static const TAO_Param_Data RtecEventChannelAdmin_ProxyPushConsumer_connect_push_supplier_paramdata [] =
- {
- {CORBA::_tc_void, PARAM_RETURN, 0},
- {RtecEventComm::_tc_PushSupplier, PARAM_IN, 0},
- {RtecEventChannelAdmin::_tc_SupplierQOS, PARAM_IN, 0}
- };
+ 31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0
+ 9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t
+ CORBA::tk_long,
+
+ 0,
+};
+static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_SupplierQOS (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_SupplierQOS), (unsigned char *) &_oc_RtecEventChannelAdmin_SupplierQOS, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_SupplierQOS = &_tc__tc_RtecEventChannelAdmin_SupplierQOS;
- static const TAO_Call_Data RtecEventChannelAdmin_ProxyPushConsumer_connect_push_supplier_calldata =
- {"connect_push_supplier", 1, 3, RtecEventChannelAdmin_ProxyPushConsumer_connect_push_supplier_paramdata, 0, 0};
-
- void RtecEventChannelAdmin::ProxyPushConsumer::connect_push_supplier (RtecEventComm::PushSupplier_ptr push_supplier, const RtecEventChannelAdmin::SupplierQOS & qos, CORBA::Environment &env)
- {
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return;
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &RtecEventChannelAdmin_ProxyPushConsumer_connect_push_supplier_calldata, 0, &push_supplier, &qos);
- return; // no value
-
+RtecEventChannelAdmin::ProxyPushConsumer_ptr RtecEventChannelAdmin::ProxyPushConsumer::_duplicate (RtecEventChannelAdmin::ProxyPushConsumer_ptr obj)
+{
+ if (!CORBA::is_nil (obj))
+ obj->AddRef ();
+
+ return obj;
+} // end of _duplicate
+
+RtecEventChannelAdmin::ProxyPushConsumer_ptr RtecEventChannelAdmin::ProxyPushConsumer::_narrow (CORBA::Object_ptr obj, CORBA::Environment &env)
+{
+ if (CORBA::is_nil (obj)) return RtecEventChannelAdmin::ProxyPushConsumer::_nil ();
+ if (obj->_is_a ("IDL:RtecEventChannelAdmin/ProxyPushConsumer:1.0", env))
+ {
+ STUB_Object *istub;
+ RtecEventChannelAdmin::ProxyPushConsumer_ptr new_obj; // to be returned
+ if (obj->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ return RtecEventChannelAdmin::ProxyPushConsumer::_nil ();
+
+ obj->Release (); // need this since QueryIntf bumped our refcount
+ new_obj = new RtecEventChannelAdmin::ProxyPushConsumer (istub); // construct obj ref using the stub object
+ return new_obj;
+ } // end of if
+ return RtecEventChannelAdmin::ProxyPushConsumer::_nil (); // _narrow failed
+} // end of _narrow
+
+RtecEventChannelAdmin::ProxyPushConsumer_ptr RtecEventChannelAdmin::ProxyPushConsumer::_nil (void)
+{
+ return (RtecEventChannelAdmin::ProxyPushConsumer_ptr)NULL;
+} // end of _nil
+
+RtecEventChannelAdmin::ProxyPushConsumer_ptr RtecEventChannelAdmin::ProxyPushConsumer::_bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env)
+{
+ CORBA::Object_ptr objref = CORBA::Object::_nil ();
+ IIOP_Object *data = new IIOP_Object (host, port, key);
+ if (!data) return RtecEventChannelAdmin::ProxyPushConsumer::_nil ();
+ // get the object_ptr using Query Interface
+ if (data->QueryInterface (IID_CORBA_Object, (void **)&objref) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return RtecEventChannelAdmin::ProxyPushConsumer::_nil ();
+ }
+ data->Release (); // QueryInterface had bumped up our count
+ if (CORBA::is_nil (objref))
+ return RtecEventChannelAdmin::ProxyPushConsumer::_nil ();
+ else // narrow it
+ return RtecEventChannelAdmin::ProxyPushConsumer::_narrow (objref, env);
}
- static const CORBA::Long _oc_RtecEventChannelAdmin_ProxyPushConsumer[] =
- {
- TAO_ENCAP_BYTE_ORDER, // byte order
- 48, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5072, 0x6f787950, 0x75736843, 0x6f6e7375, 0x6d65723a, 0x312e3000, // repository ID = IDL:RtecEventChannelAdmin/ProxyPushConsumer:1.0
- 18, 0x50726f78, 0x79507573, 0x68436f6e, 0x73756d65, 0x72000000, // name = ProxyPushConsumer,
- };
- static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_ProxyPushConsumer (CORBA::tk_objref, sizeof (_oc_RtecEventChannelAdmin_ProxyPushConsumer), (unsigned char *) &_oc_RtecEventChannelAdmin_ProxyPushConsumer, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_ProxyPushConsumer = &_tc__tc_RtecEventChannelAdmin_ProxyPushConsumer;
-
- RtecEventChannelAdmin::ProxyPullSupplier_ptr RtecEventChannelAdmin::ProxyPullSupplier::_duplicate (RtecEventChannelAdmin::ProxyPullSupplier_ptr obj)
- {
- if (!CORBA::is_nil (obj))
- obj->AddRef ();
-
- return obj;
- } // end of _duplicate
-
- RtecEventChannelAdmin::ProxyPullSupplier_ptr RtecEventChannelAdmin::ProxyPullSupplier::_narrow (CORBA::Object_ptr obj, CORBA::Environment &env)
- {
- if (CORBA::is_nil (obj)) return RtecEventChannelAdmin::ProxyPullSupplier::_nil ();
- if (obj->_is_a ("IDL:RtecEventChannelAdmin/ProxyPullSupplier:1.0", env))
- {
- STUB_Object *istub;
- RtecEventChannelAdmin::ProxyPullSupplier_ptr new_obj; // to be returned
- if (obj->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- return RtecEventChannelAdmin::ProxyPullSupplier::_nil ();
-
- obj->Release (); // need this since QueryIntf bumped our refcount
- new_obj = new RtecEventChannelAdmin::ProxyPullSupplier (istub); // construct obj ref using the stub object
- return new_obj;
- } // end of if
- return RtecEventChannelAdmin::ProxyPullSupplier::_nil (); // _narrow failed
- } // end of _narrow
-
- RtecEventChannelAdmin::ProxyPullSupplier_ptr RtecEventChannelAdmin::ProxyPullSupplier::_nil (void)
- {
- return (RtecEventChannelAdmin::ProxyPullSupplier_ptr)NULL;
- } // end of _nil
-
- RtecEventChannelAdmin::ProxyPullSupplier_ptr RtecEventChannelAdmin::ProxyPullSupplier::_bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env)
- {
- CORBA::Object_ptr objref = CORBA::Object::_nil ();
- IIOP_Object *data = new IIOP_Object (host, port, key);
- if (!data) return RtecEventChannelAdmin::ProxyPullSupplier::_nil ();
- // get the object_ptr using Query Interface
- if (data->QueryInterface (IID_CORBA_Object, (void **)&objref) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return RtecEventChannelAdmin::ProxyPullSupplier::_nil ();
- }
- data->Release (); // QueryInterface had bumped up our count
- if (CORBA::is_nil (objref))
- return RtecEventChannelAdmin::ProxyPullSupplier::_nil ();
- else // narrow it
- return RtecEventChannelAdmin::ProxyPullSupplier::_narrow (objref, env);
- }
-
- static const TAO_Param_Data RtecEventChannelAdmin_ProxyPullSupplier_connect_pull_consumer_paramdata [] =
- {
- {CORBA::_tc_void, PARAM_RETURN, 0},
- {RtecEventComm::_tc_PullConsumer, PARAM_IN, 0}
- };
+static const TAO_Param_Data RtecEventChannelAdmin_ProxyPushConsumer_connect_push_supplier_paramdata [] =
+{
+ {CORBA::_tc_void, PARAM_RETURN, 0},
+ {RtecEventComm::_tc_PushSupplier, PARAM_IN, 0},
+ {RtecEventChannelAdmin::_tc_SupplierQOS, PARAM_IN, 0}
+};
+
+static const TAO_Call_Data RtecEventChannelAdmin_ProxyPushConsumer_connect_push_supplier_calldata =
+{"connect_push_supplier", 1, 3, RtecEventChannelAdmin_ProxyPushConsumer_connect_push_supplier_paramdata, 0, 0};
+
+void RtecEventChannelAdmin::ProxyPushConsumer::connect_push_supplier (RtecEventComm::PushSupplier_ptr push_supplier, const RtecEventChannelAdmin::SupplierQOS & qos, CORBA::Environment &env)
+{
+ STUB_Object *istub;
+ CORBA::Object_ptr _tao_push_supplier = push_supplier;
- static const TAO_Call_Data RtecEventChannelAdmin_ProxyPullSupplier_connect_pull_consumer_calldata =
- {"connect_pull_consumer", 1, 2, RtecEventChannelAdmin_ProxyPullSupplier_connect_pull_consumer_paramdata, 0, 0};
-
- void RtecEventChannelAdmin::ProxyPullSupplier::connect_pull_consumer (RtecEventComm::PullConsumer_ptr pull_consumer, CORBA::Environment &env)
- {
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return;
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &RtecEventChannelAdmin_ProxyPullSupplier_connect_pull_consumer_calldata, 0, &pull_consumer);
- return; // no value
-
+ if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return;
+ }
+ this->Release (); // QueryInterface has bumped up our refcount
+ istub->do_call (env, &RtecEventChannelAdmin_ProxyPushConsumer_connect_push_supplier_calldata, 0, &_tao_push_supplier, &qos);
+ return; // no value
+
}
- static const CORBA::Long _oc_RtecEventChannelAdmin_ProxyPullSupplier[] =
- {
- TAO_ENCAP_BYTE_ORDER, // byte order
- 48, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5072, 0x6f787950, 0x756c6c53, 0x7570706c, 0x6965723a, 0x312e3000, // repository ID = IDL:RtecEventChannelAdmin/ProxyPullSupplier:1.0
- 18, 0x50726f78, 0x7950756c, 0x6c537570, 0x706c6965, 0x72000000, // name = ProxyPullSupplier,
- };
- static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_ProxyPullSupplier (CORBA::tk_objref, sizeof (_oc_RtecEventChannelAdmin_ProxyPullSupplier), (unsigned char *) &_oc_RtecEventChannelAdmin_ProxyPullSupplier, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_ProxyPullSupplier = &_tc__tc_RtecEventChannelAdmin_ProxyPullSupplier;
-
- RtecEventChannelAdmin::ProxyPullConsumer_ptr RtecEventChannelAdmin::ProxyPullConsumer::_duplicate (RtecEventChannelAdmin::ProxyPullConsumer_ptr obj)
- {
- if (!CORBA::is_nil (obj))
- obj->AddRef ();
-
- return obj;
- } // end of _duplicate
-
- RtecEventChannelAdmin::ProxyPullConsumer_ptr RtecEventChannelAdmin::ProxyPullConsumer::_narrow (CORBA::Object_ptr obj, CORBA::Environment &env)
- {
- if (CORBA::is_nil (obj)) return RtecEventChannelAdmin::ProxyPullConsumer::_nil ();
- if (obj->_is_a ("IDL:RtecEventChannelAdmin/ProxyPullConsumer:1.0", env))
- {
- STUB_Object *istub;
- RtecEventChannelAdmin::ProxyPullConsumer_ptr new_obj; // to be returned
- if (obj->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- return RtecEventChannelAdmin::ProxyPullConsumer::_nil ();
-
- obj->Release (); // need this since QueryIntf bumped our refcount
- new_obj = new RtecEventChannelAdmin::ProxyPullConsumer (istub); // construct obj ref using the stub object
- return new_obj;
- } // end of if
- return RtecEventChannelAdmin::ProxyPullConsumer::_nil (); // _narrow failed
- } // end of _narrow
-
- RtecEventChannelAdmin::ProxyPullConsumer_ptr RtecEventChannelAdmin::ProxyPullConsumer::_nil (void)
- {
- return (RtecEventChannelAdmin::ProxyPullConsumer_ptr)NULL;
- } // end of _nil
-
- RtecEventChannelAdmin::ProxyPullConsumer_ptr RtecEventChannelAdmin::ProxyPullConsumer::_bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env)
- {
- CORBA::Object_ptr objref = CORBA::Object::_nil ();
- IIOP_Object *data = new IIOP_Object (host, port, key);
- if (!data) return RtecEventChannelAdmin::ProxyPullConsumer::_nil ();
- // get the object_ptr using Query Interface
- if (data->QueryInterface (IID_CORBA_Object, (void **)&objref) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return RtecEventChannelAdmin::ProxyPullConsumer::_nil ();
- }
- data->Release (); // QueryInterface had bumped up our count
- if (CORBA::is_nil (objref))
- return RtecEventChannelAdmin::ProxyPullConsumer::_nil ();
- else // narrow it
- return RtecEventChannelAdmin::ProxyPullConsumer::_narrow (objref, env);
- }
-
- static const TAO_Param_Data RtecEventChannelAdmin_ProxyPullConsumer_connect_pull_supplier_paramdata [] =
- {
- {CORBA::_tc_void, PARAM_RETURN, 0},
- {RtecEventComm::_tc_PullSupplier, PARAM_IN, 0}
- };
+static const CORBA::Long _oc_RtecEventChannelAdmin_ProxyPushConsumer[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 48, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5072, 0x6f787950, 0x75736843, 0x6f6e7375, 0x6d65723a, 0x312e3000, // repository ID = IDL:RtecEventChannelAdmin/ProxyPushConsumer:1.0
+ 18, 0x50726f78, 0x79507573, 0x68436f6e, 0x73756d65, 0x72000000, // name = ProxyPushConsumer,
+};
+static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_ProxyPushConsumer (CORBA::tk_objref, sizeof (_oc_RtecEventChannelAdmin_ProxyPushConsumer), (unsigned char *) &_oc_RtecEventChannelAdmin_ProxyPushConsumer, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_ProxyPushConsumer = &_tc__tc_RtecEventChannelAdmin_ProxyPushConsumer;
+
+RtecEventChannelAdmin::ProxyPushSupplier_ptr RtecEventChannelAdmin::ProxyPushSupplier::_duplicate (RtecEventChannelAdmin::ProxyPushSupplier_ptr obj)
+{
+ if (!CORBA::is_nil (obj))
+ obj->AddRef ();
+
+ return obj;
+} // end of _duplicate
+
+RtecEventChannelAdmin::ProxyPushSupplier_ptr RtecEventChannelAdmin::ProxyPushSupplier::_narrow (CORBA::Object_ptr obj, CORBA::Environment &env)
+{
+ if (CORBA::is_nil (obj)) return RtecEventChannelAdmin::ProxyPushSupplier::_nil ();
+ if (obj->_is_a ("IDL:RtecEventChannelAdmin/ProxyPushSupplier:1.0", env))
+ {
+ STUB_Object *istub;
+ RtecEventChannelAdmin::ProxyPushSupplier_ptr new_obj; // to be returned
+ if (obj->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ return RtecEventChannelAdmin::ProxyPushSupplier::_nil ();
+
+ obj->Release (); // need this since QueryIntf bumped our refcount
+ new_obj = new RtecEventChannelAdmin::ProxyPushSupplier (istub); // construct obj ref using the stub object
+ return new_obj;
+ } // end of if
+ return RtecEventChannelAdmin::ProxyPushSupplier::_nil (); // _narrow failed
+} // end of _narrow
+
+RtecEventChannelAdmin::ProxyPushSupplier_ptr RtecEventChannelAdmin::ProxyPushSupplier::_nil (void)
+{
+ return (RtecEventChannelAdmin::ProxyPushSupplier_ptr)NULL;
+} // end of _nil
+
+RtecEventChannelAdmin::ProxyPushSupplier_ptr RtecEventChannelAdmin::ProxyPushSupplier::_bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env)
+{
+ CORBA::Object_ptr objref = CORBA::Object::_nil ();
+ IIOP_Object *data = new IIOP_Object (host, port, key);
+ if (!data) return RtecEventChannelAdmin::ProxyPushSupplier::_nil ();
+ // get the object_ptr using Query Interface
+ if (data->QueryInterface (IID_CORBA_Object, (void **)&objref) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return RtecEventChannelAdmin::ProxyPushSupplier::_nil ();
+ }
+ data->Release (); // QueryInterface had bumped up our count
+ if (CORBA::is_nil (objref))
+ return RtecEventChannelAdmin::ProxyPushSupplier::_nil ();
+ else // narrow it
+ return RtecEventChannelAdmin::ProxyPushSupplier::_narrow (objref, env);
+}
+
+static const TAO_Param_Data RtecEventChannelAdmin_ProxyPushSupplier_connect_push_consumer_paramdata [] =
+{
+ {CORBA::_tc_void, PARAM_RETURN, 0},
+ {RtecEventComm::_tc_PushConsumer, PARAM_IN, 0},
+ {RtecEventChannelAdmin::_tc_ConsumerQOS, PARAM_IN, 0}
+};
+
+static const TAO_Call_Data RtecEventChannelAdmin_ProxyPushSupplier_connect_push_consumer_calldata =
+{"connect_push_consumer", 1, 3, RtecEventChannelAdmin_ProxyPushSupplier_connect_push_consumer_paramdata, 0, 0};
- static const TAO_Call_Data RtecEventChannelAdmin_ProxyPullConsumer_connect_pull_supplier_calldata =
- {"connect_pull_supplier", 1, 2, RtecEventChannelAdmin_ProxyPullConsumer_connect_pull_supplier_paramdata, 0, 0};
-
- void RtecEventChannelAdmin::ProxyPullConsumer::connect_pull_supplier (RtecEventComm::PullSupplier_ptr pull_supplier, CORBA::Environment &env)
- {
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return;
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &RtecEventChannelAdmin_ProxyPullConsumer_connect_pull_supplier_calldata, 0, &pull_supplier);
- return; // no value
-
+void RtecEventChannelAdmin::ProxyPushSupplier::connect_push_consumer (RtecEventComm::PushConsumer_ptr push_consumer, const RtecEventChannelAdmin::ConsumerQOS & qos, CORBA::Environment &env)
+{
+ STUB_Object *istub;
+ CORBA::Object_ptr _tao_push_consumer = push_consumer;
+
+ if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return;
+ }
+ this->Release (); // QueryInterface has bumped up our refcount
+ istub->do_call (env, &RtecEventChannelAdmin_ProxyPushSupplier_connect_push_consumer_calldata, 0, &_tao_push_consumer, &qos);
+ return; // no value
+
}
- static const CORBA::Long _oc_RtecEventChannelAdmin_ProxyPullConsumer[] =
- {
- TAO_ENCAP_BYTE_ORDER, // byte order
- 48, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5072, 0x6f787950, 0x756c6c43, 0x6f6e7375, 0x6d65723a, 0x312e3000, // repository ID = IDL:RtecEventChannelAdmin/ProxyPullConsumer:1.0
- 18, 0x50726f78, 0x7950756c, 0x6c436f6e, 0x73756d65, 0x72000000, // name = ProxyPullConsumer,
- };
- static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_ProxyPullConsumer (CORBA::tk_objref, sizeof (_oc_RtecEventChannelAdmin_ProxyPullConsumer), (unsigned char *) &_oc_RtecEventChannelAdmin_ProxyPullConsumer, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_ProxyPullConsumer = &_tc__tc_RtecEventChannelAdmin_ProxyPullConsumer;
-
- RtecEventChannelAdmin::ProxyPushSupplier_ptr RtecEventChannelAdmin::ProxyPushSupplier::_duplicate (RtecEventChannelAdmin::ProxyPushSupplier_ptr obj)
- {
- if (!CORBA::is_nil (obj))
- obj->AddRef ();
-
- return obj;
- } // end of _duplicate
-
- RtecEventChannelAdmin::ProxyPushSupplier_ptr RtecEventChannelAdmin::ProxyPushSupplier::_narrow (CORBA::Object_ptr obj, CORBA::Environment &env)
- {
- if (CORBA::is_nil (obj)) return RtecEventChannelAdmin::ProxyPushSupplier::_nil ();
- if (obj->_is_a ("IDL:RtecEventChannelAdmin/ProxyPushSupplier:1.0", env))
- {
- STUB_Object *istub;
- RtecEventChannelAdmin::ProxyPushSupplier_ptr new_obj; // to be returned
- if (obj->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- return RtecEventChannelAdmin::ProxyPushSupplier::_nil ();
-
- obj->Release (); // need this since QueryIntf bumped our refcount
- new_obj = new RtecEventChannelAdmin::ProxyPushSupplier (istub); // construct obj ref using the stub object
- return new_obj;
- } // end of if
- return RtecEventChannelAdmin::ProxyPushSupplier::_nil (); // _narrow failed
- } // end of _narrow
-
- RtecEventChannelAdmin::ProxyPushSupplier_ptr RtecEventChannelAdmin::ProxyPushSupplier::_nil (void)
- {
- return (RtecEventChannelAdmin::ProxyPushSupplier_ptr)NULL;
- } // end of _nil
-
- RtecEventChannelAdmin::ProxyPushSupplier_ptr RtecEventChannelAdmin::ProxyPushSupplier::_bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env)
- {
- CORBA::Object_ptr objref = CORBA::Object::_nil ();
- IIOP_Object *data = new IIOP_Object (host, port, key);
- if (!data) return RtecEventChannelAdmin::ProxyPushSupplier::_nil ();
- // get the object_ptr using Query Interface
- if (data->QueryInterface (IID_CORBA_Object, (void **)&objref) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return RtecEventChannelAdmin::ProxyPushSupplier::_nil ();
- }
- data->Release (); // QueryInterface had bumped up our count
- if (CORBA::is_nil (objref))
- return RtecEventChannelAdmin::ProxyPushSupplier::_nil ();
- else // narrow it
- return RtecEventChannelAdmin::ProxyPushSupplier::_narrow (objref, env);
- }
-
- static const TAO_Param_Data RtecEventChannelAdmin_ProxyPushSupplier_connect_push_consumer_paramdata [] =
- {
- {CORBA::_tc_void, PARAM_RETURN, 0},
- {RtecEventComm::_tc_PushConsumer, PARAM_IN, 0},
- {RtecEventChannelAdmin::_tc_ConsumerQOS, PARAM_IN, 0}
- };
+static const CORBA::Long _oc_RtecEventChannelAdmin_ProxyPushSupplier[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 48, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5072, 0x6f787950, 0x75736853, 0x7570706c, 0x6965723a, 0x312e3000, // repository ID = IDL:RtecEventChannelAdmin/ProxyPushSupplier:1.0
+ 18, 0x50726f78, 0x79507573, 0x68537570, 0x706c6965, 0x72000000, // name = ProxyPushSupplier,
+};
+static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_ProxyPushSupplier (CORBA::tk_objref, sizeof (_oc_RtecEventChannelAdmin_ProxyPushSupplier), (unsigned char *) &_oc_RtecEventChannelAdmin_ProxyPushSupplier, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_ProxyPushSupplier = &_tc__tc_RtecEventChannelAdmin_ProxyPushSupplier;
+
+RtecEventChannelAdmin::ConsumerAdmin_ptr RtecEventChannelAdmin::ConsumerAdmin::_duplicate (RtecEventChannelAdmin::ConsumerAdmin_ptr obj)
+{
+ if (!CORBA::is_nil (obj))
+ obj->AddRef ();
+
+ return obj;
+} // end of _duplicate
+
+RtecEventChannelAdmin::ConsumerAdmin_ptr RtecEventChannelAdmin::ConsumerAdmin::_narrow (CORBA::Object_ptr obj, CORBA::Environment &env)
+{
+ if (CORBA::is_nil (obj)) return RtecEventChannelAdmin::ConsumerAdmin::_nil ();
+ if (obj->_is_a ("IDL:RtecEventChannelAdmin/ConsumerAdmin:1.0", env))
+ {
+ STUB_Object *istub;
+ RtecEventChannelAdmin::ConsumerAdmin_ptr new_obj; // to be returned
+ if (obj->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ return RtecEventChannelAdmin::ConsumerAdmin::_nil ();
+
+ obj->Release (); // need this since QueryIntf bumped our refcount
+ new_obj = new RtecEventChannelAdmin::ConsumerAdmin (istub); // construct obj ref using the stub object
+ return new_obj;
+ } // end of if
+ return RtecEventChannelAdmin::ConsumerAdmin::_nil (); // _narrow failed
+} // end of _narrow
+
+RtecEventChannelAdmin::ConsumerAdmin_ptr RtecEventChannelAdmin::ConsumerAdmin::_nil (void)
+{
+ return (RtecEventChannelAdmin::ConsumerAdmin_ptr)NULL;
+} // end of _nil
- static const TAO_Call_Data RtecEventChannelAdmin_ProxyPushSupplier_connect_push_consumer_calldata =
- {"connect_push_consumer", 1, 3, RtecEventChannelAdmin_ProxyPushSupplier_connect_push_consumer_paramdata, 0, 0};
-
- void RtecEventChannelAdmin::ProxyPushSupplier::connect_push_consumer (RtecEventComm::PushConsumer_ptr push_consumer, const RtecEventChannelAdmin::ConsumerQOS & qos, CORBA::Environment &env)
- {
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return;
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &RtecEventChannelAdmin_ProxyPushSupplier_connect_push_consumer_calldata, 0, &push_consumer, &qos);
- return; // no value
-
+RtecEventChannelAdmin::ConsumerAdmin_ptr RtecEventChannelAdmin::ConsumerAdmin::_bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env)
+{
+ CORBA::Object_ptr objref = CORBA::Object::_nil ();
+ IIOP_Object *data = new IIOP_Object (host, port, key);
+ if (!data) return RtecEventChannelAdmin::ConsumerAdmin::_nil ();
+ // get the object_ptr using Query Interface
+ if (data->QueryInterface (IID_CORBA_Object, (void **)&objref) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return RtecEventChannelAdmin::ConsumerAdmin::_nil ();
+ }
+ data->Release (); // QueryInterface had bumped up our count
+ if (CORBA::is_nil (objref))
+ return RtecEventChannelAdmin::ConsumerAdmin::_nil ();
+ else // narrow it
+ return RtecEventChannelAdmin::ConsumerAdmin::_narrow (objref, env);
}
- static const CORBA::Long _oc_RtecEventChannelAdmin_ProxyPushSupplier[] =
- {
- TAO_ENCAP_BYTE_ORDER, // byte order
- 48, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5072, 0x6f787950, 0x75736853, 0x7570706c, 0x6965723a, 0x312e3000, // repository ID = IDL:RtecEventChannelAdmin/ProxyPushSupplier:1.0
- 18, 0x50726f78, 0x79507573, 0x68537570, 0x706c6965, 0x72000000, // name = ProxyPushSupplier,
- };
- static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_ProxyPushSupplier (CORBA::tk_objref, sizeof (_oc_RtecEventChannelAdmin_ProxyPushSupplier), (unsigned char *) &_oc_RtecEventChannelAdmin_ProxyPushSupplier, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_ProxyPushSupplier = &_tc__tc_RtecEventChannelAdmin_ProxyPushSupplier;
-
- RtecEventChannelAdmin::ConsumerAdmin_ptr RtecEventChannelAdmin::ConsumerAdmin::_duplicate (RtecEventChannelAdmin::ConsumerAdmin_ptr obj)
- {
- if (!CORBA::is_nil (obj))
- obj->AddRef ();
-
- return obj;
- } // end of _duplicate
-
- RtecEventChannelAdmin::ConsumerAdmin_ptr RtecEventChannelAdmin::ConsumerAdmin::_narrow (CORBA::Object_ptr obj, CORBA::Environment &env)
- {
- if (CORBA::is_nil (obj)) return RtecEventChannelAdmin::ConsumerAdmin::_nil ();
- if (obj->_is_a ("IDL:RtecEventChannelAdmin/ConsumerAdmin:1.0", env))
- {
- STUB_Object *istub;
- RtecEventChannelAdmin::ConsumerAdmin_ptr new_obj; // to be returned
- if (obj->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- return RtecEventChannelAdmin::ConsumerAdmin::_nil ();
-
- obj->Release (); // need this since QueryIntf bumped our refcount
- new_obj = new RtecEventChannelAdmin::ConsumerAdmin (istub); // construct obj ref using the stub object
- return new_obj;
- } // end of if
- return RtecEventChannelAdmin::ConsumerAdmin::_nil (); // _narrow failed
- } // end of _narrow
-
- RtecEventChannelAdmin::ConsumerAdmin_ptr RtecEventChannelAdmin::ConsumerAdmin::_nil (void)
- {
- return (RtecEventChannelAdmin::ConsumerAdmin_ptr)NULL;
- } // end of _nil
-
- RtecEventChannelAdmin::ConsumerAdmin_ptr RtecEventChannelAdmin::ConsumerAdmin::_bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env)
- {
- CORBA::Object_ptr objref = CORBA::Object::_nil ();
- IIOP_Object *data = new IIOP_Object (host, port, key);
- if (!data) return RtecEventChannelAdmin::ConsumerAdmin::_nil ();
- // get the object_ptr using Query Interface
- if (data->QueryInterface (IID_CORBA_Object, (void **)&objref) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return RtecEventChannelAdmin::ConsumerAdmin::_nil ();
- }
- data->Release (); // QueryInterface had bumped up our count
- if (CORBA::is_nil (objref))
- return RtecEventChannelAdmin::ConsumerAdmin::_nil ();
- else // narrow it
- return RtecEventChannelAdmin::ConsumerAdmin::_narrow (objref, env);
- }
-
- static const TAO_Param_Data RtecEventChannelAdmin_ConsumerAdmin_obtain_push_supplier_paramdata [] =
- {
- {RtecEventChannelAdmin::_tc_ProxyPushSupplier, PARAM_RETURN, 0}
- };
+static const TAO_Param_Data RtecEventChannelAdmin_ConsumerAdmin_obtain_push_supplier_paramdata [] =
+{
+ {RtecEventChannelAdmin::_tc_ProxyPushSupplier, PARAM_RETURN, 0}
+};
+
+static const TAO_Call_Data RtecEventChannelAdmin_ConsumerAdmin_obtain_push_supplier_calldata =
+{"obtain_push_supplier", 1, 1, RtecEventChannelAdmin_ConsumerAdmin_obtain_push_supplier_paramdata, 0, 0};
- static const TAO_Call_Data RtecEventChannelAdmin_ConsumerAdmin_obtain_push_supplier_calldata =
- {"obtain_push_supplier", 1, 1, RtecEventChannelAdmin_ConsumerAdmin_obtain_push_supplier_paramdata, 0, 0};
-
- RtecEventChannelAdmin::ProxyPushSupplier_ptr RtecEventChannelAdmin::ConsumerAdmin::obtain_push_supplier (CORBA::Environment &env)
- {
- CORBA::Object_ptr retval = CORBA::Object::_nil ();
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return RtecEventChannelAdmin::ProxyPushSupplier::_nil ();
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &RtecEventChannelAdmin_ConsumerAdmin_obtain_push_supplier_calldata, &retval);
- return RtecEventChannelAdmin::ProxyPushSupplier::_narrow (retval, env);
-
+RtecEventChannelAdmin::ProxyPushSupplier_ptr RtecEventChannelAdmin::ConsumerAdmin::obtain_push_supplier (CORBA::Environment &env)
+{
+ CORBA::Object_ptr retval = CORBA::Object::_nil ();
+ STUB_Object *istub;
+
+ if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return RtecEventChannelAdmin::ProxyPushSupplier::_nil ();
+ }
+ this->Release (); // QueryInterface has bumped up our refcount
+ istub->do_call (env, &RtecEventChannelAdmin_ConsumerAdmin_obtain_push_supplier_calldata, &retval);
+ return RtecEventChannelAdmin::ProxyPushSupplier::_narrow (retval, env);
+
}
- static const CORBA::Long _oc_RtecEventChannelAdmin_ConsumerAdmin[] =
- {
- TAO_ENCAP_BYTE_ORDER, // byte order
- 44, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f436f, 0x6e73756d, 0x65724164, 0x6d696e3a, 0x312e3000, // repository ID = IDL:RtecEventChannelAdmin/ConsumerAdmin:1.0
- 14, 0x436f6e73, 0x756d6572, 0x41646d69, 0x6e000000, // name = ConsumerAdmin,
- };
- static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_ConsumerAdmin (CORBA::tk_objref, sizeof (_oc_RtecEventChannelAdmin_ConsumerAdmin), (unsigned char *) &_oc_RtecEventChannelAdmin_ConsumerAdmin, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_ConsumerAdmin = &_tc__tc_RtecEventChannelAdmin_ConsumerAdmin;
-
- RtecEventChannelAdmin::SupplierAdmin_ptr RtecEventChannelAdmin::SupplierAdmin::_duplicate (RtecEventChannelAdmin::SupplierAdmin_ptr obj)
- {
- if (!CORBA::is_nil (obj))
- obj->AddRef ();
-
- return obj;
- } // end of _duplicate
-
- RtecEventChannelAdmin::SupplierAdmin_ptr RtecEventChannelAdmin::SupplierAdmin::_narrow (CORBA::Object_ptr obj, CORBA::Environment &env)
- {
- if (CORBA::is_nil (obj)) return RtecEventChannelAdmin::SupplierAdmin::_nil ();
- if (obj->_is_a ("IDL:RtecEventChannelAdmin/SupplierAdmin:1.0", env))
- {
- STUB_Object *istub;
- RtecEventChannelAdmin::SupplierAdmin_ptr new_obj; // to be returned
- if (obj->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- return RtecEventChannelAdmin::SupplierAdmin::_nil ();
-
- obj->Release (); // need this since QueryIntf bumped our refcount
- new_obj = new RtecEventChannelAdmin::SupplierAdmin (istub); // construct obj ref using the stub object
- return new_obj;
- } // end of if
- return RtecEventChannelAdmin::SupplierAdmin::_nil (); // _narrow failed
- } // end of _narrow
-
- RtecEventChannelAdmin::SupplierAdmin_ptr RtecEventChannelAdmin::SupplierAdmin::_nil (void)
- {
- return (RtecEventChannelAdmin::SupplierAdmin_ptr)NULL;
- } // end of _nil
-
- RtecEventChannelAdmin::SupplierAdmin_ptr RtecEventChannelAdmin::SupplierAdmin::_bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env)
- {
- CORBA::Object_ptr objref = CORBA::Object::_nil ();
- IIOP_Object *data = new IIOP_Object (host, port, key);
- if (!data) return RtecEventChannelAdmin::SupplierAdmin::_nil ();
- // get the object_ptr using Query Interface
- if (data->QueryInterface (IID_CORBA_Object, (void **)&objref) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return RtecEventChannelAdmin::SupplierAdmin::_nil ();
- }
- data->Release (); // QueryInterface had bumped up our count
- if (CORBA::is_nil (objref))
- return RtecEventChannelAdmin::SupplierAdmin::_nil ();
- else // narrow it
- return RtecEventChannelAdmin::SupplierAdmin::_narrow (objref, env);
- }
-
- static const TAO_Param_Data RtecEventChannelAdmin_SupplierAdmin_obtain_push_consumer_paramdata [] =
- {
- {RtecEventChannelAdmin::_tc_ProxyPushConsumer, PARAM_RETURN, 0}
- };
+static const CORBA::Long _oc_RtecEventChannelAdmin_ConsumerAdmin[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 44, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f436f, 0x6e73756d, 0x65724164, 0x6d696e3a, 0x312e3000, // repository ID = IDL:RtecEventChannelAdmin/ConsumerAdmin:1.0
+ 14, 0x436f6e73, 0x756d6572, 0x41646d69, 0x6e000000, // name = ConsumerAdmin,
+};
+static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_ConsumerAdmin (CORBA::tk_objref, sizeof (_oc_RtecEventChannelAdmin_ConsumerAdmin), (unsigned char *) &_oc_RtecEventChannelAdmin_ConsumerAdmin, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_ConsumerAdmin = &_tc__tc_RtecEventChannelAdmin_ConsumerAdmin;
+
+RtecEventChannelAdmin::SupplierAdmin_ptr RtecEventChannelAdmin::SupplierAdmin::_duplicate (RtecEventChannelAdmin::SupplierAdmin_ptr obj)
+{
+ if (!CORBA::is_nil (obj))
+ obj->AddRef ();
+
+ return obj;
+} // end of _duplicate
+
+RtecEventChannelAdmin::SupplierAdmin_ptr RtecEventChannelAdmin::SupplierAdmin::_narrow (CORBA::Object_ptr obj, CORBA::Environment &env)
+{
+ if (CORBA::is_nil (obj)) return RtecEventChannelAdmin::SupplierAdmin::_nil ();
+ if (obj->_is_a ("IDL:RtecEventChannelAdmin/SupplierAdmin:1.0", env))
+ {
+ STUB_Object *istub;
+ RtecEventChannelAdmin::SupplierAdmin_ptr new_obj; // to be returned
+ if (obj->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ return RtecEventChannelAdmin::SupplierAdmin::_nil ();
+
+ obj->Release (); // need this since QueryIntf bumped our refcount
+ new_obj = new RtecEventChannelAdmin::SupplierAdmin (istub); // construct obj ref using the stub object
+ return new_obj;
+ } // end of if
+ return RtecEventChannelAdmin::SupplierAdmin::_nil (); // _narrow failed
+} // end of _narrow
+
+RtecEventChannelAdmin::SupplierAdmin_ptr RtecEventChannelAdmin::SupplierAdmin::_nil (void)
+{
+ return (RtecEventChannelAdmin::SupplierAdmin_ptr)NULL;
+} // end of _nil
- static const TAO_Call_Data RtecEventChannelAdmin_SupplierAdmin_obtain_push_consumer_calldata =
- {"obtain_push_consumer", 1, 1, RtecEventChannelAdmin_SupplierAdmin_obtain_push_consumer_paramdata, 0, 0};
-
- RtecEventChannelAdmin::ProxyPushConsumer_ptr RtecEventChannelAdmin::SupplierAdmin::obtain_push_consumer (CORBA::Environment &env)
- {
- CORBA::Object_ptr retval = CORBA::Object::_nil ();
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return RtecEventChannelAdmin::ProxyPushConsumer::_nil ();
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &RtecEventChannelAdmin_SupplierAdmin_obtain_push_consumer_calldata, &retval);
- return RtecEventChannelAdmin::ProxyPushConsumer::_narrow (retval, env);
-
+RtecEventChannelAdmin::SupplierAdmin_ptr RtecEventChannelAdmin::SupplierAdmin::_bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env)
+{
+ CORBA::Object_ptr objref = CORBA::Object::_nil ();
+ IIOP_Object *data = new IIOP_Object (host, port, key);
+ if (!data) return RtecEventChannelAdmin::SupplierAdmin::_nil ();
+ // get the object_ptr using Query Interface
+ if (data->QueryInterface (IID_CORBA_Object, (void **)&objref) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return RtecEventChannelAdmin::SupplierAdmin::_nil ();
+ }
+ data->Release (); // QueryInterface had bumped up our count
+ if (CORBA::is_nil (objref))
+ return RtecEventChannelAdmin::SupplierAdmin::_nil ();
+ else // narrow it
+ return RtecEventChannelAdmin::SupplierAdmin::_narrow (objref, env);
}
- static const CORBA::Long _oc_RtecEventChannelAdmin_SupplierAdmin[] =
- {
- TAO_ENCAP_BYTE_ORDER, // byte order
- 44, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5375, 0x70706c69, 0x65724164, 0x6d696e3a, 0x312e3000, // repository ID = IDL:RtecEventChannelAdmin/SupplierAdmin:1.0
- 14, 0x53757070, 0x6c696572, 0x41646d69, 0x6e000000, // name = SupplierAdmin,
- };
- static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_SupplierAdmin (CORBA::tk_objref, sizeof (_oc_RtecEventChannelAdmin_SupplierAdmin), (unsigned char *) &_oc_RtecEventChannelAdmin_SupplierAdmin, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_SupplierAdmin = &_tc__tc_RtecEventChannelAdmin_SupplierAdmin;
-
- RtecEventChannelAdmin::EventChannel_ptr RtecEventChannelAdmin::EventChannel::_duplicate (RtecEventChannelAdmin::EventChannel_ptr obj)
- {
- if (!CORBA::is_nil (obj))
- obj->AddRef ();
-
- return obj;
- } // end of _duplicate
-
- RtecEventChannelAdmin::EventChannel_ptr RtecEventChannelAdmin::EventChannel::_narrow (CORBA::Object_ptr obj, CORBA::Environment &env)
- {
- if (CORBA::is_nil (obj)) return RtecEventChannelAdmin::EventChannel::_nil ();
- if (obj->_is_a ("IDL:RtecEventChannelAdmin/EventChannel:1.0", env))
- {
- STUB_Object *istub;
- RtecEventChannelAdmin::EventChannel_ptr new_obj; // to be returned
- if (obj->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- return RtecEventChannelAdmin::EventChannel::_nil ();
-
- obj->Release (); // need this since QueryIntf bumped our refcount
- new_obj = new RtecEventChannelAdmin::EventChannel (istub); // construct obj ref using the stub object
- return new_obj;
- } // end of if
- return RtecEventChannelAdmin::EventChannel::_nil (); // _narrow failed
- } // end of _narrow
-
- RtecEventChannelAdmin::EventChannel_ptr RtecEventChannelAdmin::EventChannel::_nil (void)
- {
- return (RtecEventChannelAdmin::EventChannel_ptr)NULL;
- } // end of _nil
-
- RtecEventChannelAdmin::EventChannel_ptr RtecEventChannelAdmin::EventChannel::_bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env)
- {
- CORBA::Object_ptr objref = CORBA::Object::_nil ();
- IIOP_Object *data = new IIOP_Object (host, port, key);
- if (!data) return RtecEventChannelAdmin::EventChannel::_nil ();
- // get the object_ptr using Query Interface
- if (data->QueryInterface (IID_CORBA_Object, (void **)&objref) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return RtecEventChannelAdmin::EventChannel::_nil ();
- }
- data->Release (); // QueryInterface had bumped up our count
- if (CORBA::is_nil (objref))
- return RtecEventChannelAdmin::EventChannel::_nil ();
- else // narrow it
- return RtecEventChannelAdmin::EventChannel::_narrow (objref, env);
- }
-
- static const CORBA::Long _oc_RtecEventChannelAdmin_EventChannel_SYNCHRONIZATION_ERROR[] =
- {
- 0, // byte order
- 65, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4576, 0x656e7443, 0x68616e6e, 0x656c2f53, 0x594e4348, 0x524f4e49, 0x5a415449, 0x4f4e5f45, 0x52524f52, 0x3a312e30, 0x0, // repository ID = IDL:RtecEventChannelAdmin/EventChannel/SYNCHRONIZATION_ERROR:1.0
- 22, 0x53594e43, 0x48524f4e, 0x495a4154, 0x494f4e5f, 0x4552524f, 0x52000000, // name = SYNCHRONIZATION_ERROR
- 3, // member count
- 6, 0x6d696e6f, 0x72000000, // name = minor
- CORBA::tk_long,
+static const TAO_Param_Data RtecEventChannelAdmin_SupplierAdmin_obtain_push_consumer_paramdata [] =
+{
+ {RtecEventChannelAdmin::_tc_ProxyPushConsumer, PARAM_RETURN, 0}
+};
- 7, 0x73746174, 0x75730000, // name = status
- CORBA::tk_long,
+static const TAO_Call_Data RtecEventChannelAdmin_SupplierAdmin_obtain_push_consumer_calldata =
+{"obtain_push_consumer", 1, 1, RtecEventChannelAdmin_SupplierAdmin_obtain_push_consumer_paramdata, 0, 0};
- 5, 0x6e616d65, 0x0, // name = name
- CORBA::tk_string,
- 0, // string length
- };
- static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_EventChannel_SYNCHRONIZATION_ERROR (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_EventChannel_SYNCHRONIZATION_ERROR), (unsigned char *) &_oc_RtecEventChannelAdmin_EventChannel_SYNCHRONIZATION_ERROR, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecEventChannelAdmin::EventChannel::_tc_SYNCHRONIZATION_ERROR = &_tc__tc_RtecEventChannelAdmin_EventChannel_SYNCHRONIZATION_ERROR;
-
- static const CORBA::Long _oc_RtecEventChannelAdmin_EventChannel_QOS_ERROR[] =
- {
- 0, // byte order
- 53, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4576, 0x656e7443, 0x68616e6e, 0x656c2f51, 0x4f535f45, 0x52524f52, 0x3a312e30, 0x0, // repository ID = IDL:RtecEventChannelAdmin/EventChannel/QOS_ERROR:1.0
- 10, 0x514f535f, 0x4552524f, 0x52000000, // name = QOS_ERROR
- 3, // member count
- 6, 0x6d696e6f, 0x72000000, // name = minor
- CORBA::tk_long,
+RtecEventChannelAdmin::ProxyPushConsumer_ptr RtecEventChannelAdmin::SupplierAdmin::obtain_push_consumer (CORBA::Environment &env)
+{
+ CORBA::Object_ptr retval = CORBA::Object::_nil ();
+ STUB_Object *istub;
- 7, 0x73746174, 0x75730000, // name = status
- CORBA::tk_long,
+ if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return RtecEventChannelAdmin::ProxyPushConsumer::_nil ();
+ }
+ this->Release (); // QueryInterface has bumped up our refcount
+ istub->do_call (env, &RtecEventChannelAdmin_SupplierAdmin_obtain_push_consumer_calldata, &retval);
+ return RtecEventChannelAdmin::ProxyPushConsumer::_narrow (retval, env);
+
+}
- 5, 0x6e616d65, 0x0, // name = name
- CORBA::tk_string,
- 0, // string length
- };
- static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_EventChannel_QOS_ERROR (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_EventChannel_QOS_ERROR), (unsigned char *) &_oc_RtecEventChannelAdmin_EventChannel_QOS_ERROR, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecEventChannelAdmin::EventChannel::_tc_QOS_ERROR = &_tc__tc_RtecEventChannelAdmin_EventChannel_QOS_ERROR;
-
- static const CORBA::Long _oc_RtecEventChannelAdmin_EventChannel_SUBSCRIPTION_ERROR[] =
- {
- 0, // byte order
- 62, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4576, 0x656e7443, 0x68616e6e, 0x656c2f53, 0x55425343, 0x52495054, 0x494f4e5f, 0x4552524f, 0x523a312e, 0x30000000, // repository ID = IDL:RtecEventChannelAdmin/EventChannel/SUBSCRIPTION_ERROR:1.0
- 19, 0x53554253, 0x43524950, 0x54494f4e, 0x5f455252, 0x4f520000, // name = SUBSCRIPTION_ERROR
- 3, // member count
- 6, 0x6d696e6f, 0x72000000, // name = minor
- CORBA::tk_long,
+static const CORBA::Long _oc_RtecEventChannelAdmin_SupplierAdmin[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 44, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5375, 0x70706c69, 0x65724164, 0x6d696e3a, 0x312e3000, // repository ID = IDL:RtecEventChannelAdmin/SupplierAdmin:1.0
+ 14, 0x53757070, 0x6c696572, 0x41646d69, 0x6e000000, // name = SupplierAdmin,
+};
+static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_SupplierAdmin (CORBA::tk_objref, sizeof (_oc_RtecEventChannelAdmin_SupplierAdmin), (unsigned char *) &_oc_RtecEventChannelAdmin_SupplierAdmin, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_SupplierAdmin = &_tc__tc_RtecEventChannelAdmin_SupplierAdmin;
- 7, 0x73746174, 0x75730000, // name = status
- CORBA::tk_long,
+RtecEventChannelAdmin::EventChannel_ptr RtecEventChannelAdmin::EventChannel::_duplicate (RtecEventChannelAdmin::EventChannel_ptr obj)
+{
+ if (!CORBA::is_nil (obj))
+ obj->AddRef ();
+
+ return obj;
+} // end of _duplicate
- 5, 0x6e616d65, 0x0, // name = name
- CORBA::tk_string,
- 0, // string length
- };
- static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_EventChannel_SUBSCRIPTION_ERROR (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_EventChannel_SUBSCRIPTION_ERROR), (unsigned char *) &_oc_RtecEventChannelAdmin_EventChannel_SUBSCRIPTION_ERROR, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecEventChannelAdmin::EventChannel::_tc_SUBSCRIPTION_ERROR = &_tc__tc_RtecEventChannelAdmin_EventChannel_SUBSCRIPTION_ERROR;
-
- static const CORBA::Long _oc_RtecEventChannelAdmin_EventChannel_CORRELATION_ERROR[] =
- {
- 0, // byte order
- 61, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4576, 0x656e7443, 0x68616e6e, 0x656c2f43, 0x4f525245, 0x4c415449, 0x4f4e5f45, 0x52524f52, 0x3a312e30, 0x0, // repository ID = IDL:RtecEventChannelAdmin/EventChannel/CORRELATION_ERROR:1.0
- 18, 0x434f5252, 0x454c4154, 0x494f4e5f, 0x4552524f, 0x52000000, // name = CORRELATION_ERROR
- 3, // member count
- 6, 0x6d696e6f, 0x72000000, // name = minor
- CORBA::tk_long,
+RtecEventChannelAdmin::EventChannel_ptr RtecEventChannelAdmin::EventChannel::_narrow (CORBA::Object_ptr obj, CORBA::Environment &env)
+{
+ if (CORBA::is_nil (obj)) return RtecEventChannelAdmin::EventChannel::_nil ();
+ if (obj->_is_a ("IDL:RtecEventChannelAdmin/EventChannel:1.0", env))
+ {
+ STUB_Object *istub;
+ RtecEventChannelAdmin::EventChannel_ptr new_obj; // to be returned
+ if (obj->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ return RtecEventChannelAdmin::EventChannel::_nil ();
+
+ obj->Release (); // need this since QueryIntf bumped our refcount
+ new_obj = new RtecEventChannelAdmin::EventChannel (istub); // construct obj ref using the stub object
+ return new_obj;
+ } // end of if
+ return RtecEventChannelAdmin::EventChannel::_nil (); // _narrow failed
+} // end of _narrow
+
+RtecEventChannelAdmin::EventChannel_ptr RtecEventChannelAdmin::EventChannel::_nil (void)
+{
+ return (RtecEventChannelAdmin::EventChannel_ptr)NULL;
+} // end of _nil
- 7, 0x73746174, 0x75730000, // name = status
- CORBA::tk_long,
+RtecEventChannelAdmin::EventChannel_ptr RtecEventChannelAdmin::EventChannel::_bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env)
+{
+ CORBA::Object_ptr objref = CORBA::Object::_nil ();
+ IIOP_Object *data = new IIOP_Object (host, port, key);
+ if (!data) return RtecEventChannelAdmin::EventChannel::_nil ();
+ // get the object_ptr using Query Interface
+ if (data->QueryInterface (IID_CORBA_Object, (void **)&objref) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return RtecEventChannelAdmin::EventChannel::_nil ();
+ }
+ data->Release (); // QueryInterface had bumped up our count
+ if (CORBA::is_nil (objref))
+ return RtecEventChannelAdmin::EventChannel::_nil ();
+ else // narrow it
+ return RtecEventChannelAdmin::EventChannel::_narrow (objref, env);
+}
- 5, 0x6e616d65, 0x0, // name = name
- CORBA::tk_string,
- 0, // string length
- };
- static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_EventChannel_CORRELATION_ERROR (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_EventChannel_CORRELATION_ERROR), (unsigned char *) &_oc_RtecEventChannelAdmin_EventChannel_CORRELATION_ERROR, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecEventChannelAdmin::EventChannel::_tc_CORRELATION_ERROR = &_tc__tc_RtecEventChannelAdmin_EventChannel_CORRELATION_ERROR;
-
- static const CORBA::Long _oc_RtecEventChannelAdmin_EventChannel_DISPATCH_ERROR[] =
- {
- 0, // byte order
- 58, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4576, 0x656e7443, 0x68616e6e, 0x656c2f44, 0x49535041, 0x5443485f, 0x4552524f, 0x523a312e, 0x30000000, // repository ID = IDL:RtecEventChannelAdmin/EventChannel/DISPATCH_ERROR:1.0
- 15, 0x44495350, 0x41544348, 0x5f455252, 0x4f520000, // name = DISPATCH_ERROR
- 3, // member count
- 6, 0x6d696e6f, 0x72000000, // name = minor
- CORBA::tk_long,
+static const CORBA::Long _oc_RtecEventChannelAdmin_EventChannel_SYNCHRONIZATION_ERROR[] =
+{
+ 0, // byte order
+ 65, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4576, 0x656e7443, 0x68616e6e, 0x656c2f53, 0x594e4348, 0x524f4e49, 0x5a415449, 0x4f4e5f45, 0x52524f52, 0x3a312e30, 0x0, // repository ID = IDL:RtecEventChannelAdmin/EventChannel/SYNCHRONIZATION_ERROR:1.0
+ 22, 0x53594e43, 0x48524f4e, 0x495a4154, 0x494f4e5f, 0x4552524f, 0x52000000, // name = SYNCHRONIZATION_ERROR
+ 3, // member count
+ 6, 0x6d696e6f, 0x72000000, // name = minor
+ CORBA::tk_long,
+
+ 7, 0x73746174, 0x75730000, // name = status
+ CORBA::tk_long,
+
+ 5, 0x6e616d65, 0x0, // name = name
+ CORBA::tk_string,
+ 0, // string length
+ };
+static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_EventChannel_SYNCHRONIZATION_ERROR (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_EventChannel_SYNCHRONIZATION_ERROR), (unsigned char *) &_oc_RtecEventChannelAdmin_EventChannel_SYNCHRONIZATION_ERROR, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecEventChannelAdmin::EventChannel::_tc_SYNCHRONIZATION_ERROR = &_tc__tc_RtecEventChannelAdmin_EventChannel_SYNCHRONIZATION_ERROR;
- 7, 0x73746174, 0x75730000, // name = status
- CORBA::tk_long,
+static const CORBA::Long _oc_RtecEventChannelAdmin_EventChannel_QOS_ERROR[] =
+{
+ 0, // byte order
+ 53, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4576, 0x656e7443, 0x68616e6e, 0x656c2f51, 0x4f535f45, 0x52524f52, 0x3a312e30, 0x0, // repository ID = IDL:RtecEventChannelAdmin/EventChannel/QOS_ERROR:1.0
+ 10, 0x514f535f, 0x4552524f, 0x52000000, // name = QOS_ERROR
+ 3, // member count
+ 6, 0x6d696e6f, 0x72000000, // name = minor
+ CORBA::tk_long,
+
+ 7, 0x73746174, 0x75730000, // name = status
+ CORBA::tk_long,
+
+ 5, 0x6e616d65, 0x0, // name = name
+ CORBA::tk_string,
+ 0, // string length
+ };
+static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_EventChannel_QOS_ERROR (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_EventChannel_QOS_ERROR), (unsigned char *) &_oc_RtecEventChannelAdmin_EventChannel_QOS_ERROR, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecEventChannelAdmin::EventChannel::_tc_QOS_ERROR = &_tc__tc_RtecEventChannelAdmin_EventChannel_QOS_ERROR;
- 5, 0x6e616d65, 0x0, // name = name
- CORBA::tk_string,
- 0, // string length
- };
- static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_EventChannel_DISPATCH_ERROR (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_EventChannel_DISPATCH_ERROR), (unsigned char *) &_oc_RtecEventChannelAdmin_EventChannel_DISPATCH_ERROR, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecEventChannelAdmin::EventChannel::_tc_DISPATCH_ERROR = &_tc__tc_RtecEventChannelAdmin_EventChannel_DISPATCH_ERROR;
+static const CORBA::Long _oc_RtecEventChannelAdmin_EventChannel_SUBSCRIPTION_ERROR[] =
+{
+ 0, // byte order
+ 62, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4576, 0x656e7443, 0x68616e6e, 0x656c2f53, 0x55425343, 0x52495054, 0x494f4e5f, 0x4552524f, 0x523a312e, 0x30000000, // repository ID = IDL:RtecEventChannelAdmin/EventChannel/SUBSCRIPTION_ERROR:1.0
+ 19, 0x53554253, 0x43524950, 0x54494f4e, 0x5f455252, 0x4f520000, // name = SUBSCRIPTION_ERROR
+ 3, // member count
+ 6, 0x6d696e6f, 0x72000000, // name = minor
+ CORBA::tk_long,
+
+ 7, 0x73746174, 0x75730000, // name = status
+ CORBA::tk_long,
+
+ 5, 0x6e616d65, 0x0, // name = name
+ CORBA::tk_string,
+ 0, // string length
+ };
+static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_EventChannel_SUBSCRIPTION_ERROR (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_EventChannel_SUBSCRIPTION_ERROR), (unsigned char *) &_oc_RtecEventChannelAdmin_EventChannel_SUBSCRIPTION_ERROR, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecEventChannelAdmin::EventChannel::_tc_SUBSCRIPTION_ERROR = &_tc__tc_RtecEventChannelAdmin_EventChannel_SUBSCRIPTION_ERROR;
- static const TAO_Param_Data RtecEventChannelAdmin_EventChannel_for_consumers_paramdata [] =
- {
- {RtecEventChannelAdmin::_tc_ConsumerAdmin, PARAM_RETURN, 0}
- };
+static const CORBA::Long _oc_RtecEventChannelAdmin_EventChannel_CORRELATION_ERROR[] =
+{
+ 0, // byte order
+ 61, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4576, 0x656e7443, 0x68616e6e, 0x656c2f43, 0x4f525245, 0x4c415449, 0x4f4e5f45, 0x52524f52, 0x3a312e30, 0x0, // repository ID = IDL:RtecEventChannelAdmin/EventChannel/CORRELATION_ERROR:1.0
+ 18, 0x434f5252, 0x454c4154, 0x494f4e5f, 0x4552524f, 0x52000000, // name = CORRELATION_ERROR
+ 3, // member count
+ 6, 0x6d696e6f, 0x72000000, // name = minor
+ CORBA::tk_long,
+
+ 7, 0x73746174, 0x75730000, // name = status
+ CORBA::tk_long,
+
+ 5, 0x6e616d65, 0x0, // name = name
+ CORBA::tk_string,
+ 0, // string length
+ };
+static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_EventChannel_CORRELATION_ERROR (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_EventChannel_CORRELATION_ERROR), (unsigned char *) &_oc_RtecEventChannelAdmin_EventChannel_CORRELATION_ERROR, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecEventChannelAdmin::EventChannel::_tc_CORRELATION_ERROR = &_tc__tc_RtecEventChannelAdmin_EventChannel_CORRELATION_ERROR;
- static const TAO_Call_Data RtecEventChannelAdmin_EventChannel_for_consumers_calldata =
- {"for_consumers", 1, 1, RtecEventChannelAdmin_EventChannel_for_consumers_paramdata, 0, 0};
-
- RtecEventChannelAdmin::ConsumerAdmin_ptr RtecEventChannelAdmin::EventChannel::for_consumers (CORBA::Environment &env)
- {
- CORBA::Object_ptr retval = CORBA::Object::_nil ();
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return RtecEventChannelAdmin::ConsumerAdmin::_nil ();
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &RtecEventChannelAdmin_EventChannel_for_consumers_calldata, &retval);
- return RtecEventChannelAdmin::ConsumerAdmin::_narrow (retval, env);
-
+static const CORBA::Long _oc_RtecEventChannelAdmin_EventChannel_DISPATCH_ERROR[] =
+{
+ 0, // byte order
+ 58, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4576, 0x656e7443, 0x68616e6e, 0x656c2f44, 0x49535041, 0x5443485f, 0x4552524f, 0x523a312e, 0x30000000, // repository ID = IDL:RtecEventChannelAdmin/EventChannel/DISPATCH_ERROR:1.0
+ 15, 0x44495350, 0x41544348, 0x5f455252, 0x4f520000, // name = DISPATCH_ERROR
+ 3, // member count
+ 6, 0x6d696e6f, 0x72000000, // name = minor
+ CORBA::tk_long,
+
+ 7, 0x73746174, 0x75730000, // name = status
+ CORBA::tk_long,
+
+ 5, 0x6e616d65, 0x0, // name = name
+ CORBA::tk_string,
+ 0, // string length
+ };
+static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_EventChannel_DISPATCH_ERROR (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_EventChannel_DISPATCH_ERROR), (unsigned char *) &_oc_RtecEventChannelAdmin_EventChannel_DISPATCH_ERROR, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecEventChannelAdmin::EventChannel::_tc_DISPATCH_ERROR = &_tc__tc_RtecEventChannelAdmin_EventChannel_DISPATCH_ERROR;
+
+static const TAO_Param_Data RtecEventChannelAdmin_EventChannel_for_consumers_paramdata [] =
+{
+ {RtecEventChannelAdmin::_tc_ConsumerAdmin, PARAM_RETURN, 0}
+};
+
+static const TAO_Call_Data RtecEventChannelAdmin_EventChannel_for_consumers_calldata =
+{"for_consumers", 1, 1, RtecEventChannelAdmin_EventChannel_for_consumers_paramdata, 0, 0};
+
+RtecEventChannelAdmin::ConsumerAdmin_ptr RtecEventChannelAdmin::EventChannel::for_consumers (CORBA::Environment &env)
+{
+ CORBA::Object_ptr retval = CORBA::Object::_nil ();
+ STUB_Object *istub;
+
+ if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return RtecEventChannelAdmin::ConsumerAdmin::_nil ();
+ }
+ this->Release (); // QueryInterface has bumped up our refcount
+ istub->do_call (env, &RtecEventChannelAdmin_EventChannel_for_consumers_calldata, &retval);
+ return RtecEventChannelAdmin::ConsumerAdmin::_narrow (retval, env);
+
}
- static const TAO_Param_Data RtecEventChannelAdmin_EventChannel_for_suppliers_paramdata [] =
- {
- {RtecEventChannelAdmin::_tc_SupplierAdmin, PARAM_RETURN, 0}
- };
+static const TAO_Param_Data RtecEventChannelAdmin_EventChannel_for_suppliers_paramdata [] =
+{
+ {RtecEventChannelAdmin::_tc_SupplierAdmin, PARAM_RETURN, 0}
+};
+
+static const TAO_Call_Data RtecEventChannelAdmin_EventChannel_for_suppliers_calldata =
+{"for_suppliers", 1, 1, RtecEventChannelAdmin_EventChannel_for_suppliers_paramdata, 0, 0};
+
+RtecEventChannelAdmin::SupplierAdmin_ptr RtecEventChannelAdmin::EventChannel::for_suppliers (CORBA::Environment &env)
+{
+ CORBA::Object_ptr retval = CORBA::Object::_nil ();
+ STUB_Object *istub;
- static const TAO_Call_Data RtecEventChannelAdmin_EventChannel_for_suppliers_calldata =
- {"for_suppliers", 1, 1, RtecEventChannelAdmin_EventChannel_for_suppliers_paramdata, 0, 0};
-
- RtecEventChannelAdmin::SupplierAdmin_ptr RtecEventChannelAdmin::EventChannel::for_suppliers (CORBA::Environment &env)
- {
- CORBA::Object_ptr retval = CORBA::Object::_nil ();
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return RtecEventChannelAdmin::SupplierAdmin::_nil ();
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &RtecEventChannelAdmin_EventChannel_for_suppliers_calldata, &retval);
- return RtecEventChannelAdmin::SupplierAdmin::_narrow (retval, env);
-
+ if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return RtecEventChannelAdmin::SupplierAdmin::_nil ();
+ }
+ this->Release (); // QueryInterface has bumped up our refcount
+ istub->do_call (env, &RtecEventChannelAdmin_EventChannel_for_suppliers_calldata, &retval);
+ return RtecEventChannelAdmin::SupplierAdmin::_narrow (retval, env);
+
}
- static const TAO_Param_Data RtecEventChannelAdmin_EventChannel_destroy_paramdata [] =
- {
- {CORBA::_tc_void, PARAM_RETURN, 0}
- };
+static const TAO_Param_Data RtecEventChannelAdmin_EventChannel_destroy_paramdata [] =
+{
+ {CORBA::_tc_void, PARAM_RETURN, 0}
+};
- static const TAO_Call_Data RtecEventChannelAdmin_EventChannel_destroy_calldata =
- {"destroy", 1, 1, RtecEventChannelAdmin_EventChannel_destroy_paramdata, 0, 0};
-
- void RtecEventChannelAdmin::EventChannel::destroy (CORBA::Environment &env)
- {
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return;
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &RtecEventChannelAdmin_EventChannel_destroy_calldata, 0);
- return; // no value
-
+static const TAO_Call_Data RtecEventChannelAdmin_EventChannel_destroy_calldata =
+{"destroy", 1, 1, RtecEventChannelAdmin_EventChannel_destroy_paramdata, 0, 0};
+
+void RtecEventChannelAdmin::EventChannel::destroy (CORBA::Environment &env)
+{
+ STUB_Object *istub;
+
+ if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return;
+ }
+ this->Release (); // QueryInterface has bumped up our refcount
+ istub->do_call (env, &RtecEventChannelAdmin_EventChannel_destroy_calldata, 0);
+ return; // no value
+
}
- static const CORBA::Long _oc_RtecEventChannelAdmin_EventChannel[] =
- {
- TAO_ENCAP_BYTE_ORDER, // byte order
- 43, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4576, 0x656e7443, 0x68616e6e, 0x656c3a31, 0x2e300000, // repository ID = IDL:RtecEventChannelAdmin/EventChannel:1.0
- 13, 0x4576656e, 0x74436861, 0x6e6e656c, 0x0, // name = EventChannel,
- };
- static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_EventChannel (CORBA::tk_objref, sizeof (_oc_RtecEventChannelAdmin_EventChannel), (unsigned char *) &_oc_RtecEventChannelAdmin_EventChannel, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_EventChannel = &_tc__tc_RtecEventChannelAdmin_EventChannel;
+static const CORBA::Long _oc_RtecEventChannelAdmin_EventChannel[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 43, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4576, 0x656e7443, 0x68616e6e, 0x656c3a31, 0x2e300000, // repository ID = IDL:RtecEventChannelAdmin/EventChannel:1.0
+ 13, 0x4576656e, 0x74436861, 0x6e6e656c, 0x0, // name = EventChannel,
+};
+static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_EventChannel (CORBA::tk_objref, sizeof (_oc_RtecEventChannelAdmin_EventChannel), (unsigned char *) &_oc_RtecEventChannelAdmin_EventChannel, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_EventChannel = &_tc__tc_RtecEventChannelAdmin_EventChannel;
diff --git a/TAO/orbsvcs/lib/RtecEventChannelAdminC.h b/TAO/orbsvcs/lib/RtecEventChannelAdminC.h
index 66b4843313b..9e88e1db352 100644
--- a/TAO/orbsvcs/lib/RtecEventChannelAdminC.h
+++ b/TAO/orbsvcs/lib/RtecEventChannelAdminC.h
@@ -628,192 +628,6 @@ class ProxyPushConsumer: public virtual RtecEventComm::PushConsumer
static CORBA::TypeCode_ptr _tc_ProxyPushConsumer;
-#if !defined (_RTECEVENTCHANNELADMIN_PROXYPULLSUPPLIER___PTR_CH_)
-#define _RTECEVENTCHANNELADMIN_PROXYPULLSUPPLIER___PTR_CH_
-
-class ProxyPullSupplier;
- typedef ProxyPullSupplier *ProxyPullSupplier_ptr;
-
-#endif // end #if !defined
-
-
-#if !defined (_RTECEVENTCHANNELADMIN_PROXYPULLSUPPLIER_CH_)
-#define _RTECEVENTCHANNELADMIN_PROXYPULLSUPPLIER_CH_
-
-class ProxyPullSupplier: public virtual RtecEventComm::PullSupplier
- {
- public:
- // the static operations
- static ProxyPullSupplier_ptr _duplicate (ProxyPullSupplier_ptr obj);
- static ProxyPullSupplier_ptr _narrow (CORBA::Object_ptr obj, CORBA::Environment &env);
- static ProxyPullSupplier_ptr _nil (void);
- static ProxyPullSupplier_ptr _bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env);
-
- virtual void connect_pull_consumer (RtecEventComm::PullConsumer_ptr pull_consumer, CORBA::Environment &env);
- protected:
- ProxyPullSupplier (void); // default constructor
- ProxyPullSupplier (STUB_Object *objref);
- virtual ~ProxyPullSupplier (void);
- private:
- ProxyPullSupplier (const ProxyPullSupplier&);
- void operator= (const ProxyPullSupplier&);
- };
-
-
-#endif // end #if !defined
-
-
-#if !defined (_RTECEVENTCHANNELADMIN_PROXYPULLSUPPLIER___VAR_CH_)
-#define _RTECEVENTCHANNELADMIN_PROXYPULLSUPPLIER___VAR_CH_
-
- class ProxyPullSupplier_var
- {
- public:
- ProxyPullSupplier_var (void); // default constructor
- ProxyPullSupplier_var (ProxyPullSupplier_ptr);
- ProxyPullSupplier_var (const ProxyPullSupplier_var &); // copy constructor
- ~ProxyPullSupplier_var (void); // destructor
-
- ProxyPullSupplier_var &operator= (ProxyPullSupplier_ptr);
- ProxyPullSupplier_var &operator= (const ProxyPullSupplier_var &);
- ProxyPullSupplier_ptr operator-> (void) const;
-
- operator const ProxyPullSupplier_ptr &() const;
- operator ProxyPullSupplier_ptr &();
- // in, inout, out, _retn
- ProxyPullSupplier_ptr in (void) const;
- ProxyPullSupplier_ptr &inout (void);
- ProxyPullSupplier_ptr &out (void);
- ProxyPullSupplier_ptr _retn (void);
- ProxyPullSupplier_ptr ptr (void) const;
-
- private:
- ProxyPullSupplier_ptr ptr_;
- };
-
-
-#endif // end #if !defined
-
-
-#if !defined (_RTECEVENTCHANNELADMIN_PROXYPULLSUPPLIER___OUT_CH_)
-#define _RTECEVENTCHANNELADMIN_PROXYPULLSUPPLIER___OUT_CH_
-
- class ProxyPullSupplier_out
- {
- public:
- ProxyPullSupplier_out (ProxyPullSupplier_ptr &);
- ProxyPullSupplier_out (ProxyPullSupplier_var &);
- ProxyPullSupplier_out (ProxyPullSupplier_out &);
- ProxyPullSupplier_out &operator= (ProxyPullSupplier_out &);
- ProxyPullSupplier_out &operator= (const ProxyPullSupplier_var &);
- ProxyPullSupplier_out &operator= (ProxyPullSupplier_ptr);
- operator ProxyPullSupplier_ptr &();
- ProxyPullSupplier_ptr &ptr (void);
- ProxyPullSupplier_ptr operator-> (void);
-
- private:
- ProxyPullSupplier_ptr &ptr_;
- };
-
-
-#endif // end #if !defined
-
- static CORBA::TypeCode_ptr _tc_ProxyPullSupplier;
-
-
-#if !defined (_RTECEVENTCHANNELADMIN_PROXYPULLCONSUMER___PTR_CH_)
-#define _RTECEVENTCHANNELADMIN_PROXYPULLCONSUMER___PTR_CH_
-
-class ProxyPullConsumer;
- typedef ProxyPullConsumer *ProxyPullConsumer_ptr;
-
-#endif // end #if !defined
-
-
-#if !defined (_RTECEVENTCHANNELADMIN_PROXYPULLCONSUMER_CH_)
-#define _RTECEVENTCHANNELADMIN_PROXYPULLCONSUMER_CH_
-
-class ProxyPullConsumer: public virtual RtecEventComm::PullConsumer
- {
- public:
- // the static operations
- static ProxyPullConsumer_ptr _duplicate (ProxyPullConsumer_ptr obj);
- static ProxyPullConsumer_ptr _narrow (CORBA::Object_ptr obj, CORBA::Environment &env);
- static ProxyPullConsumer_ptr _nil (void);
- static ProxyPullConsumer_ptr _bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env);
-
- virtual void connect_pull_supplier (RtecEventComm::PullSupplier_ptr pull_supplier, CORBA::Environment &env);
- protected:
- ProxyPullConsumer (void); // default constructor
- ProxyPullConsumer (STUB_Object *objref);
- virtual ~ProxyPullConsumer (void);
- private:
- ProxyPullConsumer (const ProxyPullConsumer&);
- void operator= (const ProxyPullConsumer&);
- };
-
-
-#endif // end #if !defined
-
-
-#if !defined (_RTECEVENTCHANNELADMIN_PROXYPULLCONSUMER___VAR_CH_)
-#define _RTECEVENTCHANNELADMIN_PROXYPULLCONSUMER___VAR_CH_
-
- class ProxyPullConsumer_var
- {
- public:
- ProxyPullConsumer_var (void); // default constructor
- ProxyPullConsumer_var (ProxyPullConsumer_ptr);
- ProxyPullConsumer_var (const ProxyPullConsumer_var &); // copy constructor
- ~ProxyPullConsumer_var (void); // destructor
-
- ProxyPullConsumer_var &operator= (ProxyPullConsumer_ptr);
- ProxyPullConsumer_var &operator= (const ProxyPullConsumer_var &);
- ProxyPullConsumer_ptr operator-> (void) const;
-
- operator const ProxyPullConsumer_ptr &() const;
- operator ProxyPullConsumer_ptr &();
- // in, inout, out, _retn
- ProxyPullConsumer_ptr in (void) const;
- ProxyPullConsumer_ptr &inout (void);
- ProxyPullConsumer_ptr &out (void);
- ProxyPullConsumer_ptr _retn (void);
- ProxyPullConsumer_ptr ptr (void) const;
-
- private:
- ProxyPullConsumer_ptr ptr_;
- };
-
-
-#endif // end #if !defined
-
-
-#if !defined (_RTECEVENTCHANNELADMIN_PROXYPULLCONSUMER___OUT_CH_)
-#define _RTECEVENTCHANNELADMIN_PROXYPULLCONSUMER___OUT_CH_
-
- class ProxyPullConsumer_out
- {
- public:
- ProxyPullConsumer_out (ProxyPullConsumer_ptr &);
- ProxyPullConsumer_out (ProxyPullConsumer_var &);
- ProxyPullConsumer_out (ProxyPullConsumer_out &);
- ProxyPullConsumer_out &operator= (ProxyPullConsumer_out &);
- ProxyPullConsumer_out &operator= (const ProxyPullConsumer_var &);
- ProxyPullConsumer_out &operator= (ProxyPullConsumer_ptr);
- operator ProxyPullConsumer_ptr &();
- ProxyPullConsumer_ptr &ptr (void);
- ProxyPullConsumer_ptr operator-> (void);
-
- private:
- ProxyPullConsumer_ptr &ptr_;
- };
-
-
-#endif // end #if !defined
-
- static CORBA::TypeCode_ptr _tc_ProxyPullConsumer;
-
-
#if !defined (_RTECEVENTCHANNELADMIN_PROXYPUSHSUPPLIER___PTR_CH_)
#define _RTECEVENTCHANNELADMIN_PROXYPUSHSUPPLIER___PTR_CH_
diff --git a/TAO/orbsvcs/lib/RtecEventChannelAdminC.i b/TAO/orbsvcs/lib/RtecEventChannelAdminC.i
index a401dc1de54..0cb79d07449 100644
--- a/TAO/orbsvcs/lib/RtecEventChannelAdminC.i
+++ b/TAO/orbsvcs/lib/RtecEventChannelAdminC.i
@@ -1249,380 +1249,6 @@ RtecEventChannelAdmin::ProxyPushConsumer_out::operator-> (void)
#endif // end #if !defined
ACE_INLINE
-RtecEventChannelAdmin::ProxyPullSupplier::ProxyPullSupplier (void) // default constructor
-{}
-
-ACE_INLINE
-RtecEventChannelAdmin::ProxyPullSupplier::ProxyPullSupplier (STUB_Object *objref) // constructor
- : ACE_CORBA_1 (Object) (objref)
-{}
-
-ACE_INLINE
-RtecEventChannelAdmin::ProxyPullSupplier::~ProxyPullSupplier (void) // destructor
-{}
-
-
-#if !defined (_RTECEVENTCHANNELADMIN_PROXYPULLSUPPLIER___VAR_CI_)
-#define _RTECEVENTCHANNELADMIN_PROXYPULLSUPPLIER___VAR_CI_
-
-// *************************************************************
-// Inline operations for class RtecEventChannelAdmin::ProxyPullSupplier_var
-// *************************************************************
-
-ACE_INLINE
-RtecEventChannelAdmin::ProxyPullSupplier_var::ProxyPullSupplier_var (void) // default constructor
- : ptr_ (RtecEventChannelAdmin::ProxyPullSupplier::_nil ())
-{}
-
-ACE_INLINE
-RtecEventChannelAdmin::ProxyPullSupplier_var::ProxyPullSupplier_var (RtecEventChannelAdmin::ProxyPullSupplier_ptr p)
- : ptr_ (p)
-{}
-
-ACE_INLINE RtecEventChannelAdmin::ProxyPullSupplier_ptr
-RtecEventChannelAdmin::ProxyPullSupplier_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-RtecEventChannelAdmin::ProxyPullSupplier_var::ProxyPullSupplier_var (const RtecEventChannelAdmin::ProxyPullSupplier_var &p) // copy constructor
- : ptr_ (RtecEventChannelAdmin::ProxyPullSupplier::_duplicate (p.ptr ()))
-{}
-
-ACE_INLINE
-RtecEventChannelAdmin::ProxyPullSupplier_var::~ProxyPullSupplier_var (void) // destructor
-{
- CORBA::release (this->ptr_);
-}
-
-ACE_INLINE RtecEventChannelAdmin::ProxyPullSupplier_var &
-RtecEventChannelAdmin::ProxyPullSupplier_var::operator= (RtecEventChannelAdmin::ProxyPullSupplier_ptr p)
-{
- CORBA::release (this->ptr_);
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE RtecEventChannelAdmin::ProxyPullSupplier_var &
-RtecEventChannelAdmin::ProxyPullSupplier_var::operator= (const RtecEventChannelAdmin::ProxyPullSupplier_var &p)
-{
- if (this != &p)
- {
- CORBA::release (this->ptr_);
- this->ptr_ = RtecEventChannelAdmin::ProxyPullSupplier::_duplicate (p.ptr ());
- }
- return *this;
-}
-
-ACE_INLINE
-RtecEventChannelAdmin::ProxyPullSupplier_var::operator const RtecEventChannelAdmin::ProxyPullSupplier_ptr &() const // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-RtecEventChannelAdmin::ProxyPullSupplier_var::operator RtecEventChannelAdmin::ProxyPullSupplier_ptr &() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE RtecEventChannelAdmin::ProxyPullSupplier_ptr
-RtecEventChannelAdmin::ProxyPullSupplier_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE RtecEventChannelAdmin::ProxyPullSupplier_ptr
-RtecEventChannelAdmin::ProxyPullSupplier_var::in (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE RtecEventChannelAdmin::ProxyPullSupplier_ptr &
-RtecEventChannelAdmin::ProxyPullSupplier_var::inout (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE RtecEventChannelAdmin::ProxyPullSupplier_ptr &
-RtecEventChannelAdmin::ProxyPullSupplier_var::out (void)
-{
- CORBA::release (this->ptr_);
- this->ptr_ = RtecEventChannelAdmin::ProxyPullSupplier::_nil ();
- return this->ptr_;
-}
-
-ACE_INLINE RtecEventChannelAdmin::ProxyPullSupplier_ptr
-RtecEventChannelAdmin::ProxyPullSupplier_var::_retn (void)
-{
- // yield ownership of managed obj reference
- RtecEventChannelAdmin::ProxyPullSupplier_ptr val = this->ptr_;
- this->ptr_ = RtecEventChannelAdmin::ProxyPullSupplier::_nil ();
- return val;
-}
-
-
-#endif // end #if !defined
-
-
-#if !defined (_RTECEVENTCHANNELADMIN_PROXYPULLSUPPLIER___OUT_CI_)
-#define _RTECEVENTCHANNELADMIN_PROXYPULLSUPPLIER___OUT_CI_
-
-// *************************************************************
-// Inline operations for class RtecEventChannelAdmin::ProxyPullSupplier_out
-// *************************************************************
-
-ACE_INLINE
-RtecEventChannelAdmin::ProxyPullSupplier_out::ProxyPullSupplier_out (RtecEventChannelAdmin::ProxyPullSupplier_ptr &p)
- : ptr_ (p)
-{
- this->ptr_ = RtecEventChannelAdmin::ProxyPullSupplier::_nil ();
-}
-
-ACE_INLINE
-RtecEventChannelAdmin::ProxyPullSupplier_out::ProxyPullSupplier_out (RtecEventChannelAdmin::ProxyPullSupplier_var &p) // constructor from _var
- : ptr_ (p.out ())
-{
- CORBA::release (this->ptr_);
- this->ptr_ = RtecEventChannelAdmin::ProxyPullSupplier::_nil ();
-}
-
-ACE_INLINE
-RtecEventChannelAdmin::ProxyPullSupplier_out::ProxyPullSupplier_out (RtecEventChannelAdmin::ProxyPullSupplier_out &p) // copy constructor
- : ptr_ (p.ptr_)
-{}
-
-ACE_INLINE RtecEventChannelAdmin::ProxyPullSupplier_out &
-RtecEventChannelAdmin::ProxyPullSupplier_out::operator= (RtecEventChannelAdmin::ProxyPullSupplier_out &p)
-{
- this->ptr_ = p.ptr_;
- return *this;
-}
-
-ACE_INLINE RtecEventChannelAdmin::ProxyPullSupplier_out &
-RtecEventChannelAdmin::ProxyPullSupplier_out::operator= (const RtecEventChannelAdmin::ProxyPullSupplier_var &p)
-{
- this->ptr_ = RtecEventChannelAdmin::ProxyPullSupplier::_duplicate (p.ptr ());
- return *this;
-}
-
-ACE_INLINE RtecEventChannelAdmin::ProxyPullSupplier_out &
-RtecEventChannelAdmin::ProxyPullSupplier_out::operator= (RtecEventChannelAdmin::ProxyPullSupplier_ptr p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-RtecEventChannelAdmin::ProxyPullSupplier_out::operator RtecEventChannelAdmin::ProxyPullSupplier_ptr &() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE RtecEventChannelAdmin::ProxyPullSupplier_ptr &
-RtecEventChannelAdmin::ProxyPullSupplier_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE RtecEventChannelAdmin::ProxyPullSupplier_ptr
-RtecEventChannelAdmin::ProxyPullSupplier_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-
-#endif // end #if !defined
-
-ACE_INLINE
-RtecEventChannelAdmin::ProxyPullConsumer::ProxyPullConsumer (void) // default constructor
-{}
-
-ACE_INLINE
-RtecEventChannelAdmin::ProxyPullConsumer::ProxyPullConsumer (STUB_Object *objref) // constructor
- : ACE_CORBA_1 (Object) (objref)
-{}
-
-ACE_INLINE
-RtecEventChannelAdmin::ProxyPullConsumer::~ProxyPullConsumer (void) // destructor
-{}
-
-
-#if !defined (_RTECEVENTCHANNELADMIN_PROXYPULLCONSUMER___VAR_CI_)
-#define _RTECEVENTCHANNELADMIN_PROXYPULLCONSUMER___VAR_CI_
-
-// *************************************************************
-// Inline operations for class RtecEventChannelAdmin::ProxyPullConsumer_var
-// *************************************************************
-
-ACE_INLINE
-RtecEventChannelAdmin::ProxyPullConsumer_var::ProxyPullConsumer_var (void) // default constructor
- : ptr_ (RtecEventChannelAdmin::ProxyPullConsumer::_nil ())
-{}
-
-ACE_INLINE
-RtecEventChannelAdmin::ProxyPullConsumer_var::ProxyPullConsumer_var (RtecEventChannelAdmin::ProxyPullConsumer_ptr p)
- : ptr_ (p)
-{}
-
-ACE_INLINE RtecEventChannelAdmin::ProxyPullConsumer_ptr
-RtecEventChannelAdmin::ProxyPullConsumer_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-RtecEventChannelAdmin::ProxyPullConsumer_var::ProxyPullConsumer_var (const RtecEventChannelAdmin::ProxyPullConsumer_var &p) // copy constructor
- : ptr_ (RtecEventChannelAdmin::ProxyPullConsumer::_duplicate (p.ptr ()))
-{}
-
-ACE_INLINE
-RtecEventChannelAdmin::ProxyPullConsumer_var::~ProxyPullConsumer_var (void) // destructor
-{
- CORBA::release (this->ptr_);
-}
-
-ACE_INLINE RtecEventChannelAdmin::ProxyPullConsumer_var &
-RtecEventChannelAdmin::ProxyPullConsumer_var::operator= (RtecEventChannelAdmin::ProxyPullConsumer_ptr p)
-{
- CORBA::release (this->ptr_);
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE RtecEventChannelAdmin::ProxyPullConsumer_var &
-RtecEventChannelAdmin::ProxyPullConsumer_var::operator= (const RtecEventChannelAdmin::ProxyPullConsumer_var &p)
-{
- if (this != &p)
- {
- CORBA::release (this->ptr_);
- this->ptr_ = RtecEventChannelAdmin::ProxyPullConsumer::_duplicate (p.ptr ());
- }
- return *this;
-}
-
-ACE_INLINE
-RtecEventChannelAdmin::ProxyPullConsumer_var::operator const RtecEventChannelAdmin::ProxyPullConsumer_ptr &() const // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-RtecEventChannelAdmin::ProxyPullConsumer_var::operator RtecEventChannelAdmin::ProxyPullConsumer_ptr &() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE RtecEventChannelAdmin::ProxyPullConsumer_ptr
-RtecEventChannelAdmin::ProxyPullConsumer_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE RtecEventChannelAdmin::ProxyPullConsumer_ptr
-RtecEventChannelAdmin::ProxyPullConsumer_var::in (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE RtecEventChannelAdmin::ProxyPullConsumer_ptr &
-RtecEventChannelAdmin::ProxyPullConsumer_var::inout (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE RtecEventChannelAdmin::ProxyPullConsumer_ptr &
-RtecEventChannelAdmin::ProxyPullConsumer_var::out (void)
-{
- CORBA::release (this->ptr_);
- this->ptr_ = RtecEventChannelAdmin::ProxyPullConsumer::_nil ();
- return this->ptr_;
-}
-
-ACE_INLINE RtecEventChannelAdmin::ProxyPullConsumer_ptr
-RtecEventChannelAdmin::ProxyPullConsumer_var::_retn (void)
-{
- // yield ownership of managed obj reference
- RtecEventChannelAdmin::ProxyPullConsumer_ptr val = this->ptr_;
- this->ptr_ = RtecEventChannelAdmin::ProxyPullConsumer::_nil ();
- return val;
-}
-
-
-#endif // end #if !defined
-
-
-#if !defined (_RTECEVENTCHANNELADMIN_PROXYPULLCONSUMER___OUT_CI_)
-#define _RTECEVENTCHANNELADMIN_PROXYPULLCONSUMER___OUT_CI_
-
-// *************************************************************
-// Inline operations for class RtecEventChannelAdmin::ProxyPullConsumer_out
-// *************************************************************
-
-ACE_INLINE
-RtecEventChannelAdmin::ProxyPullConsumer_out::ProxyPullConsumer_out (RtecEventChannelAdmin::ProxyPullConsumer_ptr &p)
- : ptr_ (p)
-{
- this->ptr_ = RtecEventChannelAdmin::ProxyPullConsumer::_nil ();
-}
-
-ACE_INLINE
-RtecEventChannelAdmin::ProxyPullConsumer_out::ProxyPullConsumer_out (RtecEventChannelAdmin::ProxyPullConsumer_var &p) // constructor from _var
- : ptr_ (p.out ())
-{
- CORBA::release (this->ptr_);
- this->ptr_ = RtecEventChannelAdmin::ProxyPullConsumer::_nil ();
-}
-
-ACE_INLINE
-RtecEventChannelAdmin::ProxyPullConsumer_out::ProxyPullConsumer_out (RtecEventChannelAdmin::ProxyPullConsumer_out &p) // copy constructor
- : ptr_ (p.ptr_)
-{}
-
-ACE_INLINE RtecEventChannelAdmin::ProxyPullConsumer_out &
-RtecEventChannelAdmin::ProxyPullConsumer_out::operator= (RtecEventChannelAdmin::ProxyPullConsumer_out &p)
-{
- this->ptr_ = p.ptr_;
- return *this;
-}
-
-ACE_INLINE RtecEventChannelAdmin::ProxyPullConsumer_out &
-RtecEventChannelAdmin::ProxyPullConsumer_out::operator= (const RtecEventChannelAdmin::ProxyPullConsumer_var &p)
-{
- this->ptr_ = RtecEventChannelAdmin::ProxyPullConsumer::_duplicate (p.ptr ());
- return *this;
-}
-
-ACE_INLINE RtecEventChannelAdmin::ProxyPullConsumer_out &
-RtecEventChannelAdmin::ProxyPullConsumer_out::operator= (RtecEventChannelAdmin::ProxyPullConsumer_ptr p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-RtecEventChannelAdmin::ProxyPullConsumer_out::operator RtecEventChannelAdmin::ProxyPullConsumer_ptr &() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE RtecEventChannelAdmin::ProxyPullConsumer_ptr &
-RtecEventChannelAdmin::ProxyPullConsumer_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE RtecEventChannelAdmin::ProxyPullConsumer_ptr
-RtecEventChannelAdmin::ProxyPullConsumer_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-
-#endif // end #if !defined
-
-ACE_INLINE
RtecEventChannelAdmin::ProxyPushSupplier::ProxyPushSupplier (void) // default constructor
{}
diff --git a/TAO/orbsvcs/lib/RtecEventChannelAdminS.cpp b/TAO/orbsvcs/lib/RtecEventChannelAdminS.cpp
index 751517fd647..207f449591e 100644
--- a/TAO/orbsvcs/lib/RtecEventChannelAdminS.cpp
+++ b/TAO/orbsvcs/lib/RtecEventChannelAdminS.cpp
@@ -39,8 +39,9 @@ void POA_RtecEventChannelAdmin::ProxyPushConsumer::connect_push_supplier_skel (C
CORBA::NVList_ptr nvlist;
POA_RtecEventChannelAdmin::ProxyPushConsumer_ptr impl;
RtecEventComm::PushSupplier_ptr push_supplier;
+ CORBA::Object_ptr _tao_push_supplier;
CORBA::NamedValue_ptr nv_push_supplier;
- CORBA::Any any_push_supplier (RtecEventComm::_tc_PushSupplier, &push_supplier); // ORB does not own
+ CORBA::Any any_push_supplier (RtecEventComm::_tc_PushSupplier, &_tao_push_supplier); // ORB does not own
RtecEventChannelAdmin::SupplierQOS qos;
CORBA::NamedValue_ptr nv_qos;
CORBA::Any any_qos (RtecEventChannelAdmin::_tc_SupplierQOS, &qos); // ORB does not own
@@ -53,14 +54,16 @@ void POA_RtecEventChannelAdmin::ProxyPushConsumer::connect_push_supplier_skel (C
// parse the arguments
_tao_server_request.params (nvlist, _tao_environment);
if (_tao_environment.exception ()) return;
+ push_supplier = RtecEventComm::PushSupplier::_narrow
+ (_tao_push_supplier, _tao_environment);
+ if (_tao_environment.exception ()) return;
impl = (POA_RtecEventChannelAdmin::ProxyPushConsumer_ptr) _tao_object_reference->get_subclass ();
impl->connect_push_supplier(push_supplier, qos, _tao_environment);
}
-void POA_RtecEventChannelAdmin::ProxyPushConsumer::_is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env)
+void POA_RtecEventChannelAdmin::ProxyPushConsumer::_is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr /* obj */, CORBA::Environment &env)
{
- ACE_UNUSED_ARG (obj); // argument not used
const CORBA::String type_id = "IDL:RtecEventChannelAdmin/ProxyPushConsumer:1.0"; // repository ID
CORBA::NVList_ptr nvlist;
CORBA::NamedValue_ptr nv;
@@ -84,144 +87,6 @@ void POA_RtecEventChannelAdmin::ProxyPushConsumer::_is_a_skel (CORBA::ServerRequ
req.result (any, env);
}
-static const TAO_operation_db_entry ProxyPullSupplier_operations [] = {
- {"connect_pull_consumer", &POA_RtecEventChannelAdmin::ProxyPullSupplier::connect_pull_consumer_skel},
- {"_is_a", &POA_RtecEventChannelAdmin::ProxyPullSupplier::_is_a_skel}
-};
-
-TAO_Dynamic_Hash_OpTable tao_ProxyPullSupplier_optable (ProxyPullSupplier_operations, 2, 4);
-// skeleton constructor
-POA_RtecEventChannelAdmin::ProxyPullSupplier::ProxyPullSupplier (const char *obj_name)
-{
- const CORBA::String repoID = "IDL:RtecEventChannelAdmin/ProxyPullSupplier:1.0"; // repository ID
- IIOP_Object *data; // Actual object reference
- TAO_ORB_Core *ocp = TAO_ORB_Core_instance (); // underlying ORB core instance
- CORBA::POA_ptr oa = TAO_ORB_Core_instance ()->root_poa (); // underlying OA
- const ACE_INET_Addr &addr = ocp->orb_params ()->addr ();
- this->optable_ = &tao_ProxyPullSupplier_optable;
-
- // set up an IIOP object
- data = new IIOP_Object (CORBA::string_dup (repoID), addr, obj_name);
- this->set_parent (data); // store the IIOP obj ref with us
- this->sub_ = this; // set the most derived type to be us
- if (oa) oa->bind (data->profile.object_key, this); // register ourselves
-}
-
-void POA_RtecEventChannelAdmin::ProxyPullSupplier::connect_pull_consumer_skel (CORBA::ServerRequest &_tao_server_request, CORBA::Object_ptr _tao_object_reference, CORBA::Environment &_tao_environment)
-{
- CORBA::NVList_ptr nvlist;
- POA_RtecEventChannelAdmin::ProxyPullSupplier_ptr impl;
- RtecEventComm::PullConsumer_ptr pull_consumer;
- CORBA::NamedValue_ptr nv_pull_consumer;
- CORBA::Any any_pull_consumer (RtecEventComm::_tc_PullConsumer, &pull_consumer); // ORB does not own
-
- // create an NV list and populate it with typecodes
- _tao_server_request.orb ()->create_list (0, nvlist); // initialize a list
- // add each argument according to the in, out, inout semantics
- nv_pull_consumer = nvlist->add_value ("pull_consumer", any_pull_consumer, CORBA::ARG_IN, _tao_environment);
- // parse the arguments
- _tao_server_request.params (nvlist, _tao_environment);
- if (_tao_environment.exception ()) return;
- impl = (POA_RtecEventChannelAdmin::ProxyPullSupplier_ptr) _tao_object_reference->get_subclass ();
- impl->connect_pull_consumer(pull_consumer, _tao_environment);
-
-}
-
-void POA_RtecEventChannelAdmin::ProxyPullSupplier::_is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env)
-{
- ACE_UNUSED_ARG (obj); // argument not used
- const CORBA::String type_id = "IDL:RtecEventChannelAdmin/ProxyPullSupplier:1.0"; // repository ID
- CORBA::NVList_ptr nvlist;
- CORBA::NamedValue_ptr nv;
- CORBA::Any temp_value (CORBA::_tc_string);
- CORBA::Any *any;
- CORBA::Boolean *retval;
- CORBA::String value;
-
- req.orb()->create_list (0, nvlist);
- nv = nvlist->add_value (0, temp_value, CORBA::ARG_IN, env);
- req.params (nvlist, env); // parse the args
- if (env.exception () != 0) return;
- value = *(CORBA::String *)nv->value ()->value ();
- if (ACE_OS::strcmp ((char *)value, (char *)type_id) == 0
- || ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (env)) == 0)
-
- retval = new CORBA::Boolean (CORBA::B_TRUE);
- else
- retval = new CORBA::Boolean (CORBA::B_FALSE);
- any = new CORBA::Any (CORBA::_tc_boolean, retval, CORBA::B_TRUE);
- req.result (any, env);
-}
-
-static const TAO_operation_db_entry ProxyPullConsumer_operations [] = {
- {"connect_pull_supplier", &POA_RtecEventChannelAdmin::ProxyPullConsumer::connect_pull_supplier_skel},
- {"_is_a", &POA_RtecEventChannelAdmin::ProxyPullConsumer::_is_a_skel}
-};
-
-TAO_Dynamic_Hash_OpTable tao_ProxyPullConsumer_optable (ProxyPullConsumer_operations, 2, 4);
-// skeleton constructor
-POA_RtecEventChannelAdmin::ProxyPullConsumer::ProxyPullConsumer (const char *obj_name)
-{
- const CORBA::String repoID = "IDL:RtecEventChannelAdmin/ProxyPullConsumer:1.0"; // repository ID
- IIOP_Object *data; // Actual object reference
- TAO_ORB_Core *ocp = TAO_ORB_Core_instance (); // underlying ORB core instance
- CORBA::POA_ptr oa = TAO_ORB_Core_instance ()->root_poa (); // underlying OA
- const ACE_INET_Addr &addr = ocp->orb_params ()->addr ();
- this->optable_ = &tao_ProxyPullConsumer_optable;
-
- // set up an IIOP object
- data = new IIOP_Object (CORBA::string_dup (repoID), addr, obj_name);
- this->set_parent (data); // store the IIOP obj ref with us
- this->sub_ = this; // set the most derived type to be us
- if (oa) oa->bind (data->profile.object_key, this); // register ourselves
-}
-
-void POA_RtecEventChannelAdmin::ProxyPullConsumer::connect_pull_supplier_skel (CORBA::ServerRequest &_tao_server_request, CORBA::Object_ptr _tao_object_reference, CORBA::Environment &_tao_environment)
-{
- CORBA::NVList_ptr nvlist;
- POA_RtecEventChannelAdmin::ProxyPullConsumer_ptr impl;
- RtecEventComm::PullSupplier_ptr pull_supplier;
- CORBA::NamedValue_ptr nv_pull_supplier;
- CORBA::Any any_pull_supplier (RtecEventComm::_tc_PullSupplier, &pull_supplier); // ORB does not own
-
- // create an NV list and populate it with typecodes
- _tao_server_request.orb ()->create_list (0, nvlist); // initialize a list
- // add each argument according to the in, out, inout semantics
- nv_pull_supplier = nvlist->add_value ("pull_supplier", any_pull_supplier, CORBA::ARG_IN, _tao_environment);
- // parse the arguments
- _tao_server_request.params (nvlist, _tao_environment);
- if (_tao_environment.exception ()) return;
- impl = (POA_RtecEventChannelAdmin::ProxyPullConsumer_ptr) _tao_object_reference->get_subclass ();
- impl->connect_pull_supplier(pull_supplier, _tao_environment);
-
-}
-
-void POA_RtecEventChannelAdmin::ProxyPullConsumer::_is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env)
-{
- ACE_UNUSED_ARG (obj); // argument not used
- const CORBA::String type_id = "IDL:RtecEventChannelAdmin/ProxyPullConsumer:1.0"; // repository ID
- CORBA::NVList_ptr nvlist;
- CORBA::NamedValue_ptr nv;
- CORBA::Any temp_value (CORBA::_tc_string);
- CORBA::Any *any;
- CORBA::Boolean *retval;
- CORBA::String value;
-
- req.orb()->create_list (0, nvlist);
- nv = nvlist->add_value (0, temp_value, CORBA::ARG_IN, env);
- req.params (nvlist, env); // parse the args
- if (env.exception () != 0) return;
- value = *(CORBA::String *)nv->value ()->value ();
- if (ACE_OS::strcmp ((char *)value, (char *)type_id) == 0
- || ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (env)) == 0)
-
- retval = new CORBA::Boolean (CORBA::B_TRUE);
- else
- retval = new CORBA::Boolean (CORBA::B_FALSE);
- any = new CORBA::Any (CORBA::_tc_boolean, retval, CORBA::B_TRUE);
- req.result (any, env);
-}
-
static const TAO_operation_db_entry ProxyPushSupplier_operations [] = {
{"connect_push_consumer", &POA_RtecEventChannelAdmin::ProxyPushSupplier::connect_push_consumer_skel},
{"_is_a", &POA_RtecEventChannelAdmin::ProxyPushSupplier::_is_a_skel}
@@ -250,8 +115,9 @@ void POA_RtecEventChannelAdmin::ProxyPushSupplier::connect_push_consumer_skel (C
CORBA::NVList_ptr nvlist;
POA_RtecEventChannelAdmin::ProxyPushSupplier_ptr impl;
RtecEventComm::PushConsumer_ptr push_consumer;
+ CORBA::Object_ptr _tao_push_consumer;
CORBA::NamedValue_ptr nv_push_consumer;
- CORBA::Any any_push_consumer (RtecEventComm::_tc_PushConsumer, &push_consumer); // ORB does not own
+ CORBA::Any any_push_consumer (RtecEventComm::_tc_PushConsumer, &_tao_push_consumer); // ORB does not own
RtecEventChannelAdmin::ConsumerQOS qos;
CORBA::NamedValue_ptr nv_qos;
CORBA::Any any_qos (RtecEventChannelAdmin::_tc_ConsumerQOS, &qos); // ORB does not own
@@ -264,14 +130,16 @@ void POA_RtecEventChannelAdmin::ProxyPushSupplier::connect_push_consumer_skel (C
// parse the arguments
_tao_server_request.params (nvlist, _tao_environment);
if (_tao_environment.exception ()) return;
+ push_consumer = RtecEventComm::PushConsumer::_narrow
+ (_tao_push_consumer, _tao_environment);
+ if (_tao_environment.exception ()) return;
impl = (POA_RtecEventChannelAdmin::ProxyPushSupplier_ptr) _tao_object_reference->get_subclass ();
impl->connect_push_consumer(push_consumer, qos, _tao_environment);
}
-void POA_RtecEventChannelAdmin::ProxyPushSupplier::_is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env)
+void POA_RtecEventChannelAdmin::ProxyPushSupplier::_is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr /* obj */, CORBA::Environment &env)
{
- ACE_UNUSED_ARG (obj); // argument not used
const CORBA::String type_id = "IDL:RtecEventChannelAdmin/ProxyPushSupplier:1.0"; // repository ID
CORBA::NVList_ptr nvlist;
CORBA::NamedValue_ptr nv;
@@ -323,7 +191,7 @@ void POA_RtecEventChannelAdmin::ConsumerAdmin::obtain_push_supplier_skel (CORBA:
CORBA::NVList_ptr nvlist;
POA_RtecEventChannelAdmin::ConsumerAdmin_ptr impl;
CORBA::Any *result;
- CORBA::Object_ptr retval;
+ CORBA::Object_ptr *retval = new CORBA::Object_ptr;
// create an NV list and populate it with typecodes
_tao_server_request.orb ()->create_list (0, nvlist); // initialize a list
@@ -332,15 +200,14 @@ void POA_RtecEventChannelAdmin::ConsumerAdmin::obtain_push_supplier_skel (CORBA:
_tao_server_request.params (nvlist, _tao_environment);
if (_tao_environment.exception ()) return;
impl = (POA_RtecEventChannelAdmin::ConsumerAdmin_ptr) _tao_object_reference->get_subclass ();
- retval = impl->obtain_push_supplier(_tao_environment);
- result = new CORBA::Any (RtecEventChannelAdmin::_tc_ProxyPushSupplier, retval, 0); // ORB does not own
+ *retval = impl->obtain_push_supplier(_tao_environment);
+ result = new CORBA::Any (RtecEventChannelAdmin::_tc_ProxyPushSupplier, retval, 1); // ORB owns
_tao_server_request.result (result, _tao_environment);
}
-void POA_RtecEventChannelAdmin::ConsumerAdmin::_is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env)
+void POA_RtecEventChannelAdmin::ConsumerAdmin::_is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr /* obj */, CORBA::Environment &env)
{
- ACE_UNUSED_ARG (obj); // argument not used
const CORBA::String type_id = "IDL:RtecEventChannelAdmin/ConsumerAdmin:1.0"; // repository ID
CORBA::NVList_ptr nvlist;
CORBA::NamedValue_ptr nv;
@@ -392,7 +259,7 @@ void POA_RtecEventChannelAdmin::SupplierAdmin::obtain_push_consumer_skel (CORBA:
CORBA::NVList_ptr nvlist;
POA_RtecEventChannelAdmin::SupplierAdmin_ptr impl;
CORBA::Any *result;
- CORBA::Object_ptr retval;
+ CORBA::Object_ptr *retval = new CORBA::Object_ptr;
// create an NV list and populate it with typecodes
_tao_server_request.orb ()->create_list (0, nvlist); // initialize a list
@@ -401,15 +268,14 @@ void POA_RtecEventChannelAdmin::SupplierAdmin::obtain_push_consumer_skel (CORBA:
_tao_server_request.params (nvlist, _tao_environment);
if (_tao_environment.exception ()) return;
impl = (POA_RtecEventChannelAdmin::SupplierAdmin_ptr) _tao_object_reference->get_subclass ();
- retval = impl->obtain_push_consumer(_tao_environment);
- result = new CORBA::Any (RtecEventChannelAdmin::_tc_ProxyPushConsumer, retval, 0); // ORB does not own
+ *retval = impl->obtain_push_consumer(_tao_environment);
+ result = new CORBA::Any (RtecEventChannelAdmin::_tc_ProxyPushConsumer, retval, 1); // ORB owns
_tao_server_request.result (result, _tao_environment);
}
-void POA_RtecEventChannelAdmin::SupplierAdmin::_is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env)
+void POA_RtecEventChannelAdmin::SupplierAdmin::_is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr /* obj */, CORBA::Environment &env)
{
- ACE_UNUSED_ARG (obj); // argument not used
const CORBA::String type_id = "IDL:RtecEventChannelAdmin/SupplierAdmin:1.0"; // repository ID
CORBA::NVList_ptr nvlist;
CORBA::NamedValue_ptr nv;
@@ -463,7 +329,7 @@ void POA_RtecEventChannelAdmin::EventChannel::for_consumers_skel (CORBA::ServerR
CORBA::NVList_ptr nvlist;
POA_RtecEventChannelAdmin::EventChannel_ptr impl;
CORBA::Any *result;
- CORBA::Object_ptr retval;
+ CORBA::Object_ptr *retval = new CORBA::Object_ptr;
// create an NV list and populate it with typecodes
_tao_server_request.orb ()->create_list (0, nvlist); // initialize a list
@@ -472,8 +338,8 @@ void POA_RtecEventChannelAdmin::EventChannel::for_consumers_skel (CORBA::ServerR
_tao_server_request.params (nvlist, _tao_environment);
if (_tao_environment.exception ()) return;
impl = (POA_RtecEventChannelAdmin::EventChannel_ptr) _tao_object_reference->get_subclass ();
- retval = impl->for_consumers(_tao_environment);
- result = new CORBA::Any (RtecEventChannelAdmin::_tc_ConsumerAdmin, retval, 0); // ORB does not own
+ *retval = impl->for_consumers(_tao_environment);
+ result = new CORBA::Any (RtecEventChannelAdmin::_tc_ConsumerAdmin, retval, 1); // ORB owns
_tao_server_request.result (result, _tao_environment);
}
@@ -483,7 +349,7 @@ void POA_RtecEventChannelAdmin::EventChannel::for_suppliers_skel (CORBA::ServerR
CORBA::NVList_ptr nvlist;
POA_RtecEventChannelAdmin::EventChannel_ptr impl;
CORBA::Any *result;
- CORBA::Object_ptr retval;
+ CORBA::Object_ptr *retval = new CORBA::Object_ptr;
// create an NV list and populate it with typecodes
_tao_server_request.orb ()->create_list (0, nvlist); // initialize a list
@@ -492,8 +358,8 @@ void POA_RtecEventChannelAdmin::EventChannel::for_suppliers_skel (CORBA::ServerR
_tao_server_request.params (nvlist, _tao_environment);
if (_tao_environment.exception ()) return;
impl = (POA_RtecEventChannelAdmin::EventChannel_ptr) _tao_object_reference->get_subclass ();
- retval = impl->for_suppliers(_tao_environment);
- result = new CORBA::Any (RtecEventChannelAdmin::_tc_SupplierAdmin, retval, 0); // ORB does not own
+ *retval = impl->for_suppliers(_tao_environment);
+ result = new CORBA::Any (RtecEventChannelAdmin::_tc_SupplierAdmin, retval, 1); // ORB owns
_tao_server_request.result (result, _tao_environment);
}
@@ -514,9 +380,8 @@ void POA_RtecEventChannelAdmin::EventChannel::destroy_skel (CORBA::ServerRequest
}
-void POA_RtecEventChannelAdmin::EventChannel::_is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env)
+void POA_RtecEventChannelAdmin::EventChannel::_is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr /* obj */, CORBA::Environment &env)
{
- ACE_UNUSED_ARG (obj); // argument not used
const CORBA::String type_id = "IDL:RtecEventChannelAdmin/EventChannel:1.0"; // repository ID
CORBA::NVList_ptr nvlist;
CORBA::NamedValue_ptr nv;
diff --git a/TAO/orbsvcs/lib/RtecEventChannelAdminS.h b/TAO/orbsvcs/lib/RtecEventChannelAdminS.h
index 1a3659c9f60..bc5f6c2be3b 100644
--- a/TAO/orbsvcs/lib/RtecEventChannelAdminS.h
+++ b/TAO/orbsvcs/lib/RtecEventChannelAdminS.h
@@ -30,36 +30,6 @@ public:
};
- class ProxyPullSupplier;
- typedef ProxyPullSupplier *ProxyPullSupplier_ptr;
- class ProxyPullSupplier : public virtual RtecEventChannelAdmin::ProxyPullSupplier, public virtual POA_RtecEventComm::PullSupplier
- {
- protected:
- ProxyPullSupplier (const char *obj_name = 0);
- virtual ~ProxyPullSupplier (void);
- public:
- virtual void connect_pull_consumer (RtecEventComm::PullConsumer_ptr pull_consumer, CORBA::Environment &env) = 0; // pure virtual
- static void connect_pull_consumer_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env);
-
- static void _is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env);
-
- };
-
- class ProxyPullConsumer;
- typedef ProxyPullConsumer *ProxyPullConsumer_ptr;
- class ProxyPullConsumer : public virtual RtecEventChannelAdmin::ProxyPullConsumer, public virtual POA_RtecEventComm::PullConsumer
- {
- protected:
- ProxyPullConsumer (const char *obj_name = 0);
- virtual ~ProxyPullConsumer (void);
- public:
- virtual void connect_pull_supplier (RtecEventComm::PullSupplier_ptr pull_supplier, CORBA::Environment &env) = 0; // pure virtual
- static void connect_pull_supplier_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env);
-
- static void _is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env);
-
- };
-
class ProxyPushSupplier;
typedef ProxyPushSupplier *ProxyPushSupplier_ptr;
class ProxyPushSupplier : public virtual RtecEventChannelAdmin::ProxyPushSupplier, public virtual POA_RtecEventComm::PushSupplier
diff --git a/TAO/orbsvcs/lib/RtecEventChannelAdminS.i b/TAO/orbsvcs/lib/RtecEventChannelAdminS.i
index b12558508e1..0ac13183194 100644
--- a/TAO/orbsvcs/lib/RtecEventChannelAdminS.i
+++ b/TAO/orbsvcs/lib/RtecEventChannelAdminS.i
@@ -12,16 +12,6 @@ POA_RtecEventChannelAdmin::ProxyPushConsumer::~ProxyPushConsumer (void)
}
// skeleton destructor
ACE_INLINE
-POA_RtecEventChannelAdmin::ProxyPullSupplier::~ProxyPullSupplier (void)
-{
-}
-// skeleton destructor
-ACE_INLINE
-POA_RtecEventChannelAdmin::ProxyPullConsumer::~ProxyPullConsumer (void)
-{
-}
-// skeleton destructor
-ACE_INLINE
POA_RtecEventChannelAdmin::ProxyPushSupplier::~ProxyPushSupplier (void)
{
}
diff --git a/TAO/orbsvcs/lib/RtecEventComm.idl b/TAO/orbsvcs/lib/RtecEventComm.idl
index c72fdcb7098..43b2f0b208d 100644
--- a/TAO/orbsvcs/lib/RtecEventComm.idl
+++ b/TAO/orbsvcs/lib/RtecEventComm.idl
@@ -40,17 +40,6 @@ module RtecEventComm {
void disconnect_push_supplier();
};
- interface PullSupplier {
- Event pull () raises(Disconnected);
- Event try_pull (out boolean has_event)
- raises(Disconnected);
- void disconnect_pull_supplier();
- };
-
- interface PullConsumer {
- void disconnect_pull_consumer();
- };
-
};
diff --git a/TAO/orbsvcs/lib/RtecEventCommC.cpp b/TAO/orbsvcs/lib/RtecEventCommC.cpp
index e928f4bd00c..385bda0c6d9 100644
--- a/TAO/orbsvcs/lib/RtecEventCommC.cpp
+++ b/TAO/orbsvcs/lib/RtecEventCommC.cpp
@@ -78,606 +78,397 @@ static const CORBA::Long _oc_RtecEventComm_Event[] =
4, // member count
8, 0x736f7572, 0x63655f00, // name = source_
CORBA::tk_alias, // typecode kind for typedefs
- 64, // encapsulation length
+ 68, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
36, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7453, 0x6f757263, 0x6549443a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventSourceID:1.0
14, 0x4576656e, 0x74536f75, 0x72636549, 0x44000000, // name = EventSourceID
CORBA::tk_long,
+ 6, 0x74797065, 0x5f000000, // name = type_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 60, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7454, 0x7970653a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventType:1.0
+ 10, 0x4576656e, 0x74547970, 0x65000000, // name = EventType
+ CORBA::tk_long,
+
+ 6, 0x74696d65, 0x5f000000, // name = time_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 52, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 27, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecEventComm/Time:1.0
+ 5, 0x54696d65, 0x0, // name = Time
+ CORBA::tk_long,
+
+ 6, 0x64617461, 0x5f000000, // name = data_
+ CORBA::tk_struct, // typecode kind
+ 84, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventData:1.0
+ 10, 0x4576656e, 0x74446174, 0x61000000, // name = EventData
+ 2, // member count
+ 2, 0x78000000, // name = x
+ CORBA::tk_long,
+
+ 2, 0x79000000, // name = y
+ CORBA::tk_long,
+
+ };
+static CORBA::TypeCode _tc__tc_RtecEventComm_Event (CORBA::tk_struct, sizeof (_oc_RtecEventComm_Event), (unsigned char *) &_oc_RtecEventComm_Event, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecEventComm::_tc_Event = &_tc__tc_RtecEventComm_Event;
+
+// *************************************************************
+// class RtecEventComm::_tao__seq_EventSet
+// *************************************************************
+
+// copy constructor
+RtecEventComm::_tao__seq_EventSet::_tao__seq_EventSet (const RtecEventComm::_tao__seq_EventSet &seq)
+ : maximum_ (seq.maximum_),
+ length_ (seq.length_),
+ buffer_ (RtecEventComm::_tao__seq_EventSet::allocbuf (seq.maximum_)),
+ release_ (1) // we always own it
+{
+ for (CORBA::ULong i=0; i < seq.length_; i++)
+ this->buffer_[i] = seq.buffer_[i];
+}
+
+// destructor
+RtecEventComm::_tao__seq_EventSet::~_tao__seq_EventSet (void)
+{
+ if (this->release_) // we own the buffer
+ {
+ RtecEventComm::_tao__seq_EventSet::freebuf (this->buffer_);
+ }
+}
+
+// assignment operator
+RtecEventComm::_tao__seq_EventSet&
+RtecEventComm::_tao__seq_EventSet::operator= (const RtecEventComm::_tao__seq_EventSet &seq)
+{
+ if (this == &seq) return *this;
+ if (this->release_)
+ {
+ RtecEventComm::_tao__seq_EventSet::freebuf (this->buffer_);
+ }
+ this->length_ = seq.length_;
+ this->maximum_ = seq.maximum_;
+ this->buffer_ = RtecEventComm::_tao__seq_EventSet::allocbuf (seq.maximum_),
+ this->release_ =1; // we always own it
+ for (CORBA::ULong i=0; i < seq.length_; i++)
+ this->buffer_[i] = seq.buffer_[i];
+ return *this;
+}
+
+void
+RtecEventComm::_tao__seq_EventSet::length (CORBA::ULong length)
+{
+ if (length > this->maximum_)
+ {
+ RtecEventComm::Event *tmp = RtecEventComm::_tao__seq_EventSet::allocbuf (length);
+ if (tmp == 0)
+ return;
+ for (int i = 0; i < this->length_; ++i)
+ {
+ tmp[i] = this->buffer_[i];
+ }
+ if (this->release_)
+ RtecEventComm::_tao__seq_EventSet::freebuf (this->buffer_);
+ this->buffer_ = tmp;
+ this->release_ = 1;
+
+ this->length_ = length;
+this->maximum_ = length;
+ }
+}
+
+static const CORBA::Long _oc_RtecEventComm__tao__seq_EventSet[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 396, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 28, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e743a, 0x312e3000, // repository ID = IDL:RtecEventComm/Event:1.0
+ 6, 0x4576656e, 0x74000000, // name = Event
+ 4, // member count
+ 8, 0x736f7572, 0x63655f00, // name = source_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 68, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 36, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7453, 0x6f757263, 0x6549443a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventSourceID:1.0
+ 14, 0x4576656e, 0x74536f75, 0x72636549, 0x44000000, // name = EventSourceID
+ CORBA::tk_long,
+
6, 0x74797065, 0x5f000000, // name = type_
CORBA::tk_alias, // typecode kind for typedefs
- 56, // encapsulation length
+ 60, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7454, 0x7970653a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventType:1.0
10, 0x4576656e, 0x74547970, 0x65000000, // name = EventType
CORBA::tk_long,
- 6, 0x74696d65, 0x5f000000, // name = time_
- CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 27, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecEventComm/Time:1.0
- 5, 0x54696d65, 0x0, // name = Time
+ 6, 0x74696d65, 0x5f000000, // name = time_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 52, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 27, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecEventComm/Time:1.0
+ 5, 0x54696d65, 0x0, // name = Time
+ CORBA::tk_long,
+
+ 6, 0x64617461, 0x5f000000, // name = data_
+ CORBA::tk_struct, // typecode kind
+ 84, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventData:1.0
+ 10, 0x4576656e, 0x74446174, 0x61000000, // name = EventData
+ 2, // member count
+ 2, 0x78000000, // name = x
CORBA::tk_long,
- 6, 0x64617461, 0x5f000000, // name = data_
- CORBA::tk_struct, // typecode kind
- 84, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventData:1.0
- 10, 0x4576656e, 0x74446174, 0x61000000, // name = EventData
- 2, // member count
- 2, 0x78000000, // name = x
- CORBA::tk_long,
+ 2, 0x79000000, // name = y
+ CORBA::tk_long,
- 2, 0x79000000, // name = y
- CORBA::tk_long,
+ 0,
+};
+static CORBA::TypeCode _tc__tc_RtecEventComm__tao__seq_EventSet (CORBA::tk_sequence, sizeof (_oc_RtecEventComm__tao__seq_EventSet), (unsigned char *) &_oc_RtecEventComm__tao__seq_EventSet, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecEventComm::_tc__tao__seq_EventSet = &_tc__tc_RtecEventComm__tao__seq_EventSet;
- };
- static CORBA::TypeCode _tc__tc_RtecEventComm_Event (CORBA::tk_struct, sizeof (_oc_RtecEventComm_Event), (unsigned char *) &_oc_RtecEventComm_Event, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecEventComm::_tc_Event = &_tc__tc_RtecEventComm_Event;
+static const CORBA::Long _oc_RtecEventComm_EventSet[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 31, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7453, 0x65743a31, 0x2e300000, // repository ID = IDL:RtecEventComm/EventSet:1.0
+ 9, 0x4576656e, 0x74536574, 0x0, // name = EventSet
+ CORBA::tk_sequence, // typecode kind
+ 420, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 396, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 28, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e743a, 0x312e3000, // repository ID = IDL:RtecEventComm/Event:1.0
+ 6, 0x4576656e, 0x74000000, // name = Event
+ 4, // member count
+ 8, 0x736f7572, 0x63655f00, // name = source_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 68, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 36, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7453, 0x6f757263, 0x6549443a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventSourceID:1.0
+ 14, 0x4576656e, 0x74536f75, 0x72636549, 0x44000000, // name = EventSourceID
+ CORBA::tk_long,
-// *************************************************************
- // class RtecEventComm::_tao__seq_EventSet
- // *************************************************************
-
- // copy constructor
- RtecEventComm::_tao__seq_EventSet::_tao__seq_EventSet (const RtecEventComm::_tao__seq_EventSet &seq)
- : maximum_ (seq.maximum_),
- length_ (seq.length_),
- buffer_ (RtecEventComm::_tao__seq_EventSet::allocbuf (seq.maximum_)),
- release_ (1) // we always own it
- {
- for (CORBA::ULong i=0; i < seq.length_; i++)
- this->buffer_[i] = seq.buffer_[i];
- }
-
- // destructor
- RtecEventComm::_tao__seq_EventSet::~_tao__seq_EventSet (void)
- {
- if (this->release_) // we own the buffer
- {
- RtecEventComm::_tao__seq_EventSet::freebuf (this->buffer_);
- }
- }
-
- // assignment operator
- RtecEventComm::_tao__seq_EventSet&
- RtecEventComm::_tao__seq_EventSet::operator= (const RtecEventComm::_tao__seq_EventSet &seq)
- {
- if (this == &seq) return *this;
- if (this->release_)
- {
- RtecEventComm::_tao__seq_EventSet::freebuf (this->buffer_);
- }
- this->length_ = seq.length_;
- this->maximum_ = seq.maximum_;
- this->buffer_ = RtecEventComm::_tao__seq_EventSet::allocbuf (seq.maximum_),
- this->release_ =1; // we always own it
- for (CORBA::ULong i=0; i < seq.length_; i++)
- this->buffer_[i] = seq.buffer_[i];
- return *this;
- }
-
- void
- RtecEventComm::_tao__seq_EventSet::length (CORBA::ULong length)
- {
- if (length > this->maximum_)
- {
- RtecEventComm::Event *tmp = RtecEventComm::_tao__seq_EventSet::allocbuf (length);
- if (tmp == 0)
- return;
- for (int i = 0; i < this->length_; ++i)
- {
- tmp[i] = this->buffer_[i];
- }
- if (this->release_)
- RtecEventComm::_tao__seq_EventSet::freebuf (this->buffer_);
- this->buffer_ = tmp;
- this->release_ = 1;
-
- this->length_ = length;
-this->maximum_ = length;
- }
- }
+ 6, 0x74797065, 0x5f000000, // name = type_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 60, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7454, 0x7970653a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventType:1.0
+ 10, 0x4576656e, 0x74547970, 0x65000000, // name = EventType
+ CORBA::tk_long,
- static const CORBA::Long _oc_RtecEventComm__tao__seq_EventSet[] =
- {
+ 6, 0x74696d65, 0x5f000000, // name = time_
+ CORBA::tk_alias, // typecode kind for typedefs
+ 52, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_struct, // typecode kind
- 384, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 28, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e743a, 0x312e3000, // repository ID = IDL:RtecEventComm/Event:1.0
- 6, 0x4576656e, 0x74000000, // name = Event
- 4, // member count
- 8, 0x736f7572, 0x63655f00, // name = source_
- CORBA::tk_alias, // typecode kind for typedefs
- 64, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 36, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7453, 0x6f757263, 0x6549443a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventSourceID:1.0
- 14, 0x4576656e, 0x74536f75, 0x72636549, 0x44000000, // name = EventSourceID
- CORBA::tk_long,
-
- 6, 0x74797065, 0x5f000000, // name = type_
- CORBA::tk_alias, // typecode kind for typedefs
- 56, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7454, 0x7970653a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventType:1.0
- 10, 0x4576656e, 0x74547970, 0x65000000, // name = EventType
- CORBA::tk_long,
-
- 6, 0x74696d65, 0x5f000000, // name = time_
- CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 27, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecEventComm/Time:1.0
- 5, 0x54696d65, 0x0, // name = Time
- CORBA::tk_long,
-
- 6, 0x64617461, 0x5f000000, // name = data_
- CORBA::tk_struct, // typecode kind
- 84, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventData:1.0
- 10, 0x4576656e, 0x74446174, 0x61000000, // name = EventData
- 2, // member count
- 2, 0x78000000, // name = x
- CORBA::tk_long,
-
- 2, 0x79000000, // name = y
- CORBA::tk_long,
-
- 0,
- };
- static CORBA::TypeCode _tc__tc_RtecEventComm__tao__seq_EventSet (CORBA::tk_sequence, sizeof (_oc_RtecEventComm__tao__seq_EventSet), (unsigned char *) &_oc_RtecEventComm__tao__seq_EventSet, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecEventComm::_tc__tao__seq_EventSet = &_tc__tc_RtecEventComm__tao__seq_EventSet;
-
- static const CORBA::Long _oc_RtecEventComm_EventSet[] =
- {
- TAO_ENCAP_BYTE_ORDER, // byte order
- 31, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7453, 0x65743a31, 0x2e300000, // repository ID = IDL:RtecEventComm/EventSet:1.0
- 9, 0x4576656e, 0x74536574, 0x0, // name = EventSet
- CORBA::tk_sequence, // typecode kind
- 400, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_struct, // typecode kind
- 384, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 28, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e743a, 0x312e3000, // repository ID = IDL:RtecEventComm/Event:1.0
- 6, 0x4576656e, 0x74000000, // name = Event
- 4, // member count
- 8, 0x736f7572, 0x63655f00, // name = source_
- CORBA::tk_alias, // typecode kind for typedefs
- 64, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 36, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7453, 0x6f757263, 0x6549443a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventSourceID:1.0
- 14, 0x4576656e, 0x74536f75, 0x72636549, 0x44000000, // name = EventSourceID
- CORBA::tk_long,
-
- 6, 0x74797065, 0x5f000000, // name = type_
- CORBA::tk_alias, // typecode kind for typedefs
- 56, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7454, 0x7970653a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventType:1.0
- 10, 0x4576656e, 0x74547970, 0x65000000, // name = EventType
- CORBA::tk_long,
-
- 6, 0x74696d65, 0x5f000000, // name = time_
- CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 27, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecEventComm/Time:1.0
- 5, 0x54696d65, 0x0, // name = Time
- CORBA::tk_long,
-
- 6, 0x64617461, 0x5f000000, // name = data_
- CORBA::tk_struct, // typecode kind
- 84, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventData:1.0
- 10, 0x4576656e, 0x74446174, 0x61000000, // name = EventData
- 2, // member count
- 2, 0x78000000, // name = x
- CORBA::tk_long,
-
- 2, 0x79000000, // name = y
- CORBA::tk_long,
-
- 0,
- };
- static CORBA::TypeCode _tc__tc_RtecEventComm_EventSet (CORBA::tk_alias, sizeof (_oc_RtecEventComm_EventSet), (unsigned char *) &_oc_RtecEventComm_EventSet, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecEventComm::_tc_EventSet = &_tc__tc_RtecEventComm_EventSet;
-
- RtecEventComm::PushConsumer_ptr RtecEventComm::PushConsumer::_duplicate (RtecEventComm::PushConsumer_ptr obj)
- {
- if (!CORBA::is_nil (obj))
- obj->AddRef ();
-
- return obj;
- } // end of _duplicate
-
- RtecEventComm::PushConsumer_ptr RtecEventComm::PushConsumer::_narrow (CORBA::Object_ptr obj, CORBA::Environment &env)
- {
- if (CORBA::is_nil (obj)) return RtecEventComm::PushConsumer::_nil ();
- if (obj->_is_a ("IDL:RtecEventComm/PushConsumer:1.0", env))
- {
- STUB_Object *istub;
- RtecEventComm::PushConsumer_ptr new_obj; // to be returned
- if (obj->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- return RtecEventComm::PushConsumer::_nil ();
-
- obj->Release (); // need this since QueryIntf bumped our refcount
- new_obj = new RtecEventComm::PushConsumer (istub); // construct obj ref using the stub object
- return new_obj;
- } // end of if
- return RtecEventComm::PushConsumer::_nil (); // _narrow failed
- } // end of _narrow
-
- RtecEventComm::PushConsumer_ptr RtecEventComm::PushConsumer::_nil (void)
- {
- return (RtecEventComm::PushConsumer_ptr)NULL;
- } // end of _nil
-
- RtecEventComm::PushConsumer_ptr RtecEventComm::PushConsumer::_bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env)
- {
- CORBA::Object_ptr objref = CORBA::Object::_nil ();
- IIOP_Object *data = new IIOP_Object (host, port, key);
- if (!data) return RtecEventComm::PushConsumer::_nil ();
- // get the object_ptr using Query Interface
- if (data->QueryInterface (IID_CORBA_Object, (void **)&objref) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return RtecEventComm::PushConsumer::_nil ();
- }
- data->Release (); // QueryInterface had bumped up our count
- if (CORBA::is_nil (objref))
- return RtecEventComm::PushConsumer::_nil ();
- else // narrow it
- return RtecEventComm::PushConsumer::_narrow (objref, env);
- }
-
- static const TAO_Param_Data RtecEventComm_PushConsumer_push_paramdata [] =
- {
- {CORBA::_tc_void, PARAM_RETURN, 0},
- {RtecEventComm::_tc_EventSet, PARAM_IN, 0}
- };
-
- static const TAO_Call_Data RtecEventComm_PushConsumer_push_calldata =
- {"push", 1, 2, RtecEventComm_PushConsumer_push_paramdata, 0, 0};
-
- void RtecEventComm::PushConsumer::push (const RtecEventComm::EventSet & data, CORBA::Environment &env)
- {
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return;
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &RtecEventComm_PushConsumer_push_calldata, 0, &data);
- return; // no value
-
-}
+ 27, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecEventComm/Time:1.0
+ 5, 0x54696d65, 0x0, // name = Time
+ CORBA::tk_long,
- static const TAO_Param_Data RtecEventComm_PushConsumer_disconnect_push_consumer_paramdata [] =
- {
- {CORBA::_tc_void, PARAM_RETURN, 0}
- };
-
- static const TAO_Call_Data RtecEventComm_PushConsumer_disconnect_push_consumer_calldata =
- {"disconnect_push_consumer", 1, 1, RtecEventComm_PushConsumer_disconnect_push_consumer_paramdata, 0, 0};
-
- void RtecEventComm::PushConsumer::disconnect_push_consumer (CORBA::Environment &env)
- {
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return;
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &RtecEventComm_PushConsumer_disconnect_push_consumer_calldata, 0);
- return; // no value
-
-}
+ 6, 0x64617461, 0x5f000000, // name = data_
+ CORBA::tk_struct, // typecode kind
+ 84, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventData:1.0
+ 10, 0x4576656e, 0x74446174, 0x61000000, // name = EventData
+ 2, // member count
+ 2, 0x78000000, // name = x
+ CORBA::tk_long,
- static const CORBA::Long _oc_RtecEventComm_PushConsumer[] =
- {
- TAO_ENCAP_BYTE_ORDER, // byte order
- 35, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5075, 0x7368436f, 0x6e73756d, 0x65723a31, 0x2e300000, // repository ID = IDL:RtecEventComm/PushConsumer:1.0
- 13, 0x50757368, 0x436f6e73, 0x756d6572, 0x0, // name = PushConsumer,
- };
- static CORBA::TypeCode _tc__tc_RtecEventComm_PushConsumer (CORBA::tk_objref, sizeof (_oc_RtecEventComm_PushConsumer), (unsigned char *) &_oc_RtecEventComm_PushConsumer, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecEventComm::_tc_PushConsumer = &_tc__tc_RtecEventComm_PushConsumer;
-
- RtecEventComm::PushSupplier_ptr RtecEventComm::PushSupplier::_duplicate (RtecEventComm::PushSupplier_ptr obj)
- {
- if (!CORBA::is_nil (obj))
- obj->AddRef ();
-
- return obj;
- } // end of _duplicate
-
- RtecEventComm::PushSupplier_ptr RtecEventComm::PushSupplier::_narrow (CORBA::Object_ptr obj, CORBA::Environment &env)
- {
- if (CORBA::is_nil (obj)) return RtecEventComm::PushSupplier::_nil ();
- if (obj->_is_a ("IDL:RtecEventComm/PushSupplier:1.0", env))
- {
- STUB_Object *istub;
- RtecEventComm::PushSupplier_ptr new_obj; // to be returned
- if (obj->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- return RtecEventComm::PushSupplier::_nil ();
-
- obj->Release (); // need this since QueryIntf bumped our refcount
- new_obj = new RtecEventComm::PushSupplier (istub); // construct obj ref using the stub object
- return new_obj;
- } // end of if
- return RtecEventComm::PushSupplier::_nil (); // _narrow failed
- } // end of _narrow
-
- RtecEventComm::PushSupplier_ptr RtecEventComm::PushSupplier::_nil (void)
- {
- return (RtecEventComm::PushSupplier_ptr)NULL;
- } // end of _nil
-
- RtecEventComm::PushSupplier_ptr RtecEventComm::PushSupplier::_bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env)
- {
- CORBA::Object_ptr objref = CORBA::Object::_nil ();
- IIOP_Object *data = new IIOP_Object (host, port, key);
- if (!data) return RtecEventComm::PushSupplier::_nil ();
- // get the object_ptr using Query Interface
- if (data->QueryInterface (IID_CORBA_Object, (void **)&objref) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return RtecEventComm::PushSupplier::_nil ();
- }
- data->Release (); // QueryInterface had bumped up our count
- if (CORBA::is_nil (objref))
- return RtecEventComm::PushSupplier::_nil ();
- else // narrow it
- return RtecEventComm::PushSupplier::_narrow (objref, env);
- }
-
- static const TAO_Param_Data RtecEventComm_PushSupplier_disconnect_push_supplier_paramdata [] =
- {
- {CORBA::_tc_void, PARAM_RETURN, 0}
- };
-
- static const TAO_Call_Data RtecEventComm_PushSupplier_disconnect_push_supplier_calldata =
- {"disconnect_push_supplier", 1, 1, RtecEventComm_PushSupplier_disconnect_push_supplier_paramdata, 0, 0};
-
- void RtecEventComm::PushSupplier::disconnect_push_supplier (CORBA::Environment &env)
- {
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return;
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &RtecEventComm_PushSupplier_disconnect_push_supplier_calldata, 0);
- return; // no value
-
+ 2, 0x79000000, // name = y
+ CORBA::tk_long,
+
+ 0,
+};
+static CORBA::TypeCode _tc__tc_RtecEventComm_EventSet (CORBA::tk_alias, sizeof (_oc_RtecEventComm_EventSet), (unsigned char *) &_oc_RtecEventComm_EventSet, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecEventComm::_tc_EventSet = &_tc__tc_RtecEventComm_EventSet;
+
+RtecEventComm::PushConsumer_ptr RtecEventComm::PushConsumer::_duplicate (RtecEventComm::PushConsumer_ptr obj)
+{
+ if (!CORBA::is_nil (obj))
+ obj->AddRef ();
+
+ return obj;
+} // end of _duplicate
+
+RtecEventComm::PushConsumer_ptr RtecEventComm::PushConsumer::_narrow (CORBA::Object_ptr obj, CORBA::Environment &env)
+{
+ if (CORBA::is_nil (obj)) return RtecEventComm::PushConsumer::_nil ();
+ if (obj->_is_a ("IDL:RtecEventComm/PushConsumer:1.0", env))
+ {
+ STUB_Object *istub;
+ RtecEventComm::PushConsumer_ptr new_obj; // to be returned
+ if (obj->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ return RtecEventComm::PushConsumer::_nil ();
+
+ obj->Release (); // need this since QueryIntf bumped our refcount
+ new_obj = new RtecEventComm::PushConsumer (istub); // construct obj ref using the stub object
+ return new_obj;
+ } // end of if
+ return RtecEventComm::PushConsumer::_nil (); // _narrow failed
+} // end of _narrow
+
+RtecEventComm::PushConsumer_ptr RtecEventComm::PushConsumer::_nil (void)
+{
+ return (RtecEventComm::PushConsumer_ptr)NULL;
+} // end of _nil
+
+RtecEventComm::PushConsumer_ptr RtecEventComm::PushConsumer::_bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env)
+{
+ CORBA::Object_ptr objref = CORBA::Object::_nil ();
+ IIOP_Object *data = new IIOP_Object (host, port, key);
+ if (!data) return RtecEventComm::PushConsumer::_nil ();
+ // get the object_ptr using Query Interface
+ if (data->QueryInterface (IID_CORBA_Object, (void **)&objref) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return RtecEventComm::PushConsumer::_nil ();
+ }
+ data->Release (); // QueryInterface had bumped up our count
+ if (CORBA::is_nil (objref))
+ return RtecEventComm::PushConsumer::_nil ();
+ else // narrow it
+ return RtecEventComm::PushConsumer::_narrow (objref, env);
}
- static const CORBA::Long _oc_RtecEventComm_PushSupplier[] =
- {
- TAO_ENCAP_BYTE_ORDER, // byte order
- 35, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5075, 0x73685375, 0x70706c69, 0x65723a31, 0x2e300000, // repository ID = IDL:RtecEventComm/PushSupplier:1.0
- 13, 0x50757368, 0x53757070, 0x6c696572, 0x0, // name = PushSupplier,
- };
- static CORBA::TypeCode _tc__tc_RtecEventComm_PushSupplier (CORBA::tk_objref, sizeof (_oc_RtecEventComm_PushSupplier), (unsigned char *) &_oc_RtecEventComm_PushSupplier, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecEventComm::_tc_PushSupplier = &_tc__tc_RtecEventComm_PushSupplier;
-
- RtecEventComm::PullSupplier_ptr RtecEventComm::PullSupplier::_duplicate (RtecEventComm::PullSupplier_ptr obj)
- {
- if (!CORBA::is_nil (obj))
- obj->AddRef ();
-
- return obj;
- } // end of _duplicate
-
- RtecEventComm::PullSupplier_ptr RtecEventComm::PullSupplier::_narrow (CORBA::Object_ptr obj, CORBA::Environment &env)
- {
- if (CORBA::is_nil (obj)) return RtecEventComm::PullSupplier::_nil ();
- if (obj->_is_a ("IDL:RtecEventComm/PullSupplier:1.0", env))
- {
- STUB_Object *istub;
- RtecEventComm::PullSupplier_ptr new_obj; // to be returned
- if (obj->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- return RtecEventComm::PullSupplier::_nil ();
-
- obj->Release (); // need this since QueryIntf bumped our refcount
- new_obj = new RtecEventComm::PullSupplier (istub); // construct obj ref using the stub object
- return new_obj;
- } // end of if
- return RtecEventComm::PullSupplier::_nil (); // _narrow failed
- } // end of _narrow
-
- RtecEventComm::PullSupplier_ptr RtecEventComm::PullSupplier::_nil (void)
- {
- return (RtecEventComm::PullSupplier_ptr)NULL;
- } // end of _nil
-
- RtecEventComm::PullSupplier_ptr RtecEventComm::PullSupplier::_bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env)
- {
- CORBA::Object_ptr objref = CORBA::Object::_nil ();
- IIOP_Object *data = new IIOP_Object (host, port, key);
- if (!data) return RtecEventComm::PullSupplier::_nil ();
- // get the object_ptr using Query Interface
- if (data->QueryInterface (IID_CORBA_Object, (void **)&objref) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return RtecEventComm::PullSupplier::_nil ();
- }
- data->Release (); // QueryInterface had bumped up our count
- if (CORBA::is_nil (objref))
- return RtecEventComm::PullSupplier::_nil ();
- else // narrow it
- return RtecEventComm::PullSupplier::_narrow (objref, env);
- }
-
- static const TAO_Param_Data RtecEventComm_PullSupplier_pull_paramdata [] =
- {
- {RtecEventComm::_tc_Event, PARAM_RETURN, 0}
- };
-
- static const TAO_Call_Data RtecEventComm_PullSupplier_pull_calldata =
- {"pull", 1, 1, RtecEventComm_PullSupplier_pull_paramdata, 0, 0};
-
- RtecEventComm::Event RtecEventComm::PullSupplier::pull (CORBA::Environment &env)
- {
- RtecEventComm::Event retval;
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return retval;
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &RtecEventComm_PullSupplier_pull_calldata, &retval);
- return retval;
-
+static const TAO_Param_Data RtecEventComm_PushConsumer_push_paramdata [] =
+{
+ {CORBA::_tc_void, PARAM_RETURN, 0},
+ {RtecEventComm::_tc_EventSet, PARAM_IN, 0}
+};
+
+static const TAO_Call_Data RtecEventComm_PushConsumer_push_calldata =
+{"push", 1, 2, RtecEventComm_PushConsumer_push_paramdata, 0, 0};
+
+void RtecEventComm::PushConsumer::push (const RtecEventComm::EventSet & data, CORBA::Environment &env)
+{
+ STUB_Object *istub;
+
+ if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return;
+ }
+ this->Release (); // QueryInterface has bumped up our refcount
+ istub->do_call (env, &RtecEventComm_PushConsumer_push_calldata, 0, &data);
+ return; // no value
+
}
- static const TAO_Param_Data RtecEventComm_PullSupplier_try_pull_paramdata [] =
- {
- {RtecEventComm::_tc_Event, PARAM_RETURN, 0},
- {CORBA::_tc_boolean, PARAM_OUT, 0}
- };
-
- static const TAO_Call_Data RtecEventComm_PullSupplier_try_pull_calldata =
- {"try_pull", 1, 2, RtecEventComm_PullSupplier_try_pull_paramdata, 0, 0};
-
- RtecEventComm::Event RtecEventComm::PullSupplier::try_pull (CORBA::Boolean_out has_event, CORBA::Environment &env)
- {
- RtecEventComm::Event retval;
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return retval;
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &RtecEventComm_PullSupplier_try_pull_calldata, &retval, &has_event);
- return retval;
-
+static const TAO_Param_Data RtecEventComm_PushConsumer_disconnect_push_consumer_paramdata [] =
+{
+ {CORBA::_tc_void, PARAM_RETURN, 0}
+};
+
+static const TAO_Call_Data RtecEventComm_PushConsumer_disconnect_push_consumer_calldata =
+{"disconnect_push_consumer", 1, 1, RtecEventComm_PushConsumer_disconnect_push_consumer_paramdata, 0, 0};
+
+void RtecEventComm::PushConsumer::disconnect_push_consumer (CORBA::Environment &env)
+{
+ STUB_Object *istub;
+
+ if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return;
+ }
+ this->Release (); // QueryInterface has bumped up our refcount
+ istub->do_call (env, &RtecEventComm_PushConsumer_disconnect_push_consumer_calldata, 0);
+ return; // no value
+
}
- static const TAO_Param_Data RtecEventComm_PullSupplier_disconnect_pull_supplier_paramdata [] =
- {
- {CORBA::_tc_void, PARAM_RETURN, 0}
- };
-
- static const TAO_Call_Data RtecEventComm_PullSupplier_disconnect_pull_supplier_calldata =
- {"disconnect_pull_supplier", 1, 1, RtecEventComm_PullSupplier_disconnect_pull_supplier_paramdata, 0, 0};
-
- void RtecEventComm::PullSupplier::disconnect_pull_supplier (CORBA::Environment &env)
- {
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return;
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &RtecEventComm_PullSupplier_disconnect_pull_supplier_calldata, 0);
- return; // no value
-
+static const CORBA::Long _oc_RtecEventComm_PushConsumer[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 35, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5075, 0x7368436f, 0x6e73756d, 0x65723a31, 0x2e300000, // repository ID = IDL:RtecEventComm/PushConsumer:1.0
+ 13, 0x50757368, 0x436f6e73, 0x756d6572, 0x0, // name = PushConsumer,
+};
+static CORBA::TypeCode _tc__tc_RtecEventComm_PushConsumer (CORBA::tk_objref, sizeof (_oc_RtecEventComm_PushConsumer), (unsigned char *) &_oc_RtecEventComm_PushConsumer, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecEventComm::_tc_PushConsumer = &_tc__tc_RtecEventComm_PushConsumer;
+
+RtecEventComm::PushSupplier_ptr RtecEventComm::PushSupplier::_duplicate (RtecEventComm::PushSupplier_ptr obj)
+{
+ if (!CORBA::is_nil (obj))
+ obj->AddRef ();
+
+ return obj;
+} // end of _duplicate
+
+RtecEventComm::PushSupplier_ptr RtecEventComm::PushSupplier::_narrow (CORBA::Object_ptr obj, CORBA::Environment &env)
+{
+ if (CORBA::is_nil (obj)) return RtecEventComm::PushSupplier::_nil ();
+ if (obj->_is_a ("IDL:RtecEventComm/PushSupplier:1.0", env))
+ {
+ STUB_Object *istub;
+ RtecEventComm::PushSupplier_ptr new_obj; // to be returned
+ if (obj->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ return RtecEventComm::PushSupplier::_nil ();
+
+ obj->Release (); // need this since QueryIntf bumped our refcount
+ new_obj = new RtecEventComm::PushSupplier (istub); // construct obj ref using the stub object
+ return new_obj;
+ } // end of if
+ return RtecEventComm::PushSupplier::_nil (); // _narrow failed
+} // end of _narrow
+
+RtecEventComm::PushSupplier_ptr RtecEventComm::PushSupplier::_nil (void)
+{
+ return (RtecEventComm::PushSupplier_ptr)NULL;
+} // end of _nil
+
+RtecEventComm::PushSupplier_ptr RtecEventComm::PushSupplier::_bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env)
+{
+ CORBA::Object_ptr objref = CORBA::Object::_nil ();
+ IIOP_Object *data = new IIOP_Object (host, port, key);
+ if (!data) return RtecEventComm::PushSupplier::_nil ();
+ // get the object_ptr using Query Interface
+ if (data->QueryInterface (IID_CORBA_Object, (void **)&objref) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return RtecEventComm::PushSupplier::_nil ();
+ }
+ data->Release (); // QueryInterface had bumped up our count
+ if (CORBA::is_nil (objref))
+ return RtecEventComm::PushSupplier::_nil ();
+ else // narrow it
+ return RtecEventComm::PushSupplier::_narrow (objref, env);
}
- static const CORBA::Long _oc_RtecEventComm_PullSupplier[] =
- {
- TAO_ENCAP_BYTE_ORDER, // byte order
- 35, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5075, 0x6c6c5375, 0x70706c69, 0x65723a31, 0x2e300000, // repository ID = IDL:RtecEventComm/PullSupplier:1.0
- 13, 0x50756c6c, 0x53757070, 0x6c696572, 0x0, // name = PullSupplier,
- };
- static CORBA::TypeCode _tc__tc_RtecEventComm_PullSupplier (CORBA::tk_objref, sizeof (_oc_RtecEventComm_PullSupplier), (unsigned char *) &_oc_RtecEventComm_PullSupplier, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecEventComm::_tc_PullSupplier = &_tc__tc_RtecEventComm_PullSupplier;
-
- RtecEventComm::PullConsumer_ptr RtecEventComm::PullConsumer::_duplicate (RtecEventComm::PullConsumer_ptr obj)
- {
- if (!CORBA::is_nil (obj))
- obj->AddRef ();
-
- return obj;
- } // end of _duplicate
-
- RtecEventComm::PullConsumer_ptr RtecEventComm::PullConsumer::_narrow (CORBA::Object_ptr obj, CORBA::Environment &env)
- {
- if (CORBA::is_nil (obj)) return RtecEventComm::PullConsumer::_nil ();
- if (obj->_is_a ("IDL:RtecEventComm/PullConsumer:1.0", env))
- {
- STUB_Object *istub;
- RtecEventComm::PullConsumer_ptr new_obj; // to be returned
- if (obj->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- return RtecEventComm::PullConsumer::_nil ();
-
- obj->Release (); // need this since QueryIntf bumped our refcount
- new_obj = new RtecEventComm::PullConsumer (istub); // construct obj ref using the stub object
- return new_obj;
- } // end of if
- return RtecEventComm::PullConsumer::_nil (); // _narrow failed
- } // end of _narrow
-
- RtecEventComm::PullConsumer_ptr RtecEventComm::PullConsumer::_nil (void)
- {
- return (RtecEventComm::PullConsumer_ptr)NULL;
- } // end of _nil
-
- RtecEventComm::PullConsumer_ptr RtecEventComm::PullConsumer::_bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env)
- {
- CORBA::Object_ptr objref = CORBA::Object::_nil ();
- IIOP_Object *data = new IIOP_Object (host, port, key);
- if (!data) return RtecEventComm::PullConsumer::_nil ();
- // get the object_ptr using Query Interface
- if (data->QueryInterface (IID_CORBA_Object, (void **)&objref) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return RtecEventComm::PullConsumer::_nil ();
- }
- data->Release (); // QueryInterface had bumped up our count
- if (CORBA::is_nil (objref))
- return RtecEventComm::PullConsumer::_nil ();
- else // narrow it
- return RtecEventComm::PullConsumer::_narrow (objref, env);
- }
-
- static const TAO_Param_Data RtecEventComm_PullConsumer_disconnect_pull_consumer_paramdata [] =
- {
- {CORBA::_tc_void, PARAM_RETURN, 0}
- };
-
- static const TAO_Call_Data RtecEventComm_PullConsumer_disconnect_pull_consumer_calldata =
- {"disconnect_pull_consumer", 1, 1, RtecEventComm_PullConsumer_disconnect_pull_consumer_paramdata, 0, 0};
-
- void RtecEventComm::PullConsumer::disconnect_pull_consumer (CORBA::Environment &env)
- {
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return;
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &RtecEventComm_PullConsumer_disconnect_pull_consumer_calldata, 0);
- return; // no value
-
+static const TAO_Param_Data RtecEventComm_PushSupplier_disconnect_push_supplier_paramdata [] =
+{
+ {CORBA::_tc_void, PARAM_RETURN, 0}
+};
+
+static const TAO_Call_Data RtecEventComm_PushSupplier_disconnect_push_supplier_calldata =
+{"disconnect_push_supplier", 1, 1, RtecEventComm_PushSupplier_disconnect_push_supplier_paramdata, 0, 0};
+
+void RtecEventComm::PushSupplier::disconnect_push_supplier (CORBA::Environment &env)
+{
+ STUB_Object *istub;
+
+ if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return;
+ }
+ this->Release (); // QueryInterface has bumped up our refcount
+ istub->do_call (env, &RtecEventComm_PushSupplier_disconnect_push_supplier_calldata, 0);
+ return; // no value
+
}
- static const CORBA::Long _oc_RtecEventComm_PullConsumer[] =
- {
- TAO_ENCAP_BYTE_ORDER, // byte order
- 35, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5075, 0x6c6c436f, 0x6e73756d, 0x65723a31, 0x2e300000, // repository ID = IDL:RtecEventComm/PullConsumer:1.0
- 13, 0x50756c6c, 0x436f6e73, 0x756d6572, 0x0, // name = PullConsumer,
- };
- static CORBA::TypeCode _tc__tc_RtecEventComm_PullConsumer (CORBA::tk_objref, sizeof (_oc_RtecEventComm_PullConsumer), (unsigned char *) &_oc_RtecEventComm_PullConsumer, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecEventComm::_tc_PullConsumer = &_tc__tc_RtecEventComm_PullConsumer;
+static const CORBA::Long _oc_RtecEventComm_PushSupplier[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 35, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5075, 0x73685375, 0x70706c69, 0x65723a31, 0x2e300000, // repository ID = IDL:RtecEventComm/PushSupplier:1.0
+ 13, 0x50757368, 0x53757070, 0x6c696572, 0x0, // name = PushSupplier,
+};
+static CORBA::TypeCode _tc__tc_RtecEventComm_PushSupplier (CORBA::tk_objref, sizeof (_oc_RtecEventComm_PushSupplier), (unsigned char *) &_oc_RtecEventComm_PushSupplier, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecEventComm::_tc_PushSupplier = &_tc__tc_RtecEventComm_PushSupplier;
diff --git a/TAO/orbsvcs/lib/RtecEventCommC.h b/TAO/orbsvcs/lib/RtecEventCommC.h
index e6cdff86ba1..9939cb4909b 100644
--- a/TAO/orbsvcs/lib/RtecEventCommC.h
+++ b/TAO/orbsvcs/lib/RtecEventCommC.h
@@ -425,194 +425,6 @@ class PushSupplier: public virtual ACE_CORBA_1 (Object)
static CORBA::TypeCode_ptr _tc_PushSupplier;
-
-#if !defined (_RTECEVENTCOMM_PULLSUPPLIER___PTR_CH_)
-#define _RTECEVENTCOMM_PULLSUPPLIER___PTR_CH_
-
-class PullSupplier;
- typedef PullSupplier *PullSupplier_ptr;
-
-#endif // end #if !defined
-
-
-#if !defined (_RTECEVENTCOMM_PULLSUPPLIER_CH_)
-#define _RTECEVENTCOMM_PULLSUPPLIER_CH_
-
-class PullSupplier: public virtual ACE_CORBA_1 (Object)
- {
- public:
- // the static operations
- static PullSupplier_ptr _duplicate (PullSupplier_ptr obj);
- static PullSupplier_ptr _narrow (CORBA::Object_ptr obj, CORBA::Environment &env);
- static PullSupplier_ptr _nil (void);
- static PullSupplier_ptr _bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env);
-
- virtual ACE_NESTED_CLASS (RtecEventComm,Event) pull (CORBA::Environment &env);
- virtual ACE_NESTED_CLASS (RtecEventComm,Event) try_pull (CORBA::Boolean_out has_event, CORBA::Environment &env);
- virtual void disconnect_pull_supplier (CORBA::Environment &env);
- protected:
- PullSupplier (void); // default constructor
- PullSupplier (STUB_Object *objref);
- virtual ~PullSupplier (void);
- private:
- PullSupplier (const PullSupplier&);
- void operator= (const PullSupplier&);
- };
-
-
-#endif // end #if !defined
-
-
-#if !defined (_RTECEVENTCOMM_PULLSUPPLIER___VAR_CH_)
-#define _RTECEVENTCOMM_PULLSUPPLIER___VAR_CH_
-
- class PullSupplier_var
- {
- public:
- PullSupplier_var (void); // default constructor
- PullSupplier_var (PullSupplier_ptr);
- PullSupplier_var (const PullSupplier_var &); // copy constructor
- ~PullSupplier_var (void); // destructor
-
- PullSupplier_var &operator= (PullSupplier_ptr);
- PullSupplier_var &operator= (const PullSupplier_var &);
- PullSupplier_ptr operator-> (void) const;
-
- operator const PullSupplier_ptr &() const;
- operator PullSupplier_ptr &();
- // in, inout, out, _retn
- PullSupplier_ptr in (void) const;
- PullSupplier_ptr &inout (void);
- PullSupplier_ptr &out (void);
- PullSupplier_ptr _retn (void);
- PullSupplier_ptr ptr (void) const;
-
- private:
- PullSupplier_ptr ptr_;
- };
-
-
-#endif // end #if !defined
-
-
-#if !defined (_RTECEVENTCOMM_PULLSUPPLIER___OUT_CH_)
-#define _RTECEVENTCOMM_PULLSUPPLIER___OUT_CH_
-
- class PullSupplier_out
- {
- public:
- PullSupplier_out (PullSupplier_ptr &);
- PullSupplier_out (PullSupplier_var &);
- PullSupplier_out (PullSupplier_out &);
- PullSupplier_out &operator= (PullSupplier_out &);
- PullSupplier_out &operator= (const PullSupplier_var &);
- PullSupplier_out &operator= (PullSupplier_ptr);
- operator PullSupplier_ptr &();
- PullSupplier_ptr &ptr (void);
- PullSupplier_ptr operator-> (void);
-
- private:
- PullSupplier_ptr &ptr_;
- };
-
-
-#endif // end #if !defined
-
- static CORBA::TypeCode_ptr _tc_PullSupplier;
-
-
-#if !defined (_RTECEVENTCOMM_PULLCONSUMER___PTR_CH_)
-#define _RTECEVENTCOMM_PULLCONSUMER___PTR_CH_
-
-class PullConsumer;
- typedef PullConsumer *PullConsumer_ptr;
-
-#endif // end #if !defined
-
-
-#if !defined (_RTECEVENTCOMM_PULLCONSUMER_CH_)
-#define _RTECEVENTCOMM_PULLCONSUMER_CH_
-
-class PullConsumer: public virtual ACE_CORBA_1 (Object)
- {
- public:
- // the static operations
- static PullConsumer_ptr _duplicate (PullConsumer_ptr obj);
- static PullConsumer_ptr _narrow (CORBA::Object_ptr obj, CORBA::Environment &env);
- static PullConsumer_ptr _nil (void);
- static PullConsumer_ptr _bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env);
-
- virtual void disconnect_pull_consumer (CORBA::Environment &env);
- protected:
- PullConsumer (void); // default constructor
- PullConsumer (STUB_Object *objref);
- virtual ~PullConsumer (void);
- private:
- PullConsumer (const PullConsumer&);
- void operator= (const PullConsumer&);
- };
-
-
-#endif // end #if !defined
-
-
-#if !defined (_RTECEVENTCOMM_PULLCONSUMER___VAR_CH_)
-#define _RTECEVENTCOMM_PULLCONSUMER___VAR_CH_
-
- class PullConsumer_var
- {
- public:
- PullConsumer_var (void); // default constructor
- PullConsumer_var (PullConsumer_ptr);
- PullConsumer_var (const PullConsumer_var &); // copy constructor
- ~PullConsumer_var (void); // destructor
-
- PullConsumer_var &operator= (PullConsumer_ptr);
- PullConsumer_var &operator= (const PullConsumer_var &);
- PullConsumer_ptr operator-> (void) const;
-
- operator const PullConsumer_ptr &() const;
- operator PullConsumer_ptr &();
- // in, inout, out, _retn
- PullConsumer_ptr in (void) const;
- PullConsumer_ptr &inout (void);
- PullConsumer_ptr &out (void);
- PullConsumer_ptr _retn (void);
- PullConsumer_ptr ptr (void) const;
-
- private:
- PullConsumer_ptr ptr_;
- };
-
-
-#endif // end #if !defined
-
-
-#if !defined (_RTECEVENTCOMM_PULLCONSUMER___OUT_CH_)
-#define _RTECEVENTCOMM_PULLCONSUMER___OUT_CH_
-
- class PullConsumer_out
- {
- public:
- PullConsumer_out (PullConsumer_ptr &);
- PullConsumer_out (PullConsumer_var &);
- PullConsumer_out (PullConsumer_out &);
- PullConsumer_out &operator= (PullConsumer_out &);
- PullConsumer_out &operator= (const PullConsumer_var &);
- PullConsumer_out &operator= (PullConsumer_ptr);
- operator PullConsumer_ptr &();
- PullConsumer_ptr &ptr (void);
- PullConsumer_ptr operator-> (void);
-
- private:
- PullConsumer_ptr &ptr_;
- };
-
-
-#endif // end #if !defined
-
- static CORBA::TypeCode_ptr _tc_PullConsumer;
-
};
diff --git a/TAO/orbsvcs/lib/RtecEventCommC.i b/TAO/orbsvcs/lib/RtecEventCommC.i
index 37ca7127cd7..7b0354fcb01 100644
--- a/TAO/orbsvcs/lib/RtecEventCommC.i
+++ b/TAO/orbsvcs/lib/RtecEventCommC.i
@@ -853,377 +853,3 @@ RtecEventComm::PushSupplier_out::operator-> (void)
#endif // end #if !defined
-ACE_INLINE
-RtecEventComm::PullSupplier::PullSupplier (void) // default constructor
-{}
-
-ACE_INLINE
-RtecEventComm::PullSupplier::PullSupplier (STUB_Object *objref) // constructor
- : ACE_CORBA_1 (Object) (objref)
-{}
-
-ACE_INLINE
-RtecEventComm::PullSupplier::~PullSupplier (void) // destructor
-{}
-
-
-#if !defined (_RTECEVENTCOMM_PULLSUPPLIER___VAR_CI_)
-#define _RTECEVENTCOMM_PULLSUPPLIER___VAR_CI_
-
-// *************************************************************
-// Inline operations for class RtecEventComm::PullSupplier_var
-// *************************************************************
-
-ACE_INLINE
-RtecEventComm::PullSupplier_var::PullSupplier_var (void) // default constructor
- : ptr_ (RtecEventComm::PullSupplier::_nil ())
-{}
-
-ACE_INLINE
-RtecEventComm::PullSupplier_var::PullSupplier_var (RtecEventComm::PullSupplier_ptr p)
- : ptr_ (p)
-{}
-
-ACE_INLINE RtecEventComm::PullSupplier_ptr
-RtecEventComm::PullSupplier_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-RtecEventComm::PullSupplier_var::PullSupplier_var (const RtecEventComm::PullSupplier_var &p) // copy constructor
- : ptr_ (RtecEventComm::PullSupplier::_duplicate (p.ptr ()))
-{}
-
-ACE_INLINE
-RtecEventComm::PullSupplier_var::~PullSupplier_var (void) // destructor
-{
- CORBA::release (this->ptr_);
-}
-
-ACE_INLINE RtecEventComm::PullSupplier_var &
-RtecEventComm::PullSupplier_var::operator= (RtecEventComm::PullSupplier_ptr p)
-{
- CORBA::release (this->ptr_);
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE RtecEventComm::PullSupplier_var &
-RtecEventComm::PullSupplier_var::operator= (const RtecEventComm::PullSupplier_var &p)
-{
- if (this != &p)
- {
- CORBA::release (this->ptr_);
- this->ptr_ = RtecEventComm::PullSupplier::_duplicate (p.ptr ());
- }
- return *this;
-}
-
-ACE_INLINE
-RtecEventComm::PullSupplier_var::operator const RtecEventComm::PullSupplier_ptr &() const // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-RtecEventComm::PullSupplier_var::operator RtecEventComm::PullSupplier_ptr &() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE RtecEventComm::PullSupplier_ptr
-RtecEventComm::PullSupplier_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE RtecEventComm::PullSupplier_ptr
-RtecEventComm::PullSupplier_var::in (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE RtecEventComm::PullSupplier_ptr &
-RtecEventComm::PullSupplier_var::inout (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE RtecEventComm::PullSupplier_ptr &
-RtecEventComm::PullSupplier_var::out (void)
-{
- CORBA::release (this->ptr_);
- this->ptr_ = RtecEventComm::PullSupplier::_nil ();
- return this->ptr_;
-}
-
-ACE_INLINE RtecEventComm::PullSupplier_ptr
-RtecEventComm::PullSupplier_var::_retn (void)
-{
- // yield ownership of managed obj reference
- RtecEventComm::PullSupplier_ptr val = this->ptr_;
- this->ptr_ = RtecEventComm::PullSupplier::_nil ();
- return val;
-}
-
-
-#endif // end #if !defined
-
-
-#if !defined (_RTECEVENTCOMM_PULLSUPPLIER___OUT_CI_)
-#define _RTECEVENTCOMM_PULLSUPPLIER___OUT_CI_
-
-// *************************************************************
-// Inline operations for class RtecEventComm::PullSupplier_out
-// *************************************************************
-
-ACE_INLINE
-RtecEventComm::PullSupplier_out::PullSupplier_out (RtecEventComm::PullSupplier_ptr &p)
- : ptr_ (p)
-{
- this->ptr_ = RtecEventComm::PullSupplier::_nil ();
-}
-
-ACE_INLINE
-RtecEventComm::PullSupplier_out::PullSupplier_out (RtecEventComm::PullSupplier_var &p) // constructor from _var
- : ptr_ (p.out ())
-{
- CORBA::release (this->ptr_);
- this->ptr_ = RtecEventComm::PullSupplier::_nil ();
-}
-
-ACE_INLINE
-RtecEventComm::PullSupplier_out::PullSupplier_out (RtecEventComm::PullSupplier_out &p) // copy constructor
- : ptr_ (p.ptr_)
-{}
-
-ACE_INLINE RtecEventComm::PullSupplier_out &
-RtecEventComm::PullSupplier_out::operator= (RtecEventComm::PullSupplier_out &p)
-{
- this->ptr_ = p.ptr_;
- return *this;
-}
-
-ACE_INLINE RtecEventComm::PullSupplier_out &
-RtecEventComm::PullSupplier_out::operator= (const RtecEventComm::PullSupplier_var &p)
-{
- this->ptr_ = RtecEventComm::PullSupplier::_duplicate (p.ptr ());
- return *this;
-}
-
-ACE_INLINE RtecEventComm::PullSupplier_out &
-RtecEventComm::PullSupplier_out::operator= (RtecEventComm::PullSupplier_ptr p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-RtecEventComm::PullSupplier_out::operator RtecEventComm::PullSupplier_ptr &() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE RtecEventComm::PullSupplier_ptr &
-RtecEventComm::PullSupplier_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE RtecEventComm::PullSupplier_ptr
-RtecEventComm::PullSupplier_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-
-#endif // end #if !defined
-
-ACE_INLINE
-RtecEventComm::PullConsumer::PullConsumer (void) // default constructor
-{}
-
-ACE_INLINE
-RtecEventComm::PullConsumer::PullConsumer (STUB_Object *objref) // constructor
- : ACE_CORBA_1 (Object) (objref)
-{}
-
-ACE_INLINE
-RtecEventComm::PullConsumer::~PullConsumer (void) // destructor
-{}
-
-
-#if !defined (_RTECEVENTCOMM_PULLCONSUMER___VAR_CI_)
-#define _RTECEVENTCOMM_PULLCONSUMER___VAR_CI_
-
-// *************************************************************
-// Inline operations for class RtecEventComm::PullConsumer_var
-// *************************************************************
-
-ACE_INLINE
-RtecEventComm::PullConsumer_var::PullConsumer_var (void) // default constructor
- : ptr_ (RtecEventComm::PullConsumer::_nil ())
-{}
-
-ACE_INLINE
-RtecEventComm::PullConsumer_var::PullConsumer_var (RtecEventComm::PullConsumer_ptr p)
- : ptr_ (p)
-{}
-
-ACE_INLINE RtecEventComm::PullConsumer_ptr
-RtecEventComm::PullConsumer_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-RtecEventComm::PullConsumer_var::PullConsumer_var (const RtecEventComm::PullConsumer_var &p) // copy constructor
- : ptr_ (RtecEventComm::PullConsumer::_duplicate (p.ptr ()))
-{}
-
-ACE_INLINE
-RtecEventComm::PullConsumer_var::~PullConsumer_var (void) // destructor
-{
- CORBA::release (this->ptr_);
-}
-
-ACE_INLINE RtecEventComm::PullConsumer_var &
-RtecEventComm::PullConsumer_var::operator= (RtecEventComm::PullConsumer_ptr p)
-{
- CORBA::release (this->ptr_);
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE RtecEventComm::PullConsumer_var &
-RtecEventComm::PullConsumer_var::operator= (const RtecEventComm::PullConsumer_var &p)
-{
- if (this != &p)
- {
- CORBA::release (this->ptr_);
- this->ptr_ = RtecEventComm::PullConsumer::_duplicate (p.ptr ());
- }
- return *this;
-}
-
-ACE_INLINE
-RtecEventComm::PullConsumer_var::operator const RtecEventComm::PullConsumer_ptr &() const // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-RtecEventComm::PullConsumer_var::operator RtecEventComm::PullConsumer_ptr &() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE RtecEventComm::PullConsumer_ptr
-RtecEventComm::PullConsumer_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE RtecEventComm::PullConsumer_ptr
-RtecEventComm::PullConsumer_var::in (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE RtecEventComm::PullConsumer_ptr &
-RtecEventComm::PullConsumer_var::inout (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE RtecEventComm::PullConsumer_ptr &
-RtecEventComm::PullConsumer_var::out (void)
-{
- CORBA::release (this->ptr_);
- this->ptr_ = RtecEventComm::PullConsumer::_nil ();
- return this->ptr_;
-}
-
-ACE_INLINE RtecEventComm::PullConsumer_ptr
-RtecEventComm::PullConsumer_var::_retn (void)
-{
- // yield ownership of managed obj reference
- RtecEventComm::PullConsumer_ptr val = this->ptr_;
- this->ptr_ = RtecEventComm::PullConsumer::_nil ();
- return val;
-}
-
-
-#endif // end #if !defined
-
-
-#if !defined (_RTECEVENTCOMM_PULLCONSUMER___OUT_CI_)
-#define _RTECEVENTCOMM_PULLCONSUMER___OUT_CI_
-
-// *************************************************************
-// Inline operations for class RtecEventComm::PullConsumer_out
-// *************************************************************
-
-ACE_INLINE
-RtecEventComm::PullConsumer_out::PullConsumer_out (RtecEventComm::PullConsumer_ptr &p)
- : ptr_ (p)
-{
- this->ptr_ = RtecEventComm::PullConsumer::_nil ();
-}
-
-ACE_INLINE
-RtecEventComm::PullConsumer_out::PullConsumer_out (RtecEventComm::PullConsumer_var &p) // constructor from _var
- : ptr_ (p.out ())
-{
- CORBA::release (this->ptr_);
- this->ptr_ = RtecEventComm::PullConsumer::_nil ();
-}
-
-ACE_INLINE
-RtecEventComm::PullConsumer_out::PullConsumer_out (RtecEventComm::PullConsumer_out &p) // copy constructor
- : ptr_ (p.ptr_)
-{}
-
-ACE_INLINE RtecEventComm::PullConsumer_out &
-RtecEventComm::PullConsumer_out::operator= (RtecEventComm::PullConsumer_out &p)
-{
- this->ptr_ = p.ptr_;
- return *this;
-}
-
-ACE_INLINE RtecEventComm::PullConsumer_out &
-RtecEventComm::PullConsumer_out::operator= (const RtecEventComm::PullConsumer_var &p)
-{
- this->ptr_ = RtecEventComm::PullConsumer::_duplicate (p.ptr ());
- return *this;
-}
-
-ACE_INLINE RtecEventComm::PullConsumer_out &
-RtecEventComm::PullConsumer_out::operator= (RtecEventComm::PullConsumer_ptr p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-RtecEventComm::PullConsumer_out::operator RtecEventComm::PullConsumer_ptr &() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE RtecEventComm::PullConsumer_ptr &
-RtecEventComm::PullConsumer_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE RtecEventComm::PullConsumer_ptr
-RtecEventComm::PullConsumer_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-
-#endif // end #if !defined
-
diff --git a/TAO/orbsvcs/lib/RtecEventCommS.cpp b/TAO/orbsvcs/lib/RtecEventCommS.cpp
index d49cf725e25..597bfe21ff0 100644
--- a/TAO/orbsvcs/lib/RtecEventCommS.cpp
+++ b/TAO/orbsvcs/lib/RtecEventCommS.cpp
@@ -71,9 +71,8 @@ void POA_RtecEventComm::PushConsumer::disconnect_push_consumer_skel (CORBA::Serv
}
-void POA_RtecEventComm::PushConsumer::_is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env)
+void POA_RtecEventComm::PushConsumer::_is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr /* obj */, CORBA::Environment &env)
{
- ACE_UNUSED_ARG (obj); // argument not used
const CORBA::String type_id = "IDL:RtecEventComm/PushConsumer:1.0"; // repository ID
CORBA::NVList_ptr nvlist;
CORBA::NamedValue_ptr nv;
@@ -136,9 +135,8 @@ void POA_RtecEventComm::PushSupplier::disconnect_push_supplier_skel (CORBA::Serv
}
-void POA_RtecEventComm::PushSupplier::_is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env)
+void POA_RtecEventComm::PushSupplier::_is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr /* obj */, CORBA::Environment &env)
{
- ACE_UNUSED_ARG (obj); // argument not used
const CORBA::String type_id = "IDL:RtecEventComm/PushSupplier:1.0"; // repository ID
CORBA::NVList_ptr nvlist;
CORBA::NamedValue_ptr nv;
@@ -162,179 +160,3 @@ void POA_RtecEventComm::PushSupplier::_is_a_skel (CORBA::ServerRequest &req, COR
req.result (any, env);
}
-static const TAO_operation_db_entry PullSupplier_operations [] = {
- {"pull", &POA_RtecEventComm::PullSupplier::pull_skel},
- {"try_pull", &POA_RtecEventComm::PullSupplier::try_pull_skel},
- {"disconnect_pull_supplier", &POA_RtecEventComm::PullSupplier::disconnect_pull_supplier_skel},
- {"_is_a", &POA_RtecEventComm::PullSupplier::_is_a_skel}
-};
-
-TAO_Dynamic_Hash_OpTable tao_PullSupplier_optable (PullSupplier_operations, 4, 8);
-// skeleton constructor
-POA_RtecEventComm::PullSupplier::PullSupplier (const char *obj_name)
-{
- const CORBA::String repoID = "IDL:RtecEventComm/PullSupplier:1.0"; // repository ID
- IIOP_Object *data; // Actual object reference
- TAO_ORB_Core *ocp = TAO_ORB_Core_instance (); // underlying ORB core instance
- CORBA::POA_ptr oa = TAO_ORB_Core_instance ()->root_poa (); // underlying OA
- const ACE_INET_Addr &addr = ocp->orb_params ()->addr ();
- this->optable_ = &tao_PullSupplier_optable;
-
- // set up an IIOP object
- data = new IIOP_Object (CORBA::string_dup (repoID), addr, obj_name);
- this->set_parent (data); // store the IIOP obj ref with us
- this->sub_ = this; // set the most derived type to be us
- if (oa) oa->bind (data->profile.object_key, this); // register ourselves
-}
-
-void POA_RtecEventComm::PullSupplier::pull_skel (CORBA::ServerRequest &_tao_server_request, CORBA::Object_ptr _tao_object_reference, CORBA::Environment &_tao_environment)
-{
- CORBA::NVList_ptr nvlist;
- POA_RtecEventComm::PullSupplier_ptr impl;
- CORBA::Any *result;
- RtecEventComm::Event *retval = new RtecEventComm::Event;
-
- // create an NV list and populate it with typecodes
- _tao_server_request.orb ()->create_list (0, nvlist); // initialize a list
- // add each argument according to the in, out, inout semantics
- // parse the arguments
- _tao_server_request.params (nvlist, _tao_environment);
- if (_tao_environment.exception ()) return;
- impl = (POA_RtecEventComm::PullSupplier_ptr) _tao_object_reference->get_subclass ();
- *retval = impl->pull(_tao_environment);
- result = new CORBA::Any (RtecEventComm::_tc_Event, retval, 1); // ORB owns
- _tao_server_request.result (result, _tao_environment);
-
-}
-
-void POA_RtecEventComm::PullSupplier::try_pull_skel (CORBA::ServerRequest &_tao_server_request, CORBA::Object_ptr _tao_object_reference, CORBA::Environment &_tao_environment)
-{
- CORBA::NVList_ptr nvlist;
- POA_RtecEventComm::PullSupplier_ptr impl;
- CORBA::Any *result;
- RtecEventComm::Event *retval = new RtecEventComm::Event;
- CORBA::Boolean has_event;
- CORBA::NamedValue_ptr nv_has_event;
- CORBA::Any any_has_event (CORBA::_tc_boolean, &has_event, 1); // ORB owns
-
- // create an NV list and populate it with typecodes
- _tao_server_request.orb ()->create_list (0, nvlist); // initialize a list
- // add each argument according to the in, out, inout semantics
- nv_has_event = nvlist->add_value ("has_event", any_has_event, CORBA::ARG_OUT, _tao_environment);
- // parse the arguments
- _tao_server_request.params (nvlist, _tao_environment);
- if (_tao_environment.exception ()) return;
- impl = (POA_RtecEventComm::PullSupplier_ptr) _tao_object_reference->get_subclass ();
- *retval = impl->try_pull(has_event, _tao_environment);
- result = new CORBA::Any (RtecEventComm::_tc_Event, retval, 1); // ORB owns
- _tao_server_request.result (result, _tao_environment);
-
-}
-
-void POA_RtecEventComm::PullSupplier::disconnect_pull_supplier_skel (CORBA::ServerRequest &_tao_server_request, CORBA::Object_ptr _tao_object_reference, CORBA::Environment &_tao_environment)
-{
- CORBA::NVList_ptr nvlist;
- POA_RtecEventComm::PullSupplier_ptr impl;
-
- // create an NV list and populate it with typecodes
- _tao_server_request.orb ()->create_list (0, nvlist); // initialize a list
- // add each argument according to the in, out, inout semantics
- // parse the arguments
- _tao_server_request.params (nvlist, _tao_environment);
- if (_tao_environment.exception ()) return;
- impl = (POA_RtecEventComm::PullSupplier_ptr) _tao_object_reference->get_subclass ();
- impl->disconnect_pull_supplier(_tao_environment);
-
-}
-
-void POA_RtecEventComm::PullSupplier::_is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env)
-{
- ACE_UNUSED_ARG (obj); // argument not used
- const CORBA::String type_id = "IDL:RtecEventComm/PullSupplier:1.0"; // repository ID
- CORBA::NVList_ptr nvlist;
- CORBA::NamedValue_ptr nv;
- CORBA::Any temp_value (CORBA::_tc_string);
- CORBA::Any *any;
- CORBA::Boolean *retval;
- CORBA::String value;
-
- req.orb()->create_list (0, nvlist);
- nv = nvlist->add_value (0, temp_value, CORBA::ARG_IN, env);
- req.params (nvlist, env); // parse the args
- if (env.exception () != 0) return;
- value = *(CORBA::String *)nv->value ()->value ();
- if (ACE_OS::strcmp ((char *)value, (char *)type_id) == 0
- || ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (env)) == 0)
-
- retval = new CORBA::Boolean (CORBA::B_TRUE);
- else
- retval = new CORBA::Boolean (CORBA::B_FALSE);
- any = new CORBA::Any (CORBA::_tc_boolean, retval, CORBA::B_TRUE);
- req.result (any, env);
-}
-
-static const TAO_operation_db_entry PullConsumer_operations [] = {
- {"disconnect_pull_consumer", &POA_RtecEventComm::PullConsumer::disconnect_pull_consumer_skel},
- {"_is_a", &POA_RtecEventComm::PullConsumer::_is_a_skel}
-};
-
-TAO_Dynamic_Hash_OpTable tao_PullConsumer_optable (PullConsumer_operations, 2, 4);
-// skeleton constructor
-POA_RtecEventComm::PullConsumer::PullConsumer (const char *obj_name)
-{
- const CORBA::String repoID = "IDL:RtecEventComm/PullConsumer:1.0"; // repository ID
- IIOP_Object *data; // Actual object reference
- TAO_ORB_Core *ocp = TAO_ORB_Core_instance (); // underlying ORB core instance
- CORBA::POA_ptr oa = TAO_ORB_Core_instance ()->root_poa (); // underlying OA
- const ACE_INET_Addr &addr = ocp->orb_params ()->addr ();
- this->optable_ = &tao_PullConsumer_optable;
-
- // set up an IIOP object
- data = new IIOP_Object (CORBA::string_dup (repoID), addr, obj_name);
- this->set_parent (data); // store the IIOP obj ref with us
- this->sub_ = this; // set the most derived type to be us
- if (oa) oa->bind (data->profile.object_key, this); // register ourselves
-}
-
-void POA_RtecEventComm::PullConsumer::disconnect_pull_consumer_skel (CORBA::ServerRequest &_tao_server_request, CORBA::Object_ptr _tao_object_reference, CORBA::Environment &_tao_environment)
-{
- CORBA::NVList_ptr nvlist;
- POA_RtecEventComm::PullConsumer_ptr impl;
-
- // create an NV list and populate it with typecodes
- _tao_server_request.orb ()->create_list (0, nvlist); // initialize a list
- // add each argument according to the in, out, inout semantics
- // parse the arguments
- _tao_server_request.params (nvlist, _tao_environment);
- if (_tao_environment.exception ()) return;
- impl = (POA_RtecEventComm::PullConsumer_ptr) _tao_object_reference->get_subclass ();
- impl->disconnect_pull_consumer(_tao_environment);
-
-}
-
-void POA_RtecEventComm::PullConsumer::_is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env)
-{
- ACE_UNUSED_ARG (obj); // argument not used
- const CORBA::String type_id = "IDL:RtecEventComm/PullConsumer:1.0"; // repository ID
- CORBA::NVList_ptr nvlist;
- CORBA::NamedValue_ptr nv;
- CORBA::Any temp_value (CORBA::_tc_string);
- CORBA::Any *any;
- CORBA::Boolean *retval;
- CORBA::String value;
-
- req.orb()->create_list (0, nvlist);
- nv = nvlist->add_value (0, temp_value, CORBA::ARG_IN, env);
- req.params (nvlist, env); // parse the args
- if (env.exception () != 0) return;
- value = *(CORBA::String *)nv->value ()->value ();
- if (ACE_OS::strcmp ((char *)value, (char *)type_id) == 0
- || ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (env)) == 0)
-
- retval = new CORBA::Boolean (CORBA::B_TRUE);
- else
- retval = new CORBA::Boolean (CORBA::B_FALSE);
- any = new CORBA::Any (CORBA::_tc_boolean, retval, CORBA::B_TRUE);
- req.result (any, env);
-}
-
diff --git a/TAO/orbsvcs/lib/RtecEventCommS.h b/TAO/orbsvcs/lib/RtecEventCommS.h
index c95e9488bec..cac15fa7c68 100644
--- a/TAO/orbsvcs/lib/RtecEventCommS.h
+++ b/TAO/orbsvcs/lib/RtecEventCommS.h
@@ -46,42 +46,6 @@ public:
};
- class PullSupplier;
- typedef PullSupplier *PullSupplier_ptr;
- class PullSupplier : public virtual RtecEventComm::PullSupplier
- {
- protected:
- PullSupplier (const char *obj_name = 0);
- virtual ~PullSupplier (void);
- public:
- virtual RtecEventComm::Event pull ( CORBA::Environment &env) = 0; // pure virtual
- static void pull_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env);
-
- virtual RtecEventComm::Event try_pull (CORBA::Boolean_out has_event, CORBA::Environment &env) = 0; // pure virtual
- static void try_pull_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env);
-
- virtual void disconnect_pull_supplier ( CORBA::Environment &env) = 0; // pure virtual
- static void disconnect_pull_supplier_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env);
-
- static void _is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env);
-
- };
-
- class PullConsumer;
- typedef PullConsumer *PullConsumer_ptr;
- class PullConsumer : public virtual RtecEventComm::PullConsumer
- {
- protected:
- PullConsumer (const char *obj_name = 0);
- virtual ~PullConsumer (void);
- public:
- virtual void disconnect_pull_consumer ( CORBA::Environment &env) = 0; // pure virtual
- static void disconnect_pull_consumer_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env);
-
- static void _is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env);
-
- };
-
};
diff --git a/TAO/orbsvcs/lib/RtecEventCommS.i b/TAO/orbsvcs/lib/RtecEventCommS.i
index 2426a48de1d..3d902c27c7f 100644
--- a/TAO/orbsvcs/lib/RtecEventCommS.i
+++ b/TAO/orbsvcs/lib/RtecEventCommS.i
@@ -15,13 +15,3 @@ ACE_INLINE
POA_RtecEventComm::PushSupplier::~PushSupplier (void)
{
}
-// skeleton destructor
-ACE_INLINE
-POA_RtecEventComm::PullSupplier::~PullSupplier (void)
-{
-}
-// skeleton destructor
-ACE_INLINE
-POA_RtecEventComm::PullConsumer::~PullConsumer (void)
-{
-}
diff --git a/TAO/orbsvcs/lib/RtecSchedulerC.cpp b/TAO/orbsvcs/lib/RtecSchedulerC.cpp
index b71a851d3e6..fb6733f6393 100644
--- a/TAO/orbsvcs/lib/RtecSchedulerC.cpp
+++ b/TAO/orbsvcs/lib/RtecSchedulerC.cpp
@@ -39,47 +39,165 @@ static const CORBA::Long _oc_RtecScheduler_Quantum[] =
30, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5175, 0x616e7475, 0x6d3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Quantum:1.0
8, 0x5175616e, 0x74756d00, // name = Quantum
CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
+ 52, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
27, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Time:1.0
5, 0x54696d65, 0x0, // name = Time
CORBA::tk_double,
- };
- static CORBA::TypeCode _tc__tc_RtecScheduler_Quantum (CORBA::tk_alias, sizeof (_oc_RtecScheduler_Quantum), (unsigned char *) &_oc_RtecScheduler_Quantum, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecScheduler::_tc_Quantum = &_tc__tc_RtecScheduler_Quantum;
+};
+static CORBA::TypeCode _tc__tc_RtecScheduler_Quantum (CORBA::tk_alias, sizeof (_oc_RtecScheduler_Quantum), (unsigned char *) &_oc_RtecScheduler_Quantum, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecScheduler::_tc_Quantum = &_tc__tc_RtecScheduler_Quantum;
- const CORBA::Long RtecScheduler::NO_QUANTUM = 0;
+const CORBA::Long RtecScheduler::NO_QUANTUM = 0;
-
- static const CORBA::Long _oc_RtecScheduler_Importance[] =
+
+static const CORBA::Long _oc_RtecScheduler_Importance[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 33, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f496d, 0x706f7274, 0x616e6365, 0x3a312e30, 0x0, // repository ID = IDL:RtecScheduler/Importance:1.0
+ 11, 0x496d706f, 0x7274616e, 0x63650000, // name = Importance
+ 5, // member count
+ 9, 0x56455259, 0x5f4c4f57, 0x0, // name = VERY_LOW
+ 4, 0x4c4f5700, // name = LOW
+ 7, 0x4d454449, 0x554d0000, // name = MEDIUM
+ 5, 0x48494748, 0x0, // name = HIGH
+ 10, 0x56455259, 0x5f484947, 0x48000000, // name = VERY_HIGH
+};
+static CORBA::TypeCode _tc__tc_RtecScheduler_Importance (CORBA::tk_enum, sizeof (_oc_RtecScheduler_Importance), (unsigned char *) &_oc_RtecScheduler_Importance, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecScheduler::_tc_Importance = &_tc__tc_RtecScheduler_Importance;
+
+static const CORBA::Long _oc_RtecScheduler_handle_t[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0
+ 9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t
+ CORBA::tk_long,
+
+};
+static CORBA::TypeCode _tc__tc_RtecScheduler_handle_t (CORBA::tk_alias, sizeof (_oc_RtecScheduler_handle_t), (unsigned char *) &_oc_RtecScheduler_handle_t, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecScheduler::_tc_handle_t = &_tc__tc_RtecScheduler_handle_t;
+
+static const CORBA::Long _oc_RtecScheduler_Dependency_Info[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 38, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f496e66, 0x6f3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Dependency_Info:1.0
+ 16, 0x44657065, 0x6e64656e, 0x63795f49, 0x6e666f00, // name = Dependency_Info
+ 2, // member count
+ 16, 0x6e756d62, 0x65725f6f, 0x665f6361, 0x6c6c7300, // name = number_of_calls
+ CORBA::tk_long,
+
+ 8, 0x72745f69, 0x6e666f00, // name = rt_info
+ CORBA::tk_alias, // typecode kind for typedefs
+ 60, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0
+ 9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t
+ CORBA::tk_long,
+
+};
+static CORBA::TypeCode _tc__tc_RtecScheduler_Dependency_Info (CORBA::tk_struct, sizeof (_oc_RtecScheduler_Dependency_Info), (unsigned char *) &_oc_RtecScheduler_Dependency_Info, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecScheduler::_tc_Dependency_Info = &_tc__tc_RtecScheduler_Dependency_Info;
+
+// *************************************************************
+// class RtecScheduler::_tao__seq_Dependency_Set
+// *************************************************************
+
+// copy constructor
+RtecScheduler::_tao__seq_Dependency_Set::_tao__seq_Dependency_Set (const RtecScheduler::_tao__seq_Dependency_Set &seq)
+ : maximum_ (seq.maximum_),
+ length_ (seq.length_),
+ buffer_ (RtecScheduler::_tao__seq_Dependency_Set::allocbuf (seq.maximum_)),
+ release_ (1) // we always own it
+{
+ for (CORBA::ULong i=0; i < seq.length_; i++)
+ this->buffer_[i] = seq.buffer_[i];
+}
+
+// destructor
+RtecScheduler::_tao__seq_Dependency_Set::~_tao__seq_Dependency_Set (void)
+{
+ if (this->release_) // we own the buffer
{
- TAO_ENCAP_BYTE_ORDER, // byte order
- 33, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f496d, 0x706f7274, 0x616e6365, 0x3a312e30, 0x0, // repository ID = IDL:RtecScheduler/Importance:1.0
- 11, 0x496d706f, 0x7274616e, 0x63650000, // name = Importance
- 5, // member count
- 9, 0x56455259, 0x5f4c4f57, 0x0, // name = VERY_LOW
- 4, 0x4c4f5700, // name = LOW
- 7, 0x4d454449, 0x554d0000, // name = MEDIUM
- 5, 0x48494748, 0x0, // name = HIGH
- 10, 0x56455259, 0x5f484947, 0x48000000, // name = VERY_HIGH
- };
- static CORBA::TypeCode _tc__tc_RtecScheduler_Importance (CORBA::tk_enum, sizeof (_oc_RtecScheduler_Importance), (unsigned char *) &_oc_RtecScheduler_Importance, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecScheduler::_tc_Importance = &_tc__tc_RtecScheduler_Importance;
+ RtecScheduler::_tao__seq_Dependency_Set::freebuf (this->buffer_);
+ }
+}
- static const CORBA::Long _oc_RtecScheduler_handle_t[] =
+// assignment operator
+RtecScheduler::_tao__seq_Dependency_Set&
+RtecScheduler::_tao__seq_Dependency_Set::operator= (const RtecScheduler::_tao__seq_Dependency_Set &seq)
+{
+ if (this == &seq) return *this;
+ if (this->release_)
{
+ RtecScheduler::_tao__seq_Dependency_Set::freebuf (this->buffer_);
+ }
+ this->length_ = seq.length_;
+ this->maximum_ = seq.maximum_;
+ this->buffer_ = RtecScheduler::_tao__seq_Dependency_Set::allocbuf (seq.maximum_),
+ this->release_ =1; // we always own it
+ for (CORBA::ULong i=0; i < seq.length_; i++)
+ this->buffer_[i] = seq.buffer_[i];
+ return *this;
+}
+
+void
+RtecScheduler::_tao__seq_Dependency_Set::length (CORBA::ULong length)
+{
+ if (length > this->maximum_)
+ {
+ RtecScheduler::Dependency_Info *tmp = RtecScheduler::_tao__seq_Dependency_Set::allocbuf (length);
+ if (tmp == 0)
+ return;
+ for (int i = 0; i < this->length_; ++i)
+ {
+ tmp[i] = this->buffer_[i];
+ }
+ if (this->release_)
+ RtecScheduler::_tao__seq_Dependency_Set::freebuf (this->buffer_);
+ this->buffer_ = tmp;
+ this->release_ = 1;
+
+ this->length_ = length;
+this->maximum_ = length;
+ }
+}
+
+static const CORBA::Long _oc_RtecScheduler__tao__seq_Dependency_Set[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 176, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
- 31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0
- 9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t
- CORBA::tk_long,
+ 38, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f496e66, 0x6f3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Dependency_Info:1.0
+ 16, 0x44657065, 0x6e64656e, 0x63795f49, 0x6e666f00, // name = Dependency_Info
+ 2, // member count
+ 16, 0x6e756d62, 0x65725f6f, 0x665f6361, 0x6c6c7300, // name = number_of_calls
+ CORBA::tk_long,
- };
- static CORBA::TypeCode _tc__tc_RtecScheduler_handle_t (CORBA::tk_alias, sizeof (_oc_RtecScheduler_handle_t), (unsigned char *) &_oc_RtecScheduler_handle_t, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecScheduler::_tc_handle_t = &_tc__tc_RtecScheduler_handle_t;
+ 8, 0x72745f69, 0x6e666f00, // name = rt_info
+ CORBA::tk_alias, // typecode kind for typedefs
+ 60, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0
+ 9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t
+ CORBA::tk_long,
- static const CORBA::Long _oc_RtecScheduler_Dependency_Info[] =
- {
+ 0,
+};
+static CORBA::TypeCode _tc__tc_RtecScheduler__tao__seq_Dependency_Set (CORBA::tk_sequence, sizeof (_oc_RtecScheduler__tao__seq_Dependency_Set), (unsigned char *) &_oc_RtecScheduler__tao__seq_Dependency_Set, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecScheduler::_tc__tao__seq_Dependency_Set = &_tc__tc_RtecScheduler__tao__seq_Dependency_Set;
+
+static const CORBA::Long _oc_RtecScheduler_Dependency_Set[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 37, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f536574, 0x3a312e30, 0x0, // repository ID = IDL:RtecScheduler/Dependency_Set:1.0
+ 15, 0x44657065, 0x6e64656e, 0x63795f53, 0x65740000, // name = Dependency_Set
+ CORBA::tk_sequence, // typecode kind
+ 200, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 176, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
38, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f496e66, 0x6f3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Dependency_Info:1.0
16, 0x44657065, 0x6e64656e, 0x63795f49, 0x6e666f00, // name = Dependency_Info
@@ -89,85 +207,138 @@ static const CORBA::Long _oc_RtecScheduler_Quantum[] =
8, 0x72745f69, 0x6e666f00, // name = rt_info
CORBA::tk_alias, // typecode kind for typedefs
- 56, // encapsulation length
+ 60, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0
9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t
CORBA::tk_long,
- };
- static CORBA::TypeCode _tc__tc_RtecScheduler_Dependency_Info (CORBA::tk_struct, sizeof (_oc_RtecScheduler_Dependency_Info), (unsigned char *) &_oc_RtecScheduler_Dependency_Info, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecScheduler::_tc_Dependency_Info = &_tc__tc_RtecScheduler_Dependency_Info;
+ 0,
+};
+static CORBA::TypeCode _tc__tc_RtecScheduler_Dependency_Set (CORBA::tk_alias, sizeof (_oc_RtecScheduler_Dependency_Set), (unsigned char *) &_oc_RtecScheduler_Dependency_Set, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecScheduler::_tc_Dependency_Set = &_tc__tc_RtecScheduler_Dependency_Set;
-// *************************************************************
- // class RtecScheduler::_tao__seq_Dependency_Set
- // *************************************************************
-
- // copy constructor
- RtecScheduler::_tao__seq_Dependency_Set::_tao__seq_Dependency_Set (const RtecScheduler::_tao__seq_Dependency_Set &seq)
- : maximum_ (seq.maximum_),
- length_ (seq.length_),
- buffer_ (RtecScheduler::_tao__seq_Dependency_Set::allocbuf (seq.maximum_)),
- release_ (1) // we always own it
- {
- for (CORBA::ULong i=0; i < seq.length_; i++)
- this->buffer_[i] = seq.buffer_[i];
- }
+static const CORBA::Long _oc_RtecScheduler_OS_Priority[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 34, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4f53, 0x5f507269, 0x6f726974, 0x793a312e, 0x30000000, // repository ID = IDL:RtecScheduler/OS_Priority:1.0
+ 12, 0x4f535f50, 0x72696f72, 0x69747900, // name = OS_Priority
+ CORBA::tk_long,
- // destructor
- RtecScheduler::_tao__seq_Dependency_Set::~_tao__seq_Dependency_Set (void)
- {
- if (this->release_) // we own the buffer
- {
- RtecScheduler::_tao__seq_Dependency_Set::freebuf (this->buffer_);
- }
- }
+};
+static CORBA::TypeCode _tc__tc_RtecScheduler_OS_Priority (CORBA::tk_alias, sizeof (_oc_RtecScheduler_OS_Priority), (unsigned char *) &_oc_RtecScheduler_OS_Priority, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecScheduler::_tc_OS_Priority = &_tc__tc_RtecScheduler_OS_Priority;
- // assignment operator
- RtecScheduler::_tao__seq_Dependency_Set&
- RtecScheduler::_tao__seq_Dependency_Set::operator= (const RtecScheduler::_tao__seq_Dependency_Set &seq)
- {
- if (this == &seq) return *this;
- if (this->release_)
- {
- RtecScheduler::_tao__seq_Dependency_Set::freebuf (this->buffer_);
- }
- this->length_ = seq.length_;
- this->maximum_ = seq.maximum_;
- this->buffer_ = RtecScheduler::_tao__seq_Dependency_Set::allocbuf (seq.maximum_),
- this->release_ =1; // we always own it
- for (CORBA::ULong i=0; i < seq.length_; i++)
- this->buffer_[i] = seq.buffer_[i];
- return *this;
- }
+static const CORBA::Long _oc_RtecScheduler_Sub_Priority[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 35, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5375, 0x625f5072, 0x696f7269, 0x74793a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Sub_Priority:1.0
+ 13, 0x5375625f, 0x5072696f, 0x72697479, 0x0, // name = Sub_Priority
+ CORBA::tk_long,
- void
- RtecScheduler::_tao__seq_Dependency_Set::length (CORBA::ULong length)
- {
- if (length > this->maximum_)
- {
- RtecScheduler::Dependency_Info *tmp = RtecScheduler::_tao__seq_Dependency_Set::allocbuf (length);
- if (tmp == 0)
- return;
- for (int i = 0; i < this->length_; ++i)
- {
- tmp[i] = this->buffer_[i];
- }
- if (this->release_)
- RtecScheduler::_tao__seq_Dependency_Set::freebuf (this->buffer_);
- this->buffer_ = tmp;
- this->release_ = 1;
-
- this->length_ = length;
-this->maximum_ = length;
- }
- }
+};
+static CORBA::TypeCode _tc__tc_RtecScheduler_Sub_Priority (CORBA::tk_alias, sizeof (_oc_RtecScheduler_Sub_Priority), (unsigned char *) &_oc_RtecScheduler_Sub_Priority, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecScheduler::_tc_Sub_Priority = &_tc__tc_RtecScheduler_Sub_Priority;
- static const CORBA::Long _oc_RtecScheduler__tao__seq_Dependency_Set[] =
- {
+static const CORBA::Long _oc_RtecScheduler_Preemption_Priority[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 42, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5072, 0x65656d70, 0x74696f6e, 0x5f507269, 0x6f726974, 0x793a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Preemption_Priority:1.0
+ 20, 0x50726565, 0x6d707469, 0x6f6e5f50, 0x72696f72, 0x69747900, // name = Preemption_Priority
+ CORBA::tk_long,
+
+};
+static CORBA::TypeCode _tc__tc_RtecScheduler_Preemption_Priority (CORBA::tk_alias, sizeof (_oc_RtecScheduler_Preemption_Priority), (unsigned char *) &_oc_RtecScheduler_Preemption_Priority, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecScheduler::_tc_Preemption_Priority = &_tc__tc_RtecScheduler_Preemption_Priority;
+
+static const CORBA::Long _oc_RtecScheduler_RT_Info[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 30, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5254, 0x5f496e66, 0x6f3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/RT_Info:1.0
+ 8, 0x52545f49, 0x6e666f00, // name = RT_Info
+ 13, // member count
+ 12, 0x656e7472, 0x795f706f, 0x696e7400, // name = entry_point
+ CORBA::tk_string,
+ 0, // string length
+ 7, 0x68616e64, 0x6c650000, // name = handle
+ CORBA::tk_alias, // typecode kind for typedefs
+ 60, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0
+ 9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t
+ CORBA::tk_long,
+
+ 26, 0x776f7273, 0x745f6361, 0x73655f65, 0x78656375, 0x74696f6e, 0x5f74696d, 0x65000000, // name = worst_case_execution_time
+ CORBA::tk_alias, // typecode kind for typedefs
+ 52, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 27, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Time:1.0
+ 5, 0x54696d65, 0x0, // name = Time
+ CORBA::tk_double,
+
+ 23, 0x74797069, 0x63616c5f, 0x65786563, 0x7574696f, 0x6e5f7469, 0x6d650000, // name = typical_execution_time
+ CORBA::tk_alias, // typecode kind for typedefs
+ 52, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 27, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Time:1.0
+ 5, 0x54696d65, 0x0, // name = Time
+ CORBA::tk_double,
+
+ 22, 0x63616368, 0x65645f65, 0x78656375, 0x74696f6e, 0x5f74696d, 0x65000000, // name = cached_execution_time
+ CORBA::tk_alias, // typecode kind for typedefs
+ 52, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 27, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Time:1.0
+ 5, 0x54696d65, 0x0, // name = Time
+ CORBA::tk_double,
+
+ 7, 0x70657269, 0x6f640000, // name = period
+ CORBA::tk_alias, // typecode kind for typedefs
+ 56, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 29, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5065, 0x72696f64, 0x3a312e30, 0x0, // repository ID = IDL:RtecScheduler/Period:1.0
+ 7, 0x50657269, 0x6f640000, // name = Period
+ CORBA::tk_long,
+
+ 11, 0x696d706f, 0x7274616e, 0x63650000, // name = importance
+ CORBA::tk_enum, // typecode kind
+ 128, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 33, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f496d, 0x706f7274, 0x616e6365, 0x3a312e30, 0x0, // repository ID = IDL:RtecScheduler/Importance:1.0
+ 11, 0x496d706f, 0x7274616e, 0x63650000, // name = Importance
+ 5, // member count
+ 9, 0x56455259, 0x5f4c4f57, 0x0, // name = VERY_LOW
+ 4, 0x4c4f5700, // name = LOW
+ 7, 0x4d454449, 0x554d0000, // name = MEDIUM
+ 5, 0x48494748, 0x0, // name = HIGH
+ 10, 0x56455259, 0x5f484947, 0x48000000, // name = VERY_HIGH
+ 8, 0x7175616e, 0x74756d00, // name = quantum
+ CORBA::tk_alias, // typecode kind for typedefs
+ 112, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 30, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5175, 0x616e7475, 0x6d3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Quantum:1.0
+ 8, 0x5175616e, 0x74756d00, // name = Quantum
+ CORBA::tk_alias, // typecode kind for typedefs
+ 52, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 27, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Time:1.0
+ 5, 0x54696d65, 0x0, // name = Time
+ CORBA::tk_double,
+
+ 8, 0x74687265, 0x61647300, // name = threads
+ CORBA::tk_long,
+
+ 13, 0x64657065, 0x6e64656e, 0x63696573, 0x0, // name = dependencies
+ CORBA::tk_alias, // typecode kind for typedefs
+ 268, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 37, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f536574, 0x3a312e30, 0x0, // repository ID = IDL:RtecScheduler/Dependency_Set:1.0
+ 15, 0x44657065, 0x6e64656e, 0x63795f53, 0x65740000, // name = Dependency_Set
+ CORBA::tk_sequence, // typecode kind
+ 200, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
CORBA::tk_struct, // typecode kind
- 172, // encapsulation length
+ 176, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
38, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f496e66, 0x6f3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Dependency_Info:1.0
16, 0x44657065, 0x6e64656e, 0x63795f49, 0x6e666f00, // name = Dependency_Info
@@ -177,27 +348,256 @@ this->maximum_ = length;
8, 0x72745f69, 0x6e666f00, // name = rt_info
CORBA::tk_alias, // typecode kind for typedefs
- 56, // encapsulation length
+ 60, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0
9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t
CORBA::tk_long,
- 0,
- };
- static CORBA::TypeCode _tc__tc_RtecScheduler__tao__seq_Dependency_Set (CORBA::tk_sequence, sizeof (_oc_RtecScheduler__tao__seq_Dependency_Set), (unsigned char *) &_oc_RtecScheduler__tao__seq_Dependency_Set, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecScheduler::_tc__tao__seq_Dependency_Set = &_tc__tc_RtecScheduler__tao__seq_Dependency_Set;
+ 0,
+ 9, 0x7072696f, 0x72697479, 0x0, // name = priority
+ CORBA::tk_alias, // typecode kind for typedefs
+ 64, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 34, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4f53, 0x5f507269, 0x6f726974, 0x793a312e, 0x30000000, // repository ID = IDL:RtecScheduler/OS_Priority:1.0
+ 12, 0x4f535f50, 0x72696f72, 0x69747900, // name = OS_Priority
+ CORBA::tk_long,
+
+ 12, 0x73756270, 0x72696f72, 0x69747900, // name = subpriority
+ CORBA::tk_alias, // typecode kind for typedefs
+ 68, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 35, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5375, 0x625f5072, 0x696f7269, 0x74793a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Sub_Priority:1.0
+ 13, 0x5375625f, 0x5072696f, 0x72697479, 0x0, // name = Sub_Priority
+ CORBA::tk_long,
+
+ 20, 0x70726565, 0x6d707469, 0x6f6e5f70, 0x72696f72, 0x69747900, // name = preemption_priority
+ CORBA::tk_alias, // typecode kind for typedefs
+ 80, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 42, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5072, 0x65656d70, 0x74696f6e, 0x5f507269, 0x6f726974, 0x793a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Preemption_Priority:1.0
+ 20, 0x50726565, 0x6d707469, 0x6f6e5f50, 0x72696f72, 0x69747900, // name = Preemption_Priority
+ CORBA::tk_long,
+
+};
+static CORBA::TypeCode _tc__tc_RtecScheduler_RT_Info (CORBA::tk_struct, sizeof (_oc_RtecScheduler_RT_Info), (unsigned char *) &_oc_RtecScheduler_RT_Info, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecScheduler::_tc_RT_Info = &_tc__tc_RtecScheduler_RT_Info;
+
+static const CORBA::Long _oc_RtecScheduler_DUPLICATE_NAME[] =
+{
+ 0, // byte order
+ 37, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4455, 0x504c4943, 0x4154455f, 0x4e414d45, 0x3a312e30, 0x0, // repository ID = IDL:RtecScheduler/DUPLICATE_NAME:1.0
+ 15, 0x4455504c, 0x49434154, 0x455f4e41, 0x4d450000, // name = DUPLICATE_NAME
+ 0, // member count
+};
+static CORBA::TypeCode _tc__tc_RtecScheduler_DUPLICATE_NAME (CORBA::tk_struct, sizeof (_oc_RtecScheduler_DUPLICATE_NAME), (unsigned char *) &_oc_RtecScheduler_DUPLICATE_NAME, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecScheduler::_tc_DUPLICATE_NAME = &_tc__tc_RtecScheduler_DUPLICATE_NAME;
+
+static const CORBA::Long _oc_RtecScheduler_UNKNOWN_TASK[] =
+{
+ 0, // byte order
+ 35, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f554e, 0x4b4e4f57, 0x4e5f5441, 0x534b3a31, 0x2e300000, // repository ID = IDL:RtecScheduler/UNKNOWN_TASK:1.0
+ 13, 0x554e4b4e, 0x4f574e5f, 0x5441534b, 0x0, // name = UNKNOWN_TASK
+ 0, // member count
+};
+static CORBA::TypeCode _tc__tc_RtecScheduler_UNKNOWN_TASK (CORBA::tk_struct, sizeof (_oc_RtecScheduler_UNKNOWN_TASK), (unsigned char *) &_oc_RtecScheduler_UNKNOWN_TASK, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecScheduler::_tc_UNKNOWN_TASK = &_tc__tc_RtecScheduler_UNKNOWN_TASK;
+
+static const CORBA::Long _oc_RtecScheduler_NOT_SCHEDULED[] =
+{
+ 0, // byte order
+ 36, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4e4f, 0x545f5343, 0x48454455, 0x4c45443a, 0x312e3000, // repository ID = IDL:RtecScheduler/NOT_SCHEDULED:1.0
+ 14, 0x4e4f545f, 0x53434845, 0x44554c45, 0x44000000, // name = NOT_SCHEDULED
+ 0, // member count
+};
+static CORBA::TypeCode _tc__tc_RtecScheduler_NOT_SCHEDULED (CORBA::tk_struct, sizeof (_oc_RtecScheduler_NOT_SCHEDULED), (unsigned char *) &_oc_RtecScheduler_NOT_SCHEDULED, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecScheduler::_tc_NOT_SCHEDULED = &_tc__tc_RtecScheduler_NOT_SCHEDULED;
+
+static const CORBA::Long _oc_RtecScheduler_UTILIZATION_BOUND_EXCEEDED[] =
+{
+ 0, // byte order
+ 49, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5554, 0x494c495a, 0x4154494f, 0x4e5f424f, 0x554e445f, 0x45584345, 0x45444544, 0x3a312e30, 0x0, // repository ID = IDL:RtecScheduler/UTILIZATION_BOUND_EXCEEDED:1.0
+ 27, 0x5554494c, 0x495a4154, 0x494f4e5f, 0x424f554e, 0x445f4558, 0x43454544, 0x45440000, // name = UTILIZATION_BOUND_EXCEEDED
+ 0, // member count
+};
+static CORBA::TypeCode _tc__tc_RtecScheduler_UTILIZATION_BOUND_EXCEEDED (CORBA::tk_struct, sizeof (_oc_RtecScheduler_UTILIZATION_BOUND_EXCEEDED), (unsigned char *) &_oc_RtecScheduler_UTILIZATION_BOUND_EXCEEDED, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecScheduler::_tc_UTILIZATION_BOUND_EXCEEDED = &_tc__tc_RtecScheduler_UTILIZATION_BOUND_EXCEEDED;
+
+static const CORBA::Long _oc_RtecScheduler_INSUFFICIENT_THREAD_PRIORITY_LEVELS[] =
+{
+ 0, // byte order
+ 58, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f494e, 0x53554646, 0x49434945, 0x4e545f54, 0x48524541, 0x445f5052, 0x494f5249, 0x54595f4c, 0x4556454c, 0x533a312e, 0x30000000, // repository ID = IDL:RtecScheduler/INSUFFICIENT_THREAD_PRIORITY_LEVELS:1.0
+ 36, 0x494e5355, 0x46464943, 0x49454e54, 0x5f544852, 0x4541445f, 0x5052494f, 0x52495459, 0x5f4c4556, 0x454c5300, // name = INSUFFICIENT_THREAD_PRIORITY_LEVELS
+ 0, // member count
+};
+static CORBA::TypeCode _tc__tc_RtecScheduler_INSUFFICIENT_THREAD_PRIORITY_LEVELS (CORBA::tk_struct, sizeof (_oc_RtecScheduler_INSUFFICIENT_THREAD_PRIORITY_LEVELS), (unsigned char *) &_oc_RtecScheduler_INSUFFICIENT_THREAD_PRIORITY_LEVELS, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecScheduler::_tc_INSUFFICIENT_THREAD_PRIORITY_LEVELS = &_tc__tc_RtecScheduler_INSUFFICIENT_THREAD_PRIORITY_LEVELS;
+
+static const CORBA::Long _oc_RtecScheduler_TASK_COUNT_MISMATCH[] =
+{
+ 0, // byte order
+ 42, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5441, 0x534b5f43, 0x4f554e54, 0x5f4d4953, 0x4d415443, 0x483a312e, 0x30000000, // repository ID = IDL:RtecScheduler/TASK_COUNT_MISMATCH:1.0
+ 20, 0x5441534b, 0x5f434f55, 0x4e545f4d, 0x49534d41, 0x54434800, // name = TASK_COUNT_MISMATCH
+ 0, // member count
+};
+static CORBA::TypeCode _tc__tc_RtecScheduler_TASK_COUNT_MISMATCH (CORBA::tk_struct, sizeof (_oc_RtecScheduler_TASK_COUNT_MISMATCH), (unsigned char *) &_oc_RtecScheduler_TASK_COUNT_MISMATCH, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecScheduler::_tc_TASK_COUNT_MISMATCH = &_tc__tc_RtecScheduler_TASK_COUNT_MISMATCH;
+
+// *************************************************************
+// class RtecScheduler::_tao__seq_RT_Info_Set
+// *************************************************************
+
+// copy constructor
+RtecScheduler::_tao__seq_RT_Info_Set::_tao__seq_RT_Info_Set (const RtecScheduler::_tao__seq_RT_Info_Set &seq)
+ : maximum_ (seq.maximum_),
+ length_ (seq.length_),
+ buffer_ (RtecScheduler::_tao__seq_RT_Info_Set::allocbuf (seq.maximum_)),
+ release_ (1) // we always own it
+{
+ for (CORBA::ULong i=0; i < seq.length_; i++)
+ this->buffer_[i] = seq.buffer_[i];
+}
+
+// destructor
+RtecScheduler::_tao__seq_RT_Info_Set::~_tao__seq_RT_Info_Set (void)
+{
+ if (this->release_) // we own the buffer
+ {
+ RtecScheduler::_tao__seq_RT_Info_Set::freebuf (this->buffer_);
+ }
+}
+
+// assignment operator
+RtecScheduler::_tao__seq_RT_Info_Set&
+RtecScheduler::_tao__seq_RT_Info_Set::operator= (const RtecScheduler::_tao__seq_RT_Info_Set &seq)
+{
+ if (this == &seq) return *this;
+ if (this->release_)
+ {
+ RtecScheduler::_tao__seq_RT_Info_Set::freebuf (this->buffer_);
+ }
+ this->length_ = seq.length_;
+ this->maximum_ = seq.maximum_;
+ this->buffer_ = RtecScheduler::_tao__seq_RT_Info_Set::allocbuf (seq.maximum_),
+ this->release_ =1; // we always own it
+ for (CORBA::ULong i=0; i < seq.length_; i++)
+ this->buffer_[i] = seq.buffer_[i];
+ return *this;
+}
+
+void
+RtecScheduler::_tao__seq_RT_Info_Set::length (CORBA::ULong length)
+{
+ if (length > this->maximum_)
+ {
+ RtecScheduler::RT_Info *tmp = RtecScheduler::_tao__seq_RT_Info_Set::allocbuf (length);
+ if (tmp == 0)
+ return;
+ for (int i = 0; i < this->length_; ++i)
+ {
+ tmp[i] = this->buffer_[i];
+ }
+ if (this->release_)
+ RtecScheduler::_tao__seq_RT_Info_Set::freebuf (this->buffer_);
+ this->buffer_ = tmp;
+ this->release_ = 1;
+
+ this->length_ = length;
+this->maximum_ = length;
+ }
+}
+
+static const CORBA::Long _oc_RtecScheduler__tao__seq_RT_Info_Set[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 1392, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 30, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5254, 0x5f496e66, 0x6f3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/RT_Info:1.0
+ 8, 0x52545f49, 0x6e666f00, // name = RT_Info
+ 13, // member count
+ 12, 0x656e7472, 0x795f706f, 0x696e7400, // name = entry_point
+ CORBA::tk_string,
+ 0, // string length
+ 7, 0x68616e64, 0x6c650000, // name = handle
+ CORBA::tk_alias, // typecode kind for typedefs
+ 60, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0
+ 9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t
+ CORBA::tk_long,
+
+ 26, 0x776f7273, 0x745f6361, 0x73655f65, 0x78656375, 0x74696f6e, 0x5f74696d, 0x65000000, // name = worst_case_execution_time
+ CORBA::tk_alias, // typecode kind for typedefs
+ 52, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 27, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Time:1.0
+ 5, 0x54696d65, 0x0, // name = Time
+ CORBA::tk_double,
+
+ 23, 0x74797069, 0x63616c5f, 0x65786563, 0x7574696f, 0x6e5f7469, 0x6d650000, // name = typical_execution_time
+ CORBA::tk_alias, // typecode kind for typedefs
+ 52, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 27, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Time:1.0
+ 5, 0x54696d65, 0x0, // name = Time
+ CORBA::tk_double,
+
+ 22, 0x63616368, 0x65645f65, 0x78656375, 0x74696f6e, 0x5f74696d, 0x65000000, // name = cached_execution_time
+ CORBA::tk_alias, // typecode kind for typedefs
+ 52, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 27, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Time:1.0
+ 5, 0x54696d65, 0x0, // name = Time
+ CORBA::tk_double,
+
+ 7, 0x70657269, 0x6f640000, // name = period
+ CORBA::tk_alias, // typecode kind for typedefs
+ 56, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 29, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5065, 0x72696f64, 0x3a312e30, 0x0, // repository ID = IDL:RtecScheduler/Period:1.0
+ 7, 0x50657269, 0x6f640000, // name = Period
+ CORBA::tk_long,
+
+ 11, 0x696d706f, 0x7274616e, 0x63650000, // name = importance
+ CORBA::tk_enum, // typecode kind
+ 128, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 33, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f496d, 0x706f7274, 0x616e6365, 0x3a312e30, 0x0, // repository ID = IDL:RtecScheduler/Importance:1.0
+ 11, 0x496d706f, 0x7274616e, 0x63650000, // name = Importance
+ 5, // member count
+ 9, 0x56455259, 0x5f4c4f57, 0x0, // name = VERY_LOW
+ 4, 0x4c4f5700, // name = LOW
+ 7, 0x4d454449, 0x554d0000, // name = MEDIUM
+ 5, 0x48494748, 0x0, // name = HIGH
+ 10, 0x56455259, 0x5f484947, 0x48000000, // name = VERY_HIGH
+ 8, 0x7175616e, 0x74756d00, // name = quantum
+ CORBA::tk_alias, // typecode kind for typedefs
+ 112, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 30, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5175, 0x616e7475, 0x6d3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Quantum:1.0
+ 8, 0x5175616e, 0x74756d00, // name = Quantum
+ CORBA::tk_alias, // typecode kind for typedefs
+ 52, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 27, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Time:1.0
+ 5, 0x54696d65, 0x0, // name = Time
+ CORBA::tk_double,
+
+ 8, 0x74687265, 0x61647300, // name = threads
+ CORBA::tk_long,
- static const CORBA::Long _oc_RtecScheduler_Dependency_Set[] =
- {
+ 13, 0x64657065, 0x6e64656e, 0x63696573, 0x0, // name = dependencies
+ CORBA::tk_alias, // typecode kind for typedefs
+ 268, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
37, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f536574, 0x3a312e30, 0x0, // repository ID = IDL:RtecScheduler/Dependency_Set:1.0
15, 0x44657065, 0x6e64656e, 0x63795f53, 0x65740000, // name = Dependency_Set
CORBA::tk_sequence, // typecode kind
- 188, // encapsulation length
+ 200, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
CORBA::tk_struct, // typecode kind
- 172, // encapsulation length
+ 176, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
38, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f496e66, 0x6f3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Dependency_Info:1.0
16, 0x44657065, 0x6e64656e, 0x63795f49, 0x6e666f00, // name = Dependency_Info
@@ -207,849 +607,449 @@ this->maximum_ = length;
8, 0x72745f69, 0x6e666f00, // name = rt_info
CORBA::tk_alias, // typecode kind for typedefs
- 56, // encapsulation length
+ 60, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0
9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t
CORBA::tk_long,
- 0,
- };
- static CORBA::TypeCode _tc__tc_RtecScheduler_Dependency_Set (CORBA::tk_alias, sizeof (_oc_RtecScheduler_Dependency_Set), (unsigned char *) &_oc_RtecScheduler_Dependency_Set, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecScheduler::_tc_Dependency_Set = &_tc__tc_RtecScheduler_Dependency_Set;
+ 0,
+ 9, 0x7072696f, 0x72697479, 0x0, // name = priority
+ CORBA::tk_alias, // typecode kind for typedefs
+ 64, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 34, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4f53, 0x5f507269, 0x6f726974, 0x793a312e, 0x30000000, // repository ID = IDL:RtecScheduler/OS_Priority:1.0
+ 12, 0x4f535f50, 0x72696f72, 0x69747900, // name = OS_Priority
+ CORBA::tk_long,
- static const CORBA::Long _oc_RtecScheduler_OS_Priority[] =
- {
- TAO_ENCAP_BYTE_ORDER, // byte order
- 34, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4f53, 0x5f507269, 0x6f726974, 0x793a312e, 0x30000000, // repository ID = IDL:RtecScheduler/OS_Priority:1.0
- 12, 0x4f535f50, 0x72696f72, 0x69747900, // name = OS_Priority
- CORBA::tk_long,
+ 12, 0x73756270, 0x72696f72, 0x69747900, // name = subpriority
+ CORBA::tk_alias, // typecode kind for typedefs
+ 68, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 35, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5375, 0x625f5072, 0x696f7269, 0x74793a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Sub_Priority:1.0
+ 13, 0x5375625f, 0x5072696f, 0x72697479, 0x0, // name = Sub_Priority
+ CORBA::tk_long,
- };
- static CORBA::TypeCode _tc__tc_RtecScheduler_OS_Priority (CORBA::tk_alias, sizeof (_oc_RtecScheduler_OS_Priority), (unsigned char *) &_oc_RtecScheduler_OS_Priority, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecScheduler::_tc_OS_Priority = &_tc__tc_RtecScheduler_OS_Priority;
+ 20, 0x70726565, 0x6d707469, 0x6f6e5f70, 0x72696f72, 0x69747900, // name = preemption_priority
+ CORBA::tk_alias, // typecode kind for typedefs
+ 80, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 42, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5072, 0x65656d70, 0x74696f6e, 0x5f507269, 0x6f726974, 0x793a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Preemption_Priority:1.0
+ 20, 0x50726565, 0x6d707469, 0x6f6e5f50, 0x72696f72, 0x69747900, // name = Preemption_Priority
+ CORBA::tk_long,
- static const CORBA::Long _oc_RtecScheduler_Sub_Priority[] =
- {
- TAO_ENCAP_BYTE_ORDER, // byte order
- 35, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5375, 0x625f5072, 0x696f7269, 0x74793a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Sub_Priority:1.0
- 13, 0x5375625f, 0x5072696f, 0x72697479, 0x0, // name = Sub_Priority
- CORBA::tk_long,
+ 0,
+};
+static CORBA::TypeCode _tc__tc_RtecScheduler__tao__seq_RT_Info_Set (CORBA::tk_sequence, sizeof (_oc_RtecScheduler__tao__seq_RT_Info_Set), (unsigned char *) &_oc_RtecScheduler__tao__seq_RT_Info_Set, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecScheduler::_tc__tao__seq_RT_Info_Set = &_tc__tc_RtecScheduler__tao__seq_RT_Info_Set;
+
+static const CORBA::Long _oc_RtecScheduler_RT_Info_Set[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 34, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5254, 0x5f496e66, 0x6f5f5365, 0x743a312e, 0x30000000, // repository ID = IDL:RtecScheduler/RT_Info_Set:1.0
+ 12, 0x52545f49, 0x6e666f5f, 0x53657400, // name = RT_Info_Set
+ CORBA::tk_sequence, // typecode kind
+ 1416, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 1392, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 30, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5254, 0x5f496e66, 0x6f3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/RT_Info:1.0
+ 8, 0x52545f49, 0x6e666f00, // name = RT_Info
+ 13, // member count
+ 12, 0x656e7472, 0x795f706f, 0x696e7400, // name = entry_point
+ CORBA::tk_string,
+ 0, // string length
+ 7, 0x68616e64, 0x6c650000, // name = handle
+ CORBA::tk_alias, // typecode kind for typedefs
+ 60, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0
+ 9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t
+ CORBA::tk_long,
+
+ 26, 0x776f7273, 0x745f6361, 0x73655f65, 0x78656375, 0x74696f6e, 0x5f74696d, 0x65000000, // name = worst_case_execution_time
+ CORBA::tk_alias, // typecode kind for typedefs
+ 52, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 27, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Time:1.0
+ 5, 0x54696d65, 0x0, // name = Time
+ CORBA::tk_double,
+
+ 23, 0x74797069, 0x63616c5f, 0x65786563, 0x7574696f, 0x6e5f7469, 0x6d650000, // name = typical_execution_time
+ CORBA::tk_alias, // typecode kind for typedefs
+ 52, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 27, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Time:1.0
+ 5, 0x54696d65, 0x0, // name = Time
+ CORBA::tk_double,
- };
- static CORBA::TypeCode _tc__tc_RtecScheduler_Sub_Priority (CORBA::tk_alias, sizeof (_oc_RtecScheduler_Sub_Priority), (unsigned char *) &_oc_RtecScheduler_Sub_Priority, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecScheduler::_tc_Sub_Priority = &_tc__tc_RtecScheduler_Sub_Priority;
+ 22, 0x63616368, 0x65645f65, 0x78656375, 0x74696f6e, 0x5f74696d, 0x65000000, // name = cached_execution_time
+ CORBA::tk_alias, // typecode kind for typedefs
+ 52, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 27, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Time:1.0
+ 5, 0x54696d65, 0x0, // name = Time
+ CORBA::tk_double,
- static const CORBA::Long _oc_RtecScheduler_Preemption_Priority[] =
- {
+ 7, 0x70657269, 0x6f640000, // name = period
+ CORBA::tk_alias, // typecode kind for typedefs
+ 56, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 29, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5065, 0x72696f64, 0x3a312e30, 0x0, // repository ID = IDL:RtecScheduler/Period:1.0
+ 7, 0x50657269, 0x6f640000, // name = Period
+ CORBA::tk_long,
+
+ 11, 0x696d706f, 0x7274616e, 0x63650000, // name = importance
+ CORBA::tk_enum, // typecode kind
+ 128, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 33, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f496d, 0x706f7274, 0x616e6365, 0x3a312e30, 0x0, // repository ID = IDL:RtecScheduler/Importance:1.0
+ 11, 0x496d706f, 0x7274616e, 0x63650000, // name = Importance
+ 5, // member count
+ 9, 0x56455259, 0x5f4c4f57, 0x0, // name = VERY_LOW
+ 4, 0x4c4f5700, // name = LOW
+ 7, 0x4d454449, 0x554d0000, // name = MEDIUM
+ 5, 0x48494748, 0x0, // name = HIGH
+ 10, 0x56455259, 0x5f484947, 0x48000000, // name = VERY_HIGH
+ 8, 0x7175616e, 0x74756d00, // name = quantum
+ CORBA::tk_alias, // typecode kind for typedefs
+ 112, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 30, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5175, 0x616e7475, 0x6d3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Quantum:1.0
+ 8, 0x5175616e, 0x74756d00, // name = Quantum
+ CORBA::tk_alias, // typecode kind for typedefs
+ 52, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
- 42, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5072, 0x65656d70, 0x74696f6e, 0x5f507269, 0x6f726974, 0x793a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Preemption_Priority:1.0
- 20, 0x50726565, 0x6d707469, 0x6f6e5f50, 0x72696f72, 0x69747900, // name = Preemption_Priority
- CORBA::tk_long,
+ 27, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Time:1.0
+ 5, 0x54696d65, 0x0, // name = Time
+ CORBA::tk_double,
- };
- static CORBA::TypeCode _tc__tc_RtecScheduler_Preemption_Priority (CORBA::tk_alias, sizeof (_oc_RtecScheduler_Preemption_Priority), (unsigned char *) &_oc_RtecScheduler_Preemption_Priority, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecScheduler::_tc_Preemption_Priority = &_tc__tc_RtecScheduler_Preemption_Priority;
+ 8, 0x74687265, 0x61647300, // name = threads
+ CORBA::tk_long,
- static const CORBA::Long _oc_RtecScheduler_RT_Info[] =
- {
+ 13, 0x64657065, 0x6e64656e, 0x63696573, 0x0, // name = dependencies
+ CORBA::tk_alias, // typecode kind for typedefs
+ 268, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 37, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f536574, 0x3a312e30, 0x0, // repository ID = IDL:RtecScheduler/Dependency_Set:1.0
+ 15, 0x44657065, 0x6e64656e, 0x63795f53, 0x65740000, // name = Dependency_Set
+ CORBA::tk_sequence, // typecode kind
+ 200, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 176, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
- 30, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5254, 0x5f496e66, 0x6f3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/RT_Info:1.0
- 8, 0x52545f49, 0x6e666f00, // name = RT_Info
- 13, // member count
- 12, 0x656e7472, 0x795f706f, 0x696e7400, // name = entry_point
- CORBA::tk_string,
- 0, // string length
- 7, 0x68616e64, 0x6c650000, // name = handle
+ 38, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f496e66, 0x6f3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Dependency_Info:1.0
+ 16, 0x44657065, 0x6e64656e, 0x63795f49, 0x6e666f00, // name = Dependency_Info
+ 2, // member count
+ 16, 0x6e756d62, 0x65725f6f, 0x665f6361, 0x6c6c7300, // name = number_of_calls
+ CORBA::tk_long,
+
+ 8, 0x72745f69, 0x6e666f00, // name = rt_info
CORBA::tk_alias, // typecode kind for typedefs
- 56, // encapsulation length
+ 60, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0
9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t
CORBA::tk_long,
- 26, 0x776f7273, 0x745f6361, 0x73655f65, 0x78656375, 0x74696f6e, 0x5f74696d, 0x65000000, // name = worst_case_execution_time
- CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 27, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Time:1.0
- 5, 0x54696d65, 0x0, // name = Time
- CORBA::tk_double,
-
- 23, 0x74797069, 0x63616c5f, 0x65786563, 0x7574696f, 0x6e5f7469, 0x6d650000, // name = typical_execution_time
- CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 27, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Time:1.0
- 5, 0x54696d65, 0x0, // name = Time
- CORBA::tk_double,
-
- 22, 0x63616368, 0x65645f65, 0x78656375, 0x74696f6e, 0x5f74696d, 0x65000000, // name = cached_execution_time
- CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 27, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Time:1.0
- 5, 0x54696d65, 0x0, // name = Time
- CORBA::tk_double,
-
- 7, 0x70657269, 0x6f640000, // name = period
- CORBA::tk_alias, // typecode kind for typedefs
- 52, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 29, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5065, 0x72696f64, 0x3a312e30, 0x0, // repository ID = IDL:RtecScheduler/Period:1.0
- 7, 0x50657269, 0x6f640000, // name = Period
- CORBA::tk_long,
-
- 11, 0x696d706f, 0x7274616e, 0x63650000, // name = importance
- CORBA::tk_enum, // typecode kind
- 128, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 33, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f496d, 0x706f7274, 0x616e6365, 0x3a312e30, 0x0, // repository ID = IDL:RtecScheduler/Importance:1.0
- 11, 0x496d706f, 0x7274616e, 0x63650000, // name = Importance
- 5, // member count
- 9, 0x56455259, 0x5f4c4f57, 0x0, // name = VERY_LOW
- 4, 0x4c4f5700, // name = LOW
- 7, 0x4d454449, 0x554d0000, // name = MEDIUM
- 5, 0x48494748, 0x0, // name = HIGH
- 10, 0x56455259, 0x5f484947, 0x48000000, // name = VERY_HIGH
- 8, 0x7175616e, 0x74756d00, // name = quantum
- CORBA::tk_alias, // typecode kind for typedefs
- 100, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 30, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5175, 0x616e7475, 0x6d3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Quantum:1.0
- 8, 0x5175616e, 0x74756d00, // name = Quantum
- CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 27, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Time:1.0
- 5, 0x54696d65, 0x0, // name = Time
- CORBA::tk_double,
-
- 8, 0x74687265, 0x61647300, // name = threads
- CORBA::tk_long,
-
- 13, 0x64657065, 0x6e64656e, 0x63696573, 0x0, // name = dependencies
- CORBA::tk_alias, // typecode kind for typedefs
- 248, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 37, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f536574, 0x3a312e30, 0x0, // repository ID = IDL:RtecScheduler/Dependency_Set:1.0
- 15, 0x44657065, 0x6e64656e, 0x63795f53, 0x65740000, // name = Dependency_Set
- CORBA::tk_sequence, // typecode kind
- 188, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_struct, // typecode kind
- 172, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 38, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f496e66, 0x6f3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Dependency_Info:1.0
- 16, 0x44657065, 0x6e64656e, 0x63795f49, 0x6e666f00, // name = Dependency_Info
- 2, // member count
- 16, 0x6e756d62, 0x65725f6f, 0x665f6361, 0x6c6c7300, // name = number_of_calls
- CORBA::tk_long,
-
- 8, 0x72745f69, 0x6e666f00, // name = rt_info
- CORBA::tk_alias, // typecode kind for typedefs
- 56, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0
- 9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t
- CORBA::tk_long,
-
- 0,
- 9, 0x7072696f, 0x72697479, 0x0, // name = priority
- CORBA::tk_alias, // typecode kind for typedefs
- 60, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 34, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4f53, 0x5f507269, 0x6f726974, 0x793a312e, 0x30000000, // repository ID = IDL:RtecScheduler/OS_Priority:1.0
- 12, 0x4f535f50, 0x72696f72, 0x69747900, // name = OS_Priority
- CORBA::tk_long,
-
- 12, 0x73756270, 0x72696f72, 0x69747900, // name = subpriority
- CORBA::tk_alias, // typecode kind for typedefs
- 64, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 35, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5375, 0x625f5072, 0x696f7269, 0x74793a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Sub_Priority:1.0
- 13, 0x5375625f, 0x5072696f, 0x72697479, 0x0, // name = Sub_Priority
- CORBA::tk_long,
-
- 20, 0x70726565, 0x6d707469, 0x6f6e5f70, 0x72696f72, 0x69747900, // name = preemption_priority
- CORBA::tk_alias, // typecode kind for typedefs
- 76, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 42, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5072, 0x65656d70, 0x74696f6e, 0x5f507269, 0x6f726974, 0x793a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Preemption_Priority:1.0
- 20, 0x50726565, 0x6d707469, 0x6f6e5f50, 0x72696f72, 0x69747900, // name = Preemption_Priority
- CORBA::tk_long,
-
- };
- static CORBA::TypeCode _tc__tc_RtecScheduler_RT_Info (CORBA::tk_struct, sizeof (_oc_RtecScheduler_RT_Info), (unsigned char *) &_oc_RtecScheduler_RT_Info, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecScheduler::_tc_RT_Info = &_tc__tc_RtecScheduler_RT_Info;
-
- static const CORBA::Long _oc_RtecScheduler_DUPLICATE_NAME[] =
- {
- 0, // byte order
- 37, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4455, 0x504c4943, 0x4154455f, 0x4e414d45, 0x3a312e30, 0x0, // repository ID = IDL:RtecScheduler/DUPLICATE_NAME:1.0
- 15, 0x4455504c, 0x49434154, 0x455f4e41, 0x4d450000, // name = DUPLICATE_NAME
- 0, // member count
- };
- static CORBA::TypeCode _tc__tc_RtecScheduler_DUPLICATE_NAME (CORBA::tk_struct, sizeof (_oc_RtecScheduler_DUPLICATE_NAME), (unsigned char *) &_oc_RtecScheduler_DUPLICATE_NAME, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecScheduler::_tc_DUPLICATE_NAME = &_tc__tc_RtecScheduler_DUPLICATE_NAME;
-
- static const CORBA::Long _oc_RtecScheduler_UNKNOWN_TASK[] =
- {
- 0, // byte order
- 35, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f554e, 0x4b4e4f57, 0x4e5f5441, 0x534b3a31, 0x2e300000, // repository ID = IDL:RtecScheduler/UNKNOWN_TASK:1.0
- 13, 0x554e4b4e, 0x4f574e5f, 0x5441534b, 0x0, // name = UNKNOWN_TASK
- 0, // member count
- };
- static CORBA::TypeCode _tc__tc_RtecScheduler_UNKNOWN_TASK (CORBA::tk_struct, sizeof (_oc_RtecScheduler_UNKNOWN_TASK), (unsigned char *) &_oc_RtecScheduler_UNKNOWN_TASK, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecScheduler::_tc_UNKNOWN_TASK = &_tc__tc_RtecScheduler_UNKNOWN_TASK;
-
- static const CORBA::Long _oc_RtecScheduler_NOT_SCHEDULED[] =
- {
- 0, // byte order
- 36, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4e4f, 0x545f5343, 0x48454455, 0x4c45443a, 0x312e3000, // repository ID = IDL:RtecScheduler/NOT_SCHEDULED:1.0
- 14, 0x4e4f545f, 0x53434845, 0x44554c45, 0x44000000, // name = NOT_SCHEDULED
- 0, // member count
- };
- static CORBA::TypeCode _tc__tc_RtecScheduler_NOT_SCHEDULED (CORBA::tk_struct, sizeof (_oc_RtecScheduler_NOT_SCHEDULED), (unsigned char *) &_oc_RtecScheduler_NOT_SCHEDULED, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecScheduler::_tc_NOT_SCHEDULED = &_tc__tc_RtecScheduler_NOT_SCHEDULED;
-
- static const CORBA::Long _oc_RtecScheduler_UTILIZATION_BOUND_EXCEEDED[] =
- {
- 0, // byte order
- 49, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5554, 0x494c495a, 0x4154494f, 0x4e5f424f, 0x554e445f, 0x45584345, 0x45444544, 0x3a312e30, 0x0, // repository ID = IDL:RtecScheduler/UTILIZATION_BOUND_EXCEEDED:1.0
- 27, 0x5554494c, 0x495a4154, 0x494f4e5f, 0x424f554e, 0x445f4558, 0x43454544, 0x45440000, // name = UTILIZATION_BOUND_EXCEEDED
- 0, // member count
- };
- static CORBA::TypeCode _tc__tc_RtecScheduler_UTILIZATION_BOUND_EXCEEDED (CORBA::tk_struct, sizeof (_oc_RtecScheduler_UTILIZATION_BOUND_EXCEEDED), (unsigned char *) &_oc_RtecScheduler_UTILIZATION_BOUND_EXCEEDED, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecScheduler::_tc_UTILIZATION_BOUND_EXCEEDED = &_tc__tc_RtecScheduler_UTILIZATION_BOUND_EXCEEDED;
-
- static const CORBA::Long _oc_RtecScheduler_INSUFFICIENT_THREAD_PRIORITY_LEVELS[] =
- {
- 0, // byte order
- 58, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f494e, 0x53554646, 0x49434945, 0x4e545f54, 0x48524541, 0x445f5052, 0x494f5249, 0x54595f4c, 0x4556454c, 0x533a312e, 0x30000000, // repository ID = IDL:RtecScheduler/INSUFFICIENT_THREAD_PRIORITY_LEVELS:1.0
- 36, 0x494e5355, 0x46464943, 0x49454e54, 0x5f544852, 0x4541445f, 0x5052494f, 0x52495459, 0x5f4c4556, 0x454c5300, // name = INSUFFICIENT_THREAD_PRIORITY_LEVELS
- 0, // member count
- };
- static CORBA::TypeCode _tc__tc_RtecScheduler_INSUFFICIENT_THREAD_PRIORITY_LEVELS (CORBA::tk_struct, sizeof (_oc_RtecScheduler_INSUFFICIENT_THREAD_PRIORITY_LEVELS), (unsigned char *) &_oc_RtecScheduler_INSUFFICIENT_THREAD_PRIORITY_LEVELS, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecScheduler::_tc_INSUFFICIENT_THREAD_PRIORITY_LEVELS = &_tc__tc_RtecScheduler_INSUFFICIENT_THREAD_PRIORITY_LEVELS;
-
- static const CORBA::Long _oc_RtecScheduler_TASK_COUNT_MISMATCH[] =
- {
- 0, // byte order
- 42, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5441, 0x534b5f43, 0x4f554e54, 0x5f4d4953, 0x4d415443, 0x483a312e, 0x30000000, // repository ID = IDL:RtecScheduler/TASK_COUNT_MISMATCH:1.0
- 20, 0x5441534b, 0x5f434f55, 0x4e545f4d, 0x49534d41, 0x54434800, // name = TASK_COUNT_MISMATCH
- 0, // member count
- };
- static CORBA::TypeCode _tc__tc_RtecScheduler_TASK_COUNT_MISMATCH (CORBA::tk_struct, sizeof (_oc_RtecScheduler_TASK_COUNT_MISMATCH), (unsigned char *) &_oc_RtecScheduler_TASK_COUNT_MISMATCH, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecScheduler::_tc_TASK_COUNT_MISMATCH = &_tc__tc_RtecScheduler_TASK_COUNT_MISMATCH;
+ 0,
+ 9, 0x7072696f, 0x72697479, 0x0, // name = priority
+ CORBA::tk_alias, // typecode kind for typedefs
+ 64, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 34, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4f53, 0x5f507269, 0x6f726974, 0x793a312e, 0x30000000, // repository ID = IDL:RtecScheduler/OS_Priority:1.0
+ 12, 0x4f535f50, 0x72696f72, 0x69747900, // name = OS_Priority
+ CORBA::tk_long,
-// *************************************************************
- // class RtecScheduler::_tao__seq_RT_Info_Set
- // *************************************************************
-
- // copy constructor
- RtecScheduler::_tao__seq_RT_Info_Set::_tao__seq_RT_Info_Set (const RtecScheduler::_tao__seq_RT_Info_Set &seq)
- : maximum_ (seq.maximum_),
- length_ (seq.length_),
- buffer_ (RtecScheduler::_tao__seq_RT_Info_Set::allocbuf (seq.maximum_)),
- release_ (1) // we always own it
- {
- for (CORBA::ULong i=0; i < seq.length_; i++)
- this->buffer_[i] = seq.buffer_[i];
- }
-
- // destructor
- RtecScheduler::_tao__seq_RT_Info_Set::~_tao__seq_RT_Info_Set (void)
- {
- if (this->release_) // we own the buffer
- {
- RtecScheduler::_tao__seq_RT_Info_Set::freebuf (this->buffer_);
- }
- }
-
- // assignment operator
- RtecScheduler::_tao__seq_RT_Info_Set&
- RtecScheduler::_tao__seq_RT_Info_Set::operator= (const RtecScheduler::_tao__seq_RT_Info_Set &seq)
- {
- if (this == &seq) return *this;
- if (this->release_)
- {
- RtecScheduler::_tao__seq_RT_Info_Set::freebuf (this->buffer_);
- }
- this->length_ = seq.length_;
- this->maximum_ = seq.maximum_;
- this->buffer_ = RtecScheduler::_tao__seq_RT_Info_Set::allocbuf (seq.maximum_),
- this->release_ =1; // we always own it
- for (CORBA::ULong i=0; i < seq.length_; i++)
- this->buffer_[i] = seq.buffer_[i];
- return *this;
- }
-
- void
- RtecScheduler::_tao__seq_RT_Info_Set::length (CORBA::ULong length)
- {
- if (length > this->maximum_)
- {
- RtecScheduler::RT_Info *tmp = RtecScheduler::_tao__seq_RT_Info_Set::allocbuf (length);
- if (tmp == 0)
- return;
- for (int i = 0; i < this->length_; ++i)
- {
- tmp[i] = this->buffer_[i];
- }
- if (this->release_)
- RtecScheduler::_tao__seq_RT_Info_Set::freebuf (this->buffer_);
- this->buffer_ = tmp;
- this->release_ = 1;
-
- this->length_ = length;
-this->maximum_ = length;
- }
- }
-
- static const CORBA::Long _oc_RtecScheduler__tao__seq_RT_Info_Set[] =
- {
- TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_struct, // typecode kind
- 1328, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 30, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5254, 0x5f496e66, 0x6f3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/RT_Info:1.0
- 8, 0x52545f49, 0x6e666f00, // name = RT_Info
- 13, // member count
- 12, 0x656e7472, 0x795f706f, 0x696e7400, // name = entry_point
- CORBA::tk_string,
- 0, // string length
- 7, 0x68616e64, 0x6c650000, // name = handle
- CORBA::tk_alias, // typecode kind for typedefs
- 56, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0
- 9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t
- CORBA::tk_long,
-
- 26, 0x776f7273, 0x745f6361, 0x73655f65, 0x78656375, 0x74696f6e, 0x5f74696d, 0x65000000, // name = worst_case_execution_time
- CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 27, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Time:1.0
- 5, 0x54696d65, 0x0, // name = Time
- CORBA::tk_double,
-
- 23, 0x74797069, 0x63616c5f, 0x65786563, 0x7574696f, 0x6e5f7469, 0x6d650000, // name = typical_execution_time
- CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 27, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Time:1.0
- 5, 0x54696d65, 0x0, // name = Time
- CORBA::tk_double,
-
- 22, 0x63616368, 0x65645f65, 0x78656375, 0x74696f6e, 0x5f74696d, 0x65000000, // name = cached_execution_time
- CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 27, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Time:1.0
- 5, 0x54696d65, 0x0, // name = Time
- CORBA::tk_double,
-
- 7, 0x70657269, 0x6f640000, // name = period
- CORBA::tk_alias, // typecode kind for typedefs
- 52, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 29, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5065, 0x72696f64, 0x3a312e30, 0x0, // repository ID = IDL:RtecScheduler/Period:1.0
- 7, 0x50657269, 0x6f640000, // name = Period
- CORBA::tk_long,
-
- 11, 0x696d706f, 0x7274616e, 0x63650000, // name = importance
- CORBA::tk_enum, // typecode kind
- 128, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 33, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f496d, 0x706f7274, 0x616e6365, 0x3a312e30, 0x0, // repository ID = IDL:RtecScheduler/Importance:1.0
- 11, 0x496d706f, 0x7274616e, 0x63650000, // name = Importance
- 5, // member count
- 9, 0x56455259, 0x5f4c4f57, 0x0, // name = VERY_LOW
- 4, 0x4c4f5700, // name = LOW
- 7, 0x4d454449, 0x554d0000, // name = MEDIUM
- 5, 0x48494748, 0x0, // name = HIGH
- 10, 0x56455259, 0x5f484947, 0x48000000, // name = VERY_HIGH
- 8, 0x7175616e, 0x74756d00, // name = quantum
- CORBA::tk_alias, // typecode kind for typedefs
- 100, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 30, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5175, 0x616e7475, 0x6d3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Quantum:1.0
- 8, 0x5175616e, 0x74756d00, // name = Quantum
- CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 27, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Time:1.0
- 5, 0x54696d65, 0x0, // name = Time
- CORBA::tk_double,
-
- 8, 0x74687265, 0x61647300, // name = threads
- CORBA::tk_long,
-
- 13, 0x64657065, 0x6e64656e, 0x63696573, 0x0, // name = dependencies
- CORBA::tk_alias, // typecode kind for typedefs
- 248, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 37, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f536574, 0x3a312e30, 0x0, // repository ID = IDL:RtecScheduler/Dependency_Set:1.0
- 15, 0x44657065, 0x6e64656e, 0x63795f53, 0x65740000, // name = Dependency_Set
- CORBA::tk_sequence, // typecode kind
- 188, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_struct, // typecode kind
- 172, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 38, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f496e66, 0x6f3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Dependency_Info:1.0
- 16, 0x44657065, 0x6e64656e, 0x63795f49, 0x6e666f00, // name = Dependency_Info
- 2, // member count
- 16, 0x6e756d62, 0x65725f6f, 0x665f6361, 0x6c6c7300, // name = number_of_calls
- CORBA::tk_long,
-
- 8, 0x72745f69, 0x6e666f00, // name = rt_info
- CORBA::tk_alias, // typecode kind for typedefs
- 56, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0
- 9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t
- CORBA::tk_long,
-
- 0,
- 9, 0x7072696f, 0x72697479, 0x0, // name = priority
- CORBA::tk_alias, // typecode kind for typedefs
- 60, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 34, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4f53, 0x5f507269, 0x6f726974, 0x793a312e, 0x30000000, // repository ID = IDL:RtecScheduler/OS_Priority:1.0
- 12, 0x4f535f50, 0x72696f72, 0x69747900, // name = OS_Priority
- CORBA::tk_long,
-
- 12, 0x73756270, 0x72696f72, 0x69747900, // name = subpriority
- CORBA::tk_alias, // typecode kind for typedefs
- 64, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 35, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5375, 0x625f5072, 0x696f7269, 0x74793a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Sub_Priority:1.0
- 13, 0x5375625f, 0x5072696f, 0x72697479, 0x0, // name = Sub_Priority
- CORBA::tk_long,
-
- 20, 0x70726565, 0x6d707469, 0x6f6e5f70, 0x72696f72, 0x69747900, // name = preemption_priority
- CORBA::tk_alias, // typecode kind for typedefs
- 76, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 42, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5072, 0x65656d70, 0x74696f6e, 0x5f507269, 0x6f726974, 0x793a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Preemption_Priority:1.0
- 20, 0x50726565, 0x6d707469, 0x6f6e5f50, 0x72696f72, 0x69747900, // name = Preemption_Priority
- CORBA::tk_long,
-
- 0,
- };
- static CORBA::TypeCode _tc__tc_RtecScheduler__tao__seq_RT_Info_Set (CORBA::tk_sequence, sizeof (_oc_RtecScheduler__tao__seq_RT_Info_Set), (unsigned char *) &_oc_RtecScheduler__tao__seq_RT_Info_Set, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecScheduler::_tc__tao__seq_RT_Info_Set = &_tc__tc_RtecScheduler__tao__seq_RT_Info_Set;
-
- static const CORBA::Long _oc_RtecScheduler_RT_Info_Set[] =
- {
- TAO_ENCAP_BYTE_ORDER, // byte order
- 34, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5254, 0x5f496e66, 0x6f5f5365, 0x743a312e, 0x30000000, // repository ID = IDL:RtecScheduler/RT_Info_Set:1.0
- 12, 0x52545f49, 0x6e666f5f, 0x53657400, // name = RT_Info_Set
- CORBA::tk_sequence, // typecode kind
- 1344, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_struct, // typecode kind
- 1328, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 30, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5254, 0x5f496e66, 0x6f3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/RT_Info:1.0
- 8, 0x52545f49, 0x6e666f00, // name = RT_Info
- 13, // member count
- 12, 0x656e7472, 0x795f706f, 0x696e7400, // name = entry_point
- CORBA::tk_string,
- 0, // string length
- 7, 0x68616e64, 0x6c650000, // name = handle
- CORBA::tk_alias, // typecode kind for typedefs
- 56, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0
- 9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t
- CORBA::tk_long,
-
- 26, 0x776f7273, 0x745f6361, 0x73655f65, 0x78656375, 0x74696f6e, 0x5f74696d, 0x65000000, // name = worst_case_execution_time
- CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 27, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Time:1.0
- 5, 0x54696d65, 0x0, // name = Time
- CORBA::tk_double,
-
- 23, 0x74797069, 0x63616c5f, 0x65786563, 0x7574696f, 0x6e5f7469, 0x6d650000, // name = typical_execution_time
- CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 27, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Time:1.0
- 5, 0x54696d65, 0x0, // name = Time
- CORBA::tk_double,
-
- 22, 0x63616368, 0x65645f65, 0x78656375, 0x74696f6e, 0x5f74696d, 0x65000000, // name = cached_execution_time
- CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 27, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Time:1.0
- 5, 0x54696d65, 0x0, // name = Time
- CORBA::tk_double,
-
- 7, 0x70657269, 0x6f640000, // name = period
- CORBA::tk_alias, // typecode kind for typedefs
- 52, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 29, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5065, 0x72696f64, 0x3a312e30, 0x0, // repository ID = IDL:RtecScheduler/Period:1.0
- 7, 0x50657269, 0x6f640000, // name = Period
- CORBA::tk_long,
-
- 11, 0x696d706f, 0x7274616e, 0x63650000, // name = importance
- CORBA::tk_enum, // typecode kind
- 128, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 33, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f496d, 0x706f7274, 0x616e6365, 0x3a312e30, 0x0, // repository ID = IDL:RtecScheduler/Importance:1.0
- 11, 0x496d706f, 0x7274616e, 0x63650000, // name = Importance
- 5, // member count
- 9, 0x56455259, 0x5f4c4f57, 0x0, // name = VERY_LOW
- 4, 0x4c4f5700, // name = LOW
- 7, 0x4d454449, 0x554d0000, // name = MEDIUM
- 5, 0x48494748, 0x0, // name = HIGH
- 10, 0x56455259, 0x5f484947, 0x48000000, // name = VERY_HIGH
- 8, 0x7175616e, 0x74756d00, // name = quantum
- CORBA::tk_alias, // typecode kind for typedefs
- 100, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 30, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5175, 0x616e7475, 0x6d3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Quantum:1.0
- 8, 0x5175616e, 0x74756d00, // name = Quantum
- CORBA::tk_alias, // typecode kind for typedefs
- 48, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 27, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Time:1.0
- 5, 0x54696d65, 0x0, // name = Time
- CORBA::tk_double,
-
- 8, 0x74687265, 0x61647300, // name = threads
- CORBA::tk_long,
-
- 13, 0x64657065, 0x6e64656e, 0x63696573, 0x0, // name = dependencies
- CORBA::tk_alias, // typecode kind for typedefs
- 248, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 37, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f536574, 0x3a312e30, 0x0, // repository ID = IDL:RtecScheduler/Dependency_Set:1.0
- 15, 0x44657065, 0x6e64656e, 0x63795f53, 0x65740000, // name = Dependency_Set
- CORBA::tk_sequence, // typecode kind
- 188, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_struct, // typecode kind
- 172, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 38, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f496e66, 0x6f3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Dependency_Info:1.0
- 16, 0x44657065, 0x6e64656e, 0x63795f49, 0x6e666f00, // name = Dependency_Info
- 2, // member count
- 16, 0x6e756d62, 0x65725f6f, 0x665f6361, 0x6c6c7300, // name = number_of_calls
- CORBA::tk_long,
-
- 8, 0x72745f69, 0x6e666f00, // name = rt_info
- CORBA::tk_alias, // typecode kind for typedefs
- 56, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0
- 9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t
- CORBA::tk_long,
-
- 0,
- 9, 0x7072696f, 0x72697479, 0x0, // name = priority
- CORBA::tk_alias, // typecode kind for typedefs
- 60, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 34, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4f53, 0x5f507269, 0x6f726974, 0x793a312e, 0x30000000, // repository ID = IDL:RtecScheduler/OS_Priority:1.0
- 12, 0x4f535f50, 0x72696f72, 0x69747900, // name = OS_Priority
- CORBA::tk_long,
-
- 12, 0x73756270, 0x72696f72, 0x69747900, // name = subpriority
- CORBA::tk_alias, // typecode kind for typedefs
- 64, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 35, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5375, 0x625f5072, 0x696f7269, 0x74793a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Sub_Priority:1.0
- 13, 0x5375625f, 0x5072696f, 0x72697479, 0x0, // name = Sub_Priority
- CORBA::tk_long,
-
- 20, 0x70726565, 0x6d707469, 0x6f6e5f70, 0x72696f72, 0x69747900, // name = preemption_priority
- CORBA::tk_alias, // typecode kind for typedefs
- 76, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- 42, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5072, 0x65656d70, 0x74696f6e, 0x5f507269, 0x6f726974, 0x793a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Preemption_Priority:1.0
- 20, 0x50726565, 0x6d707469, 0x6f6e5f50, 0x72696f72, 0x69747900, // name = Preemption_Priority
- CORBA::tk_long,
-
- 0,
- };
- static CORBA::TypeCode _tc__tc_RtecScheduler_RT_Info_Set (CORBA::tk_alias, sizeof (_oc_RtecScheduler_RT_Info_Set), (unsigned char *) &_oc_RtecScheduler_RT_Info_Set, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecScheduler::_tc_RT_Info_Set = &_tc__tc_RtecScheduler_RT_Info_Set;
-
- RtecScheduler::Scheduler_ptr RtecScheduler::Scheduler::_duplicate (RtecScheduler::Scheduler_ptr obj)
- {
- if (!CORBA::is_nil (obj))
- obj->AddRef ();
-
- return obj;
- } // end of _duplicate
-
- RtecScheduler::Scheduler_ptr RtecScheduler::Scheduler::_narrow (CORBA::Object_ptr obj, CORBA::Environment &env)
- {
- if (CORBA::is_nil (obj)) return RtecScheduler::Scheduler::_nil ();
- if (obj->_is_a ("IDL:RtecScheduler/Scheduler:1.0", env))
- {
- STUB_Object *istub;
- RtecScheduler::Scheduler_ptr new_obj; // to be returned
- if (obj->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- return RtecScheduler::Scheduler::_nil ();
-
- obj->Release (); // need this since QueryIntf bumped our refcount
- new_obj = new RtecScheduler::Scheduler (istub); // construct obj ref using the stub object
- return new_obj;
- } // end of if
- return RtecScheduler::Scheduler::_nil (); // _narrow failed
- } // end of _narrow
-
- RtecScheduler::Scheduler_ptr RtecScheduler::Scheduler::_nil (void)
- {
- return (RtecScheduler::Scheduler_ptr)NULL;
- } // end of _nil
-
- RtecScheduler::Scheduler_ptr RtecScheduler::Scheduler::_bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env)
- {
- CORBA::Object_ptr objref = CORBA::Object::_nil ();
- IIOP_Object *data = new IIOP_Object (host, port, key);
- if (!data) return RtecScheduler::Scheduler::_nil ();
- // get the object_ptr using Query Interface
- if (data->QueryInterface (IID_CORBA_Object, (void **)&objref) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return RtecScheduler::Scheduler::_nil ();
- }
- data->Release (); // QueryInterface had bumped up our count
- if (CORBA::is_nil (objref))
- return RtecScheduler::Scheduler::_nil ();
- else // narrow it
- return RtecScheduler::Scheduler::_narrow (objref, env);
- }
-
- static const TAO_Param_Data RtecScheduler_Scheduler_create_paramdata [] =
- {
- {RtecScheduler::_tc_handle_t, PARAM_RETURN, 0},
- {CORBA::_tc_string, PARAM_IN, 0}
- };
-
- static const TAO_Call_Data RtecScheduler_Scheduler_create_calldata =
- {"create", 1, 2, RtecScheduler_Scheduler_create_paramdata, 0, 0};
-
- RtecScheduler::handle_t RtecScheduler::Scheduler::create (const char * entry_point, CORBA::Environment &env)
- {
- RtecScheduler::handle_t retval;
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return retval;
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &RtecScheduler_Scheduler_create_calldata, &retval, &entry_point);
- return retval;
-
+ 12, 0x73756270, 0x72696f72, 0x69747900, // name = subpriority
+ CORBA::tk_alias, // typecode kind for typedefs
+ 68, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 35, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5375, 0x625f5072, 0x696f7269, 0x74793a31, 0x2e300000, // repository ID = IDL:RtecScheduler/Sub_Priority:1.0
+ 13, 0x5375625f, 0x5072696f, 0x72697479, 0x0, // name = Sub_Priority
+ CORBA::tk_long,
+
+ 20, 0x70726565, 0x6d707469, 0x6f6e5f70, 0x72696f72, 0x69747900, // name = preemption_priority
+ CORBA::tk_alias, // typecode kind for typedefs
+ 80, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 42, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5072, 0x65656d70, 0x74696f6e, 0x5f507269, 0x6f726974, 0x793a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Preemption_Priority:1.0
+ 20, 0x50726565, 0x6d707469, 0x6f6e5f50, 0x72696f72, 0x69747900, // name = Preemption_Priority
+ CORBA::tk_long,
+
+ 0,
+};
+static CORBA::TypeCode _tc__tc_RtecScheduler_RT_Info_Set (CORBA::tk_alias, sizeof (_oc_RtecScheduler_RT_Info_Set), (unsigned char *) &_oc_RtecScheduler_RT_Info_Set, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecScheduler::_tc_RT_Info_Set = &_tc__tc_RtecScheduler_RT_Info_Set;
+
+RtecScheduler::Scheduler_ptr RtecScheduler::Scheduler::_duplicate (RtecScheduler::Scheduler_ptr obj)
+{
+ if (!CORBA::is_nil (obj))
+ obj->AddRef ();
+
+ return obj;
+} // end of _duplicate
+
+RtecScheduler::Scheduler_ptr RtecScheduler::Scheduler::_narrow (CORBA::Object_ptr obj, CORBA::Environment &env)
+{
+ if (CORBA::is_nil (obj)) return RtecScheduler::Scheduler::_nil ();
+ if (obj->_is_a ("IDL:RtecScheduler/Scheduler:1.0", env))
+ {
+ STUB_Object *istub;
+ RtecScheduler::Scheduler_ptr new_obj; // to be returned
+ if (obj->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ return RtecScheduler::Scheduler::_nil ();
+
+ obj->Release (); // need this since QueryIntf bumped our refcount
+ new_obj = new RtecScheduler::Scheduler (istub); // construct obj ref using the stub object
+ return new_obj;
+ } // end of if
+ return RtecScheduler::Scheduler::_nil (); // _narrow failed
+} // end of _narrow
+
+RtecScheduler::Scheduler_ptr RtecScheduler::Scheduler::_nil (void)
+{
+ return (RtecScheduler::Scheduler_ptr)NULL;
+} // end of _nil
+
+RtecScheduler::Scheduler_ptr RtecScheduler::Scheduler::_bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env)
+{
+ CORBA::Object_ptr objref = CORBA::Object::_nil ();
+ IIOP_Object *data = new IIOP_Object (host, port, key);
+ if (!data) return RtecScheduler::Scheduler::_nil ();
+ // get the object_ptr using Query Interface
+ if (data->QueryInterface (IID_CORBA_Object, (void **)&objref) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return RtecScheduler::Scheduler::_nil ();
+ }
+ data->Release (); // QueryInterface had bumped up our count
+ if (CORBA::is_nil (objref))
+ return RtecScheduler::Scheduler::_nil ();
+ else // narrow it
+ return RtecScheduler::Scheduler::_narrow (objref, env);
+}
+
+static const TAO_Param_Data RtecScheduler_Scheduler_create_paramdata [] =
+{
+ {RtecScheduler::_tc_handle_t, PARAM_RETURN, 0},
+ {CORBA::_tc_string, PARAM_IN, 0}
+};
+
+static const TAO_Call_Data RtecScheduler_Scheduler_create_calldata =
+{"create", 1, 2, RtecScheduler_Scheduler_create_paramdata, 0, 0};
+
+RtecScheduler::handle_t RtecScheduler::Scheduler::create (const char * entry_point, CORBA::Environment &env)
+{
+ RtecScheduler::handle_t retval;
+ STUB_Object *istub;
+
+ if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return retval;
+ }
+ this->Release (); // QueryInterface has bumped up our refcount
+ istub->do_call (env, &RtecScheduler_Scheduler_create_calldata, &retval, &entry_point);
+ return retval;
+
}
- static const TAO_Param_Data RtecScheduler_Scheduler_lookup_paramdata [] =
- {
- {RtecScheduler::_tc_handle_t, PARAM_RETURN, 0},
- {CORBA::_tc_string, PARAM_IN, 0}
- };
-
- static const TAO_Call_Data RtecScheduler_Scheduler_lookup_calldata =
- {"lookup", 1, 2, RtecScheduler_Scheduler_lookup_paramdata, 0, 0};
-
- RtecScheduler::handle_t RtecScheduler::Scheduler::lookup (const char * entry_point, CORBA::Environment &env)
- {
- RtecScheduler::handle_t retval;
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return retval;
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &RtecScheduler_Scheduler_lookup_calldata, &retval, &entry_point);
- return retval;
-
+static const TAO_Param_Data RtecScheduler_Scheduler_lookup_paramdata [] =
+{
+ {RtecScheduler::_tc_handle_t, PARAM_RETURN, 0},
+ {CORBA::_tc_string, PARAM_IN, 0}
+};
+
+static const TAO_Call_Data RtecScheduler_Scheduler_lookup_calldata =
+{"lookup", 1, 2, RtecScheduler_Scheduler_lookup_paramdata, 0, 0};
+
+RtecScheduler::handle_t RtecScheduler::Scheduler::lookup (const char * entry_point, CORBA::Environment &env)
+{
+ RtecScheduler::handle_t retval;
+ STUB_Object *istub;
+
+ if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return retval;
+ }
+ this->Release (); // QueryInterface has bumped up our refcount
+ istub->do_call (env, &RtecScheduler_Scheduler_lookup_calldata, &retval, &entry_point);
+ return retval;
+
}
- static const TAO_Param_Data RtecScheduler_Scheduler_get_paramdata [] =
- {
- {RtecScheduler::_tc_RT_Info, PARAM_RETURN, 0},
- {RtecScheduler::_tc_handle_t, PARAM_IN, 0}
- };
-
- static const TAO_Call_Data RtecScheduler_Scheduler_get_calldata =
- {"get", 1, 2, RtecScheduler_Scheduler_get_paramdata, 0, 0};
-
- RtecScheduler::RT_Info * RtecScheduler::Scheduler::get (RtecScheduler::handle_t handle, CORBA::Environment &env)
- {
- RtecScheduler::RT_Info *retval;
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return 0;
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &RtecScheduler_Scheduler_get_calldata, &retval, &handle);
- return retval;
-
+static const TAO_Param_Data RtecScheduler_Scheduler_get_paramdata [] =
+{
+ {RtecScheduler::_tc_RT_Info, PARAM_RETURN, 0},
+ {RtecScheduler::_tc_handle_t, PARAM_IN, 0}
+};
+
+static const TAO_Call_Data RtecScheduler_Scheduler_get_calldata =
+{"get", 1, 2, RtecScheduler_Scheduler_get_paramdata, 0, 0};
+
+RtecScheduler::RT_Info * RtecScheduler::Scheduler::get (RtecScheduler::handle_t handle, CORBA::Environment &env)
+{
+ RtecScheduler::RT_Info *retval;
+ STUB_Object *istub;
+
+ if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return 0;
+ }
+ this->Release (); // QueryInterface has bumped up our refcount
+ istub->do_call (env, &RtecScheduler_Scheduler_get_calldata, &retval, &handle);
+ return retval;
+
}
- static const TAO_Param_Data RtecScheduler_Scheduler_set_paramdata [] =
- {
- {CORBA::_tc_void, PARAM_RETURN, 0},
- {RtecScheduler::_tc_handle_t, PARAM_IN, 0},
- {RtecScheduler::_tc_Time, PARAM_IN, 0},
- {RtecScheduler::_tc_Time, PARAM_IN, 0},
- {RtecScheduler::_tc_Time, PARAM_IN, 0},
- {RtecScheduler::_tc_Period, PARAM_IN, 0},
- {RtecScheduler::_tc_Importance, PARAM_IN, 0},
- {RtecScheduler::_tc_Quantum, PARAM_IN, 0},
- {CORBA::_tc_long, PARAM_IN, 0}
- };
-
- static const TAO_Call_Data RtecScheduler_Scheduler_set_calldata =
- {"set", 1, 9, RtecScheduler_Scheduler_set_paramdata, 0, 0};
-
- void RtecScheduler::Scheduler::set (RtecScheduler::handle_t handle, RtecScheduler::Time time, RtecScheduler::Time typical_time, RtecScheduler::Time cached_time, RtecScheduler::Period period, RtecScheduler::Importance importance, RtecScheduler::Quantum quantum, CORBA::Long threads, CORBA::Environment &env)
- {
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return;
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &RtecScheduler_Scheduler_set_calldata, 0, &handle, &time, &typical_time, &cached_time, &period, &importance, &quantum, &threads);
- return; // no value
-
+static const TAO_Param_Data RtecScheduler_Scheduler_set_paramdata [] =
+{
+ {CORBA::_tc_void, PARAM_RETURN, 0},
+ {RtecScheduler::_tc_handle_t, PARAM_IN, 0},
+ {RtecScheduler::_tc_Time, PARAM_IN, 0},
+ {RtecScheduler::_tc_Time, PARAM_IN, 0},
+ {RtecScheduler::_tc_Time, PARAM_IN, 0},
+ {RtecScheduler::_tc_Period, PARAM_IN, 0},
+ {RtecScheduler::_tc_Importance, PARAM_IN, 0},
+ {RtecScheduler::_tc_Quantum, PARAM_IN, 0},
+ {CORBA::_tc_long, PARAM_IN, 0}
+};
+
+static const TAO_Call_Data RtecScheduler_Scheduler_set_calldata =
+{"set", 1, 9, RtecScheduler_Scheduler_set_paramdata, 0, 0};
+
+void RtecScheduler::Scheduler::set (RtecScheduler::handle_t handle, RtecScheduler::Time time, RtecScheduler::Time typical_time, RtecScheduler::Time cached_time, RtecScheduler::Period period, RtecScheduler::Importance importance, RtecScheduler::Quantum quantum, CORBA::Long threads, CORBA::Environment &env)
+{
+ STUB_Object *istub;
+
+ if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return;
+ }
+ this->Release (); // QueryInterface has bumped up our refcount
+ istub->do_call (env, &RtecScheduler_Scheduler_set_calldata, 0, &handle, &time, &typical_time, &cached_time, &period, &importance, &quantum, &threads);
+ return; // no value
+
}
- static const TAO_Param_Data RtecScheduler_Scheduler_add_dependency_paramdata [] =
- {
- {CORBA::_tc_void, PARAM_RETURN, 0},
- {RtecScheduler::_tc_handle_t, PARAM_IN, 0},
- {RtecScheduler::_tc_handle_t, PARAM_IN, 0},
- {CORBA::_tc_long, PARAM_IN, 0}
- };
-
- static const TAO_Call_Data RtecScheduler_Scheduler_add_dependency_calldata =
- {"add_dependency", 1, 4, RtecScheduler_Scheduler_add_dependency_paramdata, 0, 0};
-
- void RtecScheduler::Scheduler::add_dependency (RtecScheduler::handle_t handle, RtecScheduler::handle_t dependency, CORBA::Long number_of_calls, CORBA::Environment &env)
- {
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return;
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &RtecScheduler_Scheduler_add_dependency_calldata, 0, &handle, &dependency, &number_of_calls);
- return; // no value
-
+static const TAO_Param_Data RtecScheduler_Scheduler_add_dependency_paramdata [] =
+{
+ {CORBA::_tc_void, PARAM_RETURN, 0},
+ {RtecScheduler::_tc_handle_t, PARAM_IN, 0},
+ {RtecScheduler::_tc_handle_t, PARAM_IN, 0},
+ {CORBA::_tc_long, PARAM_IN, 0}
+};
+
+static const TAO_Call_Data RtecScheduler_Scheduler_add_dependency_calldata =
+{"add_dependency", 1, 4, RtecScheduler_Scheduler_add_dependency_paramdata, 0, 0};
+
+void RtecScheduler::Scheduler::add_dependency (RtecScheduler::handle_t handle, RtecScheduler::handle_t dependency, CORBA::Long number_of_calls, CORBA::Environment &env)
+{
+ STUB_Object *istub;
+
+ if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return;
+ }
+ this->Release (); // QueryInterface has bumped up our refcount
+ istub->do_call (env, &RtecScheduler_Scheduler_add_dependency_calldata, 0, &handle, &dependency, &number_of_calls);
+ return; // no value
+
}
- static const TAO_Param_Data RtecScheduler_Scheduler_priority_paramdata [] =
- {
- {CORBA::_tc_void, PARAM_RETURN, 0},
- {RtecScheduler::_tc_handle_t, PARAM_IN, 0},
- {RtecScheduler::_tc_OS_Priority, PARAM_OUT, 0},
- {RtecScheduler::_tc_Sub_Priority, PARAM_OUT, 0},
- {RtecScheduler::_tc_Preemption_Priority, PARAM_OUT, 0}
- };
-
- static const TAO_Call_Data RtecScheduler_Scheduler_priority_calldata =
- {"priority", 1, 5, RtecScheduler_Scheduler_priority_paramdata, 0, 0};
-
- void RtecScheduler::Scheduler::priority (RtecScheduler::handle_t handle, RtecScheduler::OS_Priority_out priority, RtecScheduler::Sub_Priority_out subpriority, RtecScheduler::Preemption_Priority_out p_priority, CORBA::Environment &env)
- {
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return;
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &RtecScheduler_Scheduler_priority_calldata, 0, &handle, &priority, &subpriority, &p_priority);
- return; // no value
-
+static const TAO_Param_Data RtecScheduler_Scheduler_priority_paramdata [] =
+{
+ {CORBA::_tc_void, PARAM_RETURN, 0},
+ {RtecScheduler::_tc_handle_t, PARAM_IN, 0},
+ {RtecScheduler::_tc_OS_Priority, PARAM_OUT, 0},
+ {RtecScheduler::_tc_Sub_Priority, PARAM_OUT, 0},
+ {RtecScheduler::_tc_Preemption_Priority, PARAM_OUT, 0}
+};
+
+static const TAO_Call_Data RtecScheduler_Scheduler_priority_calldata =
+{"priority", 1, 5, RtecScheduler_Scheduler_priority_paramdata, 0, 0};
+
+void RtecScheduler::Scheduler::priority (RtecScheduler::handle_t handle, RtecScheduler::OS_Priority_out priority, RtecScheduler::Sub_Priority_out subpriority, RtecScheduler::Preemption_Priority_out p_priority, CORBA::Environment &env)
+{
+ STUB_Object *istub;
+
+ if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return;
+ }
+ this->Release (); // QueryInterface has bumped up our refcount
+ istub->do_call (env, &RtecScheduler_Scheduler_priority_calldata, 0, &handle, &priority, &subpriority, &p_priority);
+ return; // no value
+
}
- static const TAO_Param_Data RtecScheduler_Scheduler_entry_point_priority_paramdata [] =
- {
- {CORBA::_tc_void, PARAM_RETURN, 0},
- {CORBA::_tc_string, PARAM_IN, 0},
- {RtecScheduler::_tc_OS_Priority, PARAM_OUT, 0},
- {RtecScheduler::_tc_Sub_Priority, PARAM_OUT, 0},
- {RtecScheduler::_tc_Preemption_Priority, PARAM_OUT, 0}
- };
-
- static const TAO_Call_Data RtecScheduler_Scheduler_entry_point_priority_calldata =
- {"entry_point_priority", 1, 5, RtecScheduler_Scheduler_entry_point_priority_paramdata, 0, 0};
-
- void RtecScheduler::Scheduler::entry_point_priority (const char * entry_point, RtecScheduler::OS_Priority_out priority, RtecScheduler::Sub_Priority_out subpriority, RtecScheduler::Preemption_Priority_out p_priority, CORBA::Environment &env)
- {
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return;
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &RtecScheduler_Scheduler_entry_point_priority_calldata, 0, &entry_point, &priority, &subpriority, &p_priority);
- return; // no value
-
+static const TAO_Param_Data RtecScheduler_Scheduler_entry_point_priority_paramdata [] =
+{
+ {CORBA::_tc_void, PARAM_RETURN, 0},
+ {CORBA::_tc_string, PARAM_IN, 0},
+ {RtecScheduler::_tc_OS_Priority, PARAM_OUT, 0},
+ {RtecScheduler::_tc_Sub_Priority, PARAM_OUT, 0},
+ {RtecScheduler::_tc_Preemption_Priority, PARAM_OUT, 0}
+};
+
+static const TAO_Call_Data RtecScheduler_Scheduler_entry_point_priority_calldata =
+{"entry_point_priority", 1, 5, RtecScheduler_Scheduler_entry_point_priority_paramdata, 0, 0};
+
+void RtecScheduler::Scheduler::entry_point_priority (const char * entry_point, RtecScheduler::OS_Priority_out priority, RtecScheduler::Sub_Priority_out subpriority, RtecScheduler::Preemption_Priority_out p_priority, CORBA::Environment &env)
+{
+ STUB_Object *istub;
+
+ if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return;
+ }
+ this->Release (); // QueryInterface has bumped up our refcount
+ istub->do_call (env, &RtecScheduler_Scheduler_entry_point_priority_calldata, 0, &entry_point, &priority, &subpriority, &p_priority);
+ return; // no value
+
}
- static const TAO_Param_Data RtecScheduler_Scheduler_compute_scheduling_paramdata [] =
- {
- {CORBA::_tc_void, PARAM_RETURN, 0},
- {CORBA::_tc_long, PARAM_IN, 0},
- {CORBA::_tc_long, PARAM_IN, 0},
- {RtecScheduler::_tc_RT_Info_Set, PARAM_OUT, 0}
- };
-
- static const TAO_Call_Data RtecScheduler_Scheduler_compute_scheduling_calldata =
- {"compute_scheduling", 1, 4, RtecScheduler_Scheduler_compute_scheduling_paramdata, 0, 0};
-
- void RtecScheduler::Scheduler::compute_scheduling (CORBA::Long minimum_priority, CORBA::Long maximum_priority, RtecScheduler::RT_Info_Set_out infos, CORBA::Environment &env)
- {
- STUB_Object *istub;
-
- if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
- {
- env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
- return;
- }
- this->Release (); // QueryInterface has bumped up our refcount
- istub->do_call (env, &RtecScheduler_Scheduler_compute_scheduling_calldata, 0, &minimum_priority, &maximum_priority, &infos);
- return; // no value
-
+static const TAO_Param_Data RtecScheduler_Scheduler_compute_scheduling_paramdata [] =
+{
+ {CORBA::_tc_void, PARAM_RETURN, 0},
+ {CORBA::_tc_long, PARAM_IN, 0},
+ {CORBA::_tc_long, PARAM_IN, 0},
+ {RtecScheduler::_tc_RT_Info_Set, PARAM_OUT, 0}
+};
+
+static const TAO_Call_Data RtecScheduler_Scheduler_compute_scheduling_calldata =
+{"compute_scheduling", 1, 4, RtecScheduler_Scheduler_compute_scheduling_paramdata, 0, 0};
+
+void RtecScheduler::Scheduler::compute_scheduling (CORBA::Long minimum_priority, CORBA::Long maximum_priority, RtecScheduler::RT_Info_Set_out infos, CORBA::Environment &env)
+{
+ STUB_Object *istub;
+
+ if (this->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR)
+ {
+ env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));
+ return;
+ }
+ this->Release (); // QueryInterface has bumped up our refcount
+ istub->do_call (env, &RtecScheduler_Scheduler_compute_scheduling_calldata, 0, &minimum_priority, &maximum_priority, &infos);
+ return; // no value
+
}
- static const CORBA::Long _oc_RtecScheduler_Scheduler[] =
- {
- TAO_ENCAP_BYTE_ORDER, // byte order
- 32, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5363, 0x68656475, 0x6c65723a, 0x312e3000, // repository ID = IDL:RtecScheduler/Scheduler:1.0
- 10, 0x53636865, 0x64756c65, 0x72000000, // name = Scheduler,
- };
- static CORBA::TypeCode _tc__tc_RtecScheduler_Scheduler (CORBA::tk_objref, sizeof (_oc_RtecScheduler_Scheduler), (unsigned char *) &_oc_RtecScheduler_Scheduler, CORBA::B_FALSE);
- CORBA::TypeCode_ptr RtecScheduler::_tc_Scheduler = &_tc__tc_RtecScheduler_Scheduler;
+static const CORBA::Long _oc_RtecScheduler_Scheduler[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 32, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f5363, 0x68656475, 0x6c65723a, 0x312e3000, // repository ID = IDL:RtecScheduler/Scheduler:1.0
+ 10, 0x53636865, 0x64756c65, 0x72000000, // name = Scheduler,
+};
+static CORBA::TypeCode _tc__tc_RtecScheduler_Scheduler (CORBA::tk_objref, sizeof (_oc_RtecScheduler_Scheduler), (unsigned char *) &_oc_RtecScheduler_Scheduler, CORBA::B_FALSE);
+CORBA::TypeCode_ptr RtecScheduler::_tc_Scheduler = &_tc__tc_RtecScheduler_Scheduler;
diff --git a/TAO/orbsvcs/lib/RtecSchedulerS.cpp b/TAO/orbsvcs/lib/RtecSchedulerS.cpp
index abc54a8e2be..f74ebd1ec25 100644
--- a/TAO/orbsvcs/lib/RtecSchedulerS.cpp
+++ b/TAO/orbsvcs/lib/RtecSchedulerS.cpp
@@ -282,9 +282,8 @@ void POA_RtecScheduler::Scheduler::compute_scheduling_skel (CORBA::ServerRequest
}
-void POA_RtecScheduler::Scheduler::_is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env)
+void POA_RtecScheduler::Scheduler::_is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr /* obj */, CORBA::Environment &env)
{
- ACE_UNUSED_ARG (obj); // argument not used
const CORBA::String type_id = "IDL:RtecScheduler/Scheduler:1.0"; // repository ID
CORBA::NVList_ptr nvlist;
CORBA::NamedValue_ptr nv;