diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-12-03 22:13:46 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-12-03 22:13:46 +0000 |
commit | eb06fc0434417f7d6baed613e7a97af2be17c351 (patch) | |
tree | 327feaf0deb252caf648a93d4ac6a4453fe03356 | |
parent | 75ec9e7b86bdc8fbe9f350af329a8195594e5d98 (diff) | |
download | ATCD-eb06fc0434417f7d6baed613e7a97af2be17c351.tar.gz |
ChangeLogTag:Wed Dec 3 16:08:34 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
22 files changed, 49 insertions, 10194 deletions
diff --git a/TAO/ChangeLog-98c b/TAO/ChangeLog-98c index 8f3a7d7db50..8868cc873d5 100644 --- a/TAO/ChangeLog-98c +++ b/TAO/ChangeLog-98c @@ -1,3 +1,33 @@ +Wed Dec 3 16:08:34 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu> + + * orbsvcs/lib/Event_Utilities.cpp: + * orbsvcs/lib/Event_Utilities.i: + * orbsvcs/lib/RtecEventComm.idl: + Added some more time-stamps to the events to track and measure + the delays as they move on the EC. + + * 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/RtecSchedulerC.h: + * orbsvcs/lib/RtecSchedulerC.i: + * orbsvcs/lib/RtecSchedulerS.cpp: + * orbsvcs/lib/RtecSchedulerS.h: + * orbsvcs/lib/RtecSchedulerS.i: + Thanks to Andy Gokhale efforst the IDL compiler is able to emit + proper code for the EC&friends, hence I'm removing the + hand-crafted files. + Wed Dec 3 11:12:48 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu> * TAO_IDL/be/be_interface.cpp: Had forgotten to emit code that diff --git a/TAO/orbsvcs/lib/Event_Utilities.cpp b/TAO/orbsvcs/lib/Event_Utilities.cpp index 75394f34e2b..a7ac2305d1b 100644 --- a/TAO/orbsvcs/lib/Event_Utilities.cpp +++ b/TAO/orbsvcs/lib/Event_Utilities.cpp @@ -70,7 +70,7 @@ void event_debug (const char* p, "%*.*s event.time: %f\n", l, l, p, event.source_, l, l, p, event.type_, - l, l, p, event.time_)); + l, l, p, event.creation_time_)); } void diff --git a/TAO/orbsvcs/lib/Event_Utilities.i b/TAO/orbsvcs/lib/Event_Utilities.i index 030cb0273eb..49cc031a517 100644 --- a/TAO/orbsvcs/lib/Event_Utilities.i +++ b/TAO/orbsvcs/lib/Event_Utilities.i @@ -8,7 +8,9 @@ ACE_ConsumerQOS_Factory::insert (RtecEventComm::EventSourceID source, RtecEventChannelAdmin::Dependency dependency; dependency.event_.source_ = source; dependency.event_.type_ = type; - dependency.event_.time_ = 0; + dependency.event_.creation_time_ = 0; + dependency.event_.ec_recv_time_ = 0; + dependency.event_.ec_send_time_ = 0; dependency.rt_info = rt_info; return this->insert (dependency); } @@ -20,7 +22,9 @@ ACE_ConsumerQOS_Factory::insert_type (RtecEventComm::EventType type, RtecEventChannelAdmin::Dependency dependency; dependency.event_.source_ = 0; dependency.event_.type_ = type; - dependency.event_.time_ = 0; + dependency.event_.creation_time_ = 0; + dependency.event_.ec_recv_time_ = 0; + dependency.event_.ec_send_time_ = 0; dependency.rt_info = rt_info; return this->insert (dependency); } @@ -32,6 +36,9 @@ ACE_ConsumerQOS_Factory::insert_source (RtecEventComm::EventSourceID source, RtecEventChannelAdmin::Dependency dependency; dependency.event_.source_ = source; dependency.event_.type_ = ACE_ES_EVENT_ANY; + dependency.event_.creation_time_ = 0; + dependency.event_.ec_recv_time_ = 0; + dependency.event_.ec_send_time_ = 0; dependency.rt_info = rt_info; return this->insert (dependency); } @@ -44,7 +51,9 @@ ACE_ConsumerQOS_Factory::insert_time (RtecEventComm::EventType type, RtecEventChannelAdmin::Dependency dependency; dependency.event_.source_ = 0; dependency.event_.type_ = type; - dependency.event_.time_ = interval; + dependency.event_.creation_time_ = interval; + dependency.event_.ec_recv_time_ = 0; + dependency.event_.ec_send_time_ = 0; dependency.rt_info = rt_info; return this->insert (dependency); } @@ -55,7 +64,9 @@ ACE_ConsumerQOS_Factory::insert_act (RtecEventComm::EventData act) RtecEventChannelAdmin::Dependency dependency; dependency.event_.source_ = 0; dependency.event_.type_ = ACE_ES_EVENT_ACT; - dependency.event_.time_ = 0; + dependency.event_.creation_time_ = 0; + dependency.event_.ec_recv_time_ = 0; + dependency.event_.ec_send_time_ = 0; dependency.event_.data_ = act; return this->insert (dependency); } diff --git a/TAO/orbsvcs/lib/RtecEventChannelAdminC.cpp b/TAO/orbsvcs/lib/RtecEventChannelAdminC.cpp deleted file mode 100644 index d1cd9cc634f..00000000000 --- a/TAO/orbsvcs/lib/RtecEventChannelAdminC.cpp +++ /dev/null @@ -1,1304 +0,0 @@ -// ****** Code generated by the The ACE ORB (TAO) IDL Compiler ******* -// TAO ORB and the TAO IDL Compiler have been developed by Washington -// University Computer Science's Distributed Object Computing Group. -// -// Information on TAO is available at -// http://www.cs.wustl.edu/~schmidt/TAO.html - -#include "RtecEventChannelAdminC.h" - -#if !defined (__ACE_INLINE__) -#include "RtecEventChannelAdminC.i" -#endif // !defined INLINE - -static const CORBA::Long _oc_RtecEventChannelAdmin_AlreadyConnected[] = -{ - 0, // byte order - 47, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f416c, 0x72656164, 0x79436f6e, 0x6e656374, 0x65643a31, 0x2e300000, // repository ID = IDL:RtecEventChannelAdmin/AlreadyConnected:1.0 - 17, 0x416c7265, 0x61647943, 0x6f6e6e65, 0x63746564, 0x0, // name = AlreadyConnected - 0, // member count -}; -static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_AlreadyConnected (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_AlreadyConnected), (unsigned char *) &_oc_RtecEventChannelAdmin_AlreadyConnected, CORBA::B_FALSE); -CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_AlreadyConnected = &_tc__tc_RtecEventChannelAdmin_AlreadyConnected; - -static const CORBA::Long _oc_RtecEventChannelAdmin_TypeError[] = -{ - 0, // byte order - 40, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5479, 0x70654572, 0x726f723a, 0x312e3000, // repository ID = IDL:RtecEventChannelAdmin/TypeError:1.0 - 10, 0x54797065, 0x4572726f, 0x72000000, // name = TypeError - 0, // member count -}; -static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_TypeError (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_TypeError), (unsigned char *) &_oc_RtecEventChannelAdmin_TypeError, CORBA::B_FALSE); -CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_TypeError = &_tc__tc_RtecEventChannelAdmin_TypeError; - -static const CORBA::Long _oc_RtecEventChannelAdmin_Dependency[] = -{ - 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_double, - - 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, - -}; -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 -{ - 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 - { - RtecEventChannelAdmin::_tao__seq_DependencySet::freebuf (this->buffer_); - } -} - -// 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_) - { - 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; -} - -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 (CORBA::ULong 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->maximum_ = length; - } -this->length_ = length; -} - -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 - 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_double, - - 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_double, - - 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 - 1, // 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 - 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_double, - - 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_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_double, - - 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 (CORBA::ULong 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->maximum_ = length; - } -this->length_ = 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_double, - - 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, - - 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 - 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_double, - - 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, - - 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 - 27, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecEventComm/Time:1.0 - 5, 0x54696d65, 0x0, // name = Time - CORBA::tk_double, - - 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, - - 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} -}; - -static const TAO_Call_Data RtecEventChannelAdmin_ProxyPushConsumer_connect_push_supplier_calldata = -{"connect_push_supplier", 0, 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 - CORBA::Object_ptr _tao_base_push_supplier = push_supplier; // cast it - istub->do_call (env, &RtecEventChannelAdmin_ProxyPushConsumer_connect_push_supplier_calldata, 0, &_tao_base_push_supplier, &qos); - return; // no value - -} - -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", 0, 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 - CORBA::Object_ptr _tao_base_push_consumer = push_consumer; // cast it - istub->do_call (env, &RtecEventChannelAdmin_ProxyPushSupplier_connect_push_consumer_calldata, 0, &_tao_base_push_consumer, &qos); - return; // no value - -} - -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_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); - -} - -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 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); - -} - -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, - - 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; - -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; - -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 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 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_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); - -} - -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 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 deleted file mode 100644 index 07567869f9c..00000000000 --- a/TAO/orbsvcs/lib/RtecEventChannelAdminC.h +++ /dev/null @@ -1,1130 +0,0 @@ -// ****** Code generated by the The ACE ORB (TAO) IDL Compiler ******* -// TAO ORB and the TAO IDL Compiler have been developed by Washington -// University Computer Science's Distributed Object Computing Group. -// -// Information on TAO is available at -// http://www.cs.wustl.edu/~schmidt/TAO.html - -#if !defined (_TAO_IDL_RTECEVENTCHANNELADMINC_H_) -#define _TAO_IDL_RTECEVENTCHANNELADMINC_H_ - -#include "tao/corba.h" -#include "RtecEventCommC.h" -#include "RtecSchedulerC.h" - -class RtecEventChannelAdmin{ -public: - -#if !defined (_RTECEVENTCHANNELADMIN_ALREADYCONNECTED___PTR_CH_) -#define _RTECEVENTCHANNELADMIN_ALREADYCONNECTED___PTR_CH_ - - class AlreadyConnected; - typedef AlreadyConnected *AlreadyConnected_ptr; - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCHANNELADMIN_ALREADYCONNECTED_CH_) -#define _RTECEVENTCHANNELADMIN_ALREADYCONNECTED_CH_ - - class AlreadyConnected : public virtual CORBA::UserException - { - public: - AlreadyConnected (void); - }; - - -#endif // end #if !defined - -static CORBA::TypeCode_ptr _tc_AlreadyConnected; - - -#if !defined (_RTECEVENTCHANNELADMIN_TYPEERROR___PTR_CH_) -#define _RTECEVENTCHANNELADMIN_TYPEERROR___PTR_CH_ - - class TypeError; - typedef TypeError *TypeError_ptr; - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCHANNELADMIN_TYPEERROR_CH_) -#define _RTECEVENTCHANNELADMIN_TYPEERROR_CH_ - - class TypeError : public virtual CORBA::UserException - { - public: - TypeError (void); - }; - - -#endif // end #if !defined - -static CORBA::TypeCode_ptr _tc_TypeError; - - struct Dependency - { - struct Event - { - }; - - class Event_var - { - public: - Event_var (void); // default constructor - Event_var (Event *); - Event_var (const Event_var &); // copy constructor - ~Event_var (void); // destructor - - Event_var &operator= (Event *); - Event_var &operator= (const Event_var &); - Event *operator-> (void); - const Event *operator-> (void) const; - - operator const Event &() const; - operator Event &(); - operator Event &() const; - // in, inout, out, _retn - const Event &in (void) const; - Event &inout (void); - Event &out (void); - Event _retn (void); - Event *ptr(void) const; - - private: - Event *ptr_; - }; - - typedef Event &Event_out; - - static CORBA::TypeCode_ptr _tc_Event; - - RtecEventComm::Event event_; - - RtecScheduler::handle_t rt_info; - - }; - - class Dependency_var - { - public: - Dependency_var (void); // default constructor - Dependency_var (Dependency *); - Dependency_var (const Dependency_var &); // copy constructor - ~Dependency_var (void); // destructor - - Dependency_var &operator= (Dependency *); - Dependency_var &operator= (const Dependency_var &); - Dependency *operator-> (void); - const Dependency *operator-> (void) const; - - operator const Dependency &() const; - operator Dependency &(); - operator Dependency &() const; - // in, inout, out, _retn - const Dependency &in (void) const; - Dependency &inout (void); - Dependency &out (void); - Dependency _retn (void); - Dependency *ptr(void) const; - - private: - Dependency *ptr_; - }; - - typedef Dependency &Dependency_out; - - static CORBA::TypeCode_ptr _tc_Dependency; - - -#if !defined (_RTECEVENTCHANNELADMIN__TAO__SEQ_DEPENDENCYSET_CH_) -#define _RTECEVENTCHANNELADMIN__TAO__SEQ_DEPENDENCYSET_CH_ - - // ************************************************************* - // class _tao__seq_DependencySet - // ************************************************************* - - class _tao__seq_DependencySet - { - public: - _tao__seq_DependencySet (void); // default constructor - _tao__seq_DependencySet (CORBA::ULong max); - _tao__seq_DependencySet (CORBA::ULong max, CORBA::ULong length, - ACE_NESTED_CLASS (RtecEventChannelAdmin,Dependency) *value, CORBA::Boolean release=CORBA::B_FALSE); - _tao__seq_DependencySet(const _tao__seq_DependencySet &); // copy constructor - ~_tao__seq_DependencySet (void); - _tao__seq_DependencySet &operator= (const _tao__seq_DependencySet &); - CORBA::ULong maximum (void) const; - void length (CORBA::ULong); - CORBA::ULong length (void) const; - ACE_NESTED_CLASS (RtecEventChannelAdmin,Dependency) &operator[] (CORBA::ULong index); - const ACE_NESTED_CLASS (RtecEventChannelAdmin,Dependency) &operator[] (CORBA::ULong index) const; - static ACE_NESTED_CLASS (RtecEventChannelAdmin,Dependency) *allocbuf (CORBA::ULong nelems); - static void freebuf (ACE_NESTED_CLASS (RtecEventChannelAdmin,Dependency) *); - private: - CORBA::ULong maximum_; - CORBA::ULong length_; - ACE_NESTED_CLASS (RtecEventChannelAdmin,Dependency) *buffer_; - CORBA::Boolean release_; - }; - typedef _tao__seq_DependencySet* _tao__seq_DependencySet_ptr; - static CORBA::TypeCode_ptr _tc__tao__seq_DependencySet; - - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCHANNELADMIN__TAO__SEQ_DEPENDENCYSET___VAR_CH_) -#define _RTECEVENTCHANNELADMIN__TAO__SEQ_DEPENDENCYSET___VAR_CH_ - -// ************************************************************* - // class RtecEventChannelAdmin::_tao__seq_DependencySet_var - // ************************************************************* - - class _tao__seq_DependencySet_var - { - public: - _tao__seq_DependencySet_var (void); // default constructor - _tao__seq_DependencySet_var (_tao__seq_DependencySet *); - _tao__seq_DependencySet_var (const _tao__seq_DependencySet_var &); // copy constructor - ~_tao__seq_DependencySet_var (void); // destructor - - _tao__seq_DependencySet_var &operator= (_tao__seq_DependencySet *); - _tao__seq_DependencySet_var &operator= (const _tao__seq_DependencySet_var &); - _tao__seq_DependencySet *operator-> (void); - const _tao__seq_DependencySet *operator-> (void) const; - - operator const _tao__seq_DependencySet &() const; - operator _tao__seq_DependencySet &(); - operator _tao__seq_DependencySet &() const; - ACE_NESTED_CLASS (RtecEventChannelAdmin,Dependency) &operator[] (CORBA::ULong index); - // in, inout, out, _retn - const _tao__seq_DependencySet &in (void) const; - _tao__seq_DependencySet &inout (void); - _tao__seq_DependencySet *&out (void); - _tao__seq_DependencySet *_retn (void); - _tao__seq_DependencySet *ptr (void) const; - - private: - _tao__seq_DependencySet *ptr_; - }; - - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCHANNELADMIN__TAO__SEQ_DEPENDENCYSET___OUT_CH_) -#define _RTECEVENTCHANNELADMIN__TAO__SEQ_DEPENDENCYSET___OUT_CH_ - - class _tao__seq_DependencySet_out - { - public: - _tao__seq_DependencySet_out (_tao__seq_DependencySet *&); - _tao__seq_DependencySet_out (_tao__seq_DependencySet_var &); - _tao__seq_DependencySet_out (_tao__seq_DependencySet_out &); - _tao__seq_DependencySet_out &operator= (_tao__seq_DependencySet_out &); - _tao__seq_DependencySet_out &operator= (_tao__seq_DependencySet *); - operator _tao__seq_DependencySet *&(); - _tao__seq_DependencySet *&ptr (void); - _tao__seq_DependencySet *operator-> (void); - ACE_NESTED_CLASS (RtecEventChannelAdmin,Dependency) &operator[] (CORBA::ULong index); - - private: - _tao__seq_DependencySet *&ptr_; - // assignment from T_var not allowed - void operator= (const _tao__seq_DependencySet_var &); - }; - - -#endif // end #if !defined - - typedef ACE_NESTED_CLASS (RtecEventChannelAdmin,_tao__seq_DependencySet) DependencySet; - typedef ACE_NESTED_CLASS (RtecEventChannelAdmin,_tao__seq_DependencySet_var) DependencySet_var; - typedef ACE_NESTED_CLASS (RtecEventChannelAdmin,_tao__seq_DependencySet_out) DependencySet_out; - - static CORBA::TypeCode_ptr _tc_DependencySet; - - struct ConsumerQOS - { - ACE_NESTED_CLASS (RtecEventChannelAdmin,DependencySet) dependencies; - - }; - - class ConsumerQOS_var - { - public: - ConsumerQOS_var (void); // default constructor - ConsumerQOS_var (ConsumerQOS *); - ConsumerQOS_var (const ConsumerQOS_var &); // copy constructor - ~ConsumerQOS_var (void); // destructor - - ConsumerQOS_var &operator= (ConsumerQOS *); - ConsumerQOS_var &operator= (const ConsumerQOS_var &); - ConsumerQOS *operator-> (void); - const ConsumerQOS *operator-> (void) const; - - operator const ConsumerQOS &() const; - operator ConsumerQOS &(); - operator ConsumerQOS &() const; - // in, inout, out, _retn - const ConsumerQOS &in (void) const; - ConsumerQOS &inout (void); - ConsumerQOS *&out (void); - ConsumerQOS *_retn (void); - ConsumerQOS *ptr(void) const; - - private: - ConsumerQOS *ptr_; - }; - - class ConsumerQOS_out - { - public: - ConsumerQOS_out (ConsumerQOS *&); - ConsumerQOS_out (ConsumerQOS_var &); - ConsumerQOS_out (ConsumerQOS_out &); - ConsumerQOS_out &operator= (ConsumerQOS_out &); - ConsumerQOS_out &operator= (ConsumerQOS *); - operator ConsumerQOS *&(); - ConsumerQOS *&ptr (void); - ConsumerQOS *operator-> (void); - - private: - ConsumerQOS *&ptr_; - // assignment from T_var not allowed - void operator= (const ConsumerQOS_var &); - }; - - static CORBA::TypeCode_ptr _tc_ConsumerQOS; - - struct Publication - { - RtecEventComm::Event event_; - - struct Dependency_Info - { - }; - - class Dependency_Info_var - { - public: - Dependency_Info_var (void); // default constructor - Dependency_Info_var (Dependency_Info *); - Dependency_Info_var (const Dependency_Info_var &); // copy constructor - ~Dependency_Info_var (void); // destructor - - Dependency_Info_var &operator= (Dependency_Info *); - Dependency_Info_var &operator= (const Dependency_Info_var &); - Dependency_Info *operator-> (void); - const Dependency_Info *operator-> (void) const; - - operator const Dependency_Info &() const; - operator Dependency_Info &(); - operator Dependency_Info &() const; - // in, inout, out, _retn - const Dependency_Info &in (void) const; - Dependency_Info &inout (void); - Dependency_Info &out (void); - Dependency_Info _retn (void); - Dependency_Info *ptr(void) const; - - private: - Dependency_Info *ptr_; - }; - - typedef Dependency_Info &Dependency_Info_out; - - static CORBA::TypeCode_ptr _tc_Dependency_Info; - - RtecScheduler::Dependency_Info dependency_info_; - - }; - - class Publication_var - { - public: - Publication_var (void); // default constructor - Publication_var (Publication *); - Publication_var (const Publication_var &); // copy constructor - ~Publication_var (void); // destructor - - Publication_var &operator= (Publication *); - Publication_var &operator= (const Publication_var &); - Publication *operator-> (void); - const Publication *operator-> (void) const; - - operator const Publication &() const; - operator Publication &(); - operator Publication &() const; - // in, inout, out, _retn - const Publication &in (void) const; - Publication &inout (void); - Publication &out (void); - Publication _retn (void); - Publication *ptr(void) const; - - private: - Publication *ptr_; - }; - - typedef Publication &Publication_out; - - static CORBA::TypeCode_ptr _tc_Publication; - - -#if !defined (_RTECEVENTCHANNELADMIN__TAO__SEQ_PUBLICATIONSET_CH_) -#define _RTECEVENTCHANNELADMIN__TAO__SEQ_PUBLICATIONSET_CH_ - - // ************************************************************* - // class _tao__seq_PublicationSet - // ************************************************************* - - class _tao__seq_PublicationSet - { - public: - _tao__seq_PublicationSet (void); // default constructor - _tao__seq_PublicationSet (CORBA::ULong max); - _tao__seq_PublicationSet (CORBA::ULong max, CORBA::ULong length, - ACE_NESTED_CLASS (RtecEventChannelAdmin,Publication) *value, CORBA::Boolean release=CORBA::B_FALSE); - _tao__seq_PublicationSet(const _tao__seq_PublicationSet &); // copy constructor - ~_tao__seq_PublicationSet (void); - _tao__seq_PublicationSet &operator= (const _tao__seq_PublicationSet &); - CORBA::ULong maximum (void) const; - void length (CORBA::ULong); - CORBA::ULong length (void) const; - ACE_NESTED_CLASS (RtecEventChannelAdmin,Publication) &operator[] (CORBA::ULong index); - const ACE_NESTED_CLASS (RtecEventChannelAdmin,Publication) &operator[] (CORBA::ULong index) const; - static ACE_NESTED_CLASS (RtecEventChannelAdmin,Publication) *allocbuf (CORBA::ULong nelems); - static void freebuf (ACE_NESTED_CLASS (RtecEventChannelAdmin,Publication) *); - private: - CORBA::ULong maximum_; - CORBA::ULong length_; - ACE_NESTED_CLASS (RtecEventChannelAdmin,Publication) *buffer_; - CORBA::Boolean release_; - }; - typedef _tao__seq_PublicationSet* _tao__seq_PublicationSet_ptr; - static CORBA::TypeCode_ptr _tc__tao__seq_PublicationSet; - - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCHANNELADMIN__TAO__SEQ_PUBLICATIONSET___VAR_CH_) -#define _RTECEVENTCHANNELADMIN__TAO__SEQ_PUBLICATIONSET___VAR_CH_ - -// ************************************************************* - // class RtecEventChannelAdmin::_tao__seq_PublicationSet_var - // ************************************************************* - - class _tao__seq_PublicationSet_var - { - public: - _tao__seq_PublicationSet_var (void); // default constructor - _tao__seq_PublicationSet_var (_tao__seq_PublicationSet *); - _tao__seq_PublicationSet_var (const _tao__seq_PublicationSet_var &); // copy constructor - ~_tao__seq_PublicationSet_var (void); // destructor - - _tao__seq_PublicationSet_var &operator= (_tao__seq_PublicationSet *); - _tao__seq_PublicationSet_var &operator= (const _tao__seq_PublicationSet_var &); - _tao__seq_PublicationSet *operator-> (void); - const _tao__seq_PublicationSet *operator-> (void) const; - - operator const _tao__seq_PublicationSet &() const; - operator _tao__seq_PublicationSet &(); - operator _tao__seq_PublicationSet &() const; - ACE_NESTED_CLASS (RtecEventChannelAdmin,Publication) &operator[] (CORBA::ULong index); - // in, inout, out, _retn - const _tao__seq_PublicationSet &in (void) const; - _tao__seq_PublicationSet &inout (void); - _tao__seq_PublicationSet *&out (void); - _tao__seq_PublicationSet *_retn (void); - _tao__seq_PublicationSet *ptr (void) const; - - private: - _tao__seq_PublicationSet *ptr_; - }; - - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCHANNELADMIN__TAO__SEQ_PUBLICATIONSET___OUT_CH_) -#define _RTECEVENTCHANNELADMIN__TAO__SEQ_PUBLICATIONSET___OUT_CH_ - - class _tao__seq_PublicationSet_out - { - public: - _tao__seq_PublicationSet_out (_tao__seq_PublicationSet *&); - _tao__seq_PublicationSet_out (_tao__seq_PublicationSet_var &); - _tao__seq_PublicationSet_out (_tao__seq_PublicationSet_out &); - _tao__seq_PublicationSet_out &operator= (_tao__seq_PublicationSet_out &); - _tao__seq_PublicationSet_out &operator= (_tao__seq_PublicationSet *); - operator _tao__seq_PublicationSet *&(); - _tao__seq_PublicationSet *&ptr (void); - _tao__seq_PublicationSet *operator-> (void); - ACE_NESTED_CLASS (RtecEventChannelAdmin,Publication) &operator[] (CORBA::ULong index); - - private: - _tao__seq_PublicationSet *&ptr_; - // assignment from T_var not allowed - void operator= (const _tao__seq_PublicationSet_var &); - }; - - -#endif // end #if !defined - - typedef ACE_NESTED_CLASS (RtecEventChannelAdmin,_tao__seq_PublicationSet) PublicationSet; - typedef ACE_NESTED_CLASS (RtecEventChannelAdmin,_tao__seq_PublicationSet_var) PublicationSet_var; - typedef ACE_NESTED_CLASS (RtecEventChannelAdmin,_tao__seq_PublicationSet_out) PublicationSet_out; - - static CORBA::TypeCode_ptr _tc_PublicationSet; - - struct SupplierQOS - { - ACE_NESTED_CLASS (RtecEventChannelAdmin,PublicationSet) publications_; - - }; - - class SupplierQOS_var - { - public: - SupplierQOS_var (void); // default constructor - SupplierQOS_var (SupplierQOS *); - SupplierQOS_var (const SupplierQOS_var &); // copy constructor - ~SupplierQOS_var (void); // destructor - - SupplierQOS_var &operator= (SupplierQOS *); - SupplierQOS_var &operator= (const SupplierQOS_var &); - SupplierQOS *operator-> (void); - const SupplierQOS *operator-> (void) const; - - operator const SupplierQOS &() const; - operator SupplierQOS &(); - operator SupplierQOS &() const; - // in, inout, out, _retn - const SupplierQOS &in (void) const; - SupplierQOS &inout (void); - SupplierQOS *&out (void); - SupplierQOS *_retn (void); - SupplierQOS *ptr(void) const; - - private: - SupplierQOS *ptr_; - }; - - class SupplierQOS_out - { - public: - SupplierQOS_out (SupplierQOS *&); - SupplierQOS_out (SupplierQOS_var &); - SupplierQOS_out (SupplierQOS_out &); - SupplierQOS_out &operator= (SupplierQOS_out &); - SupplierQOS_out &operator= (SupplierQOS *); - operator SupplierQOS *&(); - SupplierQOS *&ptr (void); - SupplierQOS *operator-> (void); - - private: - SupplierQOS *&ptr_; - // assignment from T_var not allowed - void operator= (const SupplierQOS_var &); - }; - - static CORBA::TypeCode_ptr _tc_SupplierQOS; - - -#if !defined (_RTECEVENTCHANNELADMIN_PROXYPUSHCONSUMER___PTR_CH_) -#define _RTECEVENTCHANNELADMIN_PROXYPUSHCONSUMER___PTR_CH_ - -class ProxyPushConsumer; - typedef ProxyPushConsumer *ProxyPushConsumer_ptr; - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCHANNELADMIN_PROXYPUSHCONSUMER_CH_) -#define _RTECEVENTCHANNELADMIN_PROXYPUSHCONSUMER_CH_ - -class ProxyPushConsumer: public virtual RtecEventComm::PushConsumer - { - public: - // the static operations - static ProxyPushConsumer_ptr _duplicate (ProxyPushConsumer_ptr obj); - static ProxyPushConsumer_ptr _narrow (CORBA::Object_ptr obj, CORBA::Environment &env); - static ProxyPushConsumer_ptr _nil (void); - static ProxyPushConsumer_ptr _bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env); - - virtual void connect_push_supplier (RtecEventComm::PushSupplier_ptr push_supplier, const ACE_NESTED_CLASS (RtecEventChannelAdmin,SupplierQOS) &qos, CORBA::Environment &env); - protected: - ProxyPushConsumer (void); // default constructor - ProxyPushConsumer (STUB_Object *objref); - virtual ~ProxyPushConsumer (void); - private: - ProxyPushConsumer (const ProxyPushConsumer&); - void operator= (const ProxyPushConsumer&); - }; - - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCHANNELADMIN_PROXYPUSHCONSUMER___VAR_CH_) -#define _RTECEVENTCHANNELADMIN_PROXYPUSHCONSUMER___VAR_CH_ - - class ProxyPushConsumer_var - { - public: - ProxyPushConsumer_var (void); // default constructor - ProxyPushConsumer_var (ProxyPushConsumer_ptr); - ProxyPushConsumer_var (const ProxyPushConsumer_var &); // copy constructor - ~ProxyPushConsumer_var (void); // destructor - - ProxyPushConsumer_var &operator= (ProxyPushConsumer_ptr); - ProxyPushConsumer_var &operator= (const ProxyPushConsumer_var &); - ProxyPushConsumer_ptr operator-> (void) const; - - operator const ProxyPushConsumer_ptr &() const; - operator ProxyPushConsumer_ptr &(); - // in, inout, out, _retn - ProxyPushConsumer_ptr in (void) const; - ProxyPushConsumer_ptr &inout (void); - ProxyPushConsumer_ptr &out (void); - ProxyPushConsumer_ptr _retn (void); - ProxyPushConsumer_ptr ptr (void) const; - - private: - ProxyPushConsumer_ptr ptr_; - }; - - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCHANNELADMIN_PROXYPUSHCONSUMER___OUT_CH_) -#define _RTECEVENTCHANNELADMIN_PROXYPUSHCONSUMER___OUT_CH_ - - class ProxyPushConsumer_out - { - public: - ProxyPushConsumer_out (ProxyPushConsumer_ptr &); - ProxyPushConsumer_out (ProxyPushConsumer_var &); - ProxyPushConsumer_out (ProxyPushConsumer_out &); - ProxyPushConsumer_out &operator= (ProxyPushConsumer_out &); - ProxyPushConsumer_out &operator= (const ProxyPushConsumer_var &); - ProxyPushConsumer_out &operator= (ProxyPushConsumer_ptr); - operator ProxyPushConsumer_ptr &(); - ProxyPushConsumer_ptr &ptr (void); - ProxyPushConsumer_ptr operator-> (void); - - private: - ProxyPushConsumer_ptr &ptr_; - }; - - -#endif // end #if !defined - - static CORBA::TypeCode_ptr _tc_ProxyPushConsumer; - - -#if !defined (_RTECEVENTCHANNELADMIN_PROXYPUSHSUPPLIER___PTR_CH_) -#define _RTECEVENTCHANNELADMIN_PROXYPUSHSUPPLIER___PTR_CH_ - -class ProxyPushSupplier; - typedef ProxyPushSupplier *ProxyPushSupplier_ptr; - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCHANNELADMIN_PROXYPUSHSUPPLIER_CH_) -#define _RTECEVENTCHANNELADMIN_PROXYPUSHSUPPLIER_CH_ - -class ProxyPushSupplier: public virtual RtecEventComm::PushSupplier - { - public: - // the static operations - static ProxyPushSupplier_ptr _duplicate (ProxyPushSupplier_ptr obj); - static ProxyPushSupplier_ptr _narrow (CORBA::Object_ptr obj, CORBA::Environment &env); - static ProxyPushSupplier_ptr _nil (void); - static ProxyPushSupplier_ptr _bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env); - - virtual void connect_push_consumer (RtecEventComm::PushConsumer_ptr push_consumer, const ACE_NESTED_CLASS (RtecEventChannelAdmin,ConsumerQOS) &qos, CORBA::Environment &env); - protected: - ProxyPushSupplier (void); // default constructor - ProxyPushSupplier (STUB_Object *objref); - virtual ~ProxyPushSupplier (void); - private: - ProxyPushSupplier (const ProxyPushSupplier&); - void operator= (const ProxyPushSupplier&); - }; - - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCHANNELADMIN_PROXYPUSHSUPPLIER___VAR_CH_) -#define _RTECEVENTCHANNELADMIN_PROXYPUSHSUPPLIER___VAR_CH_ - - class ProxyPushSupplier_var - { - public: - ProxyPushSupplier_var (void); // default constructor - ProxyPushSupplier_var (ProxyPushSupplier_ptr); - ProxyPushSupplier_var (const ProxyPushSupplier_var &); // copy constructor - ~ProxyPushSupplier_var (void); // destructor - - ProxyPushSupplier_var &operator= (ProxyPushSupplier_ptr); - ProxyPushSupplier_var &operator= (const ProxyPushSupplier_var &); - ProxyPushSupplier_ptr operator-> (void) const; - - operator const ProxyPushSupplier_ptr &() const; - operator ProxyPushSupplier_ptr &(); - // in, inout, out, _retn - ProxyPushSupplier_ptr in (void) const; - ProxyPushSupplier_ptr &inout (void); - ProxyPushSupplier_ptr &out (void); - ProxyPushSupplier_ptr _retn (void); - ProxyPushSupplier_ptr ptr (void) const; - - private: - ProxyPushSupplier_ptr ptr_; - }; - - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCHANNELADMIN_PROXYPUSHSUPPLIER___OUT_CH_) -#define _RTECEVENTCHANNELADMIN_PROXYPUSHSUPPLIER___OUT_CH_ - - class ProxyPushSupplier_out - { - public: - ProxyPushSupplier_out (ProxyPushSupplier_ptr &); - ProxyPushSupplier_out (ProxyPushSupplier_var &); - ProxyPushSupplier_out (ProxyPushSupplier_out &); - ProxyPushSupplier_out &operator= (ProxyPushSupplier_out &); - ProxyPushSupplier_out &operator= (const ProxyPushSupplier_var &); - ProxyPushSupplier_out &operator= (ProxyPushSupplier_ptr); - operator ProxyPushSupplier_ptr &(); - ProxyPushSupplier_ptr &ptr (void); - ProxyPushSupplier_ptr operator-> (void); - - private: - ProxyPushSupplier_ptr &ptr_; - }; - - -#endif // end #if !defined - - static CORBA::TypeCode_ptr _tc_ProxyPushSupplier; - - -#if !defined (_RTECEVENTCHANNELADMIN_CONSUMERADMIN___PTR_CH_) -#define _RTECEVENTCHANNELADMIN_CONSUMERADMIN___PTR_CH_ - -class ConsumerAdmin; - typedef ConsumerAdmin *ConsumerAdmin_ptr; - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCHANNELADMIN_CONSUMERADMIN_CH_) -#define _RTECEVENTCHANNELADMIN_CONSUMERADMIN_CH_ - -class ConsumerAdmin: public virtual ACE_CORBA_1 (Object) - { - public: - // the static operations - static ConsumerAdmin_ptr _duplicate (ConsumerAdmin_ptr obj); - static ConsumerAdmin_ptr _narrow (CORBA::Object_ptr obj, CORBA::Environment &env); - static ConsumerAdmin_ptr _nil (void); - static ConsumerAdmin_ptr _bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env); - - virtual ACE_NESTED_CLASS (RtecEventChannelAdmin,ProxyPushSupplier_ptr) obtain_push_supplier (CORBA::Environment &env); - protected: - ConsumerAdmin (void); // default constructor - ConsumerAdmin (STUB_Object *objref); - virtual ~ConsumerAdmin (void); - private: - ConsumerAdmin (const ConsumerAdmin&); - void operator= (const ConsumerAdmin&); - }; - - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCHANNELADMIN_CONSUMERADMIN___VAR_CH_) -#define _RTECEVENTCHANNELADMIN_CONSUMERADMIN___VAR_CH_ - - class ConsumerAdmin_var - { - public: - ConsumerAdmin_var (void); // default constructor - ConsumerAdmin_var (ConsumerAdmin_ptr); - ConsumerAdmin_var (const ConsumerAdmin_var &); // copy constructor - ~ConsumerAdmin_var (void); // destructor - - ConsumerAdmin_var &operator= (ConsumerAdmin_ptr); - ConsumerAdmin_var &operator= (const ConsumerAdmin_var &); - ConsumerAdmin_ptr operator-> (void) const; - - operator const ConsumerAdmin_ptr &() const; - operator ConsumerAdmin_ptr &(); - // in, inout, out, _retn - ConsumerAdmin_ptr in (void) const; - ConsumerAdmin_ptr &inout (void); - ConsumerAdmin_ptr &out (void); - ConsumerAdmin_ptr _retn (void); - ConsumerAdmin_ptr ptr (void) const; - - private: - ConsumerAdmin_ptr ptr_; - }; - - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCHANNELADMIN_CONSUMERADMIN___OUT_CH_) -#define _RTECEVENTCHANNELADMIN_CONSUMERADMIN___OUT_CH_ - - class ConsumerAdmin_out - { - public: - ConsumerAdmin_out (ConsumerAdmin_ptr &); - ConsumerAdmin_out (ConsumerAdmin_var &); - ConsumerAdmin_out (ConsumerAdmin_out &); - ConsumerAdmin_out &operator= (ConsumerAdmin_out &); - ConsumerAdmin_out &operator= (const ConsumerAdmin_var &); - ConsumerAdmin_out &operator= (ConsumerAdmin_ptr); - operator ConsumerAdmin_ptr &(); - ConsumerAdmin_ptr &ptr (void); - ConsumerAdmin_ptr operator-> (void); - - private: - ConsumerAdmin_ptr &ptr_; - }; - - -#endif // end #if !defined - - static CORBA::TypeCode_ptr _tc_ConsumerAdmin; - - -#if !defined (_RTECEVENTCHANNELADMIN_SUPPLIERADMIN___PTR_CH_) -#define _RTECEVENTCHANNELADMIN_SUPPLIERADMIN___PTR_CH_ - -class SupplierAdmin; - typedef SupplierAdmin *SupplierAdmin_ptr; - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCHANNELADMIN_SUPPLIERADMIN_CH_) -#define _RTECEVENTCHANNELADMIN_SUPPLIERADMIN_CH_ - -class SupplierAdmin: public virtual ACE_CORBA_1 (Object) - { - public: - // the static operations - static SupplierAdmin_ptr _duplicate (SupplierAdmin_ptr obj); - static SupplierAdmin_ptr _narrow (CORBA::Object_ptr obj, CORBA::Environment &env); - static SupplierAdmin_ptr _nil (void); - static SupplierAdmin_ptr _bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env); - - virtual ACE_NESTED_CLASS (RtecEventChannelAdmin,ProxyPushConsumer_ptr) obtain_push_consumer (CORBA::Environment &env); - protected: - SupplierAdmin (void); // default constructor - SupplierAdmin (STUB_Object *objref); - virtual ~SupplierAdmin (void); - private: - SupplierAdmin (const SupplierAdmin&); - void operator= (const SupplierAdmin&); - }; - - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCHANNELADMIN_SUPPLIERADMIN___VAR_CH_) -#define _RTECEVENTCHANNELADMIN_SUPPLIERADMIN___VAR_CH_ - - class SupplierAdmin_var - { - public: - SupplierAdmin_var (void); // default constructor - SupplierAdmin_var (SupplierAdmin_ptr); - SupplierAdmin_var (const SupplierAdmin_var &); // copy constructor - ~SupplierAdmin_var (void); // destructor - - SupplierAdmin_var &operator= (SupplierAdmin_ptr); - SupplierAdmin_var &operator= (const SupplierAdmin_var &); - SupplierAdmin_ptr operator-> (void) const; - - operator const SupplierAdmin_ptr &() const; - operator SupplierAdmin_ptr &(); - // in, inout, out, _retn - SupplierAdmin_ptr in (void) const; - SupplierAdmin_ptr &inout (void); - SupplierAdmin_ptr &out (void); - SupplierAdmin_ptr _retn (void); - SupplierAdmin_ptr ptr (void) const; - - private: - SupplierAdmin_ptr ptr_; - }; - - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCHANNELADMIN_SUPPLIERADMIN___OUT_CH_) -#define _RTECEVENTCHANNELADMIN_SUPPLIERADMIN___OUT_CH_ - - class SupplierAdmin_out - { - public: - SupplierAdmin_out (SupplierAdmin_ptr &); - SupplierAdmin_out (SupplierAdmin_var &); - SupplierAdmin_out (SupplierAdmin_out &); - SupplierAdmin_out &operator= (SupplierAdmin_out &); - SupplierAdmin_out &operator= (const SupplierAdmin_var &); - SupplierAdmin_out &operator= (SupplierAdmin_ptr); - operator SupplierAdmin_ptr &(); - SupplierAdmin_ptr &ptr (void); - SupplierAdmin_ptr operator-> (void); - - private: - SupplierAdmin_ptr &ptr_; - }; - - -#endif // end #if !defined - - static CORBA::TypeCode_ptr _tc_SupplierAdmin; - - -#if !defined (_RTECEVENTCHANNELADMIN_EVENTCHANNEL___PTR_CH_) -#define _RTECEVENTCHANNELADMIN_EVENTCHANNEL___PTR_CH_ - -class EventChannel; - typedef EventChannel *EventChannel_ptr; - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCHANNELADMIN_EVENTCHANNEL_CH_) -#define _RTECEVENTCHANNELADMIN_EVENTCHANNEL_CH_ - -class EventChannel: public virtual ACE_CORBA_1 (Object) - { - public: - // the static operations - static EventChannel_ptr _duplicate (EventChannel_ptr obj); - static EventChannel_ptr _narrow (CORBA::Object_ptr obj, CORBA::Environment &env); - static EventChannel_ptr _nil (void); - static EventChannel_ptr _bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env); - - -#if !defined (_RTECEVENTCHANNELADMIN_EVENTCHANNEL_SYNCHRONIZATION_ERROR___PTR_CH_) -#define _RTECEVENTCHANNELADMIN_EVENTCHANNEL_SYNCHRONIZATION_ERROR___PTR_CH_ - - class SYNCHRONIZATION_ERROR; - typedef SYNCHRONIZATION_ERROR *SYNCHRONIZATION_ERROR_ptr; - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCHANNELADMIN_EVENTCHANNEL_SYNCHRONIZATION_ERROR_CH_) -#define _RTECEVENTCHANNELADMIN_EVENTCHANNEL_SYNCHRONIZATION_ERROR_CH_ - - class SYNCHRONIZATION_ERROR : public virtual CORBA::UserException - { - public: - SYNCHRONIZATION_ERROR (void); - }; - - -#endif // end #if !defined - -static CORBA::TypeCode_ptr _tc_SYNCHRONIZATION_ERROR; - - -#if !defined (_RTECEVENTCHANNELADMIN_EVENTCHANNEL_QOS_ERROR___PTR_CH_) -#define _RTECEVENTCHANNELADMIN_EVENTCHANNEL_QOS_ERROR___PTR_CH_ - - class QOS_ERROR; - typedef QOS_ERROR *QOS_ERROR_ptr; - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCHANNELADMIN_EVENTCHANNEL_QOS_ERROR_CH_) -#define _RTECEVENTCHANNELADMIN_EVENTCHANNEL_QOS_ERROR_CH_ - - class QOS_ERROR : public virtual CORBA::UserException - { - public: - QOS_ERROR (void); - }; - - -#endif // end #if !defined - -static CORBA::TypeCode_ptr _tc_QOS_ERROR; - - -#if !defined (_RTECEVENTCHANNELADMIN_EVENTCHANNEL_SUBSCRIPTION_ERROR___PTR_CH_) -#define _RTECEVENTCHANNELADMIN_EVENTCHANNEL_SUBSCRIPTION_ERROR___PTR_CH_ - - class SUBSCRIPTION_ERROR; - typedef SUBSCRIPTION_ERROR *SUBSCRIPTION_ERROR_ptr; - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCHANNELADMIN_EVENTCHANNEL_SUBSCRIPTION_ERROR_CH_) -#define _RTECEVENTCHANNELADMIN_EVENTCHANNEL_SUBSCRIPTION_ERROR_CH_ - - class SUBSCRIPTION_ERROR : public virtual CORBA::UserException - { - public: - SUBSCRIPTION_ERROR (void); - }; - - -#endif // end #if !defined - -static CORBA::TypeCode_ptr _tc_SUBSCRIPTION_ERROR; - - -#if !defined (_RTECEVENTCHANNELADMIN_EVENTCHANNEL_CORRELATION_ERROR___PTR_CH_) -#define _RTECEVENTCHANNELADMIN_EVENTCHANNEL_CORRELATION_ERROR___PTR_CH_ - - class CORRELATION_ERROR; - typedef CORRELATION_ERROR *CORRELATION_ERROR_ptr; - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCHANNELADMIN_EVENTCHANNEL_CORRELATION_ERROR_CH_) -#define _RTECEVENTCHANNELADMIN_EVENTCHANNEL_CORRELATION_ERROR_CH_ - - class CORRELATION_ERROR : public virtual CORBA::UserException - { - public: - CORRELATION_ERROR (void); - }; - - -#endif // end #if !defined - -static CORBA::TypeCode_ptr _tc_CORRELATION_ERROR; - - -#if !defined (_RTECEVENTCHANNELADMIN_EVENTCHANNEL_DISPATCH_ERROR___PTR_CH_) -#define _RTECEVENTCHANNELADMIN_EVENTCHANNEL_DISPATCH_ERROR___PTR_CH_ - - class DISPATCH_ERROR; - typedef DISPATCH_ERROR *DISPATCH_ERROR_ptr; - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCHANNELADMIN_EVENTCHANNEL_DISPATCH_ERROR_CH_) -#define _RTECEVENTCHANNELADMIN_EVENTCHANNEL_DISPATCH_ERROR_CH_ - - class DISPATCH_ERROR : public virtual CORBA::UserException - { - public: - DISPATCH_ERROR (void); - }; - - -#endif // end #if !defined - -static CORBA::TypeCode_ptr _tc_DISPATCH_ERROR; - - virtual ACE_NESTED_CLASS (RtecEventChannelAdmin,ConsumerAdmin_ptr) for_consumers (CORBA::Environment &env); - virtual ACE_NESTED_CLASS (RtecEventChannelAdmin,SupplierAdmin_ptr) for_suppliers (CORBA::Environment &env); - virtual void destroy (CORBA::Environment &env); - protected: - EventChannel (void); // default constructor - EventChannel (STUB_Object *objref); - virtual ~EventChannel (void); - private: - EventChannel (const EventChannel&); - void operator= (const EventChannel&); - }; - - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCHANNELADMIN_EVENTCHANNEL___VAR_CH_) -#define _RTECEVENTCHANNELADMIN_EVENTCHANNEL___VAR_CH_ - - class EventChannel_var - { - public: - EventChannel_var (void); // default constructor - EventChannel_var (EventChannel_ptr); - EventChannel_var (const EventChannel_var &); // copy constructor - ~EventChannel_var (void); // destructor - - EventChannel_var &operator= (EventChannel_ptr); - EventChannel_var &operator= (const EventChannel_var &); - EventChannel_ptr operator-> (void) const; - - operator const EventChannel_ptr &() const; - operator EventChannel_ptr &(); - // in, inout, out, _retn - EventChannel_ptr in (void) const; - EventChannel_ptr &inout (void); - EventChannel_ptr &out (void); - EventChannel_ptr _retn (void); - EventChannel_ptr ptr (void) const; - - private: - EventChannel_ptr ptr_; - }; - - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCHANNELADMIN_EVENTCHANNEL___OUT_CH_) -#define _RTECEVENTCHANNELADMIN_EVENTCHANNEL___OUT_CH_ - - class EventChannel_out - { - public: - EventChannel_out (EventChannel_ptr &); - EventChannel_out (EventChannel_var &); - EventChannel_out (EventChannel_out &); - EventChannel_out &operator= (EventChannel_out &); - EventChannel_out &operator= (const EventChannel_var &); - EventChannel_out &operator= (EventChannel_ptr); - operator EventChannel_ptr &(); - EventChannel_ptr &ptr (void); - EventChannel_ptr operator-> (void); - - private: - EventChannel_ptr &ptr_; - }; - - -#endif // end #if !defined - - static CORBA::TypeCode_ptr _tc_EventChannel; - -}; - - -#if defined (__ACE_INLINE__) -#include "RtecEventChannelAdminC.i" -#endif // defined INLINE - - -#endif // if !defined diff --git a/TAO/orbsvcs/lib/RtecEventChannelAdminC.i b/TAO/orbsvcs/lib/RtecEventChannelAdminC.i deleted file mode 100644 index 0cb79d07449..00000000000 --- a/TAO/orbsvcs/lib/RtecEventChannelAdminC.i +++ /dev/null @@ -1,2053 +0,0 @@ -// ****** Code generated by the The ACE ORB (TAO) IDL Compiler ******* -// TAO ORB and the TAO IDL Compiler have been developed by Washington -// University Computer Science's Distributed Object Computing Group. -// -// Information on TAO is available at -// http://www.cs.wustl.edu/~schmidt/TAO.html - -// ************************************************************* -// Inline operations for exception RtecEventChannelAdmin::AlreadyConnected -// ************************************************************* - -// default constructor -ACE_INLINE -RtecEventChannelAdmin::AlreadyConnected::AlreadyConnected (void) - : CORBA_UserException (_tc_AlreadyConnected) -{ -} - -// ************************************************************* -// Inline operations for exception RtecEventChannelAdmin::TypeError -// ************************************************************* - -// default constructor -ACE_INLINE -RtecEventChannelAdmin::TypeError::TypeError (void) - : CORBA_UserException (_tc_TypeError) -{ -} - -// ************************************************************* -// Inline operations for class RtecEventChannelAdmin::Dependency_var -// ************************************************************* - -ACE_INLINE -RtecEventChannelAdmin::Dependency_var::Dependency_var (void) // default constructor - : ptr_ (0) -{} - -ACE_INLINE -RtecEventChannelAdmin::Dependency_var::Dependency_var (RtecEventChannelAdmin::Dependency *p) - : ptr_ (p) -{} - -ACE_INLINE -RtecEventChannelAdmin::Dependency_var::Dependency_var (const RtecEventChannelAdmin::Dependency_var &p) // copy constructor -{ - if (p.ptr_) - this->ptr_ = new RtecEventChannelAdmin::Dependency(*p.ptr_); - else - this->ptr_ = 0; -} - -ACE_INLINE -RtecEventChannelAdmin::Dependency_var::~Dependency_var (void) // destructor -{ - delete this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::Dependency_var & -RtecEventChannelAdmin::Dependency_var::operator= (RtecEventChannelAdmin::Dependency *p) -{ - delete this->ptr_; - this->ptr_ = p; - return *this; -} - -ACE_INLINE RtecEventChannelAdmin::Dependency_var & -RtecEventChannelAdmin::Dependency_var::operator= (const RtecEventChannelAdmin::Dependency_var &p) -{ - if (this != &p) - { - delete this->ptr_; - this->ptr_ = new RtecEventChannelAdmin::Dependency (*p.ptr_); - } - return *this; -} - -ACE_INLINE const RtecEventChannelAdmin::Dependency * -RtecEventChannelAdmin::Dependency_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::Dependency * -RtecEventChannelAdmin::Dependency_var::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE -RtecEventChannelAdmin::Dependency_var::operator const RtecEventChannelAdmin::Dependency &() const // cast -{ - return *this->ptr_; -} - -ACE_INLINE -RtecEventChannelAdmin::Dependency_var::operator RtecEventChannelAdmin::Dependency &() // cast -{ - return *this->ptr_; -} - -ACE_INLINE -RtecEventChannelAdmin::Dependency_var::operator RtecEventChannelAdmin::Dependency &() const// cast -{ - return *this->ptr_; -} - -ACE_INLINE const RtecEventChannelAdmin::Dependency & -RtecEventChannelAdmin::Dependency_var::in (void) const -{ - return *this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::Dependency & -RtecEventChannelAdmin::Dependency_var::inout (void) -{ - return *this->ptr_; -} - -// mapping for fixed size -ACE_INLINE RtecEventChannelAdmin::Dependency & -RtecEventChannelAdmin::Dependency_var::out (void) -{ - return *this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::Dependency -RtecEventChannelAdmin::Dependency_var::_retn (void) -{ - return *this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::Dependency * -RtecEventChannelAdmin::Dependency_var::ptr (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::Dependency * -RtecEventChannelAdmin::_tao__seq_DependencySet::allocbuf (CORBA::ULong nelems) -{ - return new RtecEventChannelAdmin::Dependency[nelems]; // allocate from heap -} - -ACE_INLINE void -RtecEventChannelAdmin::_tao__seq_DependencySet::freebuf (RtecEventChannelAdmin::Dependency *seq) -{ - delete [] seq; -} - -//default constructor -ACE_INLINE -RtecEventChannelAdmin::_tao__seq_DependencySet::_tao__seq_DependencySet (void) - : maximum_ (0), - length_ (0), - buffer_ (0), - release_ (0) // does not own -{} - -// constructor for unbounded seq -ACE_INLINE -RtecEventChannelAdmin::_tao__seq_DependencySet::_tao__seq_DependencySet(CORBA::ULong max ) - : maximum_ (max), - length_ (0), - buffer_ (RtecEventChannelAdmin::_tao__seq_DependencySet::allocbuf (max)), - release_ (1) // owns -{} - -// constructor from data buffer -ACE_INLINE -RtecEventChannelAdmin::_tao__seq_DependencySet::_tao__seq_DependencySet (CORBA::ULong max, CORBA::ULong length, - RtecEventChannelAdmin::Dependency *value, CORBA::Boolean release) - : maximum_ (max), - length_ (length), - buffer_ (value), - release_ (release) // ownership depends on release -{} - -ACE_INLINE CORBA::ULong -RtecEventChannelAdmin::_tao__seq_DependencySet::maximum (void) const -{ - return this->maximum_; -} - -ACE_INLINE CORBA::ULong -RtecEventChannelAdmin::_tao__seq_DependencySet::length (void) const -{ - return this->length_; -} - -ACE_INLINE RtecEventChannelAdmin::Dependency & -RtecEventChannelAdmin::_tao__seq_DependencySet::operator[] (CORBA::ULong index) // read/write -{ - return this->buffer_[index]; -} - -ACE_INLINE const RtecEventChannelAdmin::Dependency & -RtecEventChannelAdmin::_tao__seq_DependencySet::operator[] (CORBA::ULong index) const // read -{ - return this->buffer_[index]; -} - -// ************************************************************* -// Inline operations for class RtecEventChannelAdmin::_tao__seq_DependencySet_var -// ************************************************************* - -ACE_INLINE -RtecEventChannelAdmin::_tao__seq_DependencySet_var::_tao__seq_DependencySet_var (void) // default constructor - : ptr_ (0) -{} - -ACE_INLINE -RtecEventChannelAdmin::_tao__seq_DependencySet_var::_tao__seq_DependencySet_var (RtecEventChannelAdmin::_tao__seq_DependencySet_ptr p) - : ptr_ (p) -{} - -ACE_INLINE -RtecEventChannelAdmin::_tao__seq_DependencySet_var::_tao__seq_DependencySet_var (const RtecEventChannelAdmin::_tao__seq_DependencySet_var &p) // copy constructor -{ - if (p.ptr_) - this->ptr_ = new RtecEventChannelAdmin::_tao__seq_DependencySet(*p.ptr_); - else - this->ptr_ = 0; -} - -ACE_INLINE -RtecEventChannelAdmin::_tao__seq_DependencySet_var::~_tao__seq_DependencySet_var (void) // destructor -{ - delete this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::_tao__seq_DependencySet_var & -RtecEventChannelAdmin::_tao__seq_DependencySet_var::operator= (RtecEventChannelAdmin::_tao__seq_DependencySet *p) -{ - delete this->ptr_; - this->ptr_ = p; - return *this; -} - -ACE_INLINE RtecEventChannelAdmin::_tao__seq_DependencySet_var & -RtecEventChannelAdmin::_tao__seq_DependencySet_var::operator= (const RtecEventChannelAdmin::_tao__seq_DependencySet_var &p) // deep copy -{ - if (this != &p) - { - delete this->ptr_; - this->ptr_ = new RtecEventChannelAdmin::_tao__seq_DependencySet (*p.ptr_); - } - return *this; -} - -ACE_INLINE const RtecEventChannelAdmin::_tao__seq_DependencySet * -RtecEventChannelAdmin::_tao__seq_DependencySet_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::_tao__seq_DependencySet * -RtecEventChannelAdmin::_tao__seq_DependencySet_var::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE -RtecEventChannelAdmin::_tao__seq_DependencySet_var::operator const RtecEventChannelAdmin::_tao__seq_DependencySet &() const // cast -{ - return *this->ptr_; -} - -ACE_INLINE -RtecEventChannelAdmin::_tao__seq_DependencySet_var::operator RtecEventChannelAdmin::_tao__seq_DependencySet &() // cast -{ - return *this->ptr_; -} - -ACE_INLINE -RtecEventChannelAdmin::_tao__seq_DependencySet_var::operator RtecEventChannelAdmin::_tao__seq_DependencySet &() const// cast -{ - return *this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::Dependency& -RtecEventChannelAdmin::_tao__seq_DependencySet_var::operator[] (CORBA::ULong index) -{ - return this->ptr_->operator[] (index); -} - -ACE_INLINE const RtecEventChannelAdmin::_tao__seq_DependencySet & -RtecEventChannelAdmin::_tao__seq_DependencySet_var::in (void) const -{ - return *this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::_tao__seq_DependencySet & -RtecEventChannelAdmin::_tao__seq_DependencySet_var::inout (void) -{ - return *this->ptr_; -} - -// mapping for variable size -ACE_INLINE RtecEventChannelAdmin::_tao__seq_DependencySet *& -RtecEventChannelAdmin::_tao__seq_DependencySet_var::out (void) -{ - delete this->ptr_; - this->ptr_ = 0; - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::_tao__seq_DependencySet * -RtecEventChannelAdmin::_tao__seq_DependencySet_var::_retn (void) -{ - RtecEventChannelAdmin::_tao__seq_DependencySet *tmp = this->ptr_; - this->ptr_ = 0; - return tmp; -} - -ACE_INLINE RtecEventChannelAdmin::_tao__seq_DependencySet * -RtecEventChannelAdmin::_tao__seq_DependencySet_var::ptr (void) const -{ - return this->ptr_; -} - -// ************************************************************* -// Inline operations for class RtecEventChannelAdmin::_tao__seq_DependencySet_out -// ************************************************************* - -ACE_INLINE -RtecEventChannelAdmin::_tao__seq_DependencySet_out::_tao__seq_DependencySet_out (RtecEventChannelAdmin::_tao__seq_DependencySet *&p) - : ptr_ (p) -{ - this->ptr_ = 0; -} - -ACE_INLINE -RtecEventChannelAdmin::_tao__seq_DependencySet_out::_tao__seq_DependencySet_out (RtecEventChannelAdmin::_tao__seq_DependencySet_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - delete this->ptr_; - this->ptr_ = 0; -} - -ACE_INLINE -RtecEventChannelAdmin::_tao__seq_DependencySet_out::_tao__seq_DependencySet_out (RtecEventChannelAdmin::_tao__seq_DependencySet_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE RtecEventChannelAdmin::_tao__seq_DependencySet_out & -RtecEventChannelAdmin::_tao__seq_DependencySet_out::operator= (RtecEventChannelAdmin::_tao__seq_DependencySet_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE RtecEventChannelAdmin::_tao__seq_DependencySet_out & -RtecEventChannelAdmin::_tao__seq_DependencySet_out::operator= (RtecEventChannelAdmin::_tao__seq_DependencySet *p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -RtecEventChannelAdmin::_tao__seq_DependencySet_out::operator RtecEventChannelAdmin::_tao__seq_DependencySet *&() // cast -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::_tao__seq_DependencySet *& -RtecEventChannelAdmin::_tao__seq_DependencySet_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::_tao__seq_DependencySet * -RtecEventChannelAdmin::_tao__seq_DependencySet_out::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::Dependency& -RtecEventChannelAdmin::_tao__seq_DependencySet_out::operator[] (CORBA::ULong index) -{ - return this->ptr_->operator[] (index); -} - -// ************************************************************* -// Inline operations for class RtecEventChannelAdmin::ConsumerQOS_var -// ************************************************************* - -ACE_INLINE -RtecEventChannelAdmin::ConsumerQOS_var::ConsumerQOS_var (void) // default constructor - : ptr_ (0) -{} - -ACE_INLINE -RtecEventChannelAdmin::ConsumerQOS_var::ConsumerQOS_var (RtecEventChannelAdmin::ConsumerQOS *p) - : ptr_ (p) -{} - -ACE_INLINE -RtecEventChannelAdmin::ConsumerQOS_var::ConsumerQOS_var (const RtecEventChannelAdmin::ConsumerQOS_var &p) // copy constructor -{ - if (p.ptr_) - this->ptr_ = new RtecEventChannelAdmin::ConsumerQOS(*p.ptr_); - else - this->ptr_ = 0; -} - -ACE_INLINE -RtecEventChannelAdmin::ConsumerQOS_var::~ConsumerQOS_var (void) // destructor -{ - delete this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::ConsumerQOS_var & -RtecEventChannelAdmin::ConsumerQOS_var::operator= (RtecEventChannelAdmin::ConsumerQOS *p) -{ - delete this->ptr_; - this->ptr_ = p; - return *this; -} - -ACE_INLINE RtecEventChannelAdmin::ConsumerQOS_var & -RtecEventChannelAdmin::ConsumerQOS_var::operator= (const RtecEventChannelAdmin::ConsumerQOS_var &p) -{ - if (this != &p) - { - delete this->ptr_; - this->ptr_ = new RtecEventChannelAdmin::ConsumerQOS (*p.ptr_); - } - return *this; -} - -ACE_INLINE const RtecEventChannelAdmin::ConsumerQOS * -RtecEventChannelAdmin::ConsumerQOS_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::ConsumerQOS * -RtecEventChannelAdmin::ConsumerQOS_var::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE -RtecEventChannelAdmin::ConsumerQOS_var::operator const RtecEventChannelAdmin::ConsumerQOS &() const // cast -{ - return *this->ptr_; -} - -ACE_INLINE -RtecEventChannelAdmin::ConsumerQOS_var::operator RtecEventChannelAdmin::ConsumerQOS &() // cast -{ - return *this->ptr_; -} - -ACE_INLINE -RtecEventChannelAdmin::ConsumerQOS_var::operator RtecEventChannelAdmin::ConsumerQOS &() const// cast -{ - return *this->ptr_; -} - -ACE_INLINE const RtecEventChannelAdmin::ConsumerQOS & -RtecEventChannelAdmin::ConsumerQOS_var::in (void) const -{ - return *this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::ConsumerQOS & -RtecEventChannelAdmin::ConsumerQOS_var::inout (void) -{ - return *this->ptr_; -} - -// mapping for variable size -ACE_INLINE RtecEventChannelAdmin::ConsumerQOS *& -RtecEventChannelAdmin::ConsumerQOS_var::out (void) -{ - delete this->ptr_; - this->ptr_ = 0; - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::ConsumerQOS * -RtecEventChannelAdmin::ConsumerQOS_var::_retn (void) -{ - RtecEventChannelAdmin::ConsumerQOS *tmp = this->ptr_; - this->ptr_ = 0; - return tmp; -} - -// ************************************************************* -// Inline operations for class RtecEventChannelAdmin::ConsumerQOS_out -// ************************************************************* - -ACE_INLINE -RtecEventChannelAdmin::ConsumerQOS_out::ConsumerQOS_out (RtecEventChannelAdmin::ConsumerQOS *&p) - : ptr_ (p) -{ - this->ptr_ = 0; -} - -ACE_INLINE -RtecEventChannelAdmin::ConsumerQOS_out::ConsumerQOS_out (RtecEventChannelAdmin::ConsumerQOS_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - delete this->ptr_; - this->ptr_ = 0; -} - -ACE_INLINE -RtecEventChannelAdmin::ConsumerQOS_out::ConsumerQOS_out (RtecEventChannelAdmin::ConsumerQOS_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE RtecEventChannelAdmin::ConsumerQOS_out & -RtecEventChannelAdmin::ConsumerQOS_out::operator= (RtecEventChannelAdmin::ConsumerQOS_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE RtecEventChannelAdmin::ConsumerQOS_out & -RtecEventChannelAdmin::ConsumerQOS_out::operator= (RtecEventChannelAdmin::ConsumerQOS *p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -RtecEventChannelAdmin::ConsumerQOS_out::operator RtecEventChannelAdmin::ConsumerQOS *&() // cast -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::ConsumerQOS *& -RtecEventChannelAdmin::ConsumerQOS_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::ConsumerQOS * -RtecEventChannelAdmin::ConsumerQOS_out::operator-> (void) -{ - return this->ptr_; -} - -// ************************************************************* -// Inline operations for class RtecEventChannelAdmin::Publication_var -// ************************************************************* - -ACE_INLINE -RtecEventChannelAdmin::Publication_var::Publication_var (void) // default constructor - : ptr_ (0) -{} - -ACE_INLINE -RtecEventChannelAdmin::Publication_var::Publication_var (RtecEventChannelAdmin::Publication *p) - : ptr_ (p) -{} - -ACE_INLINE -RtecEventChannelAdmin::Publication_var::Publication_var (const RtecEventChannelAdmin::Publication_var &p) // copy constructor -{ - if (p.ptr_) - this->ptr_ = new RtecEventChannelAdmin::Publication(*p.ptr_); - else - this->ptr_ = 0; -} - -ACE_INLINE -RtecEventChannelAdmin::Publication_var::~Publication_var (void) // destructor -{ - delete this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::Publication_var & -RtecEventChannelAdmin::Publication_var::operator= (RtecEventChannelAdmin::Publication *p) -{ - delete this->ptr_; - this->ptr_ = p; - return *this; -} - -ACE_INLINE RtecEventChannelAdmin::Publication_var & -RtecEventChannelAdmin::Publication_var::operator= (const RtecEventChannelAdmin::Publication_var &p) -{ - if (this != &p) - { - delete this->ptr_; - this->ptr_ = new RtecEventChannelAdmin::Publication (*p.ptr_); - } - return *this; -} - -ACE_INLINE const RtecEventChannelAdmin::Publication * -RtecEventChannelAdmin::Publication_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::Publication * -RtecEventChannelAdmin::Publication_var::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE -RtecEventChannelAdmin::Publication_var::operator const RtecEventChannelAdmin::Publication &() const // cast -{ - return *this->ptr_; -} - -ACE_INLINE -RtecEventChannelAdmin::Publication_var::operator RtecEventChannelAdmin::Publication &() // cast -{ - return *this->ptr_; -} - -ACE_INLINE -RtecEventChannelAdmin::Publication_var::operator RtecEventChannelAdmin::Publication &() const// cast -{ - return *this->ptr_; -} - -ACE_INLINE const RtecEventChannelAdmin::Publication & -RtecEventChannelAdmin::Publication_var::in (void) const -{ - return *this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::Publication & -RtecEventChannelAdmin::Publication_var::inout (void) -{ - return *this->ptr_; -} - -// mapping for fixed size -ACE_INLINE RtecEventChannelAdmin::Publication & -RtecEventChannelAdmin::Publication_var::out (void) -{ - return *this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::Publication -RtecEventChannelAdmin::Publication_var::_retn (void) -{ - return *this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::Publication * -RtecEventChannelAdmin::Publication_var::ptr (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::Publication * -RtecEventChannelAdmin::_tao__seq_PublicationSet::allocbuf (CORBA::ULong nelems) -{ - return new RtecEventChannelAdmin::Publication[nelems]; // allocate from heap -} - -ACE_INLINE void -RtecEventChannelAdmin::_tao__seq_PublicationSet::freebuf (RtecEventChannelAdmin::Publication *seq) -{ - delete [] seq; -} - -//default constructor -ACE_INLINE -RtecEventChannelAdmin::_tao__seq_PublicationSet::_tao__seq_PublicationSet (void) - : maximum_ (0), - length_ (0), - buffer_ (0), - release_ (0) // does not own -{} - -// constructor for unbounded seq -ACE_INLINE -RtecEventChannelAdmin::_tao__seq_PublicationSet::_tao__seq_PublicationSet(CORBA::ULong max ) - : maximum_ (max), - length_ (0), - buffer_ (RtecEventChannelAdmin::_tao__seq_PublicationSet::allocbuf (max)), - release_ (1) // owns -{} - -// constructor from data buffer -ACE_INLINE -RtecEventChannelAdmin::_tao__seq_PublicationSet::_tao__seq_PublicationSet (CORBA::ULong max, CORBA::ULong length, - RtecEventChannelAdmin::Publication *value, CORBA::Boolean release) - : maximum_ (max), - length_ (length), - buffer_ (value), - release_ (release) // ownership depends on release -{} - -ACE_INLINE CORBA::ULong -RtecEventChannelAdmin::_tao__seq_PublicationSet::maximum (void) const -{ - return this->maximum_; -} - -ACE_INLINE CORBA::ULong -RtecEventChannelAdmin::_tao__seq_PublicationSet::length (void) const -{ - return this->length_; -} - -ACE_INLINE RtecEventChannelAdmin::Publication & -RtecEventChannelAdmin::_tao__seq_PublicationSet::operator[] (CORBA::ULong index) // read/write -{ - return this->buffer_[index]; -} - -ACE_INLINE const RtecEventChannelAdmin::Publication & -RtecEventChannelAdmin::_tao__seq_PublicationSet::operator[] (CORBA::ULong index) const // read -{ - return this->buffer_[index]; -} - -// ************************************************************* -// Inline operations for class RtecEventChannelAdmin::_tao__seq_PublicationSet_var -// ************************************************************* - -ACE_INLINE -RtecEventChannelAdmin::_tao__seq_PublicationSet_var::_tao__seq_PublicationSet_var (void) // default constructor - : ptr_ (0) -{} - -ACE_INLINE -RtecEventChannelAdmin::_tao__seq_PublicationSet_var::_tao__seq_PublicationSet_var (RtecEventChannelAdmin::_tao__seq_PublicationSet_ptr p) - : ptr_ (p) -{} - -ACE_INLINE -RtecEventChannelAdmin::_tao__seq_PublicationSet_var::_tao__seq_PublicationSet_var (const RtecEventChannelAdmin::_tao__seq_PublicationSet_var &p) // copy constructor -{ - if (p.ptr_) - this->ptr_ = new RtecEventChannelAdmin::_tao__seq_PublicationSet(*p.ptr_); - else - this->ptr_ = 0; -} - -ACE_INLINE -RtecEventChannelAdmin::_tao__seq_PublicationSet_var::~_tao__seq_PublicationSet_var (void) // destructor -{ - delete this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::_tao__seq_PublicationSet_var & -RtecEventChannelAdmin::_tao__seq_PublicationSet_var::operator= (RtecEventChannelAdmin::_tao__seq_PublicationSet *p) -{ - delete this->ptr_; - this->ptr_ = p; - return *this; -} - -ACE_INLINE RtecEventChannelAdmin::_tao__seq_PublicationSet_var & -RtecEventChannelAdmin::_tao__seq_PublicationSet_var::operator= (const RtecEventChannelAdmin::_tao__seq_PublicationSet_var &p) // deep copy -{ - if (this != &p) - { - delete this->ptr_; - this->ptr_ = new RtecEventChannelAdmin::_tao__seq_PublicationSet (*p.ptr_); - } - return *this; -} - -ACE_INLINE const RtecEventChannelAdmin::_tao__seq_PublicationSet * -RtecEventChannelAdmin::_tao__seq_PublicationSet_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::_tao__seq_PublicationSet * -RtecEventChannelAdmin::_tao__seq_PublicationSet_var::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE -RtecEventChannelAdmin::_tao__seq_PublicationSet_var::operator const RtecEventChannelAdmin::_tao__seq_PublicationSet &() const // cast -{ - return *this->ptr_; -} - -ACE_INLINE -RtecEventChannelAdmin::_tao__seq_PublicationSet_var::operator RtecEventChannelAdmin::_tao__seq_PublicationSet &() // cast -{ - return *this->ptr_; -} - -ACE_INLINE -RtecEventChannelAdmin::_tao__seq_PublicationSet_var::operator RtecEventChannelAdmin::_tao__seq_PublicationSet &() const// cast -{ - return *this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::Publication& -RtecEventChannelAdmin::_tao__seq_PublicationSet_var::operator[] (CORBA::ULong index) -{ - return this->ptr_->operator[] (index); -} - -ACE_INLINE const RtecEventChannelAdmin::_tao__seq_PublicationSet & -RtecEventChannelAdmin::_tao__seq_PublicationSet_var::in (void) const -{ - return *this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::_tao__seq_PublicationSet & -RtecEventChannelAdmin::_tao__seq_PublicationSet_var::inout (void) -{ - return *this->ptr_; -} - -// mapping for variable size -ACE_INLINE RtecEventChannelAdmin::_tao__seq_PublicationSet *& -RtecEventChannelAdmin::_tao__seq_PublicationSet_var::out (void) -{ - delete this->ptr_; - this->ptr_ = 0; - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::_tao__seq_PublicationSet * -RtecEventChannelAdmin::_tao__seq_PublicationSet_var::_retn (void) -{ - RtecEventChannelAdmin::_tao__seq_PublicationSet *tmp = this->ptr_; - this->ptr_ = 0; - return tmp; -} - -ACE_INLINE RtecEventChannelAdmin::_tao__seq_PublicationSet * -RtecEventChannelAdmin::_tao__seq_PublicationSet_var::ptr (void) const -{ - return this->ptr_; -} - -// ************************************************************* -// Inline operations for class RtecEventChannelAdmin::_tao__seq_PublicationSet_out -// ************************************************************* - -ACE_INLINE -RtecEventChannelAdmin::_tao__seq_PublicationSet_out::_tao__seq_PublicationSet_out (RtecEventChannelAdmin::_tao__seq_PublicationSet *&p) - : ptr_ (p) -{ - this->ptr_ = 0; -} - -ACE_INLINE -RtecEventChannelAdmin::_tao__seq_PublicationSet_out::_tao__seq_PublicationSet_out (RtecEventChannelAdmin::_tao__seq_PublicationSet_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - delete this->ptr_; - this->ptr_ = 0; -} - -ACE_INLINE -RtecEventChannelAdmin::_tao__seq_PublicationSet_out::_tao__seq_PublicationSet_out (RtecEventChannelAdmin::_tao__seq_PublicationSet_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE RtecEventChannelAdmin::_tao__seq_PublicationSet_out & -RtecEventChannelAdmin::_tao__seq_PublicationSet_out::operator= (RtecEventChannelAdmin::_tao__seq_PublicationSet_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE RtecEventChannelAdmin::_tao__seq_PublicationSet_out & -RtecEventChannelAdmin::_tao__seq_PublicationSet_out::operator= (RtecEventChannelAdmin::_tao__seq_PublicationSet *p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -RtecEventChannelAdmin::_tao__seq_PublicationSet_out::operator RtecEventChannelAdmin::_tao__seq_PublicationSet *&() // cast -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::_tao__seq_PublicationSet *& -RtecEventChannelAdmin::_tao__seq_PublicationSet_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::_tao__seq_PublicationSet * -RtecEventChannelAdmin::_tao__seq_PublicationSet_out::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::Publication& -RtecEventChannelAdmin::_tao__seq_PublicationSet_out::operator[] (CORBA::ULong index) -{ - return this->ptr_->operator[] (index); -} - -// ************************************************************* -// Inline operations for class RtecEventChannelAdmin::SupplierQOS_var -// ************************************************************* - -ACE_INLINE -RtecEventChannelAdmin::SupplierQOS_var::SupplierQOS_var (void) // default constructor - : ptr_ (0) -{} - -ACE_INLINE -RtecEventChannelAdmin::SupplierQOS_var::SupplierQOS_var (RtecEventChannelAdmin::SupplierQOS *p) - : ptr_ (p) -{} - -ACE_INLINE -RtecEventChannelAdmin::SupplierQOS_var::SupplierQOS_var (const RtecEventChannelAdmin::SupplierQOS_var &p) // copy constructor -{ - if (p.ptr_) - this->ptr_ = new RtecEventChannelAdmin::SupplierQOS(*p.ptr_); - else - this->ptr_ = 0; -} - -ACE_INLINE -RtecEventChannelAdmin::SupplierQOS_var::~SupplierQOS_var (void) // destructor -{ - delete this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::SupplierQOS_var & -RtecEventChannelAdmin::SupplierQOS_var::operator= (RtecEventChannelAdmin::SupplierQOS *p) -{ - delete this->ptr_; - this->ptr_ = p; - return *this; -} - -ACE_INLINE RtecEventChannelAdmin::SupplierQOS_var & -RtecEventChannelAdmin::SupplierQOS_var::operator= (const RtecEventChannelAdmin::SupplierQOS_var &p) -{ - if (this != &p) - { - delete this->ptr_; - this->ptr_ = new RtecEventChannelAdmin::SupplierQOS (*p.ptr_); - } - return *this; -} - -ACE_INLINE const RtecEventChannelAdmin::SupplierQOS * -RtecEventChannelAdmin::SupplierQOS_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::SupplierQOS * -RtecEventChannelAdmin::SupplierQOS_var::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE -RtecEventChannelAdmin::SupplierQOS_var::operator const RtecEventChannelAdmin::SupplierQOS &() const // cast -{ - return *this->ptr_; -} - -ACE_INLINE -RtecEventChannelAdmin::SupplierQOS_var::operator RtecEventChannelAdmin::SupplierQOS &() // cast -{ - return *this->ptr_; -} - -ACE_INLINE -RtecEventChannelAdmin::SupplierQOS_var::operator RtecEventChannelAdmin::SupplierQOS &() const// cast -{ - return *this->ptr_; -} - -ACE_INLINE const RtecEventChannelAdmin::SupplierQOS & -RtecEventChannelAdmin::SupplierQOS_var::in (void) const -{ - return *this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::SupplierQOS & -RtecEventChannelAdmin::SupplierQOS_var::inout (void) -{ - return *this->ptr_; -} - -// mapping for variable size -ACE_INLINE RtecEventChannelAdmin::SupplierQOS *& -RtecEventChannelAdmin::SupplierQOS_var::out (void) -{ - delete this->ptr_; - this->ptr_ = 0; - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::SupplierQOS * -RtecEventChannelAdmin::SupplierQOS_var::_retn (void) -{ - RtecEventChannelAdmin::SupplierQOS *tmp = this->ptr_; - this->ptr_ = 0; - return tmp; -} - -// ************************************************************* -// Inline operations for class RtecEventChannelAdmin::SupplierQOS_out -// ************************************************************* - -ACE_INLINE -RtecEventChannelAdmin::SupplierQOS_out::SupplierQOS_out (RtecEventChannelAdmin::SupplierQOS *&p) - : ptr_ (p) -{ - this->ptr_ = 0; -} - -ACE_INLINE -RtecEventChannelAdmin::SupplierQOS_out::SupplierQOS_out (RtecEventChannelAdmin::SupplierQOS_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - delete this->ptr_; - this->ptr_ = 0; -} - -ACE_INLINE -RtecEventChannelAdmin::SupplierQOS_out::SupplierQOS_out (RtecEventChannelAdmin::SupplierQOS_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE RtecEventChannelAdmin::SupplierQOS_out & -RtecEventChannelAdmin::SupplierQOS_out::operator= (RtecEventChannelAdmin::SupplierQOS_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE RtecEventChannelAdmin::SupplierQOS_out & -RtecEventChannelAdmin::SupplierQOS_out::operator= (RtecEventChannelAdmin::SupplierQOS *p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -RtecEventChannelAdmin::SupplierQOS_out::operator RtecEventChannelAdmin::SupplierQOS *&() // cast -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::SupplierQOS *& -RtecEventChannelAdmin::SupplierQOS_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::SupplierQOS * -RtecEventChannelAdmin::SupplierQOS_out::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE -RtecEventChannelAdmin::ProxyPushConsumer::ProxyPushConsumer (void) // default constructor -{} - -ACE_INLINE -RtecEventChannelAdmin::ProxyPushConsumer::ProxyPushConsumer (STUB_Object *objref) // constructor - : ACE_CORBA_1 (Object) (objref) -{} - -ACE_INLINE -RtecEventChannelAdmin::ProxyPushConsumer::~ProxyPushConsumer (void) // destructor -{} - - -#if !defined (_RTECEVENTCHANNELADMIN_PROXYPUSHCONSUMER___VAR_CI_) -#define _RTECEVENTCHANNELADMIN_PROXYPUSHCONSUMER___VAR_CI_ - -// ************************************************************* -// Inline operations for class RtecEventChannelAdmin::ProxyPushConsumer_var -// ************************************************************* - -ACE_INLINE -RtecEventChannelAdmin::ProxyPushConsumer_var::ProxyPushConsumer_var (void) // default constructor - : ptr_ (RtecEventChannelAdmin::ProxyPushConsumer::_nil ()) -{} - -ACE_INLINE -RtecEventChannelAdmin::ProxyPushConsumer_var::ProxyPushConsumer_var (RtecEventChannelAdmin::ProxyPushConsumer_ptr p) - : ptr_ (p) -{} - -ACE_INLINE RtecEventChannelAdmin::ProxyPushConsumer_ptr -RtecEventChannelAdmin::ProxyPushConsumer_var::ptr (void) const -{ - return this->ptr_; -} - -ACE_INLINE -RtecEventChannelAdmin::ProxyPushConsumer_var::ProxyPushConsumer_var (const RtecEventChannelAdmin::ProxyPushConsumer_var &p) // copy constructor - : ptr_ (RtecEventChannelAdmin::ProxyPushConsumer::_duplicate (p.ptr ())) -{} - -ACE_INLINE -RtecEventChannelAdmin::ProxyPushConsumer_var::~ProxyPushConsumer_var (void) // destructor -{ - CORBA::release (this->ptr_); -} - -ACE_INLINE RtecEventChannelAdmin::ProxyPushConsumer_var & -RtecEventChannelAdmin::ProxyPushConsumer_var::operator= (RtecEventChannelAdmin::ProxyPushConsumer_ptr p) -{ - CORBA::release (this->ptr_); - this->ptr_ = p; - return *this; -} - -ACE_INLINE RtecEventChannelAdmin::ProxyPushConsumer_var & -RtecEventChannelAdmin::ProxyPushConsumer_var::operator= (const RtecEventChannelAdmin::ProxyPushConsumer_var &p) -{ - if (this != &p) - { - CORBA::release (this->ptr_); - this->ptr_ = RtecEventChannelAdmin::ProxyPushConsumer::_duplicate (p.ptr ()); - } - return *this; -} - -ACE_INLINE -RtecEventChannelAdmin::ProxyPushConsumer_var::operator const RtecEventChannelAdmin::ProxyPushConsumer_ptr &() const // cast -{ - return this->ptr_; -} - -ACE_INLINE -RtecEventChannelAdmin::ProxyPushConsumer_var::operator RtecEventChannelAdmin::ProxyPushConsumer_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::ProxyPushConsumer_ptr -RtecEventChannelAdmin::ProxyPushConsumer_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::ProxyPushConsumer_ptr -RtecEventChannelAdmin::ProxyPushConsumer_var::in (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::ProxyPushConsumer_ptr & -RtecEventChannelAdmin::ProxyPushConsumer_var::inout (void) -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::ProxyPushConsumer_ptr & -RtecEventChannelAdmin::ProxyPushConsumer_var::out (void) -{ - CORBA::release (this->ptr_); - this->ptr_ = RtecEventChannelAdmin::ProxyPushConsumer::_nil (); - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::ProxyPushConsumer_ptr -RtecEventChannelAdmin::ProxyPushConsumer_var::_retn (void) -{ - // yield ownership of managed obj reference - RtecEventChannelAdmin::ProxyPushConsumer_ptr val = this->ptr_; - this->ptr_ = RtecEventChannelAdmin::ProxyPushConsumer::_nil (); - return val; -} - - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCHANNELADMIN_PROXYPUSHCONSUMER___OUT_CI_) -#define _RTECEVENTCHANNELADMIN_PROXYPUSHCONSUMER___OUT_CI_ - -// ************************************************************* -// Inline operations for class RtecEventChannelAdmin::ProxyPushConsumer_out -// ************************************************************* - -ACE_INLINE -RtecEventChannelAdmin::ProxyPushConsumer_out::ProxyPushConsumer_out (RtecEventChannelAdmin::ProxyPushConsumer_ptr &p) - : ptr_ (p) -{ - this->ptr_ = RtecEventChannelAdmin::ProxyPushConsumer::_nil (); -} - -ACE_INLINE -RtecEventChannelAdmin::ProxyPushConsumer_out::ProxyPushConsumer_out (RtecEventChannelAdmin::ProxyPushConsumer_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - CORBA::release (this->ptr_); - this->ptr_ = RtecEventChannelAdmin::ProxyPushConsumer::_nil (); -} - -ACE_INLINE -RtecEventChannelAdmin::ProxyPushConsumer_out::ProxyPushConsumer_out (RtecEventChannelAdmin::ProxyPushConsumer_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE RtecEventChannelAdmin::ProxyPushConsumer_out & -RtecEventChannelAdmin::ProxyPushConsumer_out::operator= (RtecEventChannelAdmin::ProxyPushConsumer_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE RtecEventChannelAdmin::ProxyPushConsumer_out & -RtecEventChannelAdmin::ProxyPushConsumer_out::operator= (const RtecEventChannelAdmin::ProxyPushConsumer_var &p) -{ - this->ptr_ = RtecEventChannelAdmin::ProxyPushConsumer::_duplicate (p.ptr ()); - return *this; -} - -ACE_INLINE RtecEventChannelAdmin::ProxyPushConsumer_out & -RtecEventChannelAdmin::ProxyPushConsumer_out::operator= (RtecEventChannelAdmin::ProxyPushConsumer_ptr p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -RtecEventChannelAdmin::ProxyPushConsumer_out::operator RtecEventChannelAdmin::ProxyPushConsumer_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::ProxyPushConsumer_ptr & -RtecEventChannelAdmin::ProxyPushConsumer_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::ProxyPushConsumer_ptr -RtecEventChannelAdmin::ProxyPushConsumer_out::operator-> (void) -{ - return this->ptr_; -} - - -#endif // end #if !defined - -ACE_INLINE -RtecEventChannelAdmin::ProxyPushSupplier::ProxyPushSupplier (void) // default constructor -{} - -ACE_INLINE -RtecEventChannelAdmin::ProxyPushSupplier::ProxyPushSupplier (STUB_Object *objref) // constructor - : ACE_CORBA_1 (Object) (objref) -{} - -ACE_INLINE -RtecEventChannelAdmin::ProxyPushSupplier::~ProxyPushSupplier (void) // destructor -{} - - -#if !defined (_RTECEVENTCHANNELADMIN_PROXYPUSHSUPPLIER___VAR_CI_) -#define _RTECEVENTCHANNELADMIN_PROXYPUSHSUPPLIER___VAR_CI_ - -// ************************************************************* -// Inline operations for class RtecEventChannelAdmin::ProxyPushSupplier_var -// ************************************************************* - -ACE_INLINE -RtecEventChannelAdmin::ProxyPushSupplier_var::ProxyPushSupplier_var (void) // default constructor - : ptr_ (RtecEventChannelAdmin::ProxyPushSupplier::_nil ()) -{} - -ACE_INLINE -RtecEventChannelAdmin::ProxyPushSupplier_var::ProxyPushSupplier_var (RtecEventChannelAdmin::ProxyPushSupplier_ptr p) - : ptr_ (p) -{} - -ACE_INLINE RtecEventChannelAdmin::ProxyPushSupplier_ptr -RtecEventChannelAdmin::ProxyPushSupplier_var::ptr (void) const -{ - return this->ptr_; -} - -ACE_INLINE -RtecEventChannelAdmin::ProxyPushSupplier_var::ProxyPushSupplier_var (const RtecEventChannelAdmin::ProxyPushSupplier_var &p) // copy constructor - : ptr_ (RtecEventChannelAdmin::ProxyPushSupplier::_duplicate (p.ptr ())) -{} - -ACE_INLINE -RtecEventChannelAdmin::ProxyPushSupplier_var::~ProxyPushSupplier_var (void) // destructor -{ - CORBA::release (this->ptr_); -} - -ACE_INLINE RtecEventChannelAdmin::ProxyPushSupplier_var & -RtecEventChannelAdmin::ProxyPushSupplier_var::operator= (RtecEventChannelAdmin::ProxyPushSupplier_ptr p) -{ - CORBA::release (this->ptr_); - this->ptr_ = p; - return *this; -} - -ACE_INLINE RtecEventChannelAdmin::ProxyPushSupplier_var & -RtecEventChannelAdmin::ProxyPushSupplier_var::operator= (const RtecEventChannelAdmin::ProxyPushSupplier_var &p) -{ - if (this != &p) - { - CORBA::release (this->ptr_); - this->ptr_ = RtecEventChannelAdmin::ProxyPushSupplier::_duplicate (p.ptr ()); - } - return *this; -} - -ACE_INLINE -RtecEventChannelAdmin::ProxyPushSupplier_var::operator const RtecEventChannelAdmin::ProxyPushSupplier_ptr &() const // cast -{ - return this->ptr_; -} - -ACE_INLINE -RtecEventChannelAdmin::ProxyPushSupplier_var::operator RtecEventChannelAdmin::ProxyPushSupplier_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::ProxyPushSupplier_ptr -RtecEventChannelAdmin::ProxyPushSupplier_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::ProxyPushSupplier_ptr -RtecEventChannelAdmin::ProxyPushSupplier_var::in (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::ProxyPushSupplier_ptr & -RtecEventChannelAdmin::ProxyPushSupplier_var::inout (void) -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::ProxyPushSupplier_ptr & -RtecEventChannelAdmin::ProxyPushSupplier_var::out (void) -{ - CORBA::release (this->ptr_); - this->ptr_ = RtecEventChannelAdmin::ProxyPushSupplier::_nil (); - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::ProxyPushSupplier_ptr -RtecEventChannelAdmin::ProxyPushSupplier_var::_retn (void) -{ - // yield ownership of managed obj reference - RtecEventChannelAdmin::ProxyPushSupplier_ptr val = this->ptr_; - this->ptr_ = RtecEventChannelAdmin::ProxyPushSupplier::_nil (); - return val; -} - - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCHANNELADMIN_PROXYPUSHSUPPLIER___OUT_CI_) -#define _RTECEVENTCHANNELADMIN_PROXYPUSHSUPPLIER___OUT_CI_ - -// ************************************************************* -// Inline operations for class RtecEventChannelAdmin::ProxyPushSupplier_out -// ************************************************************* - -ACE_INLINE -RtecEventChannelAdmin::ProxyPushSupplier_out::ProxyPushSupplier_out (RtecEventChannelAdmin::ProxyPushSupplier_ptr &p) - : ptr_ (p) -{ - this->ptr_ = RtecEventChannelAdmin::ProxyPushSupplier::_nil (); -} - -ACE_INLINE -RtecEventChannelAdmin::ProxyPushSupplier_out::ProxyPushSupplier_out (RtecEventChannelAdmin::ProxyPushSupplier_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - CORBA::release (this->ptr_); - this->ptr_ = RtecEventChannelAdmin::ProxyPushSupplier::_nil (); -} - -ACE_INLINE -RtecEventChannelAdmin::ProxyPushSupplier_out::ProxyPushSupplier_out (RtecEventChannelAdmin::ProxyPushSupplier_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE RtecEventChannelAdmin::ProxyPushSupplier_out & -RtecEventChannelAdmin::ProxyPushSupplier_out::operator= (RtecEventChannelAdmin::ProxyPushSupplier_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE RtecEventChannelAdmin::ProxyPushSupplier_out & -RtecEventChannelAdmin::ProxyPushSupplier_out::operator= (const RtecEventChannelAdmin::ProxyPushSupplier_var &p) -{ - this->ptr_ = RtecEventChannelAdmin::ProxyPushSupplier::_duplicate (p.ptr ()); - return *this; -} - -ACE_INLINE RtecEventChannelAdmin::ProxyPushSupplier_out & -RtecEventChannelAdmin::ProxyPushSupplier_out::operator= (RtecEventChannelAdmin::ProxyPushSupplier_ptr p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -RtecEventChannelAdmin::ProxyPushSupplier_out::operator RtecEventChannelAdmin::ProxyPushSupplier_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::ProxyPushSupplier_ptr & -RtecEventChannelAdmin::ProxyPushSupplier_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::ProxyPushSupplier_ptr -RtecEventChannelAdmin::ProxyPushSupplier_out::operator-> (void) -{ - return this->ptr_; -} - - -#endif // end #if !defined - -ACE_INLINE -RtecEventChannelAdmin::ConsumerAdmin::ConsumerAdmin (void) // default constructor -{} - -ACE_INLINE -RtecEventChannelAdmin::ConsumerAdmin::ConsumerAdmin (STUB_Object *objref) // constructor - : ACE_CORBA_1 (Object) (objref) -{} - -ACE_INLINE -RtecEventChannelAdmin::ConsumerAdmin::~ConsumerAdmin (void) // destructor -{} - - -#if !defined (_RTECEVENTCHANNELADMIN_CONSUMERADMIN___VAR_CI_) -#define _RTECEVENTCHANNELADMIN_CONSUMERADMIN___VAR_CI_ - -// ************************************************************* -// Inline operations for class RtecEventChannelAdmin::ConsumerAdmin_var -// ************************************************************* - -ACE_INLINE -RtecEventChannelAdmin::ConsumerAdmin_var::ConsumerAdmin_var (void) // default constructor - : ptr_ (RtecEventChannelAdmin::ConsumerAdmin::_nil ()) -{} - -ACE_INLINE -RtecEventChannelAdmin::ConsumerAdmin_var::ConsumerAdmin_var (RtecEventChannelAdmin::ConsumerAdmin_ptr p) - : ptr_ (p) -{} - -ACE_INLINE RtecEventChannelAdmin::ConsumerAdmin_ptr -RtecEventChannelAdmin::ConsumerAdmin_var::ptr (void) const -{ - return this->ptr_; -} - -ACE_INLINE -RtecEventChannelAdmin::ConsumerAdmin_var::ConsumerAdmin_var (const RtecEventChannelAdmin::ConsumerAdmin_var &p) // copy constructor - : ptr_ (RtecEventChannelAdmin::ConsumerAdmin::_duplicate (p.ptr ())) -{} - -ACE_INLINE -RtecEventChannelAdmin::ConsumerAdmin_var::~ConsumerAdmin_var (void) // destructor -{ - CORBA::release (this->ptr_); -} - -ACE_INLINE RtecEventChannelAdmin::ConsumerAdmin_var & -RtecEventChannelAdmin::ConsumerAdmin_var::operator= (RtecEventChannelAdmin::ConsumerAdmin_ptr p) -{ - CORBA::release (this->ptr_); - this->ptr_ = p; - return *this; -} - -ACE_INLINE RtecEventChannelAdmin::ConsumerAdmin_var & -RtecEventChannelAdmin::ConsumerAdmin_var::operator= (const RtecEventChannelAdmin::ConsumerAdmin_var &p) -{ - if (this != &p) - { - CORBA::release (this->ptr_); - this->ptr_ = RtecEventChannelAdmin::ConsumerAdmin::_duplicate (p.ptr ()); - } - return *this; -} - -ACE_INLINE -RtecEventChannelAdmin::ConsumerAdmin_var::operator const RtecEventChannelAdmin::ConsumerAdmin_ptr &() const // cast -{ - return this->ptr_; -} - -ACE_INLINE -RtecEventChannelAdmin::ConsumerAdmin_var::operator RtecEventChannelAdmin::ConsumerAdmin_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::ConsumerAdmin_ptr -RtecEventChannelAdmin::ConsumerAdmin_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::ConsumerAdmin_ptr -RtecEventChannelAdmin::ConsumerAdmin_var::in (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::ConsumerAdmin_ptr & -RtecEventChannelAdmin::ConsumerAdmin_var::inout (void) -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::ConsumerAdmin_ptr & -RtecEventChannelAdmin::ConsumerAdmin_var::out (void) -{ - CORBA::release (this->ptr_); - this->ptr_ = RtecEventChannelAdmin::ConsumerAdmin::_nil (); - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::ConsumerAdmin_ptr -RtecEventChannelAdmin::ConsumerAdmin_var::_retn (void) -{ - // yield ownership of managed obj reference - RtecEventChannelAdmin::ConsumerAdmin_ptr val = this->ptr_; - this->ptr_ = RtecEventChannelAdmin::ConsumerAdmin::_nil (); - return val; -} - - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCHANNELADMIN_CONSUMERADMIN___OUT_CI_) -#define _RTECEVENTCHANNELADMIN_CONSUMERADMIN___OUT_CI_ - -// ************************************************************* -// Inline operations for class RtecEventChannelAdmin::ConsumerAdmin_out -// ************************************************************* - -ACE_INLINE -RtecEventChannelAdmin::ConsumerAdmin_out::ConsumerAdmin_out (RtecEventChannelAdmin::ConsumerAdmin_ptr &p) - : ptr_ (p) -{ - this->ptr_ = RtecEventChannelAdmin::ConsumerAdmin::_nil (); -} - -ACE_INLINE -RtecEventChannelAdmin::ConsumerAdmin_out::ConsumerAdmin_out (RtecEventChannelAdmin::ConsumerAdmin_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - CORBA::release (this->ptr_); - this->ptr_ = RtecEventChannelAdmin::ConsumerAdmin::_nil (); -} - -ACE_INLINE -RtecEventChannelAdmin::ConsumerAdmin_out::ConsumerAdmin_out (RtecEventChannelAdmin::ConsumerAdmin_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE RtecEventChannelAdmin::ConsumerAdmin_out & -RtecEventChannelAdmin::ConsumerAdmin_out::operator= (RtecEventChannelAdmin::ConsumerAdmin_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE RtecEventChannelAdmin::ConsumerAdmin_out & -RtecEventChannelAdmin::ConsumerAdmin_out::operator= (const RtecEventChannelAdmin::ConsumerAdmin_var &p) -{ - this->ptr_ = RtecEventChannelAdmin::ConsumerAdmin::_duplicate (p.ptr ()); - return *this; -} - -ACE_INLINE RtecEventChannelAdmin::ConsumerAdmin_out & -RtecEventChannelAdmin::ConsumerAdmin_out::operator= (RtecEventChannelAdmin::ConsumerAdmin_ptr p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -RtecEventChannelAdmin::ConsumerAdmin_out::operator RtecEventChannelAdmin::ConsumerAdmin_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::ConsumerAdmin_ptr & -RtecEventChannelAdmin::ConsumerAdmin_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::ConsumerAdmin_ptr -RtecEventChannelAdmin::ConsumerAdmin_out::operator-> (void) -{ - return this->ptr_; -} - - -#endif // end #if !defined - -ACE_INLINE -RtecEventChannelAdmin::SupplierAdmin::SupplierAdmin (void) // default constructor -{} - -ACE_INLINE -RtecEventChannelAdmin::SupplierAdmin::SupplierAdmin (STUB_Object *objref) // constructor - : ACE_CORBA_1 (Object) (objref) -{} - -ACE_INLINE -RtecEventChannelAdmin::SupplierAdmin::~SupplierAdmin (void) // destructor -{} - - -#if !defined (_RTECEVENTCHANNELADMIN_SUPPLIERADMIN___VAR_CI_) -#define _RTECEVENTCHANNELADMIN_SUPPLIERADMIN___VAR_CI_ - -// ************************************************************* -// Inline operations for class RtecEventChannelAdmin::SupplierAdmin_var -// ************************************************************* - -ACE_INLINE -RtecEventChannelAdmin::SupplierAdmin_var::SupplierAdmin_var (void) // default constructor - : ptr_ (RtecEventChannelAdmin::SupplierAdmin::_nil ()) -{} - -ACE_INLINE -RtecEventChannelAdmin::SupplierAdmin_var::SupplierAdmin_var (RtecEventChannelAdmin::SupplierAdmin_ptr p) - : ptr_ (p) -{} - -ACE_INLINE RtecEventChannelAdmin::SupplierAdmin_ptr -RtecEventChannelAdmin::SupplierAdmin_var::ptr (void) const -{ - return this->ptr_; -} - -ACE_INLINE -RtecEventChannelAdmin::SupplierAdmin_var::SupplierAdmin_var (const RtecEventChannelAdmin::SupplierAdmin_var &p) // copy constructor - : ptr_ (RtecEventChannelAdmin::SupplierAdmin::_duplicate (p.ptr ())) -{} - -ACE_INLINE -RtecEventChannelAdmin::SupplierAdmin_var::~SupplierAdmin_var (void) // destructor -{ - CORBA::release (this->ptr_); -} - -ACE_INLINE RtecEventChannelAdmin::SupplierAdmin_var & -RtecEventChannelAdmin::SupplierAdmin_var::operator= (RtecEventChannelAdmin::SupplierAdmin_ptr p) -{ - CORBA::release (this->ptr_); - this->ptr_ = p; - return *this; -} - -ACE_INLINE RtecEventChannelAdmin::SupplierAdmin_var & -RtecEventChannelAdmin::SupplierAdmin_var::operator= (const RtecEventChannelAdmin::SupplierAdmin_var &p) -{ - if (this != &p) - { - CORBA::release (this->ptr_); - this->ptr_ = RtecEventChannelAdmin::SupplierAdmin::_duplicate (p.ptr ()); - } - return *this; -} - -ACE_INLINE -RtecEventChannelAdmin::SupplierAdmin_var::operator const RtecEventChannelAdmin::SupplierAdmin_ptr &() const // cast -{ - return this->ptr_; -} - -ACE_INLINE -RtecEventChannelAdmin::SupplierAdmin_var::operator RtecEventChannelAdmin::SupplierAdmin_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::SupplierAdmin_ptr -RtecEventChannelAdmin::SupplierAdmin_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::SupplierAdmin_ptr -RtecEventChannelAdmin::SupplierAdmin_var::in (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::SupplierAdmin_ptr & -RtecEventChannelAdmin::SupplierAdmin_var::inout (void) -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::SupplierAdmin_ptr & -RtecEventChannelAdmin::SupplierAdmin_var::out (void) -{ - CORBA::release (this->ptr_); - this->ptr_ = RtecEventChannelAdmin::SupplierAdmin::_nil (); - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::SupplierAdmin_ptr -RtecEventChannelAdmin::SupplierAdmin_var::_retn (void) -{ - // yield ownership of managed obj reference - RtecEventChannelAdmin::SupplierAdmin_ptr val = this->ptr_; - this->ptr_ = RtecEventChannelAdmin::SupplierAdmin::_nil (); - return val; -} - - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCHANNELADMIN_SUPPLIERADMIN___OUT_CI_) -#define _RTECEVENTCHANNELADMIN_SUPPLIERADMIN___OUT_CI_ - -// ************************************************************* -// Inline operations for class RtecEventChannelAdmin::SupplierAdmin_out -// ************************************************************* - -ACE_INLINE -RtecEventChannelAdmin::SupplierAdmin_out::SupplierAdmin_out (RtecEventChannelAdmin::SupplierAdmin_ptr &p) - : ptr_ (p) -{ - this->ptr_ = RtecEventChannelAdmin::SupplierAdmin::_nil (); -} - -ACE_INLINE -RtecEventChannelAdmin::SupplierAdmin_out::SupplierAdmin_out (RtecEventChannelAdmin::SupplierAdmin_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - CORBA::release (this->ptr_); - this->ptr_ = RtecEventChannelAdmin::SupplierAdmin::_nil (); -} - -ACE_INLINE -RtecEventChannelAdmin::SupplierAdmin_out::SupplierAdmin_out (RtecEventChannelAdmin::SupplierAdmin_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE RtecEventChannelAdmin::SupplierAdmin_out & -RtecEventChannelAdmin::SupplierAdmin_out::operator= (RtecEventChannelAdmin::SupplierAdmin_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE RtecEventChannelAdmin::SupplierAdmin_out & -RtecEventChannelAdmin::SupplierAdmin_out::operator= (const RtecEventChannelAdmin::SupplierAdmin_var &p) -{ - this->ptr_ = RtecEventChannelAdmin::SupplierAdmin::_duplicate (p.ptr ()); - return *this; -} - -ACE_INLINE RtecEventChannelAdmin::SupplierAdmin_out & -RtecEventChannelAdmin::SupplierAdmin_out::operator= (RtecEventChannelAdmin::SupplierAdmin_ptr p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -RtecEventChannelAdmin::SupplierAdmin_out::operator RtecEventChannelAdmin::SupplierAdmin_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::SupplierAdmin_ptr & -RtecEventChannelAdmin::SupplierAdmin_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::SupplierAdmin_ptr -RtecEventChannelAdmin::SupplierAdmin_out::operator-> (void) -{ - return this->ptr_; -} - - -#endif // end #if !defined - -ACE_INLINE -RtecEventChannelAdmin::EventChannel::EventChannel (void) // default constructor -{} - -ACE_INLINE -RtecEventChannelAdmin::EventChannel::EventChannel (STUB_Object *objref) // constructor - : ACE_CORBA_1 (Object) (objref) -{} - -ACE_INLINE -RtecEventChannelAdmin::EventChannel::~EventChannel (void) // destructor -{} - - -#if !defined (_RTECEVENTCHANNELADMIN_EVENTCHANNEL___VAR_CI_) -#define _RTECEVENTCHANNELADMIN_EVENTCHANNEL___VAR_CI_ - -// ************************************************************* -// Inline operations for class RtecEventChannelAdmin::EventChannel_var -// ************************************************************* - -ACE_INLINE -RtecEventChannelAdmin::EventChannel_var::EventChannel_var (void) // default constructor - : ptr_ (RtecEventChannelAdmin::EventChannel::_nil ()) -{} - -ACE_INLINE -RtecEventChannelAdmin::EventChannel_var::EventChannel_var (RtecEventChannelAdmin::EventChannel_ptr p) - : ptr_ (p) -{} - -ACE_INLINE RtecEventChannelAdmin::EventChannel_ptr -RtecEventChannelAdmin::EventChannel_var::ptr (void) const -{ - return this->ptr_; -} - -ACE_INLINE -RtecEventChannelAdmin::EventChannel_var::EventChannel_var (const RtecEventChannelAdmin::EventChannel_var &p) // copy constructor - : ptr_ (RtecEventChannelAdmin::EventChannel::_duplicate (p.ptr ())) -{} - -ACE_INLINE -RtecEventChannelAdmin::EventChannel_var::~EventChannel_var (void) // destructor -{ - CORBA::release (this->ptr_); -} - -ACE_INLINE RtecEventChannelAdmin::EventChannel_var & -RtecEventChannelAdmin::EventChannel_var::operator= (RtecEventChannelAdmin::EventChannel_ptr p) -{ - CORBA::release (this->ptr_); - this->ptr_ = p; - return *this; -} - -ACE_INLINE RtecEventChannelAdmin::EventChannel_var & -RtecEventChannelAdmin::EventChannel_var::operator= (const RtecEventChannelAdmin::EventChannel_var &p) -{ - if (this != &p) - { - CORBA::release (this->ptr_); - this->ptr_ = RtecEventChannelAdmin::EventChannel::_duplicate (p.ptr ()); - } - return *this; -} - -ACE_INLINE -RtecEventChannelAdmin::EventChannel_var::operator const RtecEventChannelAdmin::EventChannel_ptr &() const // cast -{ - return this->ptr_; -} - -ACE_INLINE -RtecEventChannelAdmin::EventChannel_var::operator RtecEventChannelAdmin::EventChannel_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::EventChannel_ptr -RtecEventChannelAdmin::EventChannel_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::EventChannel_ptr -RtecEventChannelAdmin::EventChannel_var::in (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::EventChannel_ptr & -RtecEventChannelAdmin::EventChannel_var::inout (void) -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::EventChannel_ptr & -RtecEventChannelAdmin::EventChannel_var::out (void) -{ - CORBA::release (this->ptr_); - this->ptr_ = RtecEventChannelAdmin::EventChannel::_nil (); - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::EventChannel_ptr -RtecEventChannelAdmin::EventChannel_var::_retn (void) -{ - // yield ownership of managed obj reference - RtecEventChannelAdmin::EventChannel_ptr val = this->ptr_; - this->ptr_ = RtecEventChannelAdmin::EventChannel::_nil (); - return val; -} - - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCHANNELADMIN_EVENTCHANNEL___OUT_CI_) -#define _RTECEVENTCHANNELADMIN_EVENTCHANNEL___OUT_CI_ - -// ************************************************************* -// Inline operations for class RtecEventChannelAdmin::EventChannel_out -// ************************************************************* - -ACE_INLINE -RtecEventChannelAdmin::EventChannel_out::EventChannel_out (RtecEventChannelAdmin::EventChannel_ptr &p) - : ptr_ (p) -{ - this->ptr_ = RtecEventChannelAdmin::EventChannel::_nil (); -} - -ACE_INLINE -RtecEventChannelAdmin::EventChannel_out::EventChannel_out (RtecEventChannelAdmin::EventChannel_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - CORBA::release (this->ptr_); - this->ptr_ = RtecEventChannelAdmin::EventChannel::_nil (); -} - -ACE_INLINE -RtecEventChannelAdmin::EventChannel_out::EventChannel_out (RtecEventChannelAdmin::EventChannel_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE RtecEventChannelAdmin::EventChannel_out & -RtecEventChannelAdmin::EventChannel_out::operator= (RtecEventChannelAdmin::EventChannel_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE RtecEventChannelAdmin::EventChannel_out & -RtecEventChannelAdmin::EventChannel_out::operator= (const RtecEventChannelAdmin::EventChannel_var &p) -{ - this->ptr_ = RtecEventChannelAdmin::EventChannel::_duplicate (p.ptr ()); - return *this; -} - -ACE_INLINE RtecEventChannelAdmin::EventChannel_out & -RtecEventChannelAdmin::EventChannel_out::operator= (RtecEventChannelAdmin::EventChannel_ptr p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -RtecEventChannelAdmin::EventChannel_out::operator RtecEventChannelAdmin::EventChannel_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::EventChannel_ptr & -RtecEventChannelAdmin::EventChannel_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE RtecEventChannelAdmin::EventChannel_ptr -RtecEventChannelAdmin::EventChannel_out::operator-> (void) -{ - return this->ptr_; -} - - -#endif // end #if !defined - -// ************************************************************* -// Inline operations for exception RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR -// ************************************************************* - -// default constructor -ACE_INLINE -RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR::SYNCHRONIZATION_ERROR (void) - : CORBA_UserException (_tc_SYNCHRONIZATION_ERROR) -{ -} - -// ************************************************************* -// Inline operations for exception RtecEventChannelAdmin::EventChannel::QOS_ERROR -// ************************************************************* - -// default constructor -ACE_INLINE -RtecEventChannelAdmin::EventChannel::QOS_ERROR::QOS_ERROR (void) - : CORBA_UserException (_tc_QOS_ERROR) -{ -} - -// ************************************************************* -// Inline operations for exception RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR -// ************************************************************* - -// default constructor -ACE_INLINE -RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR::SUBSCRIPTION_ERROR (void) - : CORBA_UserException (_tc_SUBSCRIPTION_ERROR) -{ -} - -// ************************************************************* -// Inline operations for exception RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR -// ************************************************************* - -// default constructor -ACE_INLINE -RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR::CORRELATION_ERROR (void) - : CORBA_UserException (_tc_CORRELATION_ERROR) -{ -} - -// ************************************************************* -// Inline operations for exception RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR -// ************************************************************* - -// default constructor -ACE_INLINE -RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR::DISPATCH_ERROR (void) - : CORBA_UserException (_tc_DISPATCH_ERROR) -{ -} - diff --git a/TAO/orbsvcs/lib/RtecEventChannelAdminS.cpp b/TAO/orbsvcs/lib/RtecEventChannelAdminS.cpp deleted file mode 100644 index 15b1262f284..00000000000 --- a/TAO/orbsvcs/lib/RtecEventChannelAdminS.cpp +++ /dev/null @@ -1,464 +0,0 @@ -// ****** Code generated by the The ACE ORB (TAO) IDL Compiler ******* -// TAO ORB and the TAO IDL Compiler have been developed by Washington -// University Computer Science's Distributed Object Computing Group. -// -// Information on TAO is available at -// http://www.cs.wustl.edu/~schmidt/TAO.html - -#include "RtecEventChannelAdminS.h" - -#if !defined (__ACE_INLINE__) -#include "RtecEventChannelAdminS.i" -#endif // !defined INLINE - -void POA_RtecEventComm_PushConsumer_push_skel (CORBA::ServerRequest &_tao_server_request, CORBA::Object_ptr _tao_object_reference, CORBA::Environment &_tao_environment) -{ - CORBA::NVList_ptr nvlist; - POA_RtecEventComm::PushConsumer_ptr impl; - RtecEventComm::EventSet data; - CORBA::NamedValue_ptr nv_data; - CORBA::Any any_data (RtecEventComm::_tc_EventSet, &data); // 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_data = nvlist->add_value ("data", any_data, CORBA::ARG_IN, _tao_environment); - // parse the arguments - _tao_server_request.params (nvlist, _tao_environment); - if (_tao_environment.exception ()) return; - impl = (POA_RtecEventChannelAdmin::ProxyPushConsumer_ptr) _tao_object_reference->get_subclass (); - impl->push(data, _tao_environment); - -} - -void POA_RtecEventComm_PushConsumer_disconnect_push_consumer_skel (CORBA::ServerRequest &_tao_server_request, CORBA::Object_ptr _tao_object_reference, CORBA::Environment &_tao_environment) -{ - CORBA::NVList_ptr nvlist; - POA_RtecEventComm::PushConsumer_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_RtecEventChannelAdmin::ProxyPushConsumer_ptr) _tao_object_reference->get_subclass (); - impl->disconnect_push_consumer(_tao_environment); - -} - -static const TAO_operation_db_entry RtecEventChannelAdmin_ProxyPushConsumer_operations [] = { - {"push", &POA_RtecEventComm_PushConsumer_push_skel}, - {"disconnect_push_consumer", &POA_RtecEventComm_PushConsumer_disconnect_push_consumer_skel}, - {"connect_push_supplier", &POA_RtecEventChannelAdmin::ProxyPushConsumer::connect_push_supplier_skel}, - {"_is_a", &POA_RtecEventChannelAdmin::ProxyPushConsumer::_is_a_skel} -}; - -TAO_Dynamic_Hash_OpTable tao_RtecEventChannelAdmin_ProxyPushConsumer_optable (RtecEventChannelAdmin_ProxyPushConsumer_operations, 4, 8); -// skeleton constructor -POA_RtecEventChannelAdmin::ProxyPushConsumer::ProxyPushConsumer (const char *obj_name) -{ - const CORBA::String repoID = "IDL:RtecEventChannelAdmin/ProxyPushConsumer: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_RtecEventChannelAdmin_ProxyPushConsumer_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::ProxyPushConsumer::connect_push_supplier_skel (CORBA::ServerRequest &_tao_server_request, CORBA::Object_ptr _tao_object_reference, CORBA::Environment &_tao_environment) -{ - CORBA::NVList_ptr nvlist; - POA_RtecEventChannelAdmin::ProxyPushConsumer_ptr impl; - RtecEventComm::PushSupplier_ptr push_supplier; - CORBA::Object_ptr _tao_base_push_supplier; - CORBA::NamedValue_ptr nv_push_supplier; - CORBA::Any any_push_supplier (RtecEventComm::_tc_PushSupplier, &_tao_base_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 - - // 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_push_supplier = nvlist->add_value ("push_supplier", any_push_supplier, CORBA::ARG_IN, _tao_environment); - nv_qos = nvlist->add_value ("qos", any_qos, CORBA::ARG_IN, _tao_environment); - // parse the arguments - _tao_server_request.params (nvlist, _tao_environment); - if (_tao_environment.exception ()) return; - push_supplier = RtecEventComm::PushSupplier::_narrow (_tao_base_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) -{ - const CORBA::String type_id = "IDL:RtecEventChannelAdmin/ProxyPushConsumer: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); -} - -void POA_RtecEventComm_PushSupplier_disconnect_push_supplier_skel (CORBA::ServerRequest &_tao_server_request, CORBA::Object_ptr _tao_object_reference, CORBA::Environment &_tao_environment) -{ - CORBA::NVList_ptr nvlist; - POA_RtecEventComm::PushSupplier_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_RtecEventChannelAdmin::ProxyPushSupplier_ptr) _tao_object_reference->get_subclass (); - impl->disconnect_push_supplier(_tao_environment); - -} - -static const TAO_operation_db_entry RtecEventChannelAdmin_ProxyPushSupplier_operations [] = { - {"disconnect_push_supplier", &POA_RtecEventComm_PushSupplier_disconnect_push_supplier_skel}, - {"connect_push_consumer", &POA_RtecEventChannelAdmin::ProxyPushSupplier::connect_push_consumer_skel}, - {"_is_a", &POA_RtecEventChannelAdmin::ProxyPushSupplier::_is_a_skel} -}; - -TAO_Dynamic_Hash_OpTable tao_RtecEventChannelAdmin_ProxyPushSupplier_optable (RtecEventChannelAdmin_ProxyPushSupplier_operations, 3, 6); -// skeleton constructor -POA_RtecEventChannelAdmin::ProxyPushSupplier::ProxyPushSupplier (const char *obj_name) -{ - const CORBA::String repoID = "IDL:RtecEventChannelAdmin/ProxyPushSupplier: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_RtecEventChannelAdmin_ProxyPushSupplier_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::ProxyPushSupplier::connect_push_consumer_skel (CORBA::ServerRequest &_tao_server_request, CORBA::Object_ptr _tao_object_reference, CORBA::Environment &_tao_environment) -{ - CORBA::NVList_ptr nvlist; - POA_RtecEventChannelAdmin::ProxyPushSupplier_ptr impl; - RtecEventComm::PushConsumer_ptr push_consumer; - CORBA::Object_ptr _tao_base_push_consumer; - CORBA::NamedValue_ptr nv_push_consumer; - CORBA::Any any_push_consumer (RtecEventComm::_tc_PushConsumer, &_tao_base_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 - - // 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_push_consumer = nvlist->add_value ("push_consumer", any_push_consumer, CORBA::ARG_IN, _tao_environment); - nv_qos = nvlist->add_value ("qos", any_qos, CORBA::ARG_IN, _tao_environment); - // parse the arguments - _tao_server_request.params (nvlist, _tao_environment); - if (_tao_environment.exception ()) return; - push_consumer = RtecEventComm::PushConsumer::_narrow (_tao_base_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) -{ - const CORBA::String type_id = "IDL:RtecEventChannelAdmin/ProxyPushSupplier: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 RtecEventChannelAdmin_ConsumerAdmin_operations [] = { - {"obtain_push_supplier", &POA_RtecEventChannelAdmin::ConsumerAdmin::obtain_push_supplier_skel}, - {"_is_a", &POA_RtecEventChannelAdmin::ConsumerAdmin::_is_a_skel} -}; - -TAO_Dynamic_Hash_OpTable tao_RtecEventChannelAdmin_ConsumerAdmin_optable (RtecEventChannelAdmin_ConsumerAdmin_operations, 2, 4); -// skeleton constructor -POA_RtecEventChannelAdmin::ConsumerAdmin::ConsumerAdmin (const char *obj_name) -{ - const CORBA::String repoID = "IDL:RtecEventChannelAdmin/ConsumerAdmin: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_RtecEventChannelAdmin_ConsumerAdmin_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::ConsumerAdmin::obtain_push_supplier_skel (CORBA::ServerRequest &_tao_server_request, CORBA::Object_ptr _tao_object_reference, CORBA::Environment &_tao_environment) -{ - CORBA::NVList_ptr nvlist; - POA_RtecEventChannelAdmin::ConsumerAdmin_ptr impl; - CORBA::Any *result; - CORBA::Object_ptr *retval = new CORBA::Object_ptr; - *retval = CORBA::Object::_nil (); - - // 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_RtecEventChannelAdmin::ConsumerAdmin_ptr) _tao_object_reference->get_subclass (); - *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) -{ - const CORBA::String type_id = "IDL:RtecEventChannelAdmin/ConsumerAdmin: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 RtecEventChannelAdmin_SupplierAdmin_operations [] = { - {"obtain_push_consumer", &POA_RtecEventChannelAdmin::SupplierAdmin::obtain_push_consumer_skel}, - {"_is_a", &POA_RtecEventChannelAdmin::SupplierAdmin::_is_a_skel} -}; - -TAO_Dynamic_Hash_OpTable tao_RtecEventChannelAdmin_SupplierAdmin_optable (RtecEventChannelAdmin_SupplierAdmin_operations, 2, 4); -// skeleton constructor -POA_RtecEventChannelAdmin::SupplierAdmin::SupplierAdmin (const char *obj_name) -{ - const CORBA::String repoID = "IDL:RtecEventChannelAdmin/SupplierAdmin: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_RtecEventChannelAdmin_SupplierAdmin_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::SupplierAdmin::obtain_push_consumer_skel (CORBA::ServerRequest &_tao_server_request, CORBA::Object_ptr _tao_object_reference, CORBA::Environment &_tao_environment) -{ - CORBA::NVList_ptr nvlist; - POA_RtecEventChannelAdmin::SupplierAdmin_ptr impl; - CORBA::Any *result; - CORBA::Object_ptr *retval = new CORBA::Object_ptr; - *retval = CORBA::Object::_nil (); - - // 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_RtecEventChannelAdmin::SupplierAdmin_ptr) _tao_object_reference->get_subclass (); - *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) -{ - const CORBA::String type_id = "IDL:RtecEventChannelAdmin/SupplierAdmin: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 RtecEventChannelAdmin_EventChannel_operations [] = { - {"for_consumers", &POA_RtecEventChannelAdmin::EventChannel::for_consumers_skel}, - {"for_suppliers", &POA_RtecEventChannelAdmin::EventChannel::for_suppliers_skel}, - {"destroy", &POA_RtecEventChannelAdmin::EventChannel::destroy_skel}, - {"_is_a", &POA_RtecEventChannelAdmin::EventChannel::_is_a_skel} -}; - -TAO_Dynamic_Hash_OpTable tao_RtecEventChannelAdmin_EventChannel_optable (RtecEventChannelAdmin_EventChannel_operations, 4, 8); -// skeleton constructor -POA_RtecEventChannelAdmin::EventChannel::EventChannel (const char *obj_name) -{ - const CORBA::String repoID = "IDL:RtecEventChannelAdmin/EventChannel: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_RtecEventChannelAdmin_EventChannel_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::EventChannel::for_consumers_skel (CORBA::ServerRequest &_tao_server_request, CORBA::Object_ptr _tao_object_reference, CORBA::Environment &_tao_environment) -{ - CORBA::NVList_ptr nvlist; - POA_RtecEventChannelAdmin::EventChannel_ptr impl; - CORBA::Any *result; - CORBA::Object_ptr *retval = new CORBA::Object_ptr; - *retval = CORBA::Object::_nil (); - - // 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_RtecEventChannelAdmin::EventChannel_ptr) _tao_object_reference->get_subclass (); - *retval = impl->for_consumers(_tao_environment); - result = new CORBA::Any (RtecEventChannelAdmin::_tc_ConsumerAdmin, retval, 1); // ORB owns - _tao_server_request.result (result, _tao_environment); - -} - -void POA_RtecEventChannelAdmin::EventChannel::for_suppliers_skel (CORBA::ServerRequest &_tao_server_request, CORBA::Object_ptr _tao_object_reference, CORBA::Environment &_tao_environment) -{ - CORBA::NVList_ptr nvlist; - POA_RtecEventChannelAdmin::EventChannel_ptr impl; - CORBA::Any *result; - CORBA::Object_ptr *retval = new CORBA::Object_ptr; - *retval = CORBA::Object::_nil (); - - // 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_RtecEventChannelAdmin::EventChannel_ptr) _tao_object_reference->get_subclass (); - *retval = impl->for_suppliers(_tao_environment); - result = new CORBA::Any (RtecEventChannelAdmin::_tc_SupplierAdmin, retval, 1); // ORB owns - _tao_server_request.result (result, _tao_environment); - -} - -void POA_RtecEventChannelAdmin::EventChannel::destroy_skel (CORBA::ServerRequest &_tao_server_request, CORBA::Object_ptr _tao_object_reference, CORBA::Environment &_tao_environment) -{ - CORBA::NVList_ptr nvlist; - POA_RtecEventChannelAdmin::EventChannel_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_RtecEventChannelAdmin::EventChannel_ptr) _tao_object_reference->get_subclass (); - impl->destroy(_tao_environment); - -} - -void POA_RtecEventChannelAdmin::EventChannel::_is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr /* obj */, CORBA::Environment &env) -{ - const CORBA::String type_id = "IDL:RtecEventChannelAdmin/EventChannel: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/RtecEventChannelAdminS.h b/TAO/orbsvcs/lib/RtecEventChannelAdminS.h deleted file mode 100644 index 304f643e912..00000000000 --- a/TAO/orbsvcs/lib/RtecEventChannelAdminS.h +++ /dev/null @@ -1,107 +0,0 @@ -// ****** Code generated by the The ACE ORB (TAO) IDL Compiler ******* -// TAO ORB and the TAO IDL Compiler have been developed by Washington -// University Computer Science's Distributed Object Computing Group. -// -// Information on TAO is available at -// http://www.cs.wustl.edu/~schmidt/TAO.html - -#if !defined (_TAO_IDL_RTECEVENTCHANNELADMINS_H_) -#define _TAO_IDL_RTECEVENTCHANNELADMINS_H_ - -#include "RtecEventCommS.h" -#include "RtecSchedulerS.h" -#include "RtecEventChannelAdminC.h" - -class POA_RtecEventChannelAdmin -{ -public: - class ProxyPushConsumer; - typedef ProxyPushConsumer *ProxyPushConsumer_ptr; - class ProxyPushConsumer : public virtual RtecEventChannelAdmin::ProxyPushConsumer, public virtual POA_RtecEventComm::PushConsumer - { - protected: - ProxyPushConsumer (const char *obj_name = 0); - virtual ~ProxyPushConsumer (void); - public: - virtual void connect_push_supplier (RtecEventComm::PushSupplier_ptr push_supplier, const RtecEventChannelAdmin::SupplierQOS &qos, CORBA::Environment &env) = 0; // pure virtual - static void connect_push_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 - { - protected: - ProxyPushSupplier (const char *obj_name = 0); - virtual ~ProxyPushSupplier (void); - public: - virtual void connect_push_consumer (RtecEventComm::PushConsumer_ptr push_consumer, const RtecEventChannelAdmin::ConsumerQOS &qos, CORBA::Environment &env) = 0; // pure virtual - static void connect_push_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 ConsumerAdmin; - typedef ConsumerAdmin *ConsumerAdmin_ptr; - class ConsumerAdmin : public virtual RtecEventChannelAdmin::ConsumerAdmin - { - protected: - ConsumerAdmin (const char *obj_name = 0); - virtual ~ConsumerAdmin (void); - public: - virtual RtecEventChannelAdmin::ProxyPushSupplier_ptr obtain_push_supplier ( CORBA::Environment &env) = 0; // pure virtual - static void obtain_push_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 SupplierAdmin; - typedef SupplierAdmin *SupplierAdmin_ptr; - class SupplierAdmin : public virtual RtecEventChannelAdmin::SupplierAdmin - { - protected: - SupplierAdmin (const char *obj_name = 0); - virtual ~SupplierAdmin (void); - public: - virtual RtecEventChannelAdmin::ProxyPushConsumer_ptr obtain_push_consumer ( CORBA::Environment &env) = 0; // pure virtual - static void obtain_push_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 EventChannel; - typedef EventChannel *EventChannel_ptr; - class EventChannel : public virtual RtecEventChannelAdmin::EventChannel - { - protected: - EventChannel (const char *obj_name = 0); - virtual ~EventChannel (void); - public: - virtual RtecEventChannelAdmin::ConsumerAdmin_ptr for_consumers ( CORBA::Environment &env) = 0; // pure virtual - static void for_consumers_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env); - - virtual RtecEventChannelAdmin::SupplierAdmin_ptr for_suppliers ( CORBA::Environment &env) = 0; // pure virtual - static void for_suppliers_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env); - - virtual void destroy ( CORBA::Environment &env) = 0; // pure virtual - static void destroy_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); - - }; - -}; - - -#if defined (__ACE_INLINE__) -#include "RtecEventChannelAdminS.i" -#endif // defined INLINE - - -#endif // if !defined diff --git a/TAO/orbsvcs/lib/RtecEventChannelAdminS.i b/TAO/orbsvcs/lib/RtecEventChannelAdminS.i deleted file mode 100644 index 0ac13183194..00000000000 --- a/TAO/orbsvcs/lib/RtecEventChannelAdminS.i +++ /dev/null @@ -1,32 +0,0 @@ -// ****** Code generated by the The ACE ORB (TAO) IDL Compiler ******* -// TAO ORB and the TAO IDL Compiler have been developed by Washington -// University Computer Science's Distributed Object Computing Group. -// -// Information on TAO is available at -// http://www.cs.wustl.edu/~schmidt/TAO.html - -// skeleton destructor -ACE_INLINE -POA_RtecEventChannelAdmin::ProxyPushConsumer::~ProxyPushConsumer (void) -{ -} -// skeleton destructor -ACE_INLINE -POA_RtecEventChannelAdmin::ProxyPushSupplier::~ProxyPushSupplier (void) -{ -} -// skeleton destructor -ACE_INLINE -POA_RtecEventChannelAdmin::ConsumerAdmin::~ConsumerAdmin (void) -{ -} -// skeleton destructor -ACE_INLINE -POA_RtecEventChannelAdmin::SupplierAdmin::~SupplierAdmin (void) -{ -} -// skeleton destructor -ACE_INLINE -POA_RtecEventChannelAdmin::EventChannel::~EventChannel (void) -{ -} diff --git a/TAO/orbsvcs/lib/RtecEventComm.idl b/TAO/orbsvcs/lib/RtecEventComm.idl index acab33e578b..5171aaa4438 100644 --- a/TAO/orbsvcs/lib/RtecEventComm.idl +++ b/TAO/orbsvcs/lib/RtecEventComm.idl @@ -30,7 +30,9 @@ module RtecEventComm { struct Event { EventSourceID source_; EventType type_; - Time time_; + Time creation_time_; + Time ec_recv_time_; + Time ec_send_time_; EventData data_; }; typedef sequence<Event> EventSet; diff --git a/TAO/orbsvcs/lib/RtecEventCommC.cpp b/TAO/orbsvcs/lib/RtecEventCommC.cpp deleted file mode 100644 index e057dc9a835..00000000000 --- a/TAO/orbsvcs/lib/RtecEventCommC.cpp +++ /dev/null @@ -1,473 +0,0 @@ -// ****** Code generated by the The ACE ORB (TAO) IDL Compiler ******* -// TAO ORB and the TAO IDL Compiler have been developed by Washington -// University Computer Science's Distributed Object Computing Group. -// -// Information on TAO is available at -// http://www.cs.wustl.edu/~schmidt/TAO.html - -#include "RtecEventCommC.h" - -#if !defined (__ACE_INLINE__) -#include "RtecEventCommC.i" -#endif // !defined INLINE - -static const CORBA::Long _oc_RtecEventComm_Disconnected[] = -{ - 0, // byte order - 35, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4469, 0x73636f6e, 0x6e656374, 0x65643a31, 0x2e300000, // repository ID = IDL:RtecEventComm/Disconnected:1.0 - 13, 0x44697363, 0x6f6e6e65, 0x63746564, 0x0, // name = Disconnected - 0, // member count -}; -static CORBA::TypeCode _tc__tc_RtecEventComm_Disconnected (CORBA::tk_struct, sizeof (_oc_RtecEventComm_Disconnected), (unsigned char *) &_oc_RtecEventComm_Disconnected, CORBA::B_FALSE); -CORBA::TypeCode_ptr RtecEventComm::_tc_Disconnected = &_tc__tc_RtecEventComm_Disconnected; - -static const CORBA::Long _oc_RtecEventComm_EventData[] = -{ - 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_EventData (CORBA::tk_struct, sizeof (_oc_RtecEventComm_EventData), (unsigned char *) &_oc_RtecEventComm_EventData, CORBA::B_FALSE); -CORBA::TypeCode_ptr RtecEventComm::_tc_EventData = &_tc__tc_RtecEventComm_EventData; - -static const CORBA::Long _oc_RtecEventComm_EventSourceID[] = -{ - 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, - -}; -static CORBA::TypeCode _tc__tc_RtecEventComm_EventSourceID (CORBA::tk_alias, sizeof (_oc_RtecEventComm_EventSourceID), (unsigned char *) &_oc_RtecEventComm_EventSourceID, CORBA::B_FALSE); -CORBA::TypeCode_ptr RtecEventComm::_tc_EventSourceID = &_tc__tc_RtecEventComm_EventSourceID; - -static const CORBA::Long _oc_RtecEventComm_Time[] = -{ - 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_double, - -}; -static CORBA::TypeCode _tc__tc_RtecEventComm_Time (CORBA::tk_alias, sizeof (_oc_RtecEventComm_Time), (unsigned char *) &_oc_RtecEventComm_Time, CORBA::B_FALSE); -CORBA::TypeCode_ptr RtecEventComm::_tc_Time = &_tc__tc_RtecEventComm_Time; - -static const CORBA::Long _oc_RtecEventComm_EventType[] = -{ - 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 CORBA::TypeCode _tc__tc_RtecEventComm_EventType (CORBA::tk_alias, sizeof (_oc_RtecEventComm_EventType), (unsigned char *) &_oc_RtecEventComm_EventType, CORBA::B_FALSE); -CORBA::TypeCode_ptr RtecEventComm::_tc_EventType = &_tc__tc_RtecEventComm_EventType; - -static const CORBA::Long _oc_RtecEventComm_Event[] = -{ - 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_double, - - 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 (CORBA::ULong 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->maximum_ = length; - } -this->length_ = 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 - 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_double, - - 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 - 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, - - 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_double, - - 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", 0, 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_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", 0, 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 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", 0, 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_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 deleted file mode 100644 index 91f8bcaa827..00000000000 --- a/TAO/orbsvcs/lib/RtecEventCommC.h +++ /dev/null @@ -1,436 +0,0 @@ -// ****** Code generated by the The ACE ORB (TAO) IDL Compiler ******* -// TAO ORB and the TAO IDL Compiler have been developed by Washington -// University Computer Science's Distributed Object Computing Group. -// -// Information on TAO is available at -// http://www.cs.wustl.edu/~schmidt/TAO.html - -#if !defined (_TAO_IDL_RTECEVENTCOMMC_H_) -#define _TAO_IDL_RTECEVENTCOMMC_H_ - -#include "tao/corba.h" - -class RtecEventComm{ -public: - -#if !defined (_RTECEVENTCOMM_DISCONNECTED___PTR_CH_) -#define _RTECEVENTCOMM_DISCONNECTED___PTR_CH_ - - class Disconnected; - typedef Disconnected *Disconnected_ptr; - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCOMM_DISCONNECTED_CH_) -#define _RTECEVENTCOMM_DISCONNECTED_CH_ - - class Disconnected : public virtual CORBA::UserException - { - public: - Disconnected (void); - }; - - -#endif // end #if !defined - -static CORBA::TypeCode_ptr _tc_Disconnected; - - struct EventData - { - CORBA::Long x; - - CORBA::Long y; - - }; - - class EventData_var - { - public: - EventData_var (void); // default constructor - EventData_var (EventData *); - EventData_var (const EventData_var &); // copy constructor - ~EventData_var (void); // destructor - - EventData_var &operator= (EventData *); - EventData_var &operator= (const EventData_var &); - EventData *operator-> (void); - const EventData *operator-> (void) const; - - operator const EventData &() const; - operator EventData &(); - operator EventData &() const; - // in, inout, out, _retn - const EventData &in (void) const; - EventData &inout (void); - EventData &out (void); - EventData _retn (void); - EventData *ptr(void) const; - - private: - EventData *ptr_; - }; - - typedef EventData &EventData_out; - - static CORBA::TypeCode_ptr _tc_EventData; - - typedef CORBA::Long EventSourceID;typedef CORBA::Long_out EventSourceID_out; - - static CORBA::TypeCode_ptr _tc_EventSourceID; - - typedef CORBA::Double Time;typedef CORBA::Double_out Time_out; - - static CORBA::TypeCode_ptr _tc_Time; - - typedef CORBA::Long EventType;typedef CORBA::Long_out EventType_out; - - static CORBA::TypeCode_ptr _tc_EventType; - - struct Event - { - ACE_NESTED_CLASS (RtecEventComm,EventSourceID) source_; - - ACE_NESTED_CLASS (RtecEventComm,EventType) type_; - - ACE_NESTED_CLASS (RtecEventComm,Time) time_; - - ACE_NESTED_CLASS (RtecEventComm,EventData) data_; - - }; - - class Event_var - { - public: - Event_var (void); // default constructor - Event_var (Event *); - Event_var (const Event_var &); // copy constructor - ~Event_var (void); // destructor - - Event_var &operator= (Event *); - Event_var &operator= (const Event_var &); - Event *operator-> (void); - const Event *operator-> (void) const; - - operator const Event &() const; - operator Event &(); - operator Event &() const; - // in, inout, out, _retn - const Event &in (void) const; - Event &inout (void); - Event &out (void); - Event _retn (void); - Event *ptr(void) const; - - private: - Event *ptr_; - }; - - typedef Event &Event_out; - - static CORBA::TypeCode_ptr _tc_Event; - - -#if !defined (_RTECEVENTCOMM__TAO__SEQ_EVENTSET_CH_) -#define _RTECEVENTCOMM__TAO__SEQ_EVENTSET_CH_ - - // ************************************************************* - // class _tao__seq_EventSet - // ************************************************************* - - class _tao__seq_EventSet - { - public: - _tao__seq_EventSet (void); // default constructor - _tao__seq_EventSet (CORBA::ULong max); - _tao__seq_EventSet (CORBA::ULong max, CORBA::ULong length, - ACE_NESTED_CLASS (RtecEventComm,Event) *value, CORBA::Boolean release=CORBA::B_FALSE); - _tao__seq_EventSet(const _tao__seq_EventSet &); // copy constructor - ~_tao__seq_EventSet (void); - _tao__seq_EventSet &operator= (const _tao__seq_EventSet &); - CORBA::ULong maximum (void) const; - void length (CORBA::ULong); - CORBA::ULong length (void) const; - ACE_NESTED_CLASS (RtecEventComm,Event) &operator[] (CORBA::ULong index); - const ACE_NESTED_CLASS (RtecEventComm,Event) &operator[] (CORBA::ULong index) const; - static ACE_NESTED_CLASS (RtecEventComm,Event) *allocbuf (CORBA::ULong nelems); - static void freebuf (ACE_NESTED_CLASS (RtecEventComm,Event) *); - private: - CORBA::ULong maximum_; - CORBA::ULong length_; - ACE_NESTED_CLASS (RtecEventComm,Event) *buffer_; - CORBA::Boolean release_; - }; - typedef _tao__seq_EventSet* _tao__seq_EventSet_ptr; - static CORBA::TypeCode_ptr _tc__tao__seq_EventSet; - - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCOMM__TAO__SEQ_EVENTSET___VAR_CH_) -#define _RTECEVENTCOMM__TAO__SEQ_EVENTSET___VAR_CH_ - -// ************************************************************* - // class RtecEventComm::_tao__seq_EventSet_var - // ************************************************************* - - class _tao__seq_EventSet_var - { - public: - _tao__seq_EventSet_var (void); // default constructor - _tao__seq_EventSet_var (_tao__seq_EventSet *); - _tao__seq_EventSet_var (const _tao__seq_EventSet_var &); // copy constructor - ~_tao__seq_EventSet_var (void); // destructor - - _tao__seq_EventSet_var &operator= (_tao__seq_EventSet *); - _tao__seq_EventSet_var &operator= (const _tao__seq_EventSet_var &); - _tao__seq_EventSet *operator-> (void); - const _tao__seq_EventSet *operator-> (void) const; - - operator const _tao__seq_EventSet &() const; - operator _tao__seq_EventSet &(); - operator _tao__seq_EventSet &() const; - ACE_NESTED_CLASS (RtecEventComm,Event) &operator[] (CORBA::ULong index); - // in, inout, out, _retn - const _tao__seq_EventSet &in (void) const; - _tao__seq_EventSet &inout (void); - _tao__seq_EventSet *&out (void); - _tao__seq_EventSet *_retn (void); - _tao__seq_EventSet *ptr (void) const; - - private: - _tao__seq_EventSet *ptr_; - }; - - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCOMM__TAO__SEQ_EVENTSET___OUT_CH_) -#define _RTECEVENTCOMM__TAO__SEQ_EVENTSET___OUT_CH_ - - class _tao__seq_EventSet_out - { - public: - _tao__seq_EventSet_out (_tao__seq_EventSet *&); - _tao__seq_EventSet_out (_tao__seq_EventSet_var &); - _tao__seq_EventSet_out (_tao__seq_EventSet_out &); - _tao__seq_EventSet_out &operator= (_tao__seq_EventSet_out &); - _tao__seq_EventSet_out &operator= (_tao__seq_EventSet *); - operator _tao__seq_EventSet *&(); - _tao__seq_EventSet *&ptr (void); - _tao__seq_EventSet *operator-> (void); - ACE_NESTED_CLASS (RtecEventComm,Event) &operator[] (CORBA::ULong index); - - private: - _tao__seq_EventSet *&ptr_; - // assignment from T_var not allowed - void operator= (const _tao__seq_EventSet_var &); - }; - - -#endif // end #if !defined - - typedef ACE_NESTED_CLASS (RtecEventComm,_tao__seq_EventSet) EventSet; - typedef ACE_NESTED_CLASS (RtecEventComm,_tao__seq_EventSet_var) EventSet_var; - typedef ACE_NESTED_CLASS (RtecEventComm,_tao__seq_EventSet_out) EventSet_out; - - static CORBA::TypeCode_ptr _tc_EventSet; - - -#if !defined (_RTECEVENTCOMM_PUSHCONSUMER___PTR_CH_) -#define _RTECEVENTCOMM_PUSHCONSUMER___PTR_CH_ - -class PushConsumer; - typedef PushConsumer *PushConsumer_ptr; - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCOMM_PUSHCONSUMER_CH_) -#define _RTECEVENTCOMM_PUSHCONSUMER_CH_ - -class PushConsumer: public virtual ACE_CORBA_1 (Object) - { - public: - // the static operations - static PushConsumer_ptr _duplicate (PushConsumer_ptr obj); - static PushConsumer_ptr _narrow (CORBA::Object_ptr obj, CORBA::Environment &env); - static PushConsumer_ptr _nil (void); - static PushConsumer_ptr _bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env); - - virtual void push (const ACE_NESTED_CLASS (RtecEventComm,EventSet) &data, CORBA::Environment &env); - virtual void disconnect_push_consumer (CORBA::Environment &env); - protected: - PushConsumer (void); // default constructor - PushConsumer (STUB_Object *objref); - virtual ~PushConsumer (void); - private: - PushConsumer (const PushConsumer&); - void operator= (const PushConsumer&); - }; - - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCOMM_PUSHCONSUMER___VAR_CH_) -#define _RTECEVENTCOMM_PUSHCONSUMER___VAR_CH_ - - class PushConsumer_var - { - public: - PushConsumer_var (void); // default constructor - PushConsumer_var (PushConsumer_ptr); - PushConsumer_var (const PushConsumer_var &); // copy constructor - ~PushConsumer_var (void); // destructor - - PushConsumer_var &operator= (PushConsumer_ptr); - PushConsumer_var &operator= (const PushConsumer_var &); - PushConsumer_ptr operator-> (void) const; - - operator const PushConsumer_ptr &() const; - operator PushConsumer_ptr &(); - // in, inout, out, _retn - PushConsumer_ptr in (void) const; - PushConsumer_ptr &inout (void); - PushConsumer_ptr &out (void); - PushConsumer_ptr _retn (void); - PushConsumer_ptr ptr (void) const; - - private: - PushConsumer_ptr ptr_; - }; - - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCOMM_PUSHCONSUMER___OUT_CH_) -#define _RTECEVENTCOMM_PUSHCONSUMER___OUT_CH_ - - class PushConsumer_out - { - public: - PushConsumer_out (PushConsumer_ptr &); - PushConsumer_out (PushConsumer_var &); - PushConsumer_out (PushConsumer_out &); - PushConsumer_out &operator= (PushConsumer_out &); - PushConsumer_out &operator= (const PushConsumer_var &); - PushConsumer_out &operator= (PushConsumer_ptr); - operator PushConsumer_ptr &(); - PushConsumer_ptr &ptr (void); - PushConsumer_ptr operator-> (void); - - private: - PushConsumer_ptr &ptr_; - }; - - -#endif // end #if !defined - - static CORBA::TypeCode_ptr _tc_PushConsumer; - - -#if !defined (_RTECEVENTCOMM_PUSHSUPPLIER___PTR_CH_) -#define _RTECEVENTCOMM_PUSHSUPPLIER___PTR_CH_ - -class PushSupplier; - typedef PushSupplier *PushSupplier_ptr; - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCOMM_PUSHSUPPLIER_CH_) -#define _RTECEVENTCOMM_PUSHSUPPLIER_CH_ - -class PushSupplier: public virtual ACE_CORBA_1 (Object) - { - public: - // the static operations - static PushSupplier_ptr _duplicate (PushSupplier_ptr obj); - static PushSupplier_ptr _narrow (CORBA::Object_ptr obj, CORBA::Environment &env); - static PushSupplier_ptr _nil (void); - static PushSupplier_ptr _bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env); - - virtual void disconnect_push_supplier (CORBA::Environment &env); - protected: - PushSupplier (void); // default constructor - PushSupplier (STUB_Object *objref); - virtual ~PushSupplier (void); - private: - PushSupplier (const PushSupplier&); - void operator= (const PushSupplier&); - }; - - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCOMM_PUSHSUPPLIER___VAR_CH_) -#define _RTECEVENTCOMM_PUSHSUPPLIER___VAR_CH_ - - class PushSupplier_var - { - public: - PushSupplier_var (void); // default constructor - PushSupplier_var (PushSupplier_ptr); - PushSupplier_var (const PushSupplier_var &); // copy constructor - ~PushSupplier_var (void); // destructor - - PushSupplier_var &operator= (PushSupplier_ptr); - PushSupplier_var &operator= (const PushSupplier_var &); - PushSupplier_ptr operator-> (void) const; - - operator const PushSupplier_ptr &() const; - operator PushSupplier_ptr &(); - // in, inout, out, _retn - PushSupplier_ptr in (void) const; - PushSupplier_ptr &inout (void); - PushSupplier_ptr &out (void); - PushSupplier_ptr _retn (void); - PushSupplier_ptr ptr (void) const; - - private: - PushSupplier_ptr ptr_; - }; - - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCOMM_PUSHSUPPLIER___OUT_CH_) -#define _RTECEVENTCOMM_PUSHSUPPLIER___OUT_CH_ - - class PushSupplier_out - { - public: - PushSupplier_out (PushSupplier_ptr &); - PushSupplier_out (PushSupplier_var &); - PushSupplier_out (PushSupplier_out &); - PushSupplier_out &operator= (PushSupplier_out &); - PushSupplier_out &operator= (const PushSupplier_var &); - PushSupplier_out &operator= (PushSupplier_ptr); - operator PushSupplier_ptr &(); - PushSupplier_ptr &ptr (void); - PushSupplier_ptr operator-> (void); - - private: - PushSupplier_ptr &ptr_; - }; - - -#endif // end #if !defined - - static CORBA::TypeCode_ptr _tc_PushSupplier; - -}; - - -#if defined (__ACE_INLINE__) -#include "RtecEventCommC.i" -#endif // defined INLINE - - -#endif // if !defined diff --git a/TAO/orbsvcs/lib/RtecEventCommC.i b/TAO/orbsvcs/lib/RtecEventCommC.i deleted file mode 100644 index 7b0354fcb01..00000000000 --- a/TAO/orbsvcs/lib/RtecEventCommC.i +++ /dev/null @@ -1,855 +0,0 @@ -// ****** Code generated by the The ACE ORB (TAO) IDL Compiler ******* -// TAO ORB and the TAO IDL Compiler have been developed by Washington -// University Computer Science's Distributed Object Computing Group. -// -// Information on TAO is available at -// http://www.cs.wustl.edu/~schmidt/TAO.html - -// ************************************************************* -// Inline operations for exception RtecEventComm::Disconnected -// ************************************************************* - -// default constructor -ACE_INLINE -RtecEventComm::Disconnected::Disconnected (void) - : CORBA_UserException (_tc_Disconnected) -{ -} - -// ************************************************************* -// Inline operations for class RtecEventComm::EventData_var -// ************************************************************* - -ACE_INLINE -RtecEventComm::EventData_var::EventData_var (void) // default constructor - : ptr_ (0) -{} - -ACE_INLINE -RtecEventComm::EventData_var::EventData_var (RtecEventComm::EventData *p) - : ptr_ (p) -{} - -ACE_INLINE -RtecEventComm::EventData_var::EventData_var (const RtecEventComm::EventData_var &p) // copy constructor -{ - if (p.ptr_) - this->ptr_ = new RtecEventComm::EventData(*p.ptr_); - else - this->ptr_ = 0; -} - -ACE_INLINE -RtecEventComm::EventData_var::~EventData_var (void) // destructor -{ - delete this->ptr_; -} - -ACE_INLINE RtecEventComm::EventData_var & -RtecEventComm::EventData_var::operator= (RtecEventComm::EventData *p) -{ - delete this->ptr_; - this->ptr_ = p; - return *this; -} - -ACE_INLINE RtecEventComm::EventData_var & -RtecEventComm::EventData_var::operator= (const RtecEventComm::EventData_var &p) -{ - if (this != &p) - { - delete this->ptr_; - this->ptr_ = new RtecEventComm::EventData (*p.ptr_); - } - return *this; -} - -ACE_INLINE const RtecEventComm::EventData * -RtecEventComm::EventData_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecEventComm::EventData * -RtecEventComm::EventData_var::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE -RtecEventComm::EventData_var::operator const RtecEventComm::EventData &() const // cast -{ - return *this->ptr_; -} - -ACE_INLINE -RtecEventComm::EventData_var::operator RtecEventComm::EventData &() // cast -{ - return *this->ptr_; -} - -ACE_INLINE -RtecEventComm::EventData_var::operator RtecEventComm::EventData &() const// cast -{ - return *this->ptr_; -} - -ACE_INLINE const RtecEventComm::EventData & -RtecEventComm::EventData_var::in (void) const -{ - return *this->ptr_; -} - -ACE_INLINE RtecEventComm::EventData & -RtecEventComm::EventData_var::inout (void) -{ - return *this->ptr_; -} - -// mapping for fixed size -ACE_INLINE RtecEventComm::EventData & -RtecEventComm::EventData_var::out (void) -{ - return *this->ptr_; -} - -ACE_INLINE RtecEventComm::EventData -RtecEventComm::EventData_var::_retn (void) -{ - return *this->ptr_; -} - -ACE_INLINE RtecEventComm::EventData * -RtecEventComm::EventData_var::ptr (void) const -{ - return this->ptr_; -} - -// ************************************************************* -// Inline operations for class RtecEventComm::Event_var -// ************************************************************* - -ACE_INLINE -RtecEventComm::Event_var::Event_var (void) // default constructor - : ptr_ (0) -{} - -ACE_INLINE -RtecEventComm::Event_var::Event_var (RtecEventComm::Event *p) - : ptr_ (p) -{} - -ACE_INLINE -RtecEventComm::Event_var::Event_var (const RtecEventComm::Event_var &p) // copy constructor -{ - if (p.ptr_) - this->ptr_ = new RtecEventComm::Event(*p.ptr_); - else - this->ptr_ = 0; -} - -ACE_INLINE -RtecEventComm::Event_var::~Event_var (void) // destructor -{ - delete this->ptr_; -} - -ACE_INLINE RtecEventComm::Event_var & -RtecEventComm::Event_var::operator= (RtecEventComm::Event *p) -{ - delete this->ptr_; - this->ptr_ = p; - return *this; -} - -ACE_INLINE RtecEventComm::Event_var & -RtecEventComm::Event_var::operator= (const RtecEventComm::Event_var &p) -{ - if (this != &p) - { - delete this->ptr_; - this->ptr_ = new RtecEventComm::Event (*p.ptr_); - } - return *this; -} - -ACE_INLINE const RtecEventComm::Event * -RtecEventComm::Event_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecEventComm::Event * -RtecEventComm::Event_var::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE -RtecEventComm::Event_var::operator const RtecEventComm::Event &() const // cast -{ - return *this->ptr_; -} - -ACE_INLINE -RtecEventComm::Event_var::operator RtecEventComm::Event &() // cast -{ - return *this->ptr_; -} - -ACE_INLINE -RtecEventComm::Event_var::operator RtecEventComm::Event &() const// cast -{ - return *this->ptr_; -} - -ACE_INLINE const RtecEventComm::Event & -RtecEventComm::Event_var::in (void) const -{ - return *this->ptr_; -} - -ACE_INLINE RtecEventComm::Event & -RtecEventComm::Event_var::inout (void) -{ - return *this->ptr_; -} - -// mapping for fixed size -ACE_INLINE RtecEventComm::Event & -RtecEventComm::Event_var::out (void) -{ - return *this->ptr_; -} - -ACE_INLINE RtecEventComm::Event -RtecEventComm::Event_var::_retn (void) -{ - return *this->ptr_; -} - -ACE_INLINE RtecEventComm::Event * -RtecEventComm::Event_var::ptr (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecEventComm::Event * -RtecEventComm::_tao__seq_EventSet::allocbuf (CORBA::ULong nelems) -{ - return new RtecEventComm::Event[nelems]; // allocate from heap -} - -ACE_INLINE void -RtecEventComm::_tao__seq_EventSet::freebuf (RtecEventComm::Event *seq) -{ - delete [] seq; -} - -//default constructor -ACE_INLINE -RtecEventComm::_tao__seq_EventSet::_tao__seq_EventSet (void) - : maximum_ (0), - length_ (0), - buffer_ (0), - release_ (0) // does not own -{} - -// constructor for unbounded seq -ACE_INLINE -RtecEventComm::_tao__seq_EventSet::_tao__seq_EventSet(CORBA::ULong max ) - : maximum_ (max), - length_ (0), - buffer_ (RtecEventComm::_tao__seq_EventSet::allocbuf (max)), - release_ (1) // owns -{} - -// constructor from data buffer -ACE_INLINE -RtecEventComm::_tao__seq_EventSet::_tao__seq_EventSet (CORBA::ULong max, CORBA::ULong length, - RtecEventComm::Event *value, CORBA::Boolean release) - : maximum_ (max), - length_ (length), - buffer_ (value), - release_ (release) // ownership depends on release -{} - -ACE_INLINE CORBA::ULong -RtecEventComm::_tao__seq_EventSet::maximum (void) const -{ - return this->maximum_; -} - -ACE_INLINE CORBA::ULong -RtecEventComm::_tao__seq_EventSet::length (void) const -{ - return this->length_; -} - -ACE_INLINE RtecEventComm::Event & -RtecEventComm::_tao__seq_EventSet::operator[] (CORBA::ULong index) // read/write -{ - return this->buffer_[index]; -} - -ACE_INLINE const RtecEventComm::Event & -RtecEventComm::_tao__seq_EventSet::operator[] (CORBA::ULong index) const // read -{ - return this->buffer_[index]; -} - -// ************************************************************* -// Inline operations for class RtecEventComm::_tao__seq_EventSet_var -// ************************************************************* - -ACE_INLINE -RtecEventComm::_tao__seq_EventSet_var::_tao__seq_EventSet_var (void) // default constructor - : ptr_ (0) -{} - -ACE_INLINE -RtecEventComm::_tao__seq_EventSet_var::_tao__seq_EventSet_var (RtecEventComm::_tao__seq_EventSet_ptr p) - : ptr_ (p) -{} - -ACE_INLINE -RtecEventComm::_tao__seq_EventSet_var::_tao__seq_EventSet_var (const RtecEventComm::_tao__seq_EventSet_var &p) // copy constructor -{ - if (p.ptr_) - this->ptr_ = new RtecEventComm::_tao__seq_EventSet(*p.ptr_); - else - this->ptr_ = 0; -} - -ACE_INLINE -RtecEventComm::_tao__seq_EventSet_var::~_tao__seq_EventSet_var (void) // destructor -{ - delete this->ptr_; -} - -ACE_INLINE RtecEventComm::_tao__seq_EventSet_var & -RtecEventComm::_tao__seq_EventSet_var::operator= (RtecEventComm::_tao__seq_EventSet *p) -{ - delete this->ptr_; - this->ptr_ = p; - return *this; -} - -ACE_INLINE RtecEventComm::_tao__seq_EventSet_var & -RtecEventComm::_tao__seq_EventSet_var::operator= (const RtecEventComm::_tao__seq_EventSet_var &p) // deep copy -{ - if (this != &p) - { - delete this->ptr_; - this->ptr_ = new RtecEventComm::_tao__seq_EventSet (*p.ptr_); - } - return *this; -} - -ACE_INLINE const RtecEventComm::_tao__seq_EventSet * -RtecEventComm::_tao__seq_EventSet_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecEventComm::_tao__seq_EventSet * -RtecEventComm::_tao__seq_EventSet_var::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE -RtecEventComm::_tao__seq_EventSet_var::operator const RtecEventComm::_tao__seq_EventSet &() const // cast -{ - return *this->ptr_; -} - -ACE_INLINE -RtecEventComm::_tao__seq_EventSet_var::operator RtecEventComm::_tao__seq_EventSet &() // cast -{ - return *this->ptr_; -} - -ACE_INLINE -RtecEventComm::_tao__seq_EventSet_var::operator RtecEventComm::_tao__seq_EventSet &() const// cast -{ - return *this->ptr_; -} - -ACE_INLINE RtecEventComm::Event& -RtecEventComm::_tao__seq_EventSet_var::operator[] (CORBA::ULong index) -{ - return this->ptr_->operator[] (index); -} - -ACE_INLINE const RtecEventComm::_tao__seq_EventSet & -RtecEventComm::_tao__seq_EventSet_var::in (void) const -{ - return *this->ptr_; -} - -ACE_INLINE RtecEventComm::_tao__seq_EventSet & -RtecEventComm::_tao__seq_EventSet_var::inout (void) -{ - return *this->ptr_; -} - -// mapping for variable size -ACE_INLINE RtecEventComm::_tao__seq_EventSet *& -RtecEventComm::_tao__seq_EventSet_var::out (void) -{ - delete this->ptr_; - this->ptr_ = 0; - return this->ptr_; -} - -ACE_INLINE RtecEventComm::_tao__seq_EventSet * -RtecEventComm::_tao__seq_EventSet_var::_retn (void) -{ - RtecEventComm::_tao__seq_EventSet *tmp = this->ptr_; - this->ptr_ = 0; - return tmp; -} - -ACE_INLINE RtecEventComm::_tao__seq_EventSet * -RtecEventComm::_tao__seq_EventSet_var::ptr (void) const -{ - return this->ptr_; -} - -// ************************************************************* -// Inline operations for class RtecEventComm::_tao__seq_EventSet_out -// ************************************************************* - -ACE_INLINE -RtecEventComm::_tao__seq_EventSet_out::_tao__seq_EventSet_out (RtecEventComm::_tao__seq_EventSet *&p) - : ptr_ (p) -{ - this->ptr_ = 0; -} - -ACE_INLINE -RtecEventComm::_tao__seq_EventSet_out::_tao__seq_EventSet_out (RtecEventComm::_tao__seq_EventSet_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - delete this->ptr_; - this->ptr_ = 0; -} - -ACE_INLINE -RtecEventComm::_tao__seq_EventSet_out::_tao__seq_EventSet_out (RtecEventComm::_tao__seq_EventSet_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE RtecEventComm::_tao__seq_EventSet_out & -RtecEventComm::_tao__seq_EventSet_out::operator= (RtecEventComm::_tao__seq_EventSet_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE RtecEventComm::_tao__seq_EventSet_out & -RtecEventComm::_tao__seq_EventSet_out::operator= (RtecEventComm::_tao__seq_EventSet *p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -RtecEventComm::_tao__seq_EventSet_out::operator RtecEventComm::_tao__seq_EventSet *&() // cast -{ - return this->ptr_; -} - -ACE_INLINE RtecEventComm::_tao__seq_EventSet *& -RtecEventComm::_tao__seq_EventSet_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE RtecEventComm::_tao__seq_EventSet * -RtecEventComm::_tao__seq_EventSet_out::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE RtecEventComm::Event& -RtecEventComm::_tao__seq_EventSet_out::operator[] (CORBA::ULong index) -{ - return this->ptr_->operator[] (index); -} - -ACE_INLINE -RtecEventComm::PushConsumer::PushConsumer (void) // default constructor -{} - -ACE_INLINE -RtecEventComm::PushConsumer::PushConsumer (STUB_Object *objref) // constructor - : ACE_CORBA_1 (Object) (objref) -{} - -ACE_INLINE -RtecEventComm::PushConsumer::~PushConsumer (void) // destructor -{} - - -#if !defined (_RTECEVENTCOMM_PUSHCONSUMER___VAR_CI_) -#define _RTECEVENTCOMM_PUSHCONSUMER___VAR_CI_ - -// ************************************************************* -// Inline operations for class RtecEventComm::PushConsumer_var -// ************************************************************* - -ACE_INLINE -RtecEventComm::PushConsumer_var::PushConsumer_var (void) // default constructor - : ptr_ (RtecEventComm::PushConsumer::_nil ()) -{} - -ACE_INLINE -RtecEventComm::PushConsumer_var::PushConsumer_var (RtecEventComm::PushConsumer_ptr p) - : ptr_ (p) -{} - -ACE_INLINE RtecEventComm::PushConsumer_ptr -RtecEventComm::PushConsumer_var::ptr (void) const -{ - return this->ptr_; -} - -ACE_INLINE -RtecEventComm::PushConsumer_var::PushConsumer_var (const RtecEventComm::PushConsumer_var &p) // copy constructor - : ptr_ (RtecEventComm::PushConsumer::_duplicate (p.ptr ())) -{} - -ACE_INLINE -RtecEventComm::PushConsumer_var::~PushConsumer_var (void) // destructor -{ - CORBA::release (this->ptr_); -} - -ACE_INLINE RtecEventComm::PushConsumer_var & -RtecEventComm::PushConsumer_var::operator= (RtecEventComm::PushConsumer_ptr p) -{ - CORBA::release (this->ptr_); - this->ptr_ = p; - return *this; -} - -ACE_INLINE RtecEventComm::PushConsumer_var & -RtecEventComm::PushConsumer_var::operator= (const RtecEventComm::PushConsumer_var &p) -{ - if (this != &p) - { - CORBA::release (this->ptr_); - this->ptr_ = RtecEventComm::PushConsumer::_duplicate (p.ptr ()); - } - return *this; -} - -ACE_INLINE -RtecEventComm::PushConsumer_var::operator const RtecEventComm::PushConsumer_ptr &() const // cast -{ - return this->ptr_; -} - -ACE_INLINE -RtecEventComm::PushConsumer_var::operator RtecEventComm::PushConsumer_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE RtecEventComm::PushConsumer_ptr -RtecEventComm::PushConsumer_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecEventComm::PushConsumer_ptr -RtecEventComm::PushConsumer_var::in (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecEventComm::PushConsumer_ptr & -RtecEventComm::PushConsumer_var::inout (void) -{ - return this->ptr_; -} - -ACE_INLINE RtecEventComm::PushConsumer_ptr & -RtecEventComm::PushConsumer_var::out (void) -{ - CORBA::release (this->ptr_); - this->ptr_ = RtecEventComm::PushConsumer::_nil (); - return this->ptr_; -} - -ACE_INLINE RtecEventComm::PushConsumer_ptr -RtecEventComm::PushConsumer_var::_retn (void) -{ - // yield ownership of managed obj reference - RtecEventComm::PushConsumer_ptr val = this->ptr_; - this->ptr_ = RtecEventComm::PushConsumer::_nil (); - return val; -} - - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCOMM_PUSHCONSUMER___OUT_CI_) -#define _RTECEVENTCOMM_PUSHCONSUMER___OUT_CI_ - -// ************************************************************* -// Inline operations for class RtecEventComm::PushConsumer_out -// ************************************************************* - -ACE_INLINE -RtecEventComm::PushConsumer_out::PushConsumer_out (RtecEventComm::PushConsumer_ptr &p) - : ptr_ (p) -{ - this->ptr_ = RtecEventComm::PushConsumer::_nil (); -} - -ACE_INLINE -RtecEventComm::PushConsumer_out::PushConsumer_out (RtecEventComm::PushConsumer_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - CORBA::release (this->ptr_); - this->ptr_ = RtecEventComm::PushConsumer::_nil (); -} - -ACE_INLINE -RtecEventComm::PushConsumer_out::PushConsumer_out (RtecEventComm::PushConsumer_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE RtecEventComm::PushConsumer_out & -RtecEventComm::PushConsumer_out::operator= (RtecEventComm::PushConsumer_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE RtecEventComm::PushConsumer_out & -RtecEventComm::PushConsumer_out::operator= (const RtecEventComm::PushConsumer_var &p) -{ - this->ptr_ = RtecEventComm::PushConsumer::_duplicate (p.ptr ()); - return *this; -} - -ACE_INLINE RtecEventComm::PushConsumer_out & -RtecEventComm::PushConsumer_out::operator= (RtecEventComm::PushConsumer_ptr p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -RtecEventComm::PushConsumer_out::operator RtecEventComm::PushConsumer_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE RtecEventComm::PushConsumer_ptr & -RtecEventComm::PushConsumer_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE RtecEventComm::PushConsumer_ptr -RtecEventComm::PushConsumer_out::operator-> (void) -{ - return this->ptr_; -} - - -#endif // end #if !defined - -ACE_INLINE -RtecEventComm::PushSupplier::PushSupplier (void) // default constructor -{} - -ACE_INLINE -RtecEventComm::PushSupplier::PushSupplier (STUB_Object *objref) // constructor - : ACE_CORBA_1 (Object) (objref) -{} - -ACE_INLINE -RtecEventComm::PushSupplier::~PushSupplier (void) // destructor -{} - - -#if !defined (_RTECEVENTCOMM_PUSHSUPPLIER___VAR_CI_) -#define _RTECEVENTCOMM_PUSHSUPPLIER___VAR_CI_ - -// ************************************************************* -// Inline operations for class RtecEventComm::PushSupplier_var -// ************************************************************* - -ACE_INLINE -RtecEventComm::PushSupplier_var::PushSupplier_var (void) // default constructor - : ptr_ (RtecEventComm::PushSupplier::_nil ()) -{} - -ACE_INLINE -RtecEventComm::PushSupplier_var::PushSupplier_var (RtecEventComm::PushSupplier_ptr p) - : ptr_ (p) -{} - -ACE_INLINE RtecEventComm::PushSupplier_ptr -RtecEventComm::PushSupplier_var::ptr (void) const -{ - return this->ptr_; -} - -ACE_INLINE -RtecEventComm::PushSupplier_var::PushSupplier_var (const RtecEventComm::PushSupplier_var &p) // copy constructor - : ptr_ (RtecEventComm::PushSupplier::_duplicate (p.ptr ())) -{} - -ACE_INLINE -RtecEventComm::PushSupplier_var::~PushSupplier_var (void) // destructor -{ - CORBA::release (this->ptr_); -} - -ACE_INLINE RtecEventComm::PushSupplier_var & -RtecEventComm::PushSupplier_var::operator= (RtecEventComm::PushSupplier_ptr p) -{ - CORBA::release (this->ptr_); - this->ptr_ = p; - return *this; -} - -ACE_INLINE RtecEventComm::PushSupplier_var & -RtecEventComm::PushSupplier_var::operator= (const RtecEventComm::PushSupplier_var &p) -{ - if (this != &p) - { - CORBA::release (this->ptr_); - this->ptr_ = RtecEventComm::PushSupplier::_duplicate (p.ptr ()); - } - return *this; -} - -ACE_INLINE -RtecEventComm::PushSupplier_var::operator const RtecEventComm::PushSupplier_ptr &() const // cast -{ - return this->ptr_; -} - -ACE_INLINE -RtecEventComm::PushSupplier_var::operator RtecEventComm::PushSupplier_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE RtecEventComm::PushSupplier_ptr -RtecEventComm::PushSupplier_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecEventComm::PushSupplier_ptr -RtecEventComm::PushSupplier_var::in (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecEventComm::PushSupplier_ptr & -RtecEventComm::PushSupplier_var::inout (void) -{ - return this->ptr_; -} - -ACE_INLINE RtecEventComm::PushSupplier_ptr & -RtecEventComm::PushSupplier_var::out (void) -{ - CORBA::release (this->ptr_); - this->ptr_ = RtecEventComm::PushSupplier::_nil (); - return this->ptr_; -} - -ACE_INLINE RtecEventComm::PushSupplier_ptr -RtecEventComm::PushSupplier_var::_retn (void) -{ - // yield ownership of managed obj reference - RtecEventComm::PushSupplier_ptr val = this->ptr_; - this->ptr_ = RtecEventComm::PushSupplier::_nil (); - return val; -} - - -#endif // end #if !defined - - -#if !defined (_RTECEVENTCOMM_PUSHSUPPLIER___OUT_CI_) -#define _RTECEVENTCOMM_PUSHSUPPLIER___OUT_CI_ - -// ************************************************************* -// Inline operations for class RtecEventComm::PushSupplier_out -// ************************************************************* - -ACE_INLINE -RtecEventComm::PushSupplier_out::PushSupplier_out (RtecEventComm::PushSupplier_ptr &p) - : ptr_ (p) -{ - this->ptr_ = RtecEventComm::PushSupplier::_nil (); -} - -ACE_INLINE -RtecEventComm::PushSupplier_out::PushSupplier_out (RtecEventComm::PushSupplier_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - CORBA::release (this->ptr_); - this->ptr_ = RtecEventComm::PushSupplier::_nil (); -} - -ACE_INLINE -RtecEventComm::PushSupplier_out::PushSupplier_out (RtecEventComm::PushSupplier_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE RtecEventComm::PushSupplier_out & -RtecEventComm::PushSupplier_out::operator= (RtecEventComm::PushSupplier_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE RtecEventComm::PushSupplier_out & -RtecEventComm::PushSupplier_out::operator= (const RtecEventComm::PushSupplier_var &p) -{ - this->ptr_ = RtecEventComm::PushSupplier::_duplicate (p.ptr ()); - return *this; -} - -ACE_INLINE RtecEventComm::PushSupplier_out & -RtecEventComm::PushSupplier_out::operator= (RtecEventComm::PushSupplier_ptr p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -RtecEventComm::PushSupplier_out::operator RtecEventComm::PushSupplier_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE RtecEventComm::PushSupplier_ptr & -RtecEventComm::PushSupplier_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE RtecEventComm::PushSupplier_ptr -RtecEventComm::PushSupplier_out::operator-> (void) -{ - return this->ptr_; -} - - -#endif // end #if !defined - diff --git a/TAO/orbsvcs/lib/RtecEventCommS.cpp b/TAO/orbsvcs/lib/RtecEventCommS.cpp deleted file mode 100644 index 72e0c9882ff..00000000000 --- a/TAO/orbsvcs/lib/RtecEventCommS.cpp +++ /dev/null @@ -1,162 +0,0 @@ -// ****** Code generated by the The ACE ORB (TAO) IDL Compiler ******* -// TAO ORB and the TAO IDL Compiler have been developed by Washington -// University Computer Science's Distributed Object Computing Group. -// -// Information on TAO is available at -// http://www.cs.wustl.edu/~schmidt/TAO.html - -#include "RtecEventCommS.h" - -#if !defined (__ACE_INLINE__) -#include "RtecEventCommS.i" -#endif // !defined INLINE - -static const TAO_operation_db_entry RtecEventComm_PushConsumer_operations [] = { - {"push", &POA_RtecEventComm::PushConsumer::push_skel}, - {"disconnect_push_consumer", &POA_RtecEventComm::PushConsumer::disconnect_push_consumer_skel}, - {"_is_a", &POA_RtecEventComm::PushConsumer::_is_a_skel} -}; - -TAO_Dynamic_Hash_OpTable tao_RtecEventComm_PushConsumer_optable (RtecEventComm_PushConsumer_operations, 3, 6); -// skeleton constructor -POA_RtecEventComm::PushConsumer::PushConsumer (const char *obj_name) -{ - const CORBA::String repoID = "IDL:RtecEventComm/PushConsumer: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_RtecEventComm_PushConsumer_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::PushConsumer::push_skel (CORBA::ServerRequest &_tao_server_request, CORBA::Object_ptr _tao_object_reference, CORBA::Environment &_tao_environment) -{ - CORBA::NVList_ptr nvlist; - POA_RtecEventComm::PushConsumer_ptr impl; - RtecEventComm::EventSet data; - CORBA::NamedValue_ptr nv_data; - CORBA::Any any_data (RtecEventComm::_tc_EventSet, &data); // 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_data = nvlist->add_value ("data", any_data, CORBA::ARG_IN, _tao_environment); - // parse the arguments - _tao_server_request.params (nvlist, _tao_environment); - if (_tao_environment.exception ()) return; - impl = (POA_RtecEventComm::PushConsumer_ptr) _tao_object_reference->get_subclass (); - impl->push(data, _tao_environment); - -} - -void POA_RtecEventComm::PushConsumer::disconnect_push_consumer_skel (CORBA::ServerRequest &_tao_server_request, CORBA::Object_ptr _tao_object_reference, CORBA::Environment &_tao_environment) -{ - CORBA::NVList_ptr nvlist; - POA_RtecEventComm::PushConsumer_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::PushConsumer_ptr) _tao_object_reference->get_subclass (); - impl->disconnect_push_consumer(_tao_environment); - -} - -void POA_RtecEventComm::PushConsumer::_is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr /* obj */, CORBA::Environment &env) -{ - const CORBA::String type_id = "IDL:RtecEventComm/PushConsumer: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 RtecEventComm_PushSupplier_operations [] = { - {"disconnect_push_supplier", &POA_RtecEventComm::PushSupplier::disconnect_push_supplier_skel}, - {"_is_a", &POA_RtecEventComm::PushSupplier::_is_a_skel} -}; - -TAO_Dynamic_Hash_OpTable tao_RtecEventComm_PushSupplier_optable (RtecEventComm_PushSupplier_operations, 2, 4); -// skeleton constructor -POA_RtecEventComm::PushSupplier::PushSupplier (const char *obj_name) -{ - const CORBA::String repoID = "IDL:RtecEventComm/PushSupplier: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_RtecEventComm_PushSupplier_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::PushSupplier::disconnect_push_supplier_skel (CORBA::ServerRequest &_tao_server_request, CORBA::Object_ptr _tao_object_reference, CORBA::Environment &_tao_environment) -{ - CORBA::NVList_ptr nvlist; - POA_RtecEventComm::PushSupplier_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::PushSupplier_ptr) _tao_object_reference->get_subclass (); - impl->disconnect_push_supplier(_tao_environment); - -} - -void POA_RtecEventComm::PushSupplier::_is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr /* obj */, CORBA::Environment &env) -{ - const CORBA::String type_id = "IDL:RtecEventComm/PushSupplier: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 deleted file mode 100644 index bee4b6dc89c..00000000000 --- a/TAO/orbsvcs/lib/RtecEventCommS.h +++ /dev/null @@ -1,57 +0,0 @@ -// ****** Code generated by the The ACE ORB (TAO) IDL Compiler ******* -// TAO ORB and the TAO IDL Compiler have been developed by Washington -// University Computer Science's Distributed Object Computing Group. -// -// Information on TAO is available at -// http://www.cs.wustl.edu/~schmidt/TAO.html - -#if !defined (_TAO_IDL_RTECEVENTCOMMS_H_) -#define _TAO_IDL_RTECEVENTCOMMS_H_ - -#include "RtecEventCommC.h" - -class POA_RtecEventComm -{ -public: - class PushConsumer; - typedef PushConsumer *PushConsumer_ptr; - class PushConsumer : public virtual RtecEventComm::PushConsumer - { - protected: - PushConsumer (const char *obj_name = 0); - virtual ~PushConsumer (void); - public: - virtual void push (const RtecEventComm::EventSet &data, CORBA::Environment &env) = 0; // pure virtual - static void push_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env); - - virtual void disconnect_push_consumer ( CORBA::Environment &env) = 0; // pure virtual - static void disconnect_push_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 PushSupplier; - typedef PushSupplier *PushSupplier_ptr; - class PushSupplier : public virtual RtecEventComm::PushSupplier - { - protected: - PushSupplier (const char *obj_name = 0); - virtual ~PushSupplier (void); - public: - virtual void disconnect_push_supplier ( CORBA::Environment &env) = 0; // pure virtual - static void disconnect_push_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); - - }; - -}; - - -#if defined (__ACE_INLINE__) -#include "RtecEventCommS.i" -#endif // defined INLINE - - -#endif // if !defined diff --git a/TAO/orbsvcs/lib/RtecEventCommS.i b/TAO/orbsvcs/lib/RtecEventCommS.i deleted file mode 100644 index 3d902c27c7f..00000000000 --- a/TAO/orbsvcs/lib/RtecEventCommS.i +++ /dev/null @@ -1,17 +0,0 @@ -// ****** Code generated by the The ACE ORB (TAO) IDL Compiler ******* -// TAO ORB and the TAO IDL Compiler have been developed by Washington -// University Computer Science's Distributed Object Computing Group. -// -// Information on TAO is available at -// http://www.cs.wustl.edu/~schmidt/TAO.html - -// skeleton destructor -ACE_INLINE -POA_RtecEventComm::PushConsumer::~PushConsumer (void) -{ -} -// skeleton destructor -ACE_INLINE -POA_RtecEventComm::PushSupplier::~PushSupplier (void) -{ -} diff --git a/TAO/orbsvcs/lib/RtecSchedulerC.cpp b/TAO/orbsvcs/lib/RtecSchedulerC.cpp deleted file mode 100644 index 13a843513fb..00000000000 --- a/TAO/orbsvcs/lib/RtecSchedulerC.cpp +++ /dev/null @@ -1,1055 +0,0 @@ -// ****** Code generated by the The ACE ORB (TAO) IDL Compiler ******* -// TAO ORB and the TAO IDL Compiler have been developed by Washington -// University Computer Science's Distributed Object Computing Group. -// -// Information on TAO is available at -// http://www.cs.wustl.edu/~schmidt/TAO.html - -#include "RtecSchedulerC.h" - -#if !defined (__ACE_INLINE__) -#include "RtecSchedulerC.i" -#endif // !defined INLINE - -static const CORBA::Long _oc_RtecScheduler_Time[] = -{ - 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_Time (CORBA::tk_alias, sizeof (_oc_RtecScheduler_Time), (unsigned char *) &_oc_RtecScheduler_Time, CORBA::B_FALSE); -CORBA::TypeCode_ptr RtecScheduler::_tc_Time = &_tc__tc_RtecScheduler_Time; - -static const CORBA::Long _oc_RtecScheduler_Period[] = -{ - 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, - -}; -static CORBA::TypeCode _tc__tc_RtecScheduler_Period (CORBA::tk_alias, sizeof (_oc_RtecScheduler_Period), (unsigned char *) &_oc_RtecScheduler_Period, CORBA::B_FALSE); -CORBA::TypeCode_ptr RtecScheduler::_tc_Period = &_tc__tc_RtecScheduler_Period; - -static const CORBA::Long _oc_RtecScheduler_Quantum[] = -{ - 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, - -}; -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; - - -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 - { - RtecScheduler::_tao__seq_Dependency_Set::freebuf (this->buffer_); - } -} - -// 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 (CORBA::ULong 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->maximum_ = length; - } -this->length_ = 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 - 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_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 - 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_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; - -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, - -}; -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; - -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, - -}; -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_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 - 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, - 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 (CORBA::ULong 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->maximum_ = length; - } -this->length_ = 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, - - 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 - 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, - 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, - - 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, - - 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 - 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, - 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, - - 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_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_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_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 - RtecScheduler::RT_Info_Set *_tao_base_infos = new RtecScheduler::RT_Info_Set; - istub->do_call (env, &RtecScheduler_Scheduler_compute_scheduling_calldata, 0, &minimum_priority, &maximum_priority, _tao_base_infos); - infos = _tao_base_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; - diff --git a/TAO/orbsvcs/lib/RtecSchedulerC.h b/TAO/orbsvcs/lib/RtecSchedulerC.h deleted file mode 100644 index 78e78f30d43..00000000000 --- a/TAO/orbsvcs/lib/RtecSchedulerC.h +++ /dev/null @@ -1,640 +0,0 @@ -// ****** Code generated by the The ACE ORB (TAO) IDL Compiler ******* -// TAO ORB and the TAO IDL Compiler have been developed by Washington -// University Computer Science's Distributed Object Computing Group. -// -// Information on TAO is available at -// http://www.cs.wustl.edu/~schmidt/TAO.html - -#if !defined (_TAO_IDL_RTECSCHEDULERC_H_) -#define _TAO_IDL_RTECSCHEDULERC_H_ - -#include "tao/corba.h" - -class RtecScheduler{ -public: - typedef CORBA::Double Time;typedef CORBA::Double_out Time_out; - - static CORBA::TypeCode_ptr _tc_Time; - - typedef CORBA::Long Period;typedef CORBA::Long_out Period_out; - - static CORBA::TypeCode_ptr _tc_Period; - - typedef ACE_NESTED_CLASS (RtecScheduler,Time) Quantum;typedef ACE_NESTED_CLASS (RtecScheduler,Time_out) Quantum_out; - - static CORBA::TypeCode_ptr _tc_Quantum; - - static const CORBA::Long NO_QUANTUM; - - enum Importance - { - VERY_LOW, - LOW, - MEDIUM, - HIGH, - VERY_HIGH - }; - typedef Importance &Importance_out; - static CORBA::TypeCode_ptr _tc_Importance; - - typedef CORBA::Long handle_t;typedef CORBA::Long_out handle_t_out; - - static CORBA::TypeCode_ptr _tc_handle_t; - - struct Dependency_Info - { - CORBA::Long number_of_calls; - - ACE_NESTED_CLASS (RtecScheduler,handle_t) rt_info; - - }; - - class Dependency_Info_var - { - public: - Dependency_Info_var (void); // default constructor - Dependency_Info_var (Dependency_Info *); - Dependency_Info_var (const Dependency_Info_var &); // copy constructor - ~Dependency_Info_var (void); // destructor - - Dependency_Info_var &operator= (Dependency_Info *); - Dependency_Info_var &operator= (const Dependency_Info_var &); - Dependency_Info *operator-> (void); - const Dependency_Info *operator-> (void) const; - - operator const Dependency_Info &() const; - operator Dependency_Info &(); - operator Dependency_Info &() const; - // in, inout, out, _retn - const Dependency_Info &in (void) const; - Dependency_Info &inout (void); - Dependency_Info &out (void); - Dependency_Info _retn (void); - Dependency_Info *ptr(void) const; - - private: - Dependency_Info *ptr_; - }; - - typedef Dependency_Info &Dependency_Info_out; - - static CORBA::TypeCode_ptr _tc_Dependency_Info; - - -#if !defined (_RTECSCHEDULER__TAO__SEQ_DEPENDENCY_SET_CH_) -#define _RTECSCHEDULER__TAO__SEQ_DEPENDENCY_SET_CH_ - - // ************************************************************* - // class _tao__seq_Dependency_Set - // ************************************************************* - - class _tao__seq_Dependency_Set - { - public: - _tao__seq_Dependency_Set (void); // default constructor - _tao__seq_Dependency_Set (CORBA::ULong max); - _tao__seq_Dependency_Set (CORBA::ULong max, CORBA::ULong length, - ACE_NESTED_CLASS (RtecScheduler,Dependency_Info) *value, CORBA::Boolean release=CORBA::B_FALSE); - _tao__seq_Dependency_Set(const _tao__seq_Dependency_Set &); // copy constructor - ~_tao__seq_Dependency_Set (void); - _tao__seq_Dependency_Set &operator= (const _tao__seq_Dependency_Set &); - CORBA::ULong maximum (void) const; - void length (CORBA::ULong); - CORBA::ULong length (void) const; - ACE_NESTED_CLASS (RtecScheduler,Dependency_Info) &operator[] (CORBA::ULong index); - const ACE_NESTED_CLASS (RtecScheduler,Dependency_Info) &operator[] (CORBA::ULong index) const; - static ACE_NESTED_CLASS (RtecScheduler,Dependency_Info) *allocbuf (CORBA::ULong nelems); - static void freebuf (ACE_NESTED_CLASS (RtecScheduler,Dependency_Info) *); - private: - CORBA::ULong maximum_; - CORBA::ULong length_; - ACE_NESTED_CLASS (RtecScheduler,Dependency_Info) *buffer_; - CORBA::Boolean release_; - }; - typedef _tao__seq_Dependency_Set* _tao__seq_Dependency_Set_ptr; - static CORBA::TypeCode_ptr _tc__tao__seq_Dependency_Set; - - -#endif // end #if !defined - - -#if !defined (_RTECSCHEDULER__TAO__SEQ_DEPENDENCY_SET___VAR_CH_) -#define _RTECSCHEDULER__TAO__SEQ_DEPENDENCY_SET___VAR_CH_ - -// ************************************************************* - // class RtecScheduler::_tao__seq_Dependency_Set_var - // ************************************************************* - - class _tao__seq_Dependency_Set_var - { - public: - _tao__seq_Dependency_Set_var (void); // default constructor - _tao__seq_Dependency_Set_var (_tao__seq_Dependency_Set *); - _tao__seq_Dependency_Set_var (const _tao__seq_Dependency_Set_var &); // copy constructor - ~_tao__seq_Dependency_Set_var (void); // destructor - - _tao__seq_Dependency_Set_var &operator= (_tao__seq_Dependency_Set *); - _tao__seq_Dependency_Set_var &operator= (const _tao__seq_Dependency_Set_var &); - _tao__seq_Dependency_Set *operator-> (void); - const _tao__seq_Dependency_Set *operator-> (void) const; - - operator const _tao__seq_Dependency_Set &() const; - operator _tao__seq_Dependency_Set &(); - operator _tao__seq_Dependency_Set &() const; - ACE_NESTED_CLASS (RtecScheduler,Dependency_Info) &operator[] (CORBA::ULong index); - // in, inout, out, _retn - const _tao__seq_Dependency_Set &in (void) const; - _tao__seq_Dependency_Set &inout (void); - _tao__seq_Dependency_Set *&out (void); - _tao__seq_Dependency_Set *_retn (void); - _tao__seq_Dependency_Set *ptr (void) const; - - private: - _tao__seq_Dependency_Set *ptr_; - }; - - -#endif // end #if !defined - - -#if !defined (_RTECSCHEDULER__TAO__SEQ_DEPENDENCY_SET___OUT_CH_) -#define _RTECSCHEDULER__TAO__SEQ_DEPENDENCY_SET___OUT_CH_ - - class _tao__seq_Dependency_Set_out - { - public: - _tao__seq_Dependency_Set_out (_tao__seq_Dependency_Set *&); - _tao__seq_Dependency_Set_out (_tao__seq_Dependency_Set_var &); - _tao__seq_Dependency_Set_out (_tao__seq_Dependency_Set_out &); - _tao__seq_Dependency_Set_out &operator= (_tao__seq_Dependency_Set_out &); - _tao__seq_Dependency_Set_out &operator= (_tao__seq_Dependency_Set *); - operator _tao__seq_Dependency_Set *&(); - _tao__seq_Dependency_Set *&ptr (void); - _tao__seq_Dependency_Set *operator-> (void); - ACE_NESTED_CLASS (RtecScheduler,Dependency_Info) &operator[] (CORBA::ULong index); - - private: - _tao__seq_Dependency_Set *&ptr_; - // assignment from T_var not allowed - void operator= (const _tao__seq_Dependency_Set_var &); - }; - - -#endif // end #if !defined - - typedef ACE_NESTED_CLASS (RtecScheduler,_tao__seq_Dependency_Set) Dependency_Set; - typedef ACE_NESTED_CLASS (RtecScheduler,_tao__seq_Dependency_Set_var) Dependency_Set_var; - typedef ACE_NESTED_CLASS (RtecScheduler,_tao__seq_Dependency_Set_out) Dependency_Set_out; - - static CORBA::TypeCode_ptr _tc_Dependency_Set; - - typedef CORBA::Long OS_Priority;typedef CORBA::Long_out OS_Priority_out; - - static CORBA::TypeCode_ptr _tc_OS_Priority; - - typedef CORBA::Long Sub_Priority;typedef CORBA::Long_out Sub_Priority_out; - - static CORBA::TypeCode_ptr _tc_Sub_Priority; - - typedef CORBA::Long Preemption_Priority;typedef CORBA::Long_out Preemption_Priority_out; - - static CORBA::TypeCode_ptr _tc_Preemption_Priority; - - struct RT_Info - { - CORBA::String_var entry_point; - - ACE_NESTED_CLASS (RtecScheduler,handle_t) handle; - - ACE_NESTED_CLASS (RtecScheduler,Time) worst_case_execution_time; - - ACE_NESTED_CLASS (RtecScheduler,Time) typical_execution_time; - - ACE_NESTED_CLASS (RtecScheduler,Time) cached_execution_time; - - ACE_NESTED_CLASS (RtecScheduler,Period) period; - - ACE_NESTED_CLASS (RtecScheduler,Importance) importance; - - ACE_NESTED_CLASS (RtecScheduler,Quantum) quantum; - - CORBA::Long threads; - - ACE_NESTED_CLASS (RtecScheduler,Dependency_Set) dependencies; - - ACE_NESTED_CLASS (RtecScheduler,OS_Priority) priority; - - ACE_NESTED_CLASS (RtecScheduler,Sub_Priority) subpriority; - - ACE_NESTED_CLASS (RtecScheduler,Preemption_Priority) preemption_priority; - - }; - - class RT_Info_var - { - public: - RT_Info_var (void); // default constructor - RT_Info_var (RT_Info *); - RT_Info_var (const RT_Info_var &); // copy constructor - ~RT_Info_var (void); // destructor - - RT_Info_var &operator= (RT_Info *); - RT_Info_var &operator= (const RT_Info_var &); - RT_Info *operator-> (void); - const RT_Info *operator-> (void) const; - - operator const RT_Info &() const; - operator RT_Info &(); - operator RT_Info &() const; - // in, inout, out, _retn - const RT_Info &in (void) const; - RT_Info &inout (void); - RT_Info *&out (void); - RT_Info *_retn (void); - RT_Info *ptr(void) const; - - private: - RT_Info *ptr_; - }; - - class RT_Info_out - { - public: - RT_Info_out (RT_Info *&); - RT_Info_out (RT_Info_var &); - RT_Info_out (RT_Info_out &); - RT_Info_out &operator= (RT_Info_out &); - RT_Info_out &operator= (RT_Info *); - operator RT_Info *&(); - RT_Info *&ptr (void); - RT_Info *operator-> (void); - - private: - RT_Info *&ptr_; - // assignment from T_var not allowed - void operator= (const RT_Info_var &); - }; - - static CORBA::TypeCode_ptr _tc_RT_Info; - - -#if !defined (_RTECSCHEDULER_DUPLICATE_NAME___PTR_CH_) -#define _RTECSCHEDULER_DUPLICATE_NAME___PTR_CH_ - - class DUPLICATE_NAME; - typedef DUPLICATE_NAME *DUPLICATE_NAME_ptr; - -#endif // end #if !defined - - -#if !defined (_RTECSCHEDULER_DUPLICATE_NAME_CH_) -#define _RTECSCHEDULER_DUPLICATE_NAME_CH_ - - class DUPLICATE_NAME : public virtual CORBA::UserException - { - public: - DUPLICATE_NAME (void); - }; - - -#endif // end #if !defined - -static CORBA::TypeCode_ptr _tc_DUPLICATE_NAME; - - -#if !defined (_RTECSCHEDULER_UNKNOWN_TASK___PTR_CH_) -#define _RTECSCHEDULER_UNKNOWN_TASK___PTR_CH_ - - class UNKNOWN_TASK; - typedef UNKNOWN_TASK *UNKNOWN_TASK_ptr; - -#endif // end #if !defined - - -#if !defined (_RTECSCHEDULER_UNKNOWN_TASK_CH_) -#define _RTECSCHEDULER_UNKNOWN_TASK_CH_ - - class UNKNOWN_TASK : public virtual CORBA::UserException - { - public: - UNKNOWN_TASK (void); - }; - - -#endif // end #if !defined - -static CORBA::TypeCode_ptr _tc_UNKNOWN_TASK; - - -#if !defined (_RTECSCHEDULER_NOT_SCHEDULED___PTR_CH_) -#define _RTECSCHEDULER_NOT_SCHEDULED___PTR_CH_ - - class NOT_SCHEDULED; - typedef NOT_SCHEDULED *NOT_SCHEDULED_ptr; - -#endif // end #if !defined - - -#if !defined (_RTECSCHEDULER_NOT_SCHEDULED_CH_) -#define _RTECSCHEDULER_NOT_SCHEDULED_CH_ - - class NOT_SCHEDULED : public virtual CORBA::UserException - { - public: - NOT_SCHEDULED (void); - }; - - -#endif // end #if !defined - -static CORBA::TypeCode_ptr _tc_NOT_SCHEDULED; - - -#if !defined (_RTECSCHEDULER_UTILIZATION_BOUND_EXCEEDED___PTR_CH_) -#define _RTECSCHEDULER_UTILIZATION_BOUND_EXCEEDED___PTR_CH_ - - class UTILIZATION_BOUND_EXCEEDED; - typedef UTILIZATION_BOUND_EXCEEDED *UTILIZATION_BOUND_EXCEEDED_ptr; - -#endif // end #if !defined - - -#if !defined (_RTECSCHEDULER_UTILIZATION_BOUND_EXCEEDED_CH_) -#define _RTECSCHEDULER_UTILIZATION_BOUND_EXCEEDED_CH_ - - class UTILIZATION_BOUND_EXCEEDED : public virtual CORBA::UserException - { - public: - UTILIZATION_BOUND_EXCEEDED (void); - }; - - -#endif // end #if !defined - -static CORBA::TypeCode_ptr _tc_UTILIZATION_BOUND_EXCEEDED; - - -#if !defined (_RTECSCHEDULER_INSUFFICIENT_THREAD_PRIORITY_LEVELS___PTR_CH_) -#define _RTECSCHEDULER_INSUFFICIENT_THREAD_PRIORITY_LEVELS___PTR_CH_ - - class INSUFFICIENT_THREAD_PRIORITY_LEVELS; - typedef INSUFFICIENT_THREAD_PRIORITY_LEVELS *INSUFFICIENT_THREAD_PRIORITY_LEVELS_ptr; - -#endif // end #if !defined - - -#if !defined (_RTECSCHEDULER_INSUFFICIENT_THREAD_PRIORITY_LEVELS_CH_) -#define _RTECSCHEDULER_INSUFFICIENT_THREAD_PRIORITY_LEVELS_CH_ - - class INSUFFICIENT_THREAD_PRIORITY_LEVELS : public virtual CORBA::UserException - { - public: - INSUFFICIENT_THREAD_PRIORITY_LEVELS (void); - }; - - -#endif // end #if !defined - -static CORBA::TypeCode_ptr _tc_INSUFFICIENT_THREAD_PRIORITY_LEVELS; - - -#if !defined (_RTECSCHEDULER_TASK_COUNT_MISMATCH___PTR_CH_) -#define _RTECSCHEDULER_TASK_COUNT_MISMATCH___PTR_CH_ - - class TASK_COUNT_MISMATCH; - typedef TASK_COUNT_MISMATCH *TASK_COUNT_MISMATCH_ptr; - -#endif // end #if !defined - - -#if !defined (_RTECSCHEDULER_TASK_COUNT_MISMATCH_CH_) -#define _RTECSCHEDULER_TASK_COUNT_MISMATCH_CH_ - - class TASK_COUNT_MISMATCH : public virtual CORBA::UserException - { - public: - TASK_COUNT_MISMATCH (void); - }; - - -#endif // end #if !defined - -static CORBA::TypeCode_ptr _tc_TASK_COUNT_MISMATCH; - - -#if !defined (_RTECSCHEDULER__TAO__SEQ_RT_INFO_SET_CH_) -#define _RTECSCHEDULER__TAO__SEQ_RT_INFO_SET_CH_ - - // ************************************************************* - // class _tao__seq_RT_Info_Set - // ************************************************************* - - class _tao__seq_RT_Info_Set - { - public: - _tao__seq_RT_Info_Set (void); // default constructor - _tao__seq_RT_Info_Set (CORBA::ULong max); - _tao__seq_RT_Info_Set (CORBA::ULong max, CORBA::ULong length, - ACE_NESTED_CLASS (RtecScheduler,RT_Info) *value, CORBA::Boolean release=CORBA::B_FALSE); - _tao__seq_RT_Info_Set(const _tao__seq_RT_Info_Set &); // copy constructor - ~_tao__seq_RT_Info_Set (void); - _tao__seq_RT_Info_Set &operator= (const _tao__seq_RT_Info_Set &); - CORBA::ULong maximum (void) const; - void length (CORBA::ULong); - CORBA::ULong length (void) const; - ACE_NESTED_CLASS (RtecScheduler,RT_Info) &operator[] (CORBA::ULong index); - const ACE_NESTED_CLASS (RtecScheduler,RT_Info) &operator[] (CORBA::ULong index) const; - static ACE_NESTED_CLASS (RtecScheduler,RT_Info) *allocbuf (CORBA::ULong nelems); - static void freebuf (ACE_NESTED_CLASS (RtecScheduler,RT_Info) *); - private: - CORBA::ULong maximum_; - CORBA::ULong length_; - ACE_NESTED_CLASS (RtecScheduler,RT_Info) *buffer_; - CORBA::Boolean release_; - }; - typedef _tao__seq_RT_Info_Set* _tao__seq_RT_Info_Set_ptr; - static CORBA::TypeCode_ptr _tc__tao__seq_RT_Info_Set; - - -#endif // end #if !defined - - -#if !defined (_RTECSCHEDULER__TAO__SEQ_RT_INFO_SET___VAR_CH_) -#define _RTECSCHEDULER__TAO__SEQ_RT_INFO_SET___VAR_CH_ - -// ************************************************************* - // class RtecScheduler::_tao__seq_RT_Info_Set_var - // ************************************************************* - - class _tao__seq_RT_Info_Set_var - { - public: - _tao__seq_RT_Info_Set_var (void); // default constructor - _tao__seq_RT_Info_Set_var (_tao__seq_RT_Info_Set *); - _tao__seq_RT_Info_Set_var (const _tao__seq_RT_Info_Set_var &); // copy constructor - ~_tao__seq_RT_Info_Set_var (void); // destructor - - _tao__seq_RT_Info_Set_var &operator= (_tao__seq_RT_Info_Set *); - _tao__seq_RT_Info_Set_var &operator= (const _tao__seq_RT_Info_Set_var &); - _tao__seq_RT_Info_Set *operator-> (void); - const _tao__seq_RT_Info_Set *operator-> (void) const; - - operator const _tao__seq_RT_Info_Set &() const; - operator _tao__seq_RT_Info_Set &(); - operator _tao__seq_RT_Info_Set &() const; - ACE_NESTED_CLASS (RtecScheduler,RT_Info) &operator[] (CORBA::ULong index); - // in, inout, out, _retn - const _tao__seq_RT_Info_Set &in (void) const; - _tao__seq_RT_Info_Set &inout (void); - _tao__seq_RT_Info_Set *&out (void); - _tao__seq_RT_Info_Set *_retn (void); - _tao__seq_RT_Info_Set *ptr (void) const; - - private: - _tao__seq_RT_Info_Set *ptr_; - }; - - -#endif // end #if !defined - - -#if !defined (_RTECSCHEDULER__TAO__SEQ_RT_INFO_SET___OUT_CH_) -#define _RTECSCHEDULER__TAO__SEQ_RT_INFO_SET___OUT_CH_ - - class _tao__seq_RT_Info_Set_out - { - public: - _tao__seq_RT_Info_Set_out (_tao__seq_RT_Info_Set *&); - _tao__seq_RT_Info_Set_out (_tao__seq_RT_Info_Set_var &); - _tao__seq_RT_Info_Set_out (_tao__seq_RT_Info_Set_out &); - _tao__seq_RT_Info_Set_out &operator= (_tao__seq_RT_Info_Set_out &); - _tao__seq_RT_Info_Set_out &operator= (_tao__seq_RT_Info_Set *); - operator _tao__seq_RT_Info_Set *&(); - _tao__seq_RT_Info_Set *&ptr (void); - _tao__seq_RT_Info_Set *operator-> (void); - ACE_NESTED_CLASS (RtecScheduler,RT_Info) &operator[] (CORBA::ULong index); - - private: - _tao__seq_RT_Info_Set *&ptr_; - // assignment from T_var not allowed - void operator= (const _tao__seq_RT_Info_Set_var &); - }; - - -#endif // end #if !defined - - typedef ACE_NESTED_CLASS (RtecScheduler,_tao__seq_RT_Info_Set) RT_Info_Set; - typedef ACE_NESTED_CLASS (RtecScheduler,_tao__seq_RT_Info_Set_var) RT_Info_Set_var; - typedef ACE_NESTED_CLASS (RtecScheduler,_tao__seq_RT_Info_Set_out) RT_Info_Set_out; - - static CORBA::TypeCode_ptr _tc_RT_Info_Set; - - -#if !defined (_RTECSCHEDULER_SCHEDULER___PTR_CH_) -#define _RTECSCHEDULER_SCHEDULER___PTR_CH_ - -class Scheduler; - typedef Scheduler *Scheduler_ptr; - -#endif // end #if !defined - - -#if !defined (_RTECSCHEDULER_SCHEDULER_CH_) -#define _RTECSCHEDULER_SCHEDULER_CH_ - -class Scheduler: public virtual ACE_CORBA_1 (Object) - { - public: - // the static operations - static Scheduler_ptr _duplicate (Scheduler_ptr obj); - static Scheduler_ptr _narrow (CORBA::Object_ptr obj, CORBA::Environment &env); - static Scheduler_ptr _nil (void); - static Scheduler_ptr _bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env); - - virtual RtecScheduler::handle_t create (const char * entry_point, CORBA::Environment &env); - virtual RtecScheduler::handle_t lookup (const char * entry_point, CORBA::Environment &env); - virtual ACE_NESTED_CLASS (RtecScheduler,RT_Info) * get (ACE_NESTED_CLASS (RtecScheduler,handle_t) handle, CORBA::Environment &env); - virtual void set (ACE_NESTED_CLASS (RtecScheduler,handle_t) handle, ACE_NESTED_CLASS (RtecScheduler,Time) time, ACE_NESTED_CLASS (RtecScheduler,Time) typical_time, ACE_NESTED_CLASS (RtecScheduler,Time) cached_time, ACE_NESTED_CLASS (RtecScheduler,Period) period, ACE_NESTED_CLASS (RtecScheduler,Importance) importance, ACE_NESTED_CLASS (RtecScheduler,Quantum) quantum, CORBA::Long threads, CORBA::Environment &env); - virtual void add_dependency (ACE_NESTED_CLASS (RtecScheduler,handle_t) handle, ACE_NESTED_CLASS (RtecScheduler,handle_t) dependency, CORBA::Long number_of_calls, CORBA::Environment &env); - virtual void priority (ACE_NESTED_CLASS (RtecScheduler,handle_t) handle, ACE_NESTED_CLASS (RtecScheduler,OS_Priority_out) priority, ACE_NESTED_CLASS (RtecScheduler,Sub_Priority_out) subpriority, ACE_NESTED_CLASS (RtecScheduler,Preemption_Priority_out) p_priority, CORBA::Environment &env); - virtual void entry_point_priority (const char * entry_point, ACE_NESTED_CLASS (RtecScheduler,OS_Priority_out) priority, ACE_NESTED_CLASS (RtecScheduler,Sub_Priority_out) subpriority, ACE_NESTED_CLASS (RtecScheduler,Preemption_Priority_out) p_priority, CORBA::Environment &env); - virtual void compute_scheduling (CORBA::Long minimum_priority, CORBA::Long maximum_priority, ACE_NESTED_CLASS (RtecScheduler,RT_Info_Set_out) infos, CORBA::Environment &env); - protected: - Scheduler (void); // default constructor - Scheduler (STUB_Object *objref); - virtual ~Scheduler (void); - private: - Scheduler (const Scheduler&); - void operator= (const Scheduler&); - }; - - -#endif // end #if !defined - - -#if !defined (_RTECSCHEDULER_SCHEDULER___VAR_CH_) -#define _RTECSCHEDULER_SCHEDULER___VAR_CH_ - - class Scheduler_var - { - public: - Scheduler_var (void); // default constructor - Scheduler_var (Scheduler_ptr); - Scheduler_var (const Scheduler_var &); // copy constructor - ~Scheduler_var (void); // destructor - - Scheduler_var &operator= (Scheduler_ptr); - Scheduler_var &operator= (const Scheduler_var &); - Scheduler_ptr operator-> (void) const; - - operator const Scheduler_ptr &() const; - operator Scheduler_ptr &(); - // in, inout, out, _retn - Scheduler_ptr in (void) const; - Scheduler_ptr &inout (void); - Scheduler_ptr &out (void); - Scheduler_ptr _retn (void); - Scheduler_ptr ptr (void) const; - - private: - Scheduler_ptr ptr_; - }; - - -#endif // end #if !defined - - -#if !defined (_RTECSCHEDULER_SCHEDULER___OUT_CH_) -#define _RTECSCHEDULER_SCHEDULER___OUT_CH_ - - class Scheduler_out - { - public: - Scheduler_out (Scheduler_ptr &); - Scheduler_out (Scheduler_var &); - Scheduler_out (Scheduler_out &); - Scheduler_out &operator= (Scheduler_out &); - Scheduler_out &operator= (const Scheduler_var &); - Scheduler_out &operator= (Scheduler_ptr); - operator Scheduler_ptr &(); - Scheduler_ptr &ptr (void); - Scheduler_ptr operator-> (void); - - private: - Scheduler_ptr &ptr_; - }; - - -#endif // end #if !defined - - static CORBA::TypeCode_ptr _tc_Scheduler; - -}; - - -#if defined (__ACE_INLINE__) -#include "RtecSchedulerC.i" -#endif // defined INLINE - - -#endif // if !defined diff --git a/TAO/orbsvcs/lib/RtecSchedulerC.i b/TAO/orbsvcs/lib/RtecSchedulerC.i deleted file mode 100644 index 9a688e26490..00000000000 --- a/TAO/orbsvcs/lib/RtecSchedulerC.i +++ /dev/null @@ -1,1022 +0,0 @@ -// ****** Code generated by the The ACE ORB (TAO) IDL Compiler ******* -// TAO ORB and the TAO IDL Compiler have been developed by Washington -// University Computer Science's Distributed Object Computing Group. -// -// Information on TAO is available at -// http://www.cs.wustl.edu/~schmidt/TAO.html - -// ************************************************************* -// Inline operations for class RtecScheduler::Dependency_Info_var -// ************************************************************* - -ACE_INLINE -RtecScheduler::Dependency_Info_var::Dependency_Info_var (void) // default constructor - : ptr_ (0) -{} - -ACE_INLINE -RtecScheduler::Dependency_Info_var::Dependency_Info_var (RtecScheduler::Dependency_Info *p) - : ptr_ (p) -{} - -ACE_INLINE -RtecScheduler::Dependency_Info_var::Dependency_Info_var (const RtecScheduler::Dependency_Info_var &p) // copy constructor -{ - if (p.ptr_) - this->ptr_ = new RtecScheduler::Dependency_Info(*p.ptr_); - else - this->ptr_ = 0; -} - -ACE_INLINE -RtecScheduler::Dependency_Info_var::~Dependency_Info_var (void) // destructor -{ - delete this->ptr_; -} - -ACE_INLINE RtecScheduler::Dependency_Info_var & -RtecScheduler::Dependency_Info_var::operator= (RtecScheduler::Dependency_Info *p) -{ - delete this->ptr_; - this->ptr_ = p; - return *this; -} - -ACE_INLINE RtecScheduler::Dependency_Info_var & -RtecScheduler::Dependency_Info_var::operator= (const RtecScheduler::Dependency_Info_var &p) -{ - if (this != &p) - { - delete this->ptr_; - this->ptr_ = new RtecScheduler::Dependency_Info (*p.ptr_); - } - return *this; -} - -ACE_INLINE const RtecScheduler::Dependency_Info * -RtecScheduler::Dependency_Info_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecScheduler::Dependency_Info * -RtecScheduler::Dependency_Info_var::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE -RtecScheduler::Dependency_Info_var::operator const RtecScheduler::Dependency_Info &() const // cast -{ - return *this->ptr_; -} - -ACE_INLINE -RtecScheduler::Dependency_Info_var::operator RtecScheduler::Dependency_Info &() // cast -{ - return *this->ptr_; -} - -ACE_INLINE -RtecScheduler::Dependency_Info_var::operator RtecScheduler::Dependency_Info &() const// cast -{ - return *this->ptr_; -} - -ACE_INLINE const RtecScheduler::Dependency_Info & -RtecScheduler::Dependency_Info_var::in (void) const -{ - return *this->ptr_; -} - -ACE_INLINE RtecScheduler::Dependency_Info & -RtecScheduler::Dependency_Info_var::inout (void) -{ - return *this->ptr_; -} - -// mapping for fixed size -ACE_INLINE RtecScheduler::Dependency_Info & -RtecScheduler::Dependency_Info_var::out (void) -{ - return *this->ptr_; -} - -ACE_INLINE RtecScheduler::Dependency_Info -RtecScheduler::Dependency_Info_var::_retn (void) -{ - return *this->ptr_; -} - -ACE_INLINE RtecScheduler::Dependency_Info * -RtecScheduler::Dependency_Info_var::ptr (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecScheduler::Dependency_Info * -RtecScheduler::_tao__seq_Dependency_Set::allocbuf (CORBA::ULong nelems) -{ - return new RtecScheduler::Dependency_Info[nelems]; // allocate from heap -} - -ACE_INLINE void -RtecScheduler::_tao__seq_Dependency_Set::freebuf (RtecScheduler::Dependency_Info *seq) -{ - delete [] seq; -} - -//default constructor -ACE_INLINE -RtecScheduler::_tao__seq_Dependency_Set::_tao__seq_Dependency_Set (void) - : maximum_ (0), - length_ (0), - buffer_ (0), - release_ (0) // does not own -{} - -// constructor for unbounded seq -ACE_INLINE -RtecScheduler::_tao__seq_Dependency_Set::_tao__seq_Dependency_Set(CORBA::ULong max ) - : maximum_ (max), - length_ (0), - buffer_ (RtecScheduler::_tao__seq_Dependency_Set::allocbuf (max)), - release_ (1) // owns -{} - -// constructor from data buffer -ACE_INLINE -RtecScheduler::_tao__seq_Dependency_Set::_tao__seq_Dependency_Set (CORBA::ULong max, CORBA::ULong length, - RtecScheduler::Dependency_Info *value, CORBA::Boolean release) - : maximum_ (max), - length_ (length), - buffer_ (value), - release_ (release) // ownership depends on release -{} - -ACE_INLINE CORBA::ULong -RtecScheduler::_tao__seq_Dependency_Set::maximum (void) const -{ - return this->maximum_; -} - -ACE_INLINE CORBA::ULong -RtecScheduler::_tao__seq_Dependency_Set::length (void) const -{ - return this->length_; -} - -ACE_INLINE RtecScheduler::Dependency_Info & -RtecScheduler::_tao__seq_Dependency_Set::operator[] (CORBA::ULong index) // read/write -{ - return this->buffer_[index]; -} - -ACE_INLINE const RtecScheduler::Dependency_Info & -RtecScheduler::_tao__seq_Dependency_Set::operator[] (CORBA::ULong index) const // read -{ - return this->buffer_[index]; -} - -// ************************************************************* -// Inline operations for class RtecScheduler::_tao__seq_Dependency_Set_var -// ************************************************************* - -ACE_INLINE -RtecScheduler::_tao__seq_Dependency_Set_var::_tao__seq_Dependency_Set_var (void) // default constructor - : ptr_ (0) -{} - -ACE_INLINE -RtecScheduler::_tao__seq_Dependency_Set_var::_tao__seq_Dependency_Set_var (RtecScheduler::_tao__seq_Dependency_Set_ptr p) - : ptr_ (p) -{} - -ACE_INLINE -RtecScheduler::_tao__seq_Dependency_Set_var::_tao__seq_Dependency_Set_var (const RtecScheduler::_tao__seq_Dependency_Set_var &p) // copy constructor -{ - if (p.ptr_) - this->ptr_ = new RtecScheduler::_tao__seq_Dependency_Set(*p.ptr_); - else - this->ptr_ = 0; -} - -ACE_INLINE -RtecScheduler::_tao__seq_Dependency_Set_var::~_tao__seq_Dependency_Set_var (void) // destructor -{ - delete this->ptr_; -} - -ACE_INLINE RtecScheduler::_tao__seq_Dependency_Set_var & -RtecScheduler::_tao__seq_Dependency_Set_var::operator= (RtecScheduler::_tao__seq_Dependency_Set *p) -{ - delete this->ptr_; - this->ptr_ = p; - return *this; -} - -ACE_INLINE RtecScheduler::_tao__seq_Dependency_Set_var & -RtecScheduler::_tao__seq_Dependency_Set_var::operator= (const RtecScheduler::_tao__seq_Dependency_Set_var &p) // deep copy -{ - if (this != &p) - { - delete this->ptr_; - this->ptr_ = new RtecScheduler::_tao__seq_Dependency_Set (*p.ptr_); - } - return *this; -} - -ACE_INLINE const RtecScheduler::_tao__seq_Dependency_Set * -RtecScheduler::_tao__seq_Dependency_Set_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecScheduler::_tao__seq_Dependency_Set * -RtecScheduler::_tao__seq_Dependency_Set_var::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE -RtecScheduler::_tao__seq_Dependency_Set_var::operator const RtecScheduler::_tao__seq_Dependency_Set &() const // cast -{ - return *this->ptr_; -} - -ACE_INLINE -RtecScheduler::_tao__seq_Dependency_Set_var::operator RtecScheduler::_tao__seq_Dependency_Set &() // cast -{ - return *this->ptr_; -} - -ACE_INLINE -RtecScheduler::_tao__seq_Dependency_Set_var::operator RtecScheduler::_tao__seq_Dependency_Set &() const// cast -{ - return *this->ptr_; -} - -ACE_INLINE RtecScheduler::Dependency_Info& -RtecScheduler::_tao__seq_Dependency_Set_var::operator[] (CORBA::ULong index) -{ - return this->ptr_->operator[] (index); -} - -ACE_INLINE const RtecScheduler::_tao__seq_Dependency_Set & -RtecScheduler::_tao__seq_Dependency_Set_var::in (void) const -{ - return *this->ptr_; -} - -ACE_INLINE RtecScheduler::_tao__seq_Dependency_Set & -RtecScheduler::_tao__seq_Dependency_Set_var::inout (void) -{ - return *this->ptr_; -} - -// mapping for variable size -ACE_INLINE RtecScheduler::_tao__seq_Dependency_Set *& -RtecScheduler::_tao__seq_Dependency_Set_var::out (void) -{ - delete this->ptr_; - this->ptr_ = 0; - return this->ptr_; -} - -ACE_INLINE RtecScheduler::_tao__seq_Dependency_Set * -RtecScheduler::_tao__seq_Dependency_Set_var::_retn (void) -{ - RtecScheduler::_tao__seq_Dependency_Set *tmp = this->ptr_; - this->ptr_ = 0; - return tmp; -} - -ACE_INLINE RtecScheduler::_tao__seq_Dependency_Set * -RtecScheduler::_tao__seq_Dependency_Set_var::ptr (void) const -{ - return this->ptr_; -} - -// ************************************************************* -// Inline operations for class RtecScheduler::_tao__seq_Dependency_Set_out -// ************************************************************* - -ACE_INLINE -RtecScheduler::_tao__seq_Dependency_Set_out::_tao__seq_Dependency_Set_out (RtecScheduler::_tao__seq_Dependency_Set *&p) - : ptr_ (p) -{ - this->ptr_ = 0; -} - -ACE_INLINE -RtecScheduler::_tao__seq_Dependency_Set_out::_tao__seq_Dependency_Set_out (RtecScheduler::_tao__seq_Dependency_Set_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - delete this->ptr_; - this->ptr_ = 0; -} - -ACE_INLINE -RtecScheduler::_tao__seq_Dependency_Set_out::_tao__seq_Dependency_Set_out (RtecScheduler::_tao__seq_Dependency_Set_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE RtecScheduler::_tao__seq_Dependency_Set_out & -RtecScheduler::_tao__seq_Dependency_Set_out::operator= (RtecScheduler::_tao__seq_Dependency_Set_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE RtecScheduler::_tao__seq_Dependency_Set_out & -RtecScheduler::_tao__seq_Dependency_Set_out::operator= (RtecScheduler::_tao__seq_Dependency_Set *p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -RtecScheduler::_tao__seq_Dependency_Set_out::operator RtecScheduler::_tao__seq_Dependency_Set *&() // cast -{ - return this->ptr_; -} - -ACE_INLINE RtecScheduler::_tao__seq_Dependency_Set *& -RtecScheduler::_tao__seq_Dependency_Set_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE RtecScheduler::_tao__seq_Dependency_Set * -RtecScheduler::_tao__seq_Dependency_Set_out::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE RtecScheduler::Dependency_Info& -RtecScheduler::_tao__seq_Dependency_Set_out::operator[] (CORBA::ULong index) -{ - return this->ptr_->operator[] (index); -} - -// ************************************************************* -// Inline operations for class RtecScheduler::RT_Info_var -// ************************************************************* - -ACE_INLINE -RtecScheduler::RT_Info_var::RT_Info_var (void) // default constructor - : ptr_ (0) -{} - -ACE_INLINE -RtecScheduler::RT_Info_var::RT_Info_var (RtecScheduler::RT_Info *p) - : ptr_ (p) -{} - -ACE_INLINE -RtecScheduler::RT_Info_var::RT_Info_var (const RtecScheduler::RT_Info_var &p) // copy constructor -{ - if (p.ptr_) - this->ptr_ = new RtecScheduler::RT_Info(*p.ptr_); - else - this->ptr_ = 0; -} - -ACE_INLINE -RtecScheduler::RT_Info_var::~RT_Info_var (void) // destructor -{ - delete this->ptr_; -} - -ACE_INLINE RtecScheduler::RT_Info_var & -RtecScheduler::RT_Info_var::operator= (RtecScheduler::RT_Info *p) -{ - delete this->ptr_; - this->ptr_ = p; - return *this; -} - -ACE_INLINE RtecScheduler::RT_Info_var & -RtecScheduler::RT_Info_var::operator= (const RtecScheduler::RT_Info_var &p) -{ - if (this != &p) - { - delete this->ptr_; - this->ptr_ = new RtecScheduler::RT_Info (*p.ptr_); - } - return *this; -} - -ACE_INLINE const RtecScheduler::RT_Info * -RtecScheduler::RT_Info_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecScheduler::RT_Info * -RtecScheduler::RT_Info_var::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE -RtecScheduler::RT_Info_var::operator const RtecScheduler::RT_Info &() const // cast -{ - return *this->ptr_; -} - -ACE_INLINE -RtecScheduler::RT_Info_var::operator RtecScheduler::RT_Info &() // cast -{ - return *this->ptr_; -} - -ACE_INLINE -RtecScheduler::RT_Info_var::operator RtecScheduler::RT_Info &() const// cast -{ - return *this->ptr_; -} - -ACE_INLINE const RtecScheduler::RT_Info & -RtecScheduler::RT_Info_var::in (void) const -{ - return *this->ptr_; -} - -ACE_INLINE RtecScheduler::RT_Info & -RtecScheduler::RT_Info_var::inout (void) -{ - return *this->ptr_; -} - -// mapping for variable size -ACE_INLINE RtecScheduler::RT_Info *& -RtecScheduler::RT_Info_var::out (void) -{ - delete this->ptr_; - this->ptr_ = 0; - return this->ptr_; -} - -ACE_INLINE RtecScheduler::RT_Info * -RtecScheduler::RT_Info_var::_retn (void) -{ - RtecScheduler::RT_Info *tmp = this->ptr_; - this->ptr_ = 0; - return tmp; -} - -// ************************************************************* -// Inline operations for class RtecScheduler::RT_Info_out -// ************************************************************* - -ACE_INLINE -RtecScheduler::RT_Info_out::RT_Info_out (RtecScheduler::RT_Info *&p) - : ptr_ (p) -{ - this->ptr_ = 0; -} - -ACE_INLINE -RtecScheduler::RT_Info_out::RT_Info_out (RtecScheduler::RT_Info_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - delete this->ptr_; - this->ptr_ = 0; -} - -ACE_INLINE -RtecScheduler::RT_Info_out::RT_Info_out (RtecScheduler::RT_Info_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE RtecScheduler::RT_Info_out & -RtecScheduler::RT_Info_out::operator= (RtecScheduler::RT_Info_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE RtecScheduler::RT_Info_out & -RtecScheduler::RT_Info_out::operator= (RtecScheduler::RT_Info *p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -RtecScheduler::RT_Info_out::operator RtecScheduler::RT_Info *&() // cast -{ - return this->ptr_; -} - -ACE_INLINE RtecScheduler::RT_Info *& -RtecScheduler::RT_Info_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE RtecScheduler::RT_Info * -RtecScheduler::RT_Info_out::operator-> (void) -{ - return this->ptr_; -} - -// ************************************************************* -// Inline operations for exception RtecScheduler::DUPLICATE_NAME -// ************************************************************* - -// default constructor -ACE_INLINE -RtecScheduler::DUPLICATE_NAME::DUPLICATE_NAME (void) - : CORBA_UserException (_tc_DUPLICATE_NAME) -{ -} - -// ************************************************************* -// Inline operations for exception RtecScheduler::UNKNOWN_TASK -// ************************************************************* - -// default constructor -ACE_INLINE -RtecScheduler::UNKNOWN_TASK::UNKNOWN_TASK (void) - : CORBA_UserException (_tc_UNKNOWN_TASK) -{ -} - -// ************************************************************* -// Inline operations for exception RtecScheduler::NOT_SCHEDULED -// ************************************************************* - -// default constructor -ACE_INLINE -RtecScheduler::NOT_SCHEDULED::NOT_SCHEDULED (void) - : CORBA_UserException (_tc_NOT_SCHEDULED) -{ -} - -// ************************************************************* -// Inline operations for exception RtecScheduler::UTILIZATION_BOUND_EXCEEDED -// ************************************************************* - -// default constructor -ACE_INLINE -RtecScheduler::UTILIZATION_BOUND_EXCEEDED::UTILIZATION_BOUND_EXCEEDED (void) - : CORBA_UserException (_tc_UTILIZATION_BOUND_EXCEEDED) -{ -} - -// ************************************************************* -// Inline operations for exception RtecScheduler::INSUFFICIENT_THREAD_PRIORITY_LEVELS -// ************************************************************* - -// default constructor -ACE_INLINE -RtecScheduler::INSUFFICIENT_THREAD_PRIORITY_LEVELS::INSUFFICIENT_THREAD_PRIORITY_LEVELS (void) - : CORBA_UserException (_tc_INSUFFICIENT_THREAD_PRIORITY_LEVELS) -{ -} - -// ************************************************************* -// Inline operations for exception RtecScheduler::TASK_COUNT_MISMATCH -// ************************************************************* - -// default constructor -ACE_INLINE -RtecScheduler::TASK_COUNT_MISMATCH::TASK_COUNT_MISMATCH (void) - : CORBA_UserException (_tc_TASK_COUNT_MISMATCH) -{ -} - -ACE_INLINE RtecScheduler::RT_Info * -RtecScheduler::_tao__seq_RT_Info_Set::allocbuf (CORBA::ULong nelems) -{ - return new RtecScheduler::RT_Info[nelems]; // allocate from heap -} - -ACE_INLINE void -RtecScheduler::_tao__seq_RT_Info_Set::freebuf (RtecScheduler::RT_Info *seq) -{ - delete [] seq; -} - -//default constructor -ACE_INLINE -RtecScheduler::_tao__seq_RT_Info_Set::_tao__seq_RT_Info_Set (void) - : maximum_ (0), - length_ (0), - buffer_ (0), - release_ (0) // does not own -{} - -// constructor for unbounded seq -ACE_INLINE -RtecScheduler::_tao__seq_RT_Info_Set::_tao__seq_RT_Info_Set(CORBA::ULong max ) - : maximum_ (max), - length_ (0), - buffer_ (RtecScheduler::_tao__seq_RT_Info_Set::allocbuf (max)), - release_ (1) // owns -{} - -// constructor from data buffer -ACE_INLINE -RtecScheduler::_tao__seq_RT_Info_Set::_tao__seq_RT_Info_Set (CORBA::ULong max, CORBA::ULong length, - RtecScheduler::RT_Info *value, CORBA::Boolean release) - : maximum_ (max), - length_ (length), - buffer_ (value), - release_ (release) // ownership depends on release -{} - -ACE_INLINE CORBA::ULong -RtecScheduler::_tao__seq_RT_Info_Set::maximum (void) const -{ - return this->maximum_; -} - -ACE_INLINE CORBA::ULong -RtecScheduler::_tao__seq_RT_Info_Set::length (void) const -{ - return this->length_; -} - -ACE_INLINE RtecScheduler::RT_Info & -RtecScheduler::_tao__seq_RT_Info_Set::operator[] (CORBA::ULong index) // read/write -{ - return this->buffer_[index]; -} - -ACE_INLINE const RtecScheduler::RT_Info & -RtecScheduler::_tao__seq_RT_Info_Set::operator[] (CORBA::ULong index) const // read -{ - return this->buffer_[index]; -} - -// ************************************************************* -// Inline operations for class RtecScheduler::_tao__seq_RT_Info_Set_var -// ************************************************************* - -ACE_INLINE -RtecScheduler::_tao__seq_RT_Info_Set_var::_tao__seq_RT_Info_Set_var (void) // default constructor - : ptr_ (0) -{} - -ACE_INLINE -RtecScheduler::_tao__seq_RT_Info_Set_var::_tao__seq_RT_Info_Set_var (RtecScheduler::_tao__seq_RT_Info_Set_ptr p) - : ptr_ (p) -{} - -ACE_INLINE -RtecScheduler::_tao__seq_RT_Info_Set_var::_tao__seq_RT_Info_Set_var (const RtecScheduler::_tao__seq_RT_Info_Set_var &p) // copy constructor -{ - if (p.ptr_) - this->ptr_ = new RtecScheduler::_tao__seq_RT_Info_Set(*p.ptr_); - else - this->ptr_ = 0; -} - -ACE_INLINE -RtecScheduler::_tao__seq_RT_Info_Set_var::~_tao__seq_RT_Info_Set_var (void) // destructor -{ - delete this->ptr_; -} - -ACE_INLINE RtecScheduler::_tao__seq_RT_Info_Set_var & -RtecScheduler::_tao__seq_RT_Info_Set_var::operator= (RtecScheduler::_tao__seq_RT_Info_Set *p) -{ - delete this->ptr_; - this->ptr_ = p; - return *this; -} - -ACE_INLINE RtecScheduler::_tao__seq_RT_Info_Set_var & -RtecScheduler::_tao__seq_RT_Info_Set_var::operator= (const RtecScheduler::_tao__seq_RT_Info_Set_var &p) // deep copy -{ - if (this != &p) - { - delete this->ptr_; - this->ptr_ = new RtecScheduler::_tao__seq_RT_Info_Set (*p.ptr_); - } - return *this; -} - -ACE_INLINE const RtecScheduler::_tao__seq_RT_Info_Set * -RtecScheduler::_tao__seq_RT_Info_Set_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecScheduler::_tao__seq_RT_Info_Set * -RtecScheduler::_tao__seq_RT_Info_Set_var::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE -RtecScheduler::_tao__seq_RT_Info_Set_var::operator const RtecScheduler::_tao__seq_RT_Info_Set &() const // cast -{ - return *this->ptr_; -} - -ACE_INLINE -RtecScheduler::_tao__seq_RT_Info_Set_var::operator RtecScheduler::_tao__seq_RT_Info_Set &() // cast -{ - return *this->ptr_; -} - -ACE_INLINE -RtecScheduler::_tao__seq_RT_Info_Set_var::operator RtecScheduler::_tao__seq_RT_Info_Set &() const// cast -{ - return *this->ptr_; -} - -ACE_INLINE RtecScheduler::RT_Info& -RtecScheduler::_tao__seq_RT_Info_Set_var::operator[] (CORBA::ULong index) -{ - return this->ptr_->operator[] (index); -} - -ACE_INLINE const RtecScheduler::_tao__seq_RT_Info_Set & -RtecScheduler::_tao__seq_RT_Info_Set_var::in (void) const -{ - return *this->ptr_; -} - -ACE_INLINE RtecScheduler::_tao__seq_RT_Info_Set & -RtecScheduler::_tao__seq_RT_Info_Set_var::inout (void) -{ - return *this->ptr_; -} - -// mapping for variable size -ACE_INLINE RtecScheduler::_tao__seq_RT_Info_Set *& -RtecScheduler::_tao__seq_RT_Info_Set_var::out (void) -{ - delete this->ptr_; - this->ptr_ = 0; - return this->ptr_; -} - -ACE_INLINE RtecScheduler::_tao__seq_RT_Info_Set * -RtecScheduler::_tao__seq_RT_Info_Set_var::_retn (void) -{ - RtecScheduler::_tao__seq_RT_Info_Set *tmp = this->ptr_; - this->ptr_ = 0; - return tmp; -} - -ACE_INLINE RtecScheduler::_tao__seq_RT_Info_Set * -RtecScheduler::_tao__seq_RT_Info_Set_var::ptr (void) const -{ - return this->ptr_; -} - -// ************************************************************* -// Inline operations for class RtecScheduler::_tao__seq_RT_Info_Set_out -// ************************************************************* - -ACE_INLINE -RtecScheduler::_tao__seq_RT_Info_Set_out::_tao__seq_RT_Info_Set_out (RtecScheduler::_tao__seq_RT_Info_Set *&p) - : ptr_ (p) -{ - this->ptr_ = 0; -} - -ACE_INLINE -RtecScheduler::_tao__seq_RT_Info_Set_out::_tao__seq_RT_Info_Set_out (RtecScheduler::_tao__seq_RT_Info_Set_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - delete this->ptr_; - this->ptr_ = 0; -} - -ACE_INLINE -RtecScheduler::_tao__seq_RT_Info_Set_out::_tao__seq_RT_Info_Set_out (RtecScheduler::_tao__seq_RT_Info_Set_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE RtecScheduler::_tao__seq_RT_Info_Set_out & -RtecScheduler::_tao__seq_RT_Info_Set_out::operator= (RtecScheduler::_tao__seq_RT_Info_Set_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE RtecScheduler::_tao__seq_RT_Info_Set_out & -RtecScheduler::_tao__seq_RT_Info_Set_out::operator= (RtecScheduler::_tao__seq_RT_Info_Set *p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -RtecScheduler::_tao__seq_RT_Info_Set_out::operator RtecScheduler::_tao__seq_RT_Info_Set *&() // cast -{ - return this->ptr_; -} - -ACE_INLINE RtecScheduler::_tao__seq_RT_Info_Set *& -RtecScheduler::_tao__seq_RT_Info_Set_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE RtecScheduler::_tao__seq_RT_Info_Set * -RtecScheduler::_tao__seq_RT_Info_Set_out::operator-> (void) -{ - return this->ptr_; -} - -ACE_INLINE RtecScheduler::RT_Info& -RtecScheduler::_tao__seq_RT_Info_Set_out::operator[] (CORBA::ULong index) -{ - return this->ptr_->operator[] (index); -} - -ACE_INLINE -RtecScheduler::Scheduler::Scheduler (void) // default constructor -{} - -ACE_INLINE -RtecScheduler::Scheduler::Scheduler (STUB_Object *objref) // constructor - : ACE_CORBA_1 (Object) (objref) -{} - -ACE_INLINE -RtecScheduler::Scheduler::~Scheduler (void) // destructor -{} - - -#if !defined (_RTECSCHEDULER_SCHEDULER___VAR_CI_) -#define _RTECSCHEDULER_SCHEDULER___VAR_CI_ - -// ************************************************************* -// Inline operations for class RtecScheduler::Scheduler_var -// ************************************************************* - -ACE_INLINE -RtecScheduler::Scheduler_var::Scheduler_var (void) // default constructor - : ptr_ (RtecScheduler::Scheduler::_nil ()) -{} - -ACE_INLINE -RtecScheduler::Scheduler_var::Scheduler_var (RtecScheduler::Scheduler_ptr p) - : ptr_ (p) -{} - -ACE_INLINE RtecScheduler::Scheduler_ptr -RtecScheduler::Scheduler_var::ptr (void) const -{ - return this->ptr_; -} - -ACE_INLINE -RtecScheduler::Scheduler_var::Scheduler_var (const RtecScheduler::Scheduler_var &p) // copy constructor - : ptr_ (RtecScheduler::Scheduler::_duplicate (p.ptr ())) -{} - -ACE_INLINE -RtecScheduler::Scheduler_var::~Scheduler_var (void) // destructor -{ - CORBA::release (this->ptr_); -} - -ACE_INLINE RtecScheduler::Scheduler_var & -RtecScheduler::Scheduler_var::operator= (RtecScheduler::Scheduler_ptr p) -{ - CORBA::release (this->ptr_); - this->ptr_ = p; - return *this; -} - -ACE_INLINE RtecScheduler::Scheduler_var & -RtecScheduler::Scheduler_var::operator= (const RtecScheduler::Scheduler_var &p) -{ - if (this != &p) - { - CORBA::release (this->ptr_); - this->ptr_ = RtecScheduler::Scheduler::_duplicate (p.ptr ()); - } - return *this; -} - -ACE_INLINE -RtecScheduler::Scheduler_var::operator const RtecScheduler::Scheduler_ptr &() const // cast -{ - return this->ptr_; -} - -ACE_INLINE -RtecScheduler::Scheduler_var::operator RtecScheduler::Scheduler_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE RtecScheduler::Scheduler_ptr -RtecScheduler::Scheduler_var::operator-> (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecScheduler::Scheduler_ptr -RtecScheduler::Scheduler_var::in (void) const -{ - return this->ptr_; -} - -ACE_INLINE RtecScheduler::Scheduler_ptr & -RtecScheduler::Scheduler_var::inout (void) -{ - return this->ptr_; -} - -ACE_INLINE RtecScheduler::Scheduler_ptr & -RtecScheduler::Scheduler_var::out (void) -{ - CORBA::release (this->ptr_); - this->ptr_ = RtecScheduler::Scheduler::_nil (); - return this->ptr_; -} - -ACE_INLINE RtecScheduler::Scheduler_ptr -RtecScheduler::Scheduler_var::_retn (void) -{ - // yield ownership of managed obj reference - RtecScheduler::Scheduler_ptr val = this->ptr_; - this->ptr_ = RtecScheduler::Scheduler::_nil (); - return val; -} - - -#endif // end #if !defined - - -#if !defined (_RTECSCHEDULER_SCHEDULER___OUT_CI_) -#define _RTECSCHEDULER_SCHEDULER___OUT_CI_ - -// ************************************************************* -// Inline operations for class RtecScheduler::Scheduler_out -// ************************************************************* - -ACE_INLINE -RtecScheduler::Scheduler_out::Scheduler_out (RtecScheduler::Scheduler_ptr &p) - : ptr_ (p) -{ - this->ptr_ = RtecScheduler::Scheduler::_nil (); -} - -ACE_INLINE -RtecScheduler::Scheduler_out::Scheduler_out (RtecScheduler::Scheduler_var &p) // constructor from _var - : ptr_ (p.out ()) -{ - CORBA::release (this->ptr_); - this->ptr_ = RtecScheduler::Scheduler::_nil (); -} - -ACE_INLINE -RtecScheduler::Scheduler_out::Scheduler_out (RtecScheduler::Scheduler_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE RtecScheduler::Scheduler_out & -RtecScheduler::Scheduler_out::operator= (RtecScheduler::Scheduler_out &p) -{ - this->ptr_ = p.ptr_; - return *this; -} - -ACE_INLINE RtecScheduler::Scheduler_out & -RtecScheduler::Scheduler_out::operator= (const RtecScheduler::Scheduler_var &p) -{ - this->ptr_ = RtecScheduler::Scheduler::_duplicate (p.ptr ()); - return *this; -} - -ACE_INLINE RtecScheduler::Scheduler_out & -RtecScheduler::Scheduler_out::operator= (RtecScheduler::Scheduler_ptr p) -{ - this->ptr_ = p; - return *this; -} - -ACE_INLINE -RtecScheduler::Scheduler_out::operator RtecScheduler::Scheduler_ptr &() // cast -{ - return this->ptr_; -} - -ACE_INLINE RtecScheduler::Scheduler_ptr & -RtecScheduler::Scheduler_out::ptr (void) // ptr -{ - return this->ptr_; -} - -ACE_INLINE RtecScheduler::Scheduler_ptr -RtecScheduler::Scheduler_out::operator-> (void) -{ - return this->ptr_; -} - - -#endif // end #if !defined - diff --git a/TAO/orbsvcs/lib/RtecSchedulerS.cpp b/TAO/orbsvcs/lib/RtecSchedulerS.cpp deleted file mode 100644 index f8a3f601ae7..00000000000 --- a/TAO/orbsvcs/lib/RtecSchedulerS.cpp +++ /dev/null @@ -1,309 +0,0 @@ -// ****** Code generated by the The ACE ORB (TAO) IDL Compiler ******* -// TAO ORB and the TAO IDL Compiler have been developed by Washington -// University Computer Science's Distributed Object Computing Group. -// -// Information on TAO is available at -// http://www.cs.wustl.edu/~schmidt/TAO.html - -#include "RtecSchedulerS.h" - -#if !defined (__ACE_INLINE__) -#include "RtecSchedulerS.i" -#endif // !defined INLINE - -static const TAO_operation_db_entry RtecScheduler_Scheduler_operations [] = { - {"create", &POA_RtecScheduler::Scheduler::create_skel}, - {"lookup", &POA_RtecScheduler::Scheduler::lookup_skel}, - {"get", &POA_RtecScheduler::Scheduler::get_skel}, - {"set", &POA_RtecScheduler::Scheduler::set_skel}, - {"add_dependency", &POA_RtecScheduler::Scheduler::add_dependency_skel}, - {"priority", &POA_RtecScheduler::Scheduler::priority_skel}, - {"entry_point_priority", &POA_RtecScheduler::Scheduler::entry_point_priority_skel}, - {"compute_scheduling", &POA_RtecScheduler::Scheduler::compute_scheduling_skel}, - {"_is_a", &POA_RtecScheduler::Scheduler::_is_a_skel} -}; - -TAO_Dynamic_Hash_OpTable tao_RtecScheduler_Scheduler_optable (RtecScheduler_Scheduler_operations, 9, 18); -// skeleton constructor -POA_RtecScheduler::Scheduler::Scheduler (const char *obj_name) -{ - const CORBA::String repoID = "IDL:RtecScheduler/Scheduler: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_RtecScheduler_Scheduler_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_RtecScheduler::Scheduler::create_skel (CORBA::ServerRequest &_tao_server_request, CORBA::Object_ptr _tao_object_reference, CORBA::Environment &_tao_environment) -{ - CORBA::NVList_ptr nvlist; - POA_RtecScheduler::Scheduler_ptr impl; - CORBA::Any *result; - RtecScheduler::handle_t *retval = new RtecScheduler::handle_t; - char * entry_point; - CORBA::NamedValue_ptr nv_entry_point; - CORBA::Any any_entry_point (CORBA::_tc_string, &entry_point); // 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_entry_point = nvlist->add_value ("entry_point", any_entry_point, CORBA::ARG_IN, _tao_environment); - // parse the arguments - _tao_server_request.params (nvlist, _tao_environment); - if (_tao_environment.exception ()) return; - impl = (POA_RtecScheduler::Scheduler_ptr) _tao_object_reference->get_subclass (); - *retval = impl->create(entry_point, _tao_environment); - result = new CORBA::Any (RtecScheduler::_tc_handle_t, retval, 1); // ORB owns - _tao_server_request.result (result, _tao_environment); - -} - -void POA_RtecScheduler::Scheduler::lookup_skel (CORBA::ServerRequest &_tao_server_request, CORBA::Object_ptr _tao_object_reference, CORBA::Environment &_tao_environment) -{ - CORBA::NVList_ptr nvlist; - POA_RtecScheduler::Scheduler_ptr impl; - CORBA::Any *result; - RtecScheduler::handle_t *retval = new RtecScheduler::handle_t; - char * entry_point; - CORBA::NamedValue_ptr nv_entry_point; - CORBA::Any any_entry_point (CORBA::_tc_string, &entry_point); // 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_entry_point = nvlist->add_value ("entry_point", any_entry_point, CORBA::ARG_IN, _tao_environment); - // parse the arguments - _tao_server_request.params (nvlist, _tao_environment); - if (_tao_environment.exception ()) return; - impl = (POA_RtecScheduler::Scheduler_ptr) _tao_object_reference->get_subclass (); - *retval = impl->lookup(entry_point, _tao_environment); - result = new CORBA::Any (RtecScheduler::_tc_handle_t, retval, 1); // ORB owns - _tao_server_request.result (result, _tao_environment); - -} - -void POA_RtecScheduler::Scheduler::get_skel (CORBA::ServerRequest &_tao_server_request, CORBA::Object_ptr _tao_object_reference, CORBA::Environment &_tao_environment) -{ - CORBA::NVList_ptr nvlist; - POA_RtecScheduler::Scheduler_ptr impl; - CORBA::Any *result; - RtecScheduler::RT_Info *retval; - RtecScheduler::handle_t handle; - CORBA::NamedValue_ptr nv_handle; - CORBA::Any any_handle (RtecScheduler::_tc_handle_t, &handle); // 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_handle = nvlist->add_value ("handle", any_handle, CORBA::ARG_IN, _tao_environment); - // parse the arguments - _tao_server_request.params (nvlist, _tao_environment); - if (_tao_environment.exception ()) return; - impl = (POA_RtecScheduler::Scheduler_ptr) _tao_object_reference->get_subclass (); - retval = impl->get(handle, _tao_environment); - result = new CORBA::Any (RtecScheduler::_tc_RT_Info, retval, 1); // ORB owns - _tao_server_request.result (result, _tao_environment); - -} - -void POA_RtecScheduler::Scheduler::set_skel (CORBA::ServerRequest &_tao_server_request, CORBA::Object_ptr _tao_object_reference, CORBA::Environment &_tao_environment) -{ - CORBA::NVList_ptr nvlist; - POA_RtecScheduler::Scheduler_ptr impl; - RtecScheduler::handle_t handle; - CORBA::NamedValue_ptr nv_handle; - CORBA::Any any_handle (RtecScheduler::_tc_handle_t, &handle); // ORB does not own - RtecScheduler::Time time; - CORBA::NamedValue_ptr nv_time; - CORBA::Any any_time (RtecScheduler::_tc_Time, &time); // ORB does not own - RtecScheduler::Time typical_time; - CORBA::NamedValue_ptr nv_typical_time; - CORBA::Any any_typical_time (RtecScheduler::_tc_Time, &typical_time); // ORB does not own - RtecScheduler::Time cached_time; - CORBA::NamedValue_ptr nv_cached_time; - CORBA::Any any_cached_time (RtecScheduler::_tc_Time, &cached_time); // ORB does not own - RtecScheduler::Period period; - CORBA::NamedValue_ptr nv_period; - CORBA::Any any_period (RtecScheduler::_tc_Period, &period); // ORB does not own - RtecScheduler::Importance importance; - CORBA::NamedValue_ptr nv_importance; - CORBA::Any any_importance (RtecScheduler::_tc_Importance, &importance); // ORB does not own - RtecScheduler::Quantum quantum; - CORBA::NamedValue_ptr nv_quantum; - CORBA::Any any_quantum (RtecScheduler::_tc_Quantum, &quantum); // ORB does not own - CORBA::Long threads; - CORBA::NamedValue_ptr nv_threads; - CORBA::Any any_threads (CORBA::_tc_long, &threads); // 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_handle = nvlist->add_value ("handle", any_handle, CORBA::ARG_IN, _tao_environment); - nv_time = nvlist->add_value ("time", any_time, CORBA::ARG_IN, _tao_environment); - nv_typical_time = nvlist->add_value ("typical_time", any_typical_time, CORBA::ARG_IN, _tao_environment); - nv_cached_time = nvlist->add_value ("cached_time", any_cached_time, CORBA::ARG_IN, _tao_environment); - nv_period = nvlist->add_value ("period", any_period, CORBA::ARG_IN, _tao_environment); - nv_importance = nvlist->add_value ("importance", any_importance, CORBA::ARG_IN, _tao_environment); - nv_quantum = nvlist->add_value ("quantum", any_quantum, CORBA::ARG_IN, _tao_environment); - nv_threads = nvlist->add_value ("threads", any_threads, CORBA::ARG_IN, _tao_environment); - // parse the arguments - _tao_server_request.params (nvlist, _tao_environment); - if (_tao_environment.exception ()) return; - impl = (POA_RtecScheduler::Scheduler_ptr) _tao_object_reference->get_subclass (); - impl->set(handle, time, typical_time, cached_time, period, importance, quantum, threads, _tao_environment); - -} - -void POA_RtecScheduler::Scheduler::add_dependency_skel (CORBA::ServerRequest &_tao_server_request, CORBA::Object_ptr _tao_object_reference, CORBA::Environment &_tao_environment) -{ - CORBA::NVList_ptr nvlist; - POA_RtecScheduler::Scheduler_ptr impl; - RtecScheduler::handle_t handle; - CORBA::NamedValue_ptr nv_handle; - CORBA::Any any_handle (RtecScheduler::_tc_handle_t, &handle); // ORB does not own - RtecScheduler::handle_t dependency; - CORBA::NamedValue_ptr nv_dependency; - CORBA::Any any_dependency (RtecScheduler::_tc_handle_t, &dependency); // ORB does not own - CORBA::Long number_of_calls; - CORBA::NamedValue_ptr nv_number_of_calls; - CORBA::Any any_number_of_calls (CORBA::_tc_long, &number_of_calls); // 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_handle = nvlist->add_value ("handle", any_handle, CORBA::ARG_IN, _tao_environment); - nv_dependency = nvlist->add_value ("dependency", any_dependency, CORBA::ARG_IN, _tao_environment); - nv_number_of_calls = nvlist->add_value ("number_of_calls", any_number_of_calls, CORBA::ARG_IN, _tao_environment); - // parse the arguments - _tao_server_request.params (nvlist, _tao_environment); - if (_tao_environment.exception ()) return; - impl = (POA_RtecScheduler::Scheduler_ptr) _tao_object_reference->get_subclass (); - impl->add_dependency(handle, dependency, number_of_calls, _tao_environment); - -} - -void POA_RtecScheduler::Scheduler::priority_skel (CORBA::ServerRequest &_tao_server_request, CORBA::Object_ptr _tao_object_reference, CORBA::Environment &_tao_environment) -{ - CORBA::NVList_ptr nvlist; - POA_RtecScheduler::Scheduler_ptr impl; - RtecScheduler::handle_t handle; - CORBA::NamedValue_ptr nv_handle; - CORBA::Any any_handle (RtecScheduler::_tc_handle_t, &handle); // ORB does not own - RtecScheduler::OS_Priority *priority = new RtecScheduler::OS_Priority; - CORBA::NamedValue_ptr nv_priority; - CORBA::Any any_priority (RtecScheduler::_tc_OS_Priority, priority, 1); // ORB owns - RtecScheduler::Sub_Priority *subpriority = new RtecScheduler::Sub_Priority; - CORBA::NamedValue_ptr nv_subpriority; - CORBA::Any any_subpriority (RtecScheduler::_tc_Sub_Priority, subpriority, 1); // ORB owns - RtecScheduler::Preemption_Priority *p_priority = new RtecScheduler::Preemption_Priority; - CORBA::NamedValue_ptr nv_p_priority; - CORBA::Any any_p_priority (RtecScheduler::_tc_Preemption_Priority, p_priority, 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_handle = nvlist->add_value ("handle", any_handle, CORBA::ARG_IN, _tao_environment); - nv_priority = nvlist->add_value ("priority", any_priority, CORBA::ARG_OUT, _tao_environment); - nv_subpriority = nvlist->add_value ("subpriority", any_subpriority, CORBA::ARG_OUT, _tao_environment); - nv_p_priority = nvlist->add_value ("p_priority", any_p_priority, CORBA::ARG_OUT, _tao_environment); - // parse the arguments - _tao_server_request.params (nvlist, _tao_environment); - if (_tao_environment.exception ()) return; - impl = (POA_RtecScheduler::Scheduler_ptr) _tao_object_reference->get_subclass (); - impl->priority(handle, *priority, *subpriority, *p_priority, _tao_environment); - -} - -void POA_RtecScheduler::Scheduler::entry_point_priority_skel (CORBA::ServerRequest &_tao_server_request, CORBA::Object_ptr _tao_object_reference, CORBA::Environment &_tao_environment) -{ - CORBA::NVList_ptr nvlist; - POA_RtecScheduler::Scheduler_ptr impl; - char * entry_point; - CORBA::NamedValue_ptr nv_entry_point; - CORBA::Any any_entry_point (CORBA::_tc_string, &entry_point); // ORB does not own - RtecScheduler::OS_Priority *priority = new RtecScheduler::OS_Priority; - CORBA::NamedValue_ptr nv_priority; - CORBA::Any any_priority (RtecScheduler::_tc_OS_Priority, priority, 1); // ORB owns - RtecScheduler::Sub_Priority *subpriority = new RtecScheduler::Sub_Priority; - CORBA::NamedValue_ptr nv_subpriority; - CORBA::Any any_subpriority (RtecScheduler::_tc_Sub_Priority, subpriority, 1); // ORB owns - RtecScheduler::Preemption_Priority *p_priority = new RtecScheduler::Preemption_Priority; - CORBA::NamedValue_ptr nv_p_priority; - CORBA::Any any_p_priority (RtecScheduler::_tc_Preemption_Priority, p_priority, 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_entry_point = nvlist->add_value ("entry_point", any_entry_point, CORBA::ARG_IN, _tao_environment); - nv_priority = nvlist->add_value ("priority", any_priority, CORBA::ARG_OUT, _tao_environment); - nv_subpriority = nvlist->add_value ("subpriority", any_subpriority, CORBA::ARG_OUT, _tao_environment); - nv_p_priority = nvlist->add_value ("p_priority", any_p_priority, CORBA::ARG_OUT, _tao_environment); - // parse the arguments - _tao_server_request.params (nvlist, _tao_environment); - if (_tao_environment.exception ()) return; - impl = (POA_RtecScheduler::Scheduler_ptr) _tao_object_reference->get_subclass (); - impl->entry_point_priority(entry_point, *priority, *subpriority, *p_priority, _tao_environment); - -} - -void POA_RtecScheduler::Scheduler::compute_scheduling_skel (CORBA::ServerRequest &_tao_server_request, CORBA::Object_ptr _tao_object_reference, CORBA::Environment &_tao_environment) -{ - CORBA::NVList_ptr nvlist; - POA_RtecScheduler::Scheduler_ptr impl; - CORBA::Long minimum_priority; - CORBA::NamedValue_ptr nv_minimum_priority; - CORBA::Any any_minimum_priority (CORBA::_tc_long, &minimum_priority); // ORB does not own - CORBA::Long maximum_priority; - CORBA::NamedValue_ptr nv_maximum_priority; - CORBA::Any any_maximum_priority (CORBA::_tc_long, &maximum_priority); // ORB does not own - RtecScheduler::RT_Info_Set *infos; - RtecScheduler::RT_Info_Set_out infos_out (infos); - CORBA::NamedValue_ptr nv_infos; - CORBA::Any any_infos (RtecScheduler::_tc_RT_Info_Set, infos, 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_minimum_priority = nvlist->add_value ("minimum_priority", any_minimum_priority, CORBA::ARG_IN, _tao_environment); - nv_maximum_priority = nvlist->add_value ("maximum_priority", any_maximum_priority, CORBA::ARG_IN, _tao_environment); - nv_infos = nvlist->add_value ("infos", any_infos, CORBA::ARG_OUT, _tao_environment); - // parse the arguments - _tao_server_request.params (nvlist, _tao_environment); - if (_tao_environment.exception ()) return; - impl = (POA_RtecScheduler::Scheduler_ptr) _tao_object_reference->get_subclass (); - impl->compute_scheduling(minimum_priority, maximum_priority, infos_out, _tao_environment); - -} - -void POA_RtecScheduler::Scheduler::_is_a_skel (CORBA::ServerRequest &req, CORBA::Object_ptr /* obj */, CORBA::Environment &env) -{ - const CORBA::String type_id = "IDL:RtecScheduler/Scheduler: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/RtecSchedulerS.h b/TAO/orbsvcs/lib/RtecSchedulerS.h deleted file mode 100644 index ff46d3f35fb..00000000000 --- a/TAO/orbsvcs/lib/RtecSchedulerS.h +++ /dev/null @@ -1,60 +0,0 @@ -// ****** Code generated by the The ACE ORB (TAO) IDL Compiler ******* -// TAO ORB and the TAO IDL Compiler have been developed by Washington -// University Computer Science's Distributed Object Computing Group. -// -// Information on TAO is available at -// http://www.cs.wustl.edu/~schmidt/TAO.html - -#if !defined (_TAO_IDL_RTECSCHEDULERS_H_) -#define _TAO_IDL_RTECSCHEDULERS_H_ - -#include "RtecSchedulerC.h" - -class POA_RtecScheduler -{ -public: - class Scheduler; - typedef Scheduler *Scheduler_ptr; - class Scheduler : public virtual RtecScheduler::Scheduler - { - protected: - Scheduler (const char *obj_name = 0); - virtual ~Scheduler (void); - public: - virtual RtecScheduler::handle_t create (const char * entry_point, CORBA::Environment &env) = 0; // pure virtual - static void create_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env); - - virtual RtecScheduler::handle_t lookup (const char * entry_point, CORBA::Environment &env) = 0; // pure virtual - static void lookup_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env); - - virtual RtecScheduler::RT_Info * get (RtecScheduler::handle_t handle, CORBA::Environment &env) = 0; // pure virtual - static void get_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env); - - virtual void 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) = 0; // pure virtual - static void set_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env); - - virtual void add_dependency (RtecScheduler::handle_t handle, RtecScheduler::handle_t dependency, CORBA::Long number_of_calls, CORBA::Environment &env) = 0; // pure virtual - static void add_dependency_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env); - - virtual void priority (RtecScheduler::handle_t handle, RtecScheduler::OS_Priority_out priority, RtecScheduler::Sub_Priority_out subpriority, RtecScheduler::Preemption_Priority_out p_priority, CORBA::Environment &env) = 0; // pure virtual - static void priority_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env); - - virtual void 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) = 0; // pure virtual - static void entry_point_priority_skel (CORBA::ServerRequest &req, CORBA::Object_ptr obj, CORBA::Environment &env); - - virtual void compute_scheduling (CORBA::Long minimum_priority, CORBA::Long maximum_priority, RtecScheduler::RT_Info_Set_out infos, CORBA::Environment &env) = 0; // pure virtual - static void compute_scheduling_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); - - }; - -}; - - -#if defined (__ACE_INLINE__) -#include "RtecSchedulerS.i" -#endif // defined INLINE - - -#endif // if !defined diff --git a/TAO/orbsvcs/lib/RtecSchedulerS.i b/TAO/orbsvcs/lib/RtecSchedulerS.i deleted file mode 100644 index 2d9c404097a..00000000000 --- a/TAO/orbsvcs/lib/RtecSchedulerS.i +++ /dev/null @@ -1,12 +0,0 @@ -// ****** Code generated by the The ACE ORB (TAO) IDL Compiler ******* -// TAO ORB and the TAO IDL Compiler have been developed by Washington -// University Computer Science's Distributed Object Computing Group. -// -// Information on TAO is available at -// http://www.cs.wustl.edu/~schmidt/TAO.html - -// skeleton destructor -ACE_INLINE -POA_RtecScheduler::Scheduler::~Scheduler (void) -{ -} |