diff options
Diffstat (limited to 'TAO/orbsvcs')
63 files changed, 0 insertions, 17186 deletions
diff --git a/TAO/orbsvcs/Makefile b/TAO/orbsvcs/Makefile deleted file mode 100644 index b7b989aa0f4..00000000000 --- a/TAO/orbsvcs/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -DIRS = lib \ - bin \ - tests - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU - diff --git a/TAO/orbsvcs/bin/Makefile b/TAO/orbsvcs/bin/Makefile deleted file mode 100644 index e84d47d9556..00000000000 --- a/TAO/orbsvcs/bin/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -DIRS = Naming_Service - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU - diff --git a/TAO/orbsvcs/bin/Naming_Service/CosNaming_i.cpp b/TAO/orbsvcs/bin/Naming_Service/CosNaming_i.cpp deleted file mode 100644 index ec07e685a33..00000000000 --- a/TAO/orbsvcs/bin/Naming_Service/CosNaming_i.cpp +++ /dev/null @@ -1,618 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// cos -// -// = FILENAME -// CosNaming_i.cpp -// -// = AUTHOR -// Marina Spivak <marina@cs.wustl.edu> & -// Sergio Flores-Gaitan <sergio@cs.wustl.edu> -// -// ============================================================================ - -#include "CosNaming_i.h" - -NS_NamingContext::NS_NamingContext (void) - :POA_CosNaming::NamingContext ("naming_context") -{ - if (context_.open (NS_MAP_SIZE) == -1) - ACE_ERROR ((LM_ERROR, "%p\n", "NS_NamingContext")); - // deal with fault -} - -NS_NamingContext::~NS_NamingContext (void) -{ -} - -CosNaming::NamingContext_ptr -NS_NamingContext::get_context (const CosNaming::Name &name) -{ - // create compound name to be resolved - // (<name> - last component) - CORBA::Environment IT_env; - CORBA::ULong len = name.length (); - CosNaming::Name comp_name (name); - comp_name.length (len - 1); - - // resolve - CORBA::Object_ptr cont_ref; - - cont_ref = resolve (comp_name, IT_env); - - // Deal with exceptions in resolve: basicly, add the last component - // of the name to <rest_of_name> and rethrow. - if (IT_env.exception () != 0) - { - IT_env.print_exception ("NS_NamingContext::get_context"); - return 0; - } - - // Reference to a context from <resolve> cannot be nil because - // cannot <bind> to a nil object. - - // Try narrowing object reference to a context type. - CosNaming::NamingContext_ptr c; - c = CosNaming::NamingContext::_narrow (cont_ref, IT_env); - if (IT_env.exception () != 0) - { - IT_env.print_exception ("NS_NamingContext::get_context - _narrow"); - return 0; - } - - CosNaming::Name rest; - rest.length (2); - rest[0] = name[len - 2]; - rest[1] = name[len - 1]; - - if (CORBA::is_nil (c)) - { - CosNaming::Name rest; - rest.length (2); - rest[0] = name[len - 2]; - rest[1] = name[len - 1]; - } - return c; -} - -void -NS_NamingContext::bind (const CosNaming::Name& n, - CORBA::Object_ptr obj, - CORBA::Environment &IT_env) -{ - IT_env.clear (); - - // get the length of the name - CORBA::ULong len = n.length (); - - // Check for invalid name. - if (len == 0) - { - IT_env.clear (); - IT_env.exception (new CORBA::UNKNOWN (CORBA::COMPLETED_NO)); - // IT_env.exception (new ACE_NESTED_CLASS (CosNaming,NamingContext)::InvalidName); - return; - } - /* @@ */// throw CosNaming::NamingContext::InvalidName (); - - // If we received compound name, resolve it to get the context in - // which the binding should take place, then perform the binding on - // target context. - if (len > 1) - { - CosNaming::NamingContext_var cont = get_context (n); - CosNaming::Name simple_name; - simple_name.length (1); - simple_name[0] = n[len - 1]; - cont->bind (simple_name, obj, IT_env); - } - - // If we received a simple name, we need to bind it in this context. - else - { - NS_IntId entry (obj); - NS_ExtId name (n[0].id, n[0].kind); - - // Try binding the name. - if (context_.bind (name, entry) == -1) - { - IT_env.clear (); - IT_env.exception (new CORBA::UNKNOWN (CORBA::COMPLETED_NO)); - // IT_env.exception (new ACE_NESTED_CLASS (CosNaming,NamingContext)::AlreadyBound); - return; - } - /**/// throw CosNaming::NamingContext::AlreadyBound (); - // May need to add case dealing with -1. (Maybe throw cannot - // proceed). - } -} - -void -NS_NamingContext::rebind (const CosNaming::Name& n, - CORBA::Object_ptr obj, - CORBA::Environment &IT_env) -{ - // get the length of the name - CORBA::ULong len = n.length (); - - // check for invalid name. - if (len == 0) - { - IT_env.clear (); - IT_env.exception (new CORBA::UNKNOWN (CORBA::COMPLETED_NO)); - // IT_env.exception (new ACE_NESTED_CLASS (CosNaming,NamingContext)::InvalidName); - return; - } - /* @@ */// throw CosNaming::NamingContext::InvalidName (); - - // If we received compound name, resolve it to get the context in - // which the rebinding should take place, then perform the rebinding - // on target context. - if (len > 1) - { - CosNaming::NamingContext_var cont = get_context (n); - CosNaming::Name simple_name; - simple_name.length (1); - simple_name[0] = n[len - 1]; - cont->rebind (simple_name, obj, IT_env); - } - // If we received a simple name, we need to rebind it in this context. - else - { - NS_IntId entry (obj); - NS_ExtId name (n[0].id, n[0].kind); - NS_IntId oldentry; - NS_ExtId oldname; - - // Try rebinding the name. - if (context_.rebind (name, entry, oldname, oldentry) == -1) - ; - // Deal with consequences. - } -} - -void -NS_NamingContext::bind_context (const CosNaming::Name &n, - CosNaming::NamingContext_ptr nc, - CORBA::Environment &IT_env) -{ - // Get the length of the name. - CORBA::ULong len = n.length (); - - // Check for invalid name. - if (len == 0) - { - IT_env.clear (); - IT_env.exception (new CORBA::UNKNOWN (CORBA::COMPLETED_NO)); - // IT_env.exception (new ACE_NESTED_CLASS (CosNaming,NamingContext)::InvalidName); - return; - } - /* @@ */// throw CosNaming::NamingContext::InvalidName (); - - // If we received compound name, resolve it to get the context in - // which the binding should take place, then perform the binding on - // target context. - if (len > 1) - { - CosNaming::NamingContext_var cont = get_context (n); - CosNaming::Name simple_name; - simple_name.length (1); - simple_name[0] = n[len - 1]; - cont->bind_context (simple_name, nc, IT_env); - } - - // If we received a simple name, we need to bind it in this context. - else - { - CosNaming::NameComponent comp = n[0]; - NS_IntId entry (nc, CosNaming::ncontext); - NS_ExtId name (n[0].id, n[0].kind); - - // Try binding the name. - if (context_.bind (name, entry) == 1) - { - IT_env.clear (); - IT_env.exception (new CORBA::UNKNOWN (CORBA::COMPLETED_NO)); - // IT_env.exception (new ACE_NESTED_CLASS (CosNaming,NamingContext)::AlreadyBound); - return; - } - /* @@ */// throw CosNaming::NamingContext::AlreadyBound (); - // May need to add case dealing with -1. - } -} - -void -NS_NamingContext::rebind_context (const CosNaming::Name &n, - CosNaming::NamingContext_ptr nc, - CORBA::Environment &IT_env) -{ - // Get the length of the name. - CORBA::ULong len = n.length (); - - // Check for invalid name. - if (len == 0) - { - IT_env.clear (); - IT_env.exception (new CORBA::UNKNOWN (CORBA::COMPLETED_NO)); - // IT_env.exception (new ACE_NESTED_CLASS (CosNaming,NamingContext)::InvalidName); - return; - } - /* @@ */// throw CosNaming::NamingContext::InvalidName (); - - // If we received compound name, resolve it to get the context in - // which the rebinding should take place, then perform the rebinding - // on target context. - if (len > 1) - { - CosNaming::NamingContext_var cont = get_context (n); - CosNaming::Name simple_name; - simple_name.length (1); - simple_name[0] = n[len - 1]; - cont->rebind_context (simple_name, nc, IT_env); - } - - // if we received a simple name, we need to rebind it in this context. - else - { - CosNaming::NameComponent comp = n[0]; - NS_IntId entry (nc, CosNaming::ncontext); - NS_ExtId name (n[0].id, n[0].kind); - NS_IntId oldentry; - NS_ExtId oldname; - - // try rebinding the name. - if (context_.rebind (name, entry, oldname, oldentry) < 0); - // deal with consequences - } -} - -CORBA::Object_ptr -NS_NamingContext::resolve (const CosNaming::Name& n, - CORBA::Environment &IT_env) -{ - // get the length of the name - CORBA::ULong len = n.length (); - - // check for invalid name. - if (len == 0) - { - IT_env.clear (); - // IT_env.exception (new ACE_NESTED_CLASS (CosNaming,NamingContext)::InvalidName); - IT_env.exception (new CORBA::UNKNOWN (CORBA::COMPLETED_NO)); - return 0; - } - /* @@ *//// throw CosNaming::NamingContext::InvalidName (); - - // resolve the first component of the name - NS_ExtId name (n[0].id, n[0].kind); - NS_IntId entry; - if (context_.find (name, entry) == -1) - { - IT_env.clear (); - // IT_env.exception (new ACE_NESTED_CLASS (CosNaming,NamingContext)::NotFound (CosNaming::NamingContext::not_object, n)); - IT_env.exception (new CORBA::UNKNOWN (CORBA::COMPLETED_NO)); - return 0; - } - /* @@ */// throw CosNaming::NamingContext::NotFound (CosNaming::NamingContext::not_object, n); - - CORBA::Object_ptr item = entry.ref_; - - // if the name we have to resolve is a compound name - // we need to recursively resolve it. - if (len > 1) - { - CosNaming::NamingContext_var cont; - if (entry.type_ == CosNaming::ncontext) - { - cont = CosNaming::NamingContext::_narrow (item, IT_env); - if (IT_env.exception () != 0) - { - IT_env.print_exception ("NS_NamingContext::resolve"); - return 0; - } - } - else - { - IT_env.clear (); - IT_env.exception (new CORBA::UNKNOWN (CORBA::COMPLETED_NO)); - // IT_env.exception (new ACE_NESTED_CLASS (CosNaming,NamingContext)::NotFound (CosNaming::NamingContext::not_context, n)); - return 0; - } - /* @@ */// throw CosNaming::NamingContext::NotFound (CosNaming::NamingContext::not_context, n); - - CosNaming::Name rest_of_name; - rest_of_name.length (len - 1); - for (CORBA::ULong i = 1; i < len; i++) - rest_of_name[i-1] = n[i]; - - return (cont->resolve (rest_of_name, IT_env)); - } - - // if the name we had to resolve was simple, we just need - // to return the result. - return (item->_duplicate (item)); -} - -void -NS_NamingContext::unbind (const CosNaming::Name& n, - CORBA::Environment &IT_env) -{ - // if (do_operation (n, CORBA::_nil (), NS_NamingContext::unbind) == 0) - - // get the length of the name - CORBA::ULong len = n.length (); - - // check for invalid name. - if (len == 0) - { - IT_env.clear (); - IT_env.exception (new CORBA::UNKNOWN (CORBA::COMPLETED_NO)); - // IT_env.exception (new ACE_NESTED_CLASS (CosNaming,NamingContext)::InvalidName); - return; - } - /* @@ *//// throw CosNaming::NamingContext::InvalidName (); - - // If we received compound name, resolve it to get the context in - // which the unbinding should take place, then perform the unbinding - // on target context. - if (len > 1) - { - CosNaming::NamingContext_var cont = get_context (n); - CosNaming::Name simple_name; - simple_name.length (1); - simple_name[0] = n[len - 1]; - cont->unbind (simple_name, IT_env); - } - else - // If we received a simple name, we need to unbind it in this - // context. - { - NS_ExtId name (n[0].id, n[0].kind); - // try unbinding the name. - if (context_.unbind (name) == -1) - { - IT_env.clear (); - IT_env.exception (new CORBA::UNKNOWN (CORBA::COMPLETED_NO)); - // IT_env.exception (new ACE_NESTED_CLASS (CosNaming,NamingContext)::NotFound (CosNaming::NamingContext::not_object, n)); - return; - } - /* @@ */// throw CosNaming::NamingContext::NotFound (CosNaming::NamingContext::not_object, n); - } -} - -CosNaming::NamingContext_ptr -NS_NamingContext::new_context (CORBA::Environment &IT_env) -{ - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (IT_env); - - NS_NamingContext *c = new NS_NamingContext; - // CosNaming::NamingContext_ptr cont - //= new TIE_CosNaming_NamingContext (NS_NamingContext) (c); - - // c->initialize (cont); - - return c->_duplicate (c); -} - -CosNaming::NamingContext_ptr -NS_NamingContext::bind_new_context (const CosNaming::Name& n, - CORBA::Environment &IT_env) -{ - NS_NamingContext *c = new NS_NamingContext; - // CosNaming::NamingContext_ptr cont = - // new TIE_CosNaming_NamingContext (NS_NamingContext) (c); - - // c->initialize (cont); - - bind_context (n, c, IT_env); - CORBA::release (c); - CORBA::release (c); - CORBA::release (c); - CORBA::release (c); - - return c->_duplicate (c); -} - -void -NS_NamingContext::destroy (CORBA::Environment &IT_env) -{ - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (IT_env); - - if (context_.current_size () != 0) - { - IT_env.clear (); - IT_env.exception (new CORBA::UNKNOWN (CORBA::COMPLETED_NO)); - // IT_env.exception (new ACE_NESTED_CLASS (CosNaming,NamingContext)::NotEmpty); - return; - } - /* @@ */// throw CosNaming::NamingContext::NotEmpty (); - - // destroy context - CORBA::release (tie_ref_); -} - -void -NS_NamingContext::list (CORBA::ULong how_many, - CosNaming::BindingList_out bl, - CosNaming::BindingIterator_out bi, - CORBA::Environment &IT_env) -{ - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (IT_env); - - // Dynamically allocate hash map iterator. - NS_NamingContext::HASH_MAP::ITERATOR *hash_iter = - new NS_NamingContext::HASH_MAP::ITERATOR (context_); - - // Number of bindings that will go into the BindingList. - CORBA::ULong n; - - if (context_.current_size () > how_many) - // number of bindings in the context is > <how_many> - // so need to return a BindingIterator. - { - NS_BindingIterator *bind_iter = new NS_BindingIterator (hash_iter); - - ACE_UNUSED_ARG (bind_iter); - - // bind_iter->initialize (bi); - bi->_duplicate (bi); - - n = how_many; - } - else - { - // Number of bindings in the context is <= <how_many>, - // so do not need to return a BindingIterator. - bi = CosNaming::BindingIterator::_nil (); - n = context_.current_size (); - } - - // use hash iterator to populate a BindingList with - // bindings. - CosNaming::BindingList bindings; - bindings.length (n); - NS_NamingContext::HASH_MAP::ENTRY *hash_entry; - - for (CORBA::ULong i = 0; i < n; i++) - { - hash_iter->next (hash_entry); - hash_iter->advance (); - - bindings[i].binding_type = hash_entry->int_id_.type_; - - bindings[i].binding_name.length (1); - bindings[i].binding_name[0].id = - CORBA::string_dup (hash_entry->ext_id_.id_.fast_rep ()); - bindings[i].binding_name[0].kind = - CORBA::string_dup (hash_entry->ext_id_.kind_.fast_rep ()); - } - // Marina, please add check for memory failure. - bl = new CosNaming::BindingList (bindings); - - // If did not allocate BindingIterator, deallocate hash map - // iterator. - if (context_.current_size () <= how_many) - delete hash_iter; -} - -NS_BindingIterator::NS_BindingIterator (NS_NamingContext::HASH_MAP::ITERATOR *hash_iter) -{ - hash_iter_ = hash_iter; -} - -NS_BindingIterator::~NS_BindingIterator (void) -{ - delete hash_iter_; -} - -CORBA::Boolean -NS_BindingIterator::next_one (CosNaming::Binding_out b, - CORBA::Environment &IT_env) -{ - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (IT_env); - - if (hash_iter_->done ()) { - b = new CosNaming::Binding; - return 0; - } - else - { - b = new CosNaming::Binding; - - NS_NamingContext::HASH_MAP::ENTRY *hash_entry; - hash_iter_->next (hash_entry); - hash_iter_->advance (); - - b->binding_type = hash_entry->int_id_.type_; - - b->binding_name.length (1); - b->binding_name[0].id = - CORBA::string_dup (hash_entry->ext_id_.id_.fast_rep ()); - b->binding_name[0].kind = - CORBA::string_dup (hash_entry->ext_id_.kind_.fast_rep ()); - - return 1; - } -} - -CORBA::Boolean -NS_BindingIterator::next_n (CORBA::ULong how_many, - CosNaming::BindingList_out bl, - CORBA::Environment &IT_env) -{ - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (IT_env); - - if (hash_iter_->done ()) { - bl = new CosNaming::BindingList; - return 0; - } - else - { - // Statically allocate a BindingList. - CosNaming::BindingList bindings; - - // Initially assume that iterator has the requested number of - // bindings. - bindings.length (how_many); - - // Iterate and populate the BindingList. - NS_NamingContext::HASH_MAP::ENTRY *hash_entry; - for (CORBA::ULong i = 0; i < how_many; i++) - { - hash_iter_->next (hash_entry); - - bindings[i].binding_type = hash_entry->int_id_.type_; - - bindings[i].binding_name.length (1); - bindings[i].binding_name[0].id = - CORBA::string_dup (hash_entry->ext_id_.id_.fast_rep ()); - bindings[i].binding_name[0].kind = - CORBA::string_dup (hash_entry->ext_id_.kind_.fast_rep ()); - - if (hash_iter_->advance () == 0) - { - // If no more bindings left, reset length to the actual - // number of bindings populated and get out of the loop. - bindings.length (i + 1); - break; - } - } - - bl = new CosNaming::BindingList (bindings); - // Marina, please check for failed memory allocation. - return 1; - } -} - -void -NS_BindingIterator::destroy (CORBA::Environment &IT_env) -{ - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (IT_env); - - // CORBA::release (tie_ref_); -} - -#if defined (ACE_MT_SAFE) && (ACE_MT_SAFE != 0) -// These templates will specialized in libACE.* if the platforms does -// not define ACE_MT_SAFE. - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class ACE_Hash_Map_Manager<NS_ExtId, NS_IntId, ACE_Null_Mutex>; -template class ACE_Hash_Map_Entry<NS_ExtId, NS_IntId>; -template class ACE_Hash_Map_Iterator<NS_ExtId, NS_IntId, ACE_Null_Mutex>; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate ACE_Hash_Map_Manager<NS_ExtId, NS_IntId, ACE_Null_Mutex> -#pragma instantiate ACE_Hash_Map_Entry<NS_ExtId, NS_IntId> -#pragma instantiate ACE_Hash_Map_Iterator<NS_ExtId, NS_IntId, ACE_Null_Mutex> -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -#endif /* ACE_MT_SAFE */ - diff --git a/TAO/orbsvcs/bin/Naming_Service/CosNaming_i.h b/TAO/orbsvcs/bin/Naming_Service/CosNaming_i.h deleted file mode 100644 index 6ef104a7a23..00000000000 --- a/TAO/orbsvcs/bin/Naming_Service/CosNaming_i.h +++ /dev/null @@ -1,173 +0,0 @@ -/* -*- C++ -*- */ - -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// cos -// -// = FILENAME -// CosNaming_i.h -// -// = AUTHOR -// Sergio Flores-Gaitan <sergio@cs.wustl.edu> -// -// ============================================================================ - -#if !defined (COSNAMING_I_H) -#define COSNAMING_I_H - -#include "CosNamingS.h" -#include "NS_CosNaming.h" - -class NS_NamingContext : public POA_CosNaming::NamingContext - // = TITLE - // This class implements the NamingContext interface that is part of the - // CosNaming idl module. - // - // = DESCRIPTION - // Extensive comments can be found in the idl file. -{ - public: - - enum - { - NS_MAP_SIZE = 23 - // The size of hash map for a NS_NamingContext object. - }; - - typedef ACE_Hash_Map_Manager<NS_ExtId, NS_IntId, ACE_Null_Mutex> HASH_MAP; - - NS_NamingContext (void); - // default constructor. - - ~NS_NamingContext (void); - // destructor. - - virtual void bind (const CosNaming::Name &n, - CORBA::Object_ptr obj, - CORBA::Environment &IT_env); - - virtual void rebind (const CosNaming::Name &n, - CORBA::Object_ptr obj, - CORBA::Environment &IT_env); - - virtual void bind_context (const CosNaming::Name &n, - CosNaming::NamingContext_ptr nc, - CORBA::Environment &IT_env); - - virtual void rebind_context (const CosNaming::Name &n, - CosNaming::NamingContext_ptr nc, - CORBA::Environment &IT_env); - - virtual CORBA::Object_ptr resolve (const CosNaming::Name &n, - CORBA::Environment &IT_env); - - virtual void unbind (const CosNaming::Name &n, - CORBA::Environment &IT_env); - - virtual CosNaming::NamingContext_ptr new_context (CORBA::Environment &IT_env); - - virtual CosNaming::NamingContext_ptr bind_new_context (const CosNaming::Name &n, - CORBA::Environment &IT_env); - - virtual void destroy (CORBA::Environment &IT_env); - - virtual void list (CORBA::ULong how_many, - CosNaming::BindingList_out bl, - CosNaming::BindingIterator_out bi, - CORBA::Environment &IT_env); - - protected: - // = These are the helper methods used by other methods. - - CosNaming::NamingContext_ptr get_context (const CosNaming::Name &name); - // This is used by methods that need to resolve a compound name to - // get the reference to the target context before performing the - // actual operation (e.g. bind, unbind, etc.) Takes a full name - // (including the last component that doesn't need to be resolved) - // Returns a pointer to the target context. - - private: - - HASH_MAP context_; - // This implementation of NamingContext uses ACE thread-safe Hash - // Map for storage and manipulation of name-object bindings. - - CosNaming::NamingContext_ptr tie_ref_; - // Stores CORBA object reference to the TIE object this object - // implements. This is needed to implement the <destroy> method. -}; - -class NS_BindingIterator : public POA_CosNaming::BindingIterator - // = TITLE - // This class implements the BindingIterator interface - // that is part of the CosNaming idl module. - // - // = DESCRIPTION - // NS_BindingIterator constructor expects a pointer to a - // DYNAMICALLY allocated hash map iterator. Destructor - // deallocates hash map iterator. -{ - public: - // = Intialization and termination methods. - NS_BindingIterator (NS_NamingContext::HASH_MAP::ITERATOR *hash_iter); - // constructor. - - ~NS_BindingIterator (void); - // destructor. - - // Marina, please add comments. - CORBA::Boolean next_one (CosNaming::Binding_out b, - CORBA::Environment &IT_env); - - CORBA::Boolean next_n (CORBA::ULong how_many, - CosNaming::BindingList_out bl, - CORBA::Environment &IT_env); - - void destroy (CORBA::Environment &IT_env); - - private: - NS_NamingContext::HASH_MAP::ITERATOR *hash_iter_; - // A pointer to the hash map iterator. -}; - - - - -// :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: - -#if 0 -class CosNaming_i : public POA_CosNaming - // = TITLE - // Integrates the naming service with the - // generated skeleton. - // = DESCRIPTION - // Implementation of the naming service at the servant side. -{ - public: - CosNaming_i (void); - // constructor - - ~CosNaming_i (void); - // destructor - - static CosNaming::NamingContext_ptr _bind (const char *host, - CORBA::ULong port, - const char *key, - CORBA::Environment &env); - - NamingContext & naming_context (void) - { - return nc; - } - - private: - NS_NamingContext nc; - // not sure about this. -}; -#endif - - -#endif /* COSNAMING_I_H */ diff --git a/TAO/orbsvcs/bin/Naming_Service/Makefile b/TAO/orbsvcs/bin/Naming_Service/Makefile deleted file mode 100644 index c8b53530a75..00000000000 --- a/TAO/orbsvcs/bin/Naming_Service/Makefile +++ /dev/null @@ -1,551 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -SVR_SRCS=NS_CosNaming.cpp CosNaming_i.cpp svr.cpp - -LSRC = $(SVR_SRCS) - -SVR_OBJS = $(SVR_SRCS:.cpp=.o) - -BIN = svr -BUILD = $(BIN) -LDLIBS = -lorbsvcs -lTAO -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -# include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -ifndef TAO_ROOT -TAO_ROOT = $(ACE_ROOT)/TAO -endif -TSS_ORB_FLAG = #-DTAO_HAS_TSS_ORBCORE -DCFLAGS = -g -LDFLAGS += -L$(TAO_ROOT)/orbsvcs/lib -L$(TAO_ROOT)/tao -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs/lib -I$(TAO_ROOT) -I$(TAO_ROOT)/tao/compat $(TSS_ORB_FLAG)#-H - -#$(IDL_SRC): CosNaming.idl logger.idl -# $(TAO_ROOT)/TAO_IDL/tao_idl CosNaming.idl -# $(TAO_ROOT)/TAO_IDL/tao_idl logger.idl -# - -svr: $(addprefix $(VDIR),$(SVR_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/NS_CosNaming.o .shobj/NS_CosNaming.: NS_CosNaming.cpp NS_CosNaming.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(TAO_ROOT)/tao/orbconf.h \ - $(TAO_ROOT)/tao/orb.h \ - $(TAO_ROOT)/tao/corbacom.h \ - $(TAO_ROOT)/tao/object.h \ - $(TAO_ROOT)/tao/align.h \ - $(TAO_ROOT)/tao/sequence.h \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/any.h \ - $(TAO_ROOT)/tao/poa.h \ - $(TAO_ROOT)/tao/tao_internals.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/client_factory.h \ - $(TAO_ROOT)/tao/server_factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/except.h \ - $(TAO_ROOT)/tao/orbobj.h \ - $(TAO_ROOT)/tao/nvlist.h \ - $(TAO_ROOT)/tao/principa.h \ - $(TAO_ROOT)/tao/request.h \ - $(TAO_ROOT)/tao/svrrqst.h \ - $(TAO_ROOT)/tao/typecode.h \ - $(TAO_ROOT)/tao/marshal.h \ - $(TAO_ROOT)/tao/cdr.h \ - $(TAO_ROOT)/tao/stub.h \ - $(TAO_ROOT)/tao/connect.h \ - $(TAO_ROOT)/tao/orb_core.h \ - $(TAO_ROOT)/tao/objtable.h \ - $(TAO_ROOT)/tao/optable.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/iiopobj.h \ - $(TAO_ROOT)/tao/iioporb.h \ - $(TAO_ROOT)/tao/giop.h \ - $(TAO_ROOT)/tao/orb_core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(TAO_ROOT)/tao/corbacom.i \ - $(TAO_ROOT)/tao/sequence.i \ - $(TAO_ROOT)/tao/typecode.i \ - $(TAO_ROOT)/tao/any.i \ - $(TAO_ROOT)/tao/cdr.i \ - $(TAO_ROOT)/tao/stub.i \ - $(TAO_ROOT)/tao/object.i \ - $(TAO_ROOT)/tao/orbobj.i \ - $(TAO_ROOT)/tao/marshal.i \ - $(TAO_ROOT)/tao/poa.i \ - $(TAO_ROOT)/tao/giop.i \ - $(TAO_ROOT)/tao/iioporb.i \ - $(TAO_ROOT)/tao/iiopobj.i \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/server_factory.i \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/connect.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(TAO_ROOT)/orbsvcs/lib/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/lib/CosNamingC.i -.obj/CosNaming_i.o .shobj/CosNaming_i.: CosNaming_i.cpp CosNaming_i.h \ - $(TAO_ROOT)/orbsvcs/lib/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/lib/CosNamingC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(TAO_ROOT)/tao/orbconf.h \ - $(TAO_ROOT)/tao/orb.h \ - $(TAO_ROOT)/tao/corbacom.h \ - $(TAO_ROOT)/tao/object.h \ - $(TAO_ROOT)/tao/align.h \ - $(TAO_ROOT)/tao/sequence.h \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/any.h \ - $(TAO_ROOT)/tao/poa.h \ - $(TAO_ROOT)/tao/tao_internals.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/client_factory.h \ - $(TAO_ROOT)/tao/server_factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/except.h \ - $(TAO_ROOT)/tao/orbobj.h \ - $(TAO_ROOT)/tao/nvlist.h \ - $(TAO_ROOT)/tao/principa.h \ - $(TAO_ROOT)/tao/request.h \ - $(TAO_ROOT)/tao/svrrqst.h \ - $(TAO_ROOT)/tao/typecode.h \ - $(TAO_ROOT)/tao/marshal.h \ - $(TAO_ROOT)/tao/cdr.h \ - $(TAO_ROOT)/tao/stub.h \ - $(TAO_ROOT)/tao/connect.h \ - $(TAO_ROOT)/tao/orb_core.h \ - $(TAO_ROOT)/tao/objtable.h \ - $(TAO_ROOT)/tao/optable.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/iiopobj.h \ - $(TAO_ROOT)/tao/iioporb.h \ - $(TAO_ROOT)/tao/giop.h \ - $(TAO_ROOT)/tao/orb_core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(TAO_ROOT)/tao/corbacom.i \ - $(TAO_ROOT)/tao/sequence.i \ - $(TAO_ROOT)/tao/typecode.i \ - $(TAO_ROOT)/tao/any.i \ - $(TAO_ROOT)/tao/cdr.i \ - $(TAO_ROOT)/tao/stub.i \ - $(TAO_ROOT)/tao/object.i \ - $(TAO_ROOT)/tao/orbobj.i \ - $(TAO_ROOT)/tao/marshal.i \ - $(TAO_ROOT)/tao/poa.i \ - $(TAO_ROOT)/tao/giop.i \ - $(TAO_ROOT)/tao/iioporb.i \ - $(TAO_ROOT)/tao/iiopobj.i \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/server_factory.i \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/connect.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(TAO_ROOT)/orbsvcs/lib/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/lib/CosNamingS.i \ - NS_CosNaming.h -.obj/svr.o .shobj/svr.: svr.cpp CosNaming_i.h \ - $(TAO_ROOT)/orbsvcs/lib/CosNamingS.h \ - $(TAO_ROOT)/orbsvcs/lib/CosNamingC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(TAO_ROOT)/tao/orbconf.h \ - $(TAO_ROOT)/tao/orb.h \ - $(TAO_ROOT)/tao/corbacom.h \ - $(TAO_ROOT)/tao/object.h \ - $(TAO_ROOT)/tao/align.h \ - $(TAO_ROOT)/tao/sequence.h \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/any.h \ - $(TAO_ROOT)/tao/poa.h \ - $(TAO_ROOT)/tao/tao_internals.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/client_factory.h \ - $(TAO_ROOT)/tao/server_factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/except.h \ - $(TAO_ROOT)/tao/orbobj.h \ - $(TAO_ROOT)/tao/nvlist.h \ - $(TAO_ROOT)/tao/principa.h \ - $(TAO_ROOT)/tao/request.h \ - $(TAO_ROOT)/tao/svrrqst.h \ - $(TAO_ROOT)/tao/typecode.h \ - $(TAO_ROOT)/tao/marshal.h \ - $(TAO_ROOT)/tao/cdr.h \ - $(TAO_ROOT)/tao/stub.h \ - $(TAO_ROOT)/tao/connect.h \ - $(TAO_ROOT)/tao/orb_core.h \ - $(TAO_ROOT)/tao/objtable.h \ - $(TAO_ROOT)/tao/optable.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/iiopobj.h \ - $(TAO_ROOT)/tao/iioporb.h \ - $(TAO_ROOT)/tao/giop.h \ - $(TAO_ROOT)/tao/orb_core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(TAO_ROOT)/tao/corbacom.i \ - $(TAO_ROOT)/tao/sequence.i \ - $(TAO_ROOT)/tao/typecode.i \ - $(TAO_ROOT)/tao/any.i \ - $(TAO_ROOT)/tao/cdr.i \ - $(TAO_ROOT)/tao/stub.i \ - $(TAO_ROOT)/tao/object.i \ - $(TAO_ROOT)/tao/orbobj.i \ - $(TAO_ROOT)/tao/marshal.i \ - $(TAO_ROOT)/tao/poa.i \ - $(TAO_ROOT)/tao/giop.i \ - $(TAO_ROOT)/tao/iioporb.i \ - $(TAO_ROOT)/tao/iiopobj.i \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/server_factory.i \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/connect.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(TAO_ROOT)/orbsvcs/lib/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/lib/CosNamingS.i \ - NS_CosNaming.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/orbsvcs/bin/Naming_Service/NS_CosNaming.cpp b/TAO/orbsvcs/bin/Naming_Service/NS_CosNaming.cpp deleted file mode 100644 index ee1843581db..00000000000 --- a/TAO/orbsvcs/bin/Naming_Service/NS_CosNaming.cpp +++ /dev/null @@ -1,107 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// cos -// -// = FILENAME -// NS_CosNaming.C -// -// = AUTHOR -// Marina Spivak <marina@cs.wustl.edu> -// -// ============================================================================ - -#include "NS_CosNaming.h" - -NS_IntId::NS_IntId (void) - : type_ (CosNaming::nobject) -{ - ref_ = CORBA::Object::_nil (); -} - -NS_IntId::NS_IntId (CORBA::Object_ptr obj, - CosNaming::BindingType type) - : type_ (type) -{ - ref_ = obj->_duplicate (obj); -} - -NS_IntId::NS_IntId (const NS_IntId &rhs) -{ - type_ = rhs.type_; - ref_ = rhs.ref_->_duplicate (rhs.ref_); -} - -NS_IntId::~NS_IntId (void) -{ - CORBA::release (ref_); -} - -void -NS_IntId::operator= (const NS_IntId &rhs) -{ - // check for self assignment. - if (&rhs == this) - return; - - type_ = rhs.type_; - - CORBA::release (ref_); - ref_ = rhs.ref_->_duplicate (rhs.ref_); -} - -NS_ExtId::NS_ExtId (void) - : kind_ (), - id_ () -{ -} - -NS_ExtId::NS_ExtId (const char *id, - const char *kind) - : kind_ (kind), - id_ (id) -{ -} - -NS_ExtId::NS_ExtId (const NS_ExtId &rhs) -{ - id_ = rhs.id_; - kind_ = rhs.kind_; -} - -NS_ExtId::~NS_ExtId (void) -{ -} - -void -NS_ExtId::operator= (const NS_ExtId &rhs) -{ - // Check for self assignment. - if (&rhs == this) - return; - - id_ = rhs.id_; - kind_ = rhs.kind_; -} - -int -NS_ExtId::operator== (const NS_ExtId &rhs) const -{ - return id_ == rhs.id_ && kind_ == rhs.kind_; -} - -int -NS_ExtId::operator!= (const NS_ExtId &rhs) const -{ - return id_ != rhs.id_ || kind_ != rhs.kind_; -} - -u_long -NS_ExtId::hash (void) const -{ - ACE_CString temp (id_); - temp += kind_; - - return temp.hash (); -} - diff --git a/TAO/orbsvcs/bin/Naming_Service/NS_CosNaming.h b/TAO/orbsvcs/bin/Naming_Service/NS_CosNaming.h deleted file mode 100644 index f897f23d2ca..00000000000 --- a/TAO/orbsvcs/bin/Naming_Service/NS_CosNaming.h +++ /dev/null @@ -1,108 +0,0 @@ -/* -*- C++ -*- */ - -// ============================================================================ -// -// = LIBRARY -// cos -// -// = FILENAME -// NS_CosNaming.h -// -// = AUTHOR -// Marina Spivak <marina@cs.wustl.edu> -// -// ============================================================================ - -#if !defined (NS_COSNAMING_H) -#define NS_COSNAMING_H - -#include "ace/Hash_Map_Manager.h" -#include "ace/Synch.h" -#include "ace/SString.h" - -#include "tao/corba.h" -#include "CosNamingC.h" - -class NS_IntId - // = TITLE - // Stores information a context keeps for each bound name - // (object reference and the type of binding). - // - // = DESCRIPTION - // - // - // - // -{ -public: - // = Initialization and termination methods. - NS_IntId (void); - // default constructor. - - NS_IntId (CORBA::Object_ptr obj, - CosNaming::BindingType type = CosNaming::nobject); - // constructor. - - NS_IntId (const NS_IntId & rhs); - // copy constructor - - ~NS_IntId (void); - // destructor - - void operator= (const NS_IntId & rhs); - // Assignment operator (does copy memory). - - CORBA::Object_ptr ref_; - // CORBA object reference of the bound object. - - CosNaming::BindingType type_; - // Indicator of whether the object is a NamingContext that should - // participate in name resolution when compound names are used. -}; - -class NS_ExtId - // = TITLE - // Stores the name to which an object is bound. - // - // = DESCRIPTION - // - // - // - // -{ -public: - // = Initialization and termination methods. - NS_ExtId (void); - // default constructor. - - NS_ExtId (const char *id, - const char *kind); - // constructor. - - NS_ExtId (const NS_ExtId & rhs); - // copy constructor - - ~NS_ExtId (void); - // destructor - - void operator= (const NS_ExtId & rhs); - // Assignment operator (does copy memory). - - int operator== (const NS_ExtId &rhs) const; - // Equality comparison operator (must match both id_ and kind_). - - int operator!= (const NS_ExtId &rhs) const; - // Inequality comparison operator. - - u_long hash (void) const; - // This class has to have a hash for use with ACE_Hash_Map_Manager. - - ACE_CString kind_; - // any information user wants to store (not used by Naming Service). - - ACE_CString id_; - // any information user wants to store (not used by Naming Service). -}; - - -#endif /* NS_COSNAMING_H */ diff --git a/TAO/orbsvcs/bin/Naming_Service/svc.conf b/TAO/orbsvcs/bin/Naming_Service/svc.conf deleted file mode 100644 index 43c6a486c92..00000000000 --- a/TAO/orbsvcs/bin/Naming_Service/svc.conf +++ /dev/null @@ -1,49 +0,0 @@ -# $Id$ -# -# This file contains a sample ACE_Service_Config configuration -# file specifying the strategy factories utilized by an application -# using TAO. There are currently only two possible factories: -# Client_Strategy_Factory and Server_Strategy_Factory. These names -# must be used as the second argument to their corresponding line, -# because that's what the ORB uses to find the desired factory. -# -# Note that there are two unordinary characteristics of the way *this* -# file is set up: -# - both client and server strategies are specified in the same -# file, which would only make sense for co-located clients & servers -# - both of the factories are actually sourced out of libTAO.so -# (TAO.DLL on Win32), and they would normally be in a separate -# dll from the TAO ORB Core. -# -# The options which can be passed to the Resource Factory are: -# -# -ORBresources <which> -# where <which> can be 'global' to specify globally-held resources, -# or 'tss' to specify thread-specific resources. -# -# The options which can be passed to the Client are: -# <none currently> -# -# The options which can be passed to the Server are: -# -# -ORBconcurrency <which> -# where <which> can be 'thread-per-connection' to specify -# use of the ACE_Threaded_Strategy concurrency strategy, -# or 'reactive' to specify use of the ACE_Reactive_Strategy -# concurrency strategy. -# -# -ORBthreadflags <flags> -# specifies the default thread flags to use, where <flags> is a -# logical OR'ing of the flags THR_DETACHED, THR_BOUND, THR_NEW_LWP, -# THR_SUSPENDED, or THR_DAEMON. Note that not every flag may be valid -# on every platform. -# -# -ORBdemuxstrategy <which> -# where <which> can be one of 'dynamic', 'linear', 'active', or 'user', -# and specifies the type of object lookup strategy used internally. -# -ORBtablesize <unsigned> -# specifies the size of the object table -# -dynamic Resource_Factory Service_Object * TAO:_make_TAO_Resource_Factory() "-ORBresources global" -dynamic Client_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Client_Strategy_Factory() -dynamic Server_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Server_Strategy_Factory() "-ORBconcurrency reactive -ORBdemuxstrategy dynamic -ORBtablesize 128" diff --git a/TAO/orbsvcs/bin/Naming_Service/svr.cpp b/TAO/orbsvcs/bin/Naming_Service/svr.cpp deleted file mode 100644 index 2921db2be04..00000000000 --- a/TAO/orbsvcs/bin/Naming_Service/svr.cpp +++ /dev/null @@ -1,171 +0,0 @@ -// -// $Id$ -// -#include <iostream.h> -#include "CosNaming_i.h" -#include "svr.h" - -// This is a startup for the naming server. -// This is used for testing of the Naming Service. - -ACE_HANDLE -IOR_Multicast::get_handle (void) const -{ - return this->mcast_dgram_.get_handle (); -} - -IOR_Multicast::IOR_Multicast (char * ior, - u_short port, - const char *mcast_addr) - : mcast_addr_ (port, mcast_addr), - ior_ (ior), - response_ (response_addr_) -{ - // Use ACE_SOCK_Dgram_Mcast factory to subscribe to multicast group. - if (this->mcast_dgram_.subscribe (this->mcast_addr_) == -1) - ACE_ERROR ((LM_ERROR, "%p\n", "subscribe")); -} - -// destructor - -IOR_Multicast::~IOR_Multicast (void) -{ - this->mcast_dgram_.unsubscribe (); -} - -int -IOR_Multicast::handle_timeout (const ACE_Time_Value &, - const void *) -{ - return 0; -} - -int -IOR_Multicast::handle_input (ACE_HANDLE) -{ - ssize_t retcode = - this->mcast_dgram_.recv (this->buf_, - BUFSIZ, - this->remote_addr_); - - if (retcode == -1) - return -1; - - ACE_DEBUG ((LM_DEBUG, "Received multicast.\n")); - - // @@ validate data string received is from a valid client here - // @@ Probably not needed - - if (retcode != sizeof (CORBA::Short)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "Reply to multicast not sent. Received %d bytes, expected %d.", - retcode, - sizeof(CORBA::Short)), -1); - } - - // convert port number received to network byte order. - CORBA::Short reply_port_number = ntohs (*(CORBA::Short *)this->buf_); - - // set port number to reply. - this->remote_addr_.set_port_number (reply_port_number); - - // send the object reference for the naming service - retcode = response_.send (this->ior_, - ACE_OS::strlen (this->ior_) + 1, - this->remote_addr_, - 0); - - ACE_DEBUG ((LM_DEBUG, - "ior_ '%s' sent through port %u.\nretcode=%d\n", - this->ior_, - this->remote_addr_.get_port_number (), - retcode)); - - if (retcode == -1) - return -1; - - return 0; -} - - -int -main (int argc, char ** argv) -{ - CORBA::Environment env; - char *orb_name = "internet"; - - CORBA::ORB_ptr orb_ptr = CORBA::ORB_init (argc, - argv, - orb_name, - env); - - if (env.exception () != 0) - { - env.print_exception ("ORB init"); - return 1; - } - - // Initialize the Object Adapter - CORBA::POA_ptr oa_ptr = orb_ptr->POA_init (argc, argv, "POA"); - - if (oa_ptr == 0) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to initialize the POA.\n"), - 1); - - // Create a naming context object. - NS_NamingContext *naming_context = new NS_NamingContext; - - // Stringify the objref we'll be implementing, and print it to - // stdout. Someone will take that string and give it to a - // client. Then release the object. - CORBA::String str; - str = orb_ptr->object_to_string (naming_context, env); - - if (env.exception () != 0) - { - env.print_exception ("object2string"); - return 1; - } - - ACE_DEBUG ((LM_DEBUG, "listening as object '%s'\n", str)); - -#if defined (ACE_HAS_IP_MULTICAST) - // get reactor instance from TAO - ACE_Reactor *reactor = TAO_ORB_Core_instance ()->reactor (); - - // First, see if the user has given us a multicast port number - // for the name service on the command-line; - u_short port = TAO_ORB_Core_instance ()->orb_params ()->name_service_port (); - if (port == 0) - { - const char *port_number = ACE_OS::getenv ("NameServicePort"); - - if (port_number != 0) - port = ACE_OS::atoi (port_number); - } - - if (port == 0) - port = TAO_DEFAULT_NAME_SERVER_REQUEST_PORT; - - // Instantiate a server which will receive requests for an ior - IOR_Multicast ior_multicast (str, - port, - ACE_DEFAULT_MULTICAST_ADDR); - - // register event handler for the ior multicast. - if (reactor->register_handler (&ior_multicast, - ACE_Event_Handler::READ_MASK) == -1) - ACE_ERROR ((LM_ERROR, "%p\n%a", "register_handler", 1)); - - ACE_DEBUG ((LM_DEBUG, "The multicast server setup is done.\n")); -#endif /* ACE_HAS_IP_MULTICAST */ - - // Handle requests for this object until we're killed, or one of the - // methods asks us to exit. - if (orb_ptr->run () == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "run"), -1); - - return 0; -} diff --git a/TAO/orbsvcs/bin/Naming_Service/svr.h b/TAO/orbsvcs/bin/Naming_Service/svr.h deleted file mode 100644 index 988145b53c8..00000000000 --- a/TAO/orbsvcs/bin/Naming_Service/svr.h +++ /dev/null @@ -1,72 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/orbsvcs/bin/Naming_Service -// -// = FILENAME -// svr.h -// -// = DESCRIPTION -// Defines a class that listens to a multicast address for client requests -// for ior of the naming service. -// -// = AUTHORS -// Sergio Flores-Gaitan -// -// ============================================================================ - -#if !defined (SVR_H) -#define SVR_H - -#include "ace/INET_Addr.h" -#include "ace/SOCK_Dgram_Mcast.h" -#include "ace/Reactor.h" - -class IOR_Multicast : public ACE_Event_Handler -{ -public: - // constructor - IOR_Multicast (char * ior, - u_short port, - const char *mcast_addr); - - // destructor - ~IOR_Multicast (void); - - // call back when input is received on the handle. - virtual int handle_input (ACE_HANDLE fd); - - // callback when a timeout has occurred. - virtual int handle_timeout (const ACE_Time_Value &tv, - const void *arg); - - // returns the internal handle used to receive multicast - virtual ACE_HANDLE get_handle (void) const; - -private: - char buf_[BUFSIZ]; - // temporary buffer - - ACE_SOCK_Dgram_Mcast mcast_dgram_; - // multicast endpoint of communication - - ACE_INET_Addr remote_addr_; - // remote address that sent multicast - - ACE_INET_Addr mcast_addr_; - // multicast address - - char * ior_; - // object reference to send in response to the multicast - - ACE_INET_Addr response_addr_; - // address of response. - - ACE_SOCK_Dgram response_; - // socket for response to the multicast -}; - -#endif /* SVR_H */ diff --git a/TAO/orbsvcs/lib/Channel_Clients.cpp b/TAO/orbsvcs/lib/Channel_Clients.cpp deleted file mode 100644 index cfa1da318d3..00000000000 --- a/TAO/orbsvcs/lib/Channel_Clients.cpp +++ /dev/null @@ -1 +0,0 @@ -// $Id$ diff --git a/TAO/orbsvcs/lib/Channel_Clients.h b/TAO/orbsvcs/lib/Channel_Clients.h deleted file mode 100644 index 57781f9f3a7..00000000000 --- a/TAO/orbsvcs/lib/Channel_Clients.h +++ /dev/null @@ -1,26 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ -// -// ============================================================================ -// -// = LIBRARY -// ace -// -// = FILENAME -// Channel_Clients -// -// = AUTHOR -// Tim Harrison (harrison@cs.wustl.edu) -// -// ============================================================================ - -#ifndef ACE_CHANNEL_CLIENTS_H -#define ACE_CHANNEL_CLIENTS_H - -#include "Channel_Clients_T.h" - -#if defined (__ACE_INLINE__) -#include "Channel_Clients.i" -#endif /* __ACE_INLINE__ */ -#endif /* ACE_CHANNEL_CLIENTS_H */ - diff --git a/TAO/orbsvcs/lib/Channel_Clients_T.cpp b/TAO/orbsvcs/lib/Channel_Clients_T.cpp deleted file mode 100644 index 3207d44f091..00000000000 --- a/TAO/orbsvcs/lib/Channel_Clients_T.cpp +++ /dev/null @@ -1,12 +0,0 @@ -// $Id$ - -#ifndef ACE_CHANNEL_CLIENTS_T_C -#define ACE_CHANNEL_CLIENTS_T_C - -#include "Channel_Clients_T.h" - -#if !defined (__ACE_INLINE__) -#include "Channel_Clients_T.i" -#endif /* __ACE_INLINE__ */ - -#endif /* ACE_CHANNEL_CLIENTS_T_C */ diff --git a/TAO/orbsvcs/lib/Channel_Clients_T.h b/TAO/orbsvcs/lib/Channel_Clients_T.h deleted file mode 100644 index 732353773eb..00000000000 --- a/TAO/orbsvcs/lib/Channel_Clients_T.h +++ /dev/null @@ -1,88 +0,0 @@ -/* -*- C++ -*- */ -// $Id $ -// -// ============================================================================ -// -// = LIBRARY -// ace -// -// = FILENAME -// Channel_Clients_T -// -// = AUTHOR -// Tim Harrison (harrison@cs.wustl.edu) and -// Douglas Schmidt (schmidt@cs.wustl.edu) -// -// = DESCRIPTION -// These classes allow applications to be consumer, suppliers, and -// consumer suppliers, as well as being active objects. This is -// accomplished with adapters to prevent the use of multiple -// inheritence (which is this root of all evil.) -// -// ============================================================================ - -#ifndef ACE_CHANNEL_CLIENTS_T_H -#define ACE_CHANNEL_CLIENTS_T_H - -#include "RtecEventCommC.h" - -// TODO: Add throw specs to this classes. - -template <class TARGET> -class ACE_PushConsumer_Adapter : public RtecEventComm::PushConsumer -// = TITLE -// ACE Push Consumer Adapter -// -// = DESCRIPTION -// Forwards all calls to the owner_. -{ -public: - ACE_PushConsumer_Adapter (TARGET *target); - // Forwards all calls to <owner>. - - virtual void push (const RtecEventComm::EventSet& events, - CORBA::Environment &); - // Forwards to target_. - - virtual void disconnect_push_consumer (CORBA::Environment &); - // Forwards to target_. - -private: - TARGET *target_; -}; - -// ************************************************************ - -template <class TARGET> -class ACE_PushSupplier_Adapter : public RtecEventComm::PushSupplier -// = TITLE -// ACE Push Supplier Adapter -// -// = DESCRIPTION -// Forwards all calls to disconnect_push_supplier the target_. -{ -public: - ACE_PushSupplier_Adapter (TARGET *target); - // Forwards all calls to <owner>. - - virtual void disconnect_push_supplier (CORBA::Environment &); - // Forwards to target_. - -private: - TARGET *target_; -}; - -#if defined (__ACE_INLINE__) -#include "Channel_Clients_T.i" -#endif /* __ACE_INLINE__ */ - -#if defined (ACE_TEMPLATES_REQUIRE_SOURCE) -#include "Channel_Clients_T.cpp" -#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */ - -#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA) -#pragma implementation ("Channel_Clients_T.cpp") -#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */ - -#endif /* ACE_CHANNEL_CLIENTS_T_H */ - diff --git a/TAO/orbsvcs/lib/CosNaming.idl b/TAO/orbsvcs/lib/CosNaming.idl deleted file mode 100644 index 770a2adea9f..00000000000 --- a/TAO/orbsvcs/lib/CosNaming.idl +++ /dev/null @@ -1,207 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// cos -// -// = FILENAME -// CosNaming.idl -// -// = AUTHOR -// Marina Spivak -// -// ============================================================================ - -module CosNaming - // = TITLE - // This module provides interface for using COS Naming Service. -{ - typedef string Istring; - struct NameComponent - { - Istring id; - // This is the name that is used to identify object references. - - Istring kind; - // Stores any addtional info about the object reference. - }; - // This is a 'simple' name. - // NOTE: both id and kind fields are used in resolving names. - - typedef sequence <NameComponent> Name; - // This is a compound name: <c1; c2; c3; cn> where c1 to cn-1 are - // the names of the nested contexts, and cn is the name of the - // object bound in cn-1. - - enum BindingType - { - nobject, - // object binding. - - ncontext - // naming context binding. - }; - - struct Binding - { - Name binding_name; - BindingType binding_type; - }; - - typedef sequence <Binding> BindingList; - - interface BindingIterator; - // Forward declaration. - - interface NamingContext - // = TITLE - // Interface for managing name bindings and naming contexts. - { - // = Exceptions. - - enum NotFoundReason - { - missing_node, - not_context, - not_object - }; - - exception NotFound - { - NotFoundReason why; - Name rest_of_name; - }; - // Indicates that the name does not identify a binding. - - exception CannotProceed - { - //Commented out due to the bug in Orbix compiler - NamingContext cxt; - Name rest_of_name; - }; - // Implementation has given up for some reason. The client, - // however, may be able to continue operation at the returned - // naming context. - - exception InvalidName {}; - // A name of length 0 is invalid. - // Implementations may place further restrictions. - - exception AlreadyBound {}; - // Indicates that the specified name is already bound to some - // object. Only one object can be bound to a particular name in - // a context. To change the binding, <rebind> and - // <rebind_context> can be used. - - exception NotEmpty {}; - // Indicates that the context is not empty. - - // = Binding operations. - - void bind (in Name n, in Object obj) - raises(NotFound, CannotProceed, InvalidName, AlreadyBound); - // create a binding for name <n> and object <obj> in the naming - // context. Compound names are treated as follows: ctx->bind - // (<c1; c2; c3; cn>, obj) = (ctx->resolve (<c1; c2; - // cn-1>))->bind (<cn>, obj) if the there already exists a - // binding for the specified name, <AlreadyBound> exception is - // thrown. Naming contexts should be bound using <bind_context> - // and <rebind_context> in order to participate in name - // resolution later. - - void rebind (in Name n, in Object obj) - raises(NotFound, CannotProceed, InvalidName); - // this is similar to <bind> operation above, except for when - // the binding for the specified name already exists in the - // specified context. In that case, the existing binding is - // replaced with the new one. - - void bind_context (in Name n, in NamingContext nc) - raises(NotFound, CannotProceed, InvalidName, AlreadyBound); - // This is the version of <bind> specifically for binding naming - // contexts, so that they will participate in name resolution - // when compound names are passed to be resolved. - - void rebind_context (in Name n, in NamingContext nc) - raises(NotFound, CannotProceed, InvalidName); - // This is a version of <rebind> specifically for naming - // contexts, so that they can participate in name resolution - // when compound names are passed. - - // = Resolving names. - - Object resolve (in Name n) - raises(NotFound, CannotProceed, InvalidName); - // Return object reference that is bound to the name. Compound - // name resolve is defined as follows: ctx->resolve (<c1; c2; - // cn>) = ctx->resolve (<c1; c2 cn-1>)->resolve (<cn>) The - // naming service does not return the type of the object. - // Clients are responsible for "narrowing" the object to the - // appropriate type. - - // = Unbinding names. - - void unbind (in Name n) - raises(NotFound, CannotProceed, InvalidName); - // Remove the name binding from the context. When compound - // names are used, unbind is defined as follows: ctx->unbind - // (<c1; c2; cn>) = (ctx->resolve (<c1; c2; cn-1>))->unbind - // (<cn>) - - // = Creating Naming Contexts. - - NamingContext new_context (); - // This operation returns a new naming context implemented by - // the same naming server in which the operation was invoked. - // The context is not bound. - - NamingContext bind_new_context (in Name n) - raises(NotFound, AlreadyBound, CannotProceed, InvalidName); - // This operation creates a new context and binds it to the name - // supplied as an argument. The newly-created context is - // implemented by the same server as the context in which it was - // bound (the name argument excluding the last component). - - // = Deleting contexts. - - void destroy () - raises (NotEmpty); - // Delete the naming context. NOTE: the user should <unbind> - // any bindings in which the given context is bound to some - // names before invoking <destroy> operation on it. Ignoring - // this rule may cause unexpected behaviour. <destroy> deletes - // the context object if it is not bound to any names in the - // given address space. <destroys> decrements the reference - // count of the context if bindings to it exist. - - // = Listing the naming context. - - void list (in unsigned long how_many, - out BindingList bl, out BindingIterator bi); - // Returns at most the requested number of bindings <how_many> - // in <bl>. If the naming context contains additional bindings, - // they are returned with a BindingIterator. In the naming - // context does not contain any additional bindings <bi> - // returned as null. - }; - - interface BindingIterator - // = TITLE - // Interface for iterating over Bindings returned with the <list> - // operation. - { - boolean next_one (out Binding b); - // This operation returns the next binding. If there are no - // more bindings false is returned. - - boolean next_n (in unsigned long how_many, - out BindingList bl); - // This operation returns at most the requested number of - // bindings. - - void destroy (); - // This operation destroys the iterator. - }; -}; diff --git a/TAO/orbsvcs/lib/Event_Service_Constants.h b/TAO/orbsvcs/lib/Event_Service_Constants.h deleted file mode 100644 index 9aae513b530..00000000000 --- a/TAO/orbsvcs/lib/Event_Service_Constants.h +++ /dev/null @@ -1,93 +0,0 @@ -// -// $Id$ -// -// = DESCRIPTION -// Keep constants required by both Event Service implementation and -// the Scheduling Service implementation. -// - -#if !defined (ACE_ES_CONSTANTS_H) -#define ACE_ES_CONSTANTS_H - -#include <ace/Message_Block.h> -#include <ace/Synch.h> - -const int ACE_ES_MAX_SUBSCRIPTIONS = 32; -// This is the number of events a consumer can subscribe to. - -//const int ACE_ES_MAX_SUPPLIERS = 100; -// Max number of suppliers that a channel can handle. - -const int ACE_ES_MAX_CONSUMERS_PER_SUPPLIER = 100; -// Max number of consumers that one supplier can have subscribed to -// one type of event (including source-only). This restriction is -// very lightweight since subscription lists are dynamic. This -// constant is only used for ACE_ES_Simple_Set in Event_Channel.* for -// disconnecting consumers. Since these objects are allocated off the -// stack, we can increase this number without requiring more heap -// memory. - -// = Predefined event types. All application defined types should be -// relative to ACE_ES_EVENT_UNDEFINED. -const u_long ACE_ES_EVENT_ANY = 0; -const u_long ACE_ES_EVENT_SHUTDOWN = 1; -const u_long ACE_ES_EVENT_ACT = 2; -const u_long ACE_ES_EVENT_NOTIFICATION = 3; -const u_long ACE_ES_EVENT_TIMEOUT = 4; -const u_long ACE_ES_EVENT_INTERVAL_TIMEOUT = 5; -const u_long ACE_ES_EVENT_DEADLINE_TIMEOUT = 6; -const u_long ACE_ES_GLOBAL_DESIGNATOR = 7; -const u_long ACE_ES_CONJUNCTION_DESIGNATOR = 8; -const u_long ACE_ES_DISJUNCTION_DESIGNATOR = 9; -const u_long ACE_ES_EVENT_UNDEFINED = 16; - -// The max number of priorities provided by the target platform. -// TODO: This should be defined in ACE (somehow) and only mapped here -// to some variables (and even that is doubtful). -const long ACE_Scheduler_MAX_PRIORITIES = 5; - -const u_long ACE_Scheduler_Rates[ACE_Scheduler_MAX_PRIORITIES] = { - 250000, 500000, 1000000, 2000000, 10000000 }; - -// The minimum preemption priority. -const long ACE_Scheduler_MIN_PREEMPTION_PRIORITY = - ACE_Scheduler_MAX_PRIORITIES - 1; -// Max preemption priority. -const long ACE_Scheduler_MAX_PREEMPTION_PRIORITY = 0; - -// This is the maximum sub priority. -const u_long ACE_Scheduler_MAX_SUB_PRIORITY = - ACE_Message_Block::MB_USER - 1; - -// This is the minimum sub priority. -const u_long ACE_Scheduler_MIN_SUB_PRIORITY = - ACE_Message_Block::MB_NORMAL; - -typedef ACE_Thread_Mutex ACE_ES_MUTEX; -typedef ACE_Guard<ACE_ES_MUTEX> ACE_ES_GUARD; - -typedef ACE_RW_Thread_Mutex ACE_ES_RW_LOCK; -typedef ACE_Write_Guard<ACE_ES_RW_LOCK> ACE_ES_WGUARD; -typedef ACE_Read_Guard<ACE_ES_RW_LOCK> ACE_ES_RGUARD; - -// ************************************************************ -// Channel configuration parameters. - -// ACE_ES_DISPATCHING_MODULE determines what Dispatching Module is -// used by the channel. ACE_ES_Dispatching_Base is a null dispatcher -// that can be used to build an EFD. -#define ACE_ES_DISPATCHING_MODULE ACE_ES_Priority_Dispatching -//#define ACE_ES_DISPATCHING_MODULE ACE_ES_Dispatching_Base - -// This is the number of threads spawned for *each* priority queue in -// the channel's Dispatching Module. This is used by the channel when -// creating the dispatch module. -const int THREADS_PER_DISPATCH_QUEUE = 1; - -// This is the chunk size of the cached allocator for -// ACE_ES_Event_Container. -const int ACE_ES_EVENT_CONTAINER_MEMORY_POOL = 1024; -const int ACE_ES_EVENT_MEMORY_POOL = 1024; -const int ACE_ES_DISPATCH_REQUEST_MEMORY_POOL = 1024; - -#endif /* ACE_ES_CONSTANTS_H */ diff --git a/TAO/orbsvcs/lib/Event_Utilities.cpp b/TAO/orbsvcs/lib/Event_Utilities.cpp deleted file mode 100644 index 75394f34e2b..00000000000 --- a/TAO/orbsvcs/lib/Event_Utilities.cpp +++ /dev/null @@ -1,131 +0,0 @@ -// -// $Id$ -// -#include "Event_Utilities.h" - -#if !defined (__ACE_INLINE__) -#include "Event_Utilities.i" -#endif /* __ACE_INLINE__ */ - -ACE_ConsumerQOS_Factory::ACE_ConsumerQOS_Factory (void) : - qos_ (), - designator_set_ (0) -{ -} - -ACE_ConsumerQOS_Factory::~ACE_ConsumerQOS_Factory (void) -{ -} - -int -ACE_ConsumerQOS_Factory::start_conjunction_group (void) -{ - int l = qos_.dependencies.length (); - qos_.dependencies.length (l + 1); - qos_.dependencies[l].event_.type_ = ACE_ES_CONJUNCTION_DESIGNATOR; - // TODO: qos_.dependencies[l].event_.data_.lval (0); - designator_set_ = 1; - return 0; -} - -int -ACE_ConsumerQOS_Factory::start_disjunction_group (void) -{ - int l = qos_.dependencies.length (); - qos_.dependencies.length (l + 1); - qos_.dependencies[l].event_.type_ = ACE_ES_DISJUNCTION_DESIGNATOR; - // TODO: qos_.dependencies[l].event_.data_.lval (0); - designator_set_ = 1; - return 0; -} - -int -ACE_ConsumerQOS_Factory::insert (const RtecEventChannelAdmin::Dependency &subscribe) -{ - RtecScheduler::RT_Info dummy; - // Make sure that a designator is first. - if (designator_set_ == 0) - { - int l = qos_.dependencies.length (); - qos_.dependencies.length (l + 1); - qos_.dependencies[l].event_.type_ = ACE_ES_GLOBAL_DESIGNATOR; - // TODO: IDL union qos_.dependencies[l].event_.data_.lval (0); - designator_set_ = 1; - } - - int l = qos_.dependencies.length (); - qos_.dependencies.length (l + 1); - qos_.dependencies[l] = subscribe; - // TODO: IDL union qos_.dependencies[l].event_.data_.lval (0); - return 0; -} - -void event_debug (const char* p, - const RtecEventComm::Event& event) -{ - int l = ACE_OS::strlen (p); - ACE_DEBUG ((LM_DEBUG, - "%*.*s - event.source: %d\n" - "%*.*s event.type: %d\n" - "%*.*s event.time: %f\n", - l, l, p, event.source_, - l, l, p, event.type_, - l, l, p, event.time_)); -} - -void -ACE_ConsumerQOS_Factory::debug (const RtecEventChannelAdmin::ConsumerQOS& qos) -{ - ACE_DEBUG ((LM_DEBUG, "ConsumerQOS { \n")); - - for (u_int i = 0; i < qos.dependencies.length (); ++i) - { - char buf[128]; - ACE_OS::sprintf (buf, " dep[%d]", i); - event_debug (buf, qos.dependencies[i].event_); - ACE_DEBUG ((LM_DEBUG, "%s rt_info: %d\n", - buf, qos.dependencies[i].rt_info)); - } - ACE_DEBUG ((LM_DEBUG, "}\n")); -} - -// ************************************************************ - -ACE_SupplierQOS_Factory::ACE_SupplierQOS_Factory (void) : - qos_ () -{ -} - -int -ACE_SupplierQOS_Factory::insert (RtecEventComm::EventSourceID sid, - RtecEventComm::EventType type, - RtecScheduler::handle_t rt_info, - u_int ncalls) -{ - int l = qos_.publications_.length (); - qos_.publications_.length (l + 1); - qos_.publications_[l].event_.source_ = sid; - qos_.publications_[l].event_.type_ = type; - // TODO: IDL union qos_.publications_[l].event_.data_.lval (0); - qos_.publications_[l].dependency_info_.rt_info = rt_info; - qos_.publications_[l].dependency_info_.number_of_calls = ncalls; - return 0; -} - -void ACE_SupplierQOS_Factory::debug (const RtecEventChannelAdmin::SupplierQOS& qos) -{ - ACE_DEBUG ((LM_DEBUG, "ConsumerQOS { \n")); - for (u_int i = 0; i < qos.publications_.length (); ++i) - { - char buf[128]; - ACE_OS::sprintf (buf, " publications[%d]", i); - event_debug (buf, qos.publications_[i].event_); - ACE_DEBUG ((LM_DEBUG, - "%s dependency_info.rt_info: %d\n" - "%s dependency_info.number_of_calls: %d\n", - buf, qos.publications_[i].dependency_info_.rt_info, - buf, qos.publications_[i].dependency_info_.number_of_calls)); - } - ACE_DEBUG ((LM_DEBUG, "}\n")); - -} diff --git a/TAO/orbsvcs/lib/Event_Utilities.h b/TAO/orbsvcs/lib/Event_Utilities.h deleted file mode 100644 index ea6ab98f631..00000000000 --- a/TAO/orbsvcs/lib/Event_Utilities.h +++ /dev/null @@ -1,221 +0,0 @@ -/* -*- C++ -*- */ - -// ============================================================================ -// -// = LIBRARY -// ace ORB -// -// = FILENAME -// Event_Utilities -// -// = AUTHOR -// Tim Harrison (harrison@cs.wustl.edu) -// -// = DESCRIPTION -// ============================================================================ - -#ifndef ACE_EVENT_UTILITIES_H -#define ACE_EVENT_UTILITIES_H - -#include "RtecEventChannelAdminC.h" -#include "Event_Service_Constants.h" - -class ACE_ConsumerQOS_Factory -// = TITLE -// Consumer QOS Factory -// -// = DESCRIPTION -// -// This class allows easy (free from CORBA IDL constraints) -// construction of RtecEventChannelAdmin::ConsumerQOS structures. -// -// = CORRELATIONS -// -// ACE_ConsumerQOS_Factory separates subscriptions into conjunction -// and disjunction groups. A group can be thought of as a set of -// events inside parenthesis: (A+B+C), where A,B, and C are -// events. -// -// The following code would be used to represent (A+B) | (B+C): -// -// ACE_ConsumerQOS_Factor factory; -// factory.start_conjunction_group (); -// factory.insert (A); -// factory.insert (B); -// factory.start_conjunction_group (); -// factory.insert (B); -// factory.insert (C); -// -// The following code would be used to represent (A|B) | (B|C): -// -// ACE_ConsumerQOS_Factor factory; -// factory.start_disjunction_group (); -// factory.insert (A); -// factory.insert (B); -// factory.start_disjunction_group (); -// factory.insert (B); -// factory.insert (C); -// -// First, this may not seem to be initially useful, as (A|B) | -// (B|C) seems the same as A|B|C. However, this form does have a -// significant use when deadline timers are specified (described -// below). Note that groups end with the next call to -// start_XX_group. Groups are always OR'd together. That is, -// there is no way to directly build (A|B|C) + (D|E|F). You can -// always expand the previous statement to the OR of multiple ANDs. -// -// = TIMEOUTS -// -// There are two types of timeout types defined in -// Event_Service_Constants.h. -// -// ACE_ES_EVENT_INTERVAL_TIMEOUT - the consumer wants to receive a -// timeout every N seconds. -// -// ACE_ES_EVENT_DEADLINE_TIMEOUT - the consumer wants the timeout -// if and only if some dependencies are not resolved first. -// -// Using these timeouts with the correlations discussed above, we -// can construct four different timer semantics: Interval Timer, -// Deadline Timer, Interval Correlation, Deadline Correlation: -// -// Interval Timer: -// -// (A+B+C) | (D+E+F) | (G+H+I) | IntervalTimeout -// -// This registers to receive an interval timeout regardless of -// other dependencies. Event if events occur, the interval -// timeout will still be sent. -// -// Deadline Timer: -// -// (A+B+C) | (D+E+F) | (G+H+I) | DeadlineTimeout -// -// This registers to receive the deadline timeout ONLY if no -// other events occur. If a single event is sent to the -// consumer, the timer is cancelled and rescheduled. -// -// Deadline Correlation: -// -// (A+B+C) | (D+E+F) | (G+H+DeadlineTimeout) -// -// If G and H do not occur within DeadlineTimeout time, a -// deadline timeout is sent. It is cancelled and rescheduled if G -// and H occur. -// -// Interval Correlation: -// -// (A+B+C) | (D+E+F) | (G+H+IntervalTimeout) -// -// G+H+IntervalTimeout are sent ONLY after all have occurred. If -// G+H occur, they are queued until IntervalTimeout occurs. If -// IntervalTimeout occurs, it is queued until G+H occur. -{ -public: - ACE_ConsumerQOS_Factory (void); - // Default construction. - - ~ACE_ConsumerQOS_Factory (void); - // Death and destruction. - - int start_conjunction_group (void); - // This signifies that the consumer needs the AND of all following - // insert calls (up until the next start_XX_group call). Returns 0 - // on success, -1 on failure. - - int start_disjunction_group (void); - // This signifies that the consumer needs the OR of all following - // insert calls (up until the next start_XX_group call). Returns 0 - // on success, -1 on failure. - - // = Insert operations add to the current conjunction or disjunction - // group. These return 0 on success, -1 on failure. Before insert - // is called, a start_XX_group method should be called. If a - // start_XX_group method is not called, start_conjunction_group is - // assumed. - - int insert (const RtecEventChannelAdmin::Dependency &subscribe); - // Insert the <subscribe> structure describing the event and - // receiving method into the current group. - - int insert (RtecEventComm::EventSourceID source, - RtecEventComm::EventType type, - RtecScheduler::handle_t rt_info); - // Insert source/type dependency. <source> of the event (may be - // zero), <type> of the event. <rt_info> describes the method that - // will handle the <source>/<type> events. - - int insert_type (RtecEventComm::EventType type, - RtecScheduler::handle_t rt_info); - // Insert type-only dependency. - - int insert_source (RtecEventComm::EventSourceID source, - RtecScheduler::handle_t rt_info); - // Insert source-only dependency. - - int insert_time (RtecEventComm::EventType type, - RtecEventComm::Time interval, - RtecScheduler::handle_t rt_info); - // Register temporal dependency. <type> designates interval or - // deadline timeout that will occur every <interval>. - - int insert_act (RtecEventComm::EventData act); - // This will be inserted as type ACE_ES_EVENT_ACT. - - // = Conversion operators. The Event Channel takes ConsumerQOS - // objects. - - const RtecEventChannelAdmin::ConsumerQOS &get_ConsumerQOS (void); - // Allows conversions to ConsumerQOS, which is expected by the - // PushSupplierProxy::connect_push_consumer interface. - - operator const RtecEventChannelAdmin::ConsumerQOS &(void); - // Calls this->get_ConsumerQOS. - - static void debug (const RtecEventChannelAdmin::ConsumerQOS& qos); - -private: - RtecEventChannelAdmin::ConsumerQOS qos_; - // The representation to be sent to the channel. - - int designator_set_; - // Whether a start_XX_group has been called yet. This is to make - // sure that a designator is placed in the subscription list first. -}; - -// ************************************************************ - -class ACE_SupplierQOS_Factory -{ -public: - ACE_SupplierQOS_Factory (void); - // Default construction. - - int insert (RtecEventComm::EventSourceID sid, - RtecEventComm::EventType type, - RtecScheduler::handle_t rtinfo, - u_int ncalls); - // Publish <sid> and <type> that is generate by a method described by - // <rtinfo>. The method generates <type> <ncalls> number of times - // per "iteration." - - const RtecEventChannelAdmin::SupplierQOS &get_SupplierQOS (void); - // Allows conversions to SupplierQOS, which is expected by the - // PushSupplierProxy::connect_push_supplier interface. - - operator const RtecEventChannelAdmin::SupplierQOS &(void); - // Calls this->get_SupplierQOS. - - static void debug (const RtecEventChannelAdmin::SupplierQOS& qos); - -private: - RtecEventChannelAdmin::SupplierQOS qos_; - // Representation needed by channel. -}; - - -#if defined (__ACE_INLINE__) -#include "Event_Utilities.i" -#endif /* __ACE_INLINE__ */ -#endif /* ACE_EVENT_UTILITIES_H */ - diff --git a/TAO/orbsvcs/lib/Event_Utilities.i b/TAO/orbsvcs/lib/Event_Utilities.i deleted file mode 100644 index 030cb0273eb..00000000000 --- a/TAO/orbsvcs/lib/Event_Utilities.i +++ /dev/null @@ -1,88 +0,0 @@ -/* -*- C++ -*- */ - -ACE_INLINE int -ACE_ConsumerQOS_Factory::insert (RtecEventComm::EventSourceID source, - RtecEventComm::EventType type, - RtecScheduler::handle_t rt_info) -{ - RtecEventChannelAdmin::Dependency dependency; - dependency.event_.source_ = source; - dependency.event_.type_ = type; - dependency.event_.time_ = 0; - dependency.rt_info = rt_info; - return this->insert (dependency); -} - -ACE_INLINE int -ACE_ConsumerQOS_Factory::insert_type (RtecEventComm::EventType type, - RtecScheduler::handle_t rt_info) -{ - RtecEventChannelAdmin::Dependency dependency; - dependency.event_.source_ = 0; - dependency.event_.type_ = type; - dependency.event_.time_ = 0; - dependency.rt_info = rt_info; - return this->insert (dependency); -} - -ACE_INLINE int -ACE_ConsumerQOS_Factory::insert_source (RtecEventComm::EventSourceID source, - RtecScheduler::handle_t rt_info) -{ - RtecEventChannelAdmin::Dependency dependency; - dependency.event_.source_ = source; - dependency.event_.type_ = ACE_ES_EVENT_ANY; - dependency.rt_info = rt_info; - return this->insert (dependency); -} - -ACE_INLINE int -ACE_ConsumerQOS_Factory::insert_time (RtecEventComm::EventType type, - RtecEventComm::Time interval, - RtecScheduler::handle_t rt_info) -{ - RtecEventChannelAdmin::Dependency dependency; - dependency.event_.source_ = 0; - dependency.event_.type_ = type; - dependency.event_.time_ = interval; - dependency.rt_info = rt_info; - return this->insert (dependency); -} - -ACE_INLINE int -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_.data_ = act; - return this->insert (dependency); -} - -ACE_INLINE const RtecEventChannelAdmin::ConsumerQOS& -ACE_ConsumerQOS_Factory::get_ConsumerQOS (void) -{ - return qos_; -} - -ACE_INLINE -ACE_ConsumerQOS_Factory::operator const RtecEventChannelAdmin::ConsumerQOS& (void) -{ - return qos_; -} - -// ************************************************************ - -ACE_INLINE const RtecEventChannelAdmin::SupplierQOS& -ACE_SupplierQOS_Factory::get_SupplierQOS (void) -{ - return qos_; -} - -ACE_INLINE -ACE_SupplierQOS_Factory::operator const RtecEventChannelAdmin::SupplierQOS& (void) -{ - return qos_; -} - diff --git a/TAO/orbsvcs/lib/Makefile b/TAO/orbsvcs/lib/Makefile deleted file mode 100644 index edeef9c07f1..00000000000 --- a/TAO/orbsvcs/lib/Makefile +++ /dev/null @@ -1,1873 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -MAKEFILE = Makefile -LIBNAME = liborbsvcs -LIB = $(LIBNAME).a -SHLIB = $(LIBNAME).$(SOEXT) - -IDL_FILES = \ - CosNamingC \ - CosNamingS \ - RtecSchedulerC \ - RtecSchedulerS \ - RtecEventCommC \ - RtecEventCommS \ - RtecEventChannelAdminC \ - RtecEventChannelAdminS \ - -FILES= $(IDL_FILES) \ - Event_Utilities \ - Scheduler_Factory \ - Runtime_Scheduler \ - Scheduler_Utilities \ - -DEFS = $(addsuffix .h,$(FILES)) -LSRC = $(addsuffix .cpp,$(FILES)) - -LIBS += -lTAO -lACE - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU -include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -#---------------------------------------------------------------------------- -# Local targets (and local hacks) -#---------------------------------------------------------------------------- - -ifndef TAO_ROOT -TAO_ROOT = $(ACE_ROOT)/TAO -endif - -LDFLAGS += -L$(TAO_ROOT)/tao -CPPFLAGS += -I$(TAO_ROOT) -I$(TAO_ROOT)/tao/compat $(TSS_ORB_FLAG)#-H - -# @@ Commented out until no more hand-crafting is needed, right now the -# main problem is the ACE_Export macros for NT. - -CosNamingC.cpp CosNamingS.cpp CosNamingC.h CosNamingS.h: CosNaming.idl - $(TAO_ROOT)/TAO_IDL/tao_idl $^ - -RtecSchedulerC.cpp RtecSchedulerS.cpp RtecSchedulerC.h RtecSchedulerS.h: RtecScheduler.idl - $(TAO_ROOT)/TAO_IDL/tao_idl $^ - -RtecEventCommC.cpp RtecEventCommS.cpp RtecEventCommC.h RtecEventCommS.h: RtecEventComm.idl - $(TAO_ROOT)/TAO_IDL/tao_idl $^ - -RtecEventChannelAdminC.cpp RtecEventChannelAdminS.cpp RtecEventChannelAdminC.h RtecEventChannelAdminS.h: RtecEventChannelAdmin.idl - $(TAO_ROOT)/TAO_IDL/tao_idl $^ - -clean: - -/bin/rm -rf *.o Log $(BIN) obj.* core Templates.DB .make.state - -realclean: clean - -/bin/rm -rf CosNamingC.* CosNamingS.* - - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/CosNamingC.o .shobj/CosNamingC.so: CosNamingC.cpp CosNamingC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(TAO_ROOT)/tao/orbconf.h \ - $(TAO_ROOT)/tao/orb.h \ - $(TAO_ROOT)/tao/corbacom.h \ - $(TAO_ROOT)/tao/object.h \ - $(TAO_ROOT)/tao/align.h \ - $(TAO_ROOT)/tao/sequence.h \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/any.h \ - $(TAO_ROOT)/tao/poa.h \ - $(TAO_ROOT)/tao/tao_internals.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/client_factory.h \ - $(TAO_ROOT)/tao/server_factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/except.h \ - $(TAO_ROOT)/tao/orbobj.h \ - $(TAO_ROOT)/tao/nvlist.h \ - $(TAO_ROOT)/tao/principa.h \ - $(TAO_ROOT)/tao/request.h \ - $(TAO_ROOT)/tao/svrrqst.h \ - $(TAO_ROOT)/tao/typecode.h \ - $(TAO_ROOT)/tao/marshal.h \ - $(TAO_ROOT)/tao/cdr.h \ - $(TAO_ROOT)/tao/stub.h \ - $(TAO_ROOT)/tao/connect.h \ - $(TAO_ROOT)/tao/orb_core.h \ - $(TAO_ROOT)/tao/objtable.h \ - $(TAO_ROOT)/tao/optable.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/iiopobj.h \ - $(TAO_ROOT)/tao/iioporb.h \ - $(TAO_ROOT)/tao/giop.h \ - $(TAO_ROOT)/tao/orb_core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(TAO_ROOT)/tao/corbacom.i \ - $(TAO_ROOT)/tao/sequence.i \ - $(TAO_ROOT)/tao/typecode.i \ - $(TAO_ROOT)/tao/any.i \ - $(TAO_ROOT)/tao/cdr.i \ - $(TAO_ROOT)/tao/stub.i \ - $(TAO_ROOT)/tao/object.i \ - $(TAO_ROOT)/tao/orbobj.i \ - $(TAO_ROOT)/tao/marshal.i \ - $(TAO_ROOT)/tao/poa.i \ - $(TAO_ROOT)/tao/giop.i \ - $(TAO_ROOT)/tao/iioporb.i \ - $(TAO_ROOT)/tao/iiopobj.i \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/server_factory.i \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/connect.i \ - $(TAO_ROOT)/tao/singletons.h \ - CosNamingC.i -.obj/CosNamingS.o .shobj/CosNamingS.so: CosNamingS.cpp CosNamingS.h CosNamingC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(TAO_ROOT)/tao/orbconf.h \ - $(TAO_ROOT)/tao/orb.h \ - $(TAO_ROOT)/tao/corbacom.h \ - $(TAO_ROOT)/tao/object.h \ - $(TAO_ROOT)/tao/align.h \ - $(TAO_ROOT)/tao/sequence.h \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/any.h \ - $(TAO_ROOT)/tao/poa.h \ - $(TAO_ROOT)/tao/tao_internals.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/client_factory.h \ - $(TAO_ROOT)/tao/server_factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/except.h \ - $(TAO_ROOT)/tao/orbobj.h \ - $(TAO_ROOT)/tao/nvlist.h \ - $(TAO_ROOT)/tao/principa.h \ - $(TAO_ROOT)/tao/request.h \ - $(TAO_ROOT)/tao/svrrqst.h \ - $(TAO_ROOT)/tao/typecode.h \ - $(TAO_ROOT)/tao/marshal.h \ - $(TAO_ROOT)/tao/cdr.h \ - $(TAO_ROOT)/tao/stub.h \ - $(TAO_ROOT)/tao/connect.h \ - $(TAO_ROOT)/tao/orb_core.h \ - $(TAO_ROOT)/tao/objtable.h \ - $(TAO_ROOT)/tao/optable.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/iiopobj.h \ - $(TAO_ROOT)/tao/iioporb.h \ - $(TAO_ROOT)/tao/giop.h \ - $(TAO_ROOT)/tao/orb_core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(TAO_ROOT)/tao/corbacom.i \ - $(TAO_ROOT)/tao/sequence.i \ - $(TAO_ROOT)/tao/typecode.i \ - $(TAO_ROOT)/tao/any.i \ - $(TAO_ROOT)/tao/cdr.i \ - $(TAO_ROOT)/tao/stub.i \ - $(TAO_ROOT)/tao/object.i \ - $(TAO_ROOT)/tao/orbobj.i \ - $(TAO_ROOT)/tao/marshal.i \ - $(TAO_ROOT)/tao/poa.i \ - $(TAO_ROOT)/tao/giop.i \ - $(TAO_ROOT)/tao/iioporb.i \ - $(TAO_ROOT)/tao/iiopobj.i \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/server_factory.i \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/connect.i \ - $(TAO_ROOT)/tao/singletons.h \ - CosNamingC.i CosNamingS.i -.obj/RtecSchedulerC.o .shobj/RtecSchedulerC.so: RtecSchedulerC.cpp RtecSchedulerC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(TAO_ROOT)/tao/orbconf.h \ - $(TAO_ROOT)/tao/orb.h \ - $(TAO_ROOT)/tao/corbacom.h \ - $(TAO_ROOT)/tao/object.h \ - $(TAO_ROOT)/tao/align.h \ - $(TAO_ROOT)/tao/sequence.h \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/any.h \ - $(TAO_ROOT)/tao/poa.h \ - $(TAO_ROOT)/tao/tao_internals.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/client_factory.h \ - $(TAO_ROOT)/tao/server_factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/except.h \ - $(TAO_ROOT)/tao/orbobj.h \ - $(TAO_ROOT)/tao/nvlist.h \ - $(TAO_ROOT)/tao/principa.h \ - $(TAO_ROOT)/tao/request.h \ - $(TAO_ROOT)/tao/svrrqst.h \ - $(TAO_ROOT)/tao/typecode.h \ - $(TAO_ROOT)/tao/marshal.h \ - $(TAO_ROOT)/tao/cdr.h \ - $(TAO_ROOT)/tao/stub.h \ - $(TAO_ROOT)/tao/connect.h \ - $(TAO_ROOT)/tao/orb_core.h \ - $(TAO_ROOT)/tao/objtable.h \ - $(TAO_ROOT)/tao/optable.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/iiopobj.h \ - $(TAO_ROOT)/tao/iioporb.h \ - $(TAO_ROOT)/tao/giop.h \ - $(TAO_ROOT)/tao/orb_core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(TAO_ROOT)/tao/corbacom.i \ - $(TAO_ROOT)/tao/sequence.i \ - $(TAO_ROOT)/tao/typecode.i \ - $(TAO_ROOT)/tao/any.i \ - $(TAO_ROOT)/tao/cdr.i \ - $(TAO_ROOT)/tao/stub.i \ - $(TAO_ROOT)/tao/object.i \ - $(TAO_ROOT)/tao/orbobj.i \ - $(TAO_ROOT)/tao/marshal.i \ - $(TAO_ROOT)/tao/poa.i \ - $(TAO_ROOT)/tao/giop.i \ - $(TAO_ROOT)/tao/iioporb.i \ - $(TAO_ROOT)/tao/iiopobj.i \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/server_factory.i \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/connect.i \ - $(TAO_ROOT)/tao/singletons.h \ - RtecSchedulerC.i -.obj/RtecSchedulerS.o .shobj/RtecSchedulerS.so: RtecSchedulerS.cpp RtecSchedulerS.h RtecSchedulerC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(TAO_ROOT)/tao/orbconf.h \ - $(TAO_ROOT)/tao/orb.h \ - $(TAO_ROOT)/tao/corbacom.h \ - $(TAO_ROOT)/tao/object.h \ - $(TAO_ROOT)/tao/align.h \ - $(TAO_ROOT)/tao/sequence.h \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/any.h \ - $(TAO_ROOT)/tao/poa.h \ - $(TAO_ROOT)/tao/tao_internals.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/client_factory.h \ - $(TAO_ROOT)/tao/server_factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/except.h \ - $(TAO_ROOT)/tao/orbobj.h \ - $(TAO_ROOT)/tao/nvlist.h \ - $(TAO_ROOT)/tao/principa.h \ - $(TAO_ROOT)/tao/request.h \ - $(TAO_ROOT)/tao/svrrqst.h \ - $(TAO_ROOT)/tao/typecode.h \ - $(TAO_ROOT)/tao/marshal.h \ - $(TAO_ROOT)/tao/cdr.h \ - $(TAO_ROOT)/tao/stub.h \ - $(TAO_ROOT)/tao/connect.h \ - $(TAO_ROOT)/tao/orb_core.h \ - $(TAO_ROOT)/tao/objtable.h \ - $(TAO_ROOT)/tao/optable.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/iiopobj.h \ - $(TAO_ROOT)/tao/iioporb.h \ - $(TAO_ROOT)/tao/giop.h \ - $(TAO_ROOT)/tao/orb_core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(TAO_ROOT)/tao/corbacom.i \ - $(TAO_ROOT)/tao/sequence.i \ - $(TAO_ROOT)/tao/typecode.i \ - $(TAO_ROOT)/tao/any.i \ - $(TAO_ROOT)/tao/cdr.i \ - $(TAO_ROOT)/tao/stub.i \ - $(TAO_ROOT)/tao/object.i \ - $(TAO_ROOT)/tao/orbobj.i \ - $(TAO_ROOT)/tao/marshal.i \ - $(TAO_ROOT)/tao/poa.i \ - $(TAO_ROOT)/tao/giop.i \ - $(TAO_ROOT)/tao/iioporb.i \ - $(TAO_ROOT)/tao/iiopobj.i \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/server_factory.i \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/connect.i \ - $(TAO_ROOT)/tao/singletons.h \ - RtecSchedulerC.i RtecSchedulerS.i -.obj/RtecEventCommC.o .shobj/RtecEventCommC.so: RtecEventCommC.cpp RtecEventCommC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(TAO_ROOT)/tao/orbconf.h \ - $(TAO_ROOT)/tao/orb.h \ - $(TAO_ROOT)/tao/corbacom.h \ - $(TAO_ROOT)/tao/object.h \ - $(TAO_ROOT)/tao/align.h \ - $(TAO_ROOT)/tao/sequence.h \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/any.h \ - $(TAO_ROOT)/tao/poa.h \ - $(TAO_ROOT)/tao/tao_internals.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/client_factory.h \ - $(TAO_ROOT)/tao/server_factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/except.h \ - $(TAO_ROOT)/tao/orbobj.h \ - $(TAO_ROOT)/tao/nvlist.h \ - $(TAO_ROOT)/tao/principa.h \ - $(TAO_ROOT)/tao/request.h \ - $(TAO_ROOT)/tao/svrrqst.h \ - $(TAO_ROOT)/tao/typecode.h \ - $(TAO_ROOT)/tao/marshal.h \ - $(TAO_ROOT)/tao/cdr.h \ - $(TAO_ROOT)/tao/stub.h \ - $(TAO_ROOT)/tao/connect.h \ - $(TAO_ROOT)/tao/orb_core.h \ - $(TAO_ROOT)/tao/objtable.h \ - $(TAO_ROOT)/tao/optable.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/iiopobj.h \ - $(TAO_ROOT)/tao/iioporb.h \ - $(TAO_ROOT)/tao/giop.h \ - $(TAO_ROOT)/tao/orb_core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(TAO_ROOT)/tao/corbacom.i \ - $(TAO_ROOT)/tao/sequence.i \ - $(TAO_ROOT)/tao/typecode.i \ - $(TAO_ROOT)/tao/any.i \ - $(TAO_ROOT)/tao/cdr.i \ - $(TAO_ROOT)/tao/stub.i \ - $(TAO_ROOT)/tao/object.i \ - $(TAO_ROOT)/tao/orbobj.i \ - $(TAO_ROOT)/tao/marshal.i \ - $(TAO_ROOT)/tao/poa.i \ - $(TAO_ROOT)/tao/giop.i \ - $(TAO_ROOT)/tao/iioporb.i \ - $(TAO_ROOT)/tao/iiopobj.i \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/server_factory.i \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/connect.i \ - $(TAO_ROOT)/tao/singletons.h \ - RtecEventCommC.i -.obj/RtecEventCommS.o .shobj/RtecEventCommS.so: RtecEventCommS.cpp RtecEventCommS.h RtecEventCommC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(TAO_ROOT)/tao/orbconf.h \ - $(TAO_ROOT)/tao/orb.h \ - $(TAO_ROOT)/tao/corbacom.h \ - $(TAO_ROOT)/tao/object.h \ - $(TAO_ROOT)/tao/align.h \ - $(TAO_ROOT)/tao/sequence.h \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/any.h \ - $(TAO_ROOT)/tao/poa.h \ - $(TAO_ROOT)/tao/tao_internals.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/client_factory.h \ - $(TAO_ROOT)/tao/server_factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/except.h \ - $(TAO_ROOT)/tao/orbobj.h \ - $(TAO_ROOT)/tao/nvlist.h \ - $(TAO_ROOT)/tao/principa.h \ - $(TAO_ROOT)/tao/request.h \ - $(TAO_ROOT)/tao/svrrqst.h \ - $(TAO_ROOT)/tao/typecode.h \ - $(TAO_ROOT)/tao/marshal.h \ - $(TAO_ROOT)/tao/cdr.h \ - $(TAO_ROOT)/tao/stub.h \ - $(TAO_ROOT)/tao/connect.h \ - $(TAO_ROOT)/tao/orb_core.h \ - $(TAO_ROOT)/tao/objtable.h \ - $(TAO_ROOT)/tao/optable.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/iiopobj.h \ - $(TAO_ROOT)/tao/iioporb.h \ - $(TAO_ROOT)/tao/giop.h \ - $(TAO_ROOT)/tao/orb_core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(TAO_ROOT)/tao/corbacom.i \ - $(TAO_ROOT)/tao/sequence.i \ - $(TAO_ROOT)/tao/typecode.i \ - $(TAO_ROOT)/tao/any.i \ - $(TAO_ROOT)/tao/cdr.i \ - $(TAO_ROOT)/tao/stub.i \ - $(TAO_ROOT)/tao/object.i \ - $(TAO_ROOT)/tao/orbobj.i \ - $(TAO_ROOT)/tao/marshal.i \ - $(TAO_ROOT)/tao/poa.i \ - $(TAO_ROOT)/tao/giop.i \ - $(TAO_ROOT)/tao/iioporb.i \ - $(TAO_ROOT)/tao/iiopobj.i \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/server_factory.i \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/connect.i \ - $(TAO_ROOT)/tao/singletons.h \ - RtecEventCommC.i RtecEventCommS.i -.obj/RtecEventChannelAdminC.o .shobj/RtecEventChannelAdminC.so: RtecEventChannelAdminC.cpp \ - RtecEventChannelAdminC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(TAO_ROOT)/tao/orbconf.h \ - $(TAO_ROOT)/tao/orb.h \ - $(TAO_ROOT)/tao/corbacom.h \ - $(TAO_ROOT)/tao/object.h \ - $(TAO_ROOT)/tao/align.h \ - $(TAO_ROOT)/tao/sequence.h \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/any.h \ - $(TAO_ROOT)/tao/poa.h \ - $(TAO_ROOT)/tao/tao_internals.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/client_factory.h \ - $(TAO_ROOT)/tao/server_factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/except.h \ - $(TAO_ROOT)/tao/orbobj.h \ - $(TAO_ROOT)/tao/nvlist.h \ - $(TAO_ROOT)/tao/principa.h \ - $(TAO_ROOT)/tao/request.h \ - $(TAO_ROOT)/tao/svrrqst.h \ - $(TAO_ROOT)/tao/typecode.h \ - $(TAO_ROOT)/tao/marshal.h \ - $(TAO_ROOT)/tao/cdr.h \ - $(TAO_ROOT)/tao/stub.h \ - $(TAO_ROOT)/tao/connect.h \ - $(TAO_ROOT)/tao/orb_core.h \ - $(TAO_ROOT)/tao/objtable.h \ - $(TAO_ROOT)/tao/optable.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/iiopobj.h \ - $(TAO_ROOT)/tao/iioporb.h \ - $(TAO_ROOT)/tao/giop.h \ - $(TAO_ROOT)/tao/orb_core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(TAO_ROOT)/tao/corbacom.i \ - $(TAO_ROOT)/tao/sequence.i \ - $(TAO_ROOT)/tao/typecode.i \ - $(TAO_ROOT)/tao/any.i \ - $(TAO_ROOT)/tao/cdr.i \ - $(TAO_ROOT)/tao/stub.i \ - $(TAO_ROOT)/tao/object.i \ - $(TAO_ROOT)/tao/orbobj.i \ - $(TAO_ROOT)/tao/marshal.i \ - $(TAO_ROOT)/tao/poa.i \ - $(TAO_ROOT)/tao/giop.i \ - $(TAO_ROOT)/tao/iioporb.i \ - $(TAO_ROOT)/tao/iiopobj.i \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/server_factory.i \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/connect.i \ - $(TAO_ROOT)/tao/singletons.h \ - RtecEventCommC.h RtecEventCommC.i RtecSchedulerC.h RtecSchedulerC.i \ - RtecEventChannelAdminC.i -.obj/RtecEventChannelAdminS.o .shobj/RtecEventChannelAdminS.so: RtecEventChannelAdminS.cpp \ - RtecEventChannelAdminS.h RtecEventChannelAdminC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(TAO_ROOT)/tao/orbconf.h \ - $(TAO_ROOT)/tao/orb.h \ - $(TAO_ROOT)/tao/corbacom.h \ - $(TAO_ROOT)/tao/object.h \ - $(TAO_ROOT)/tao/align.h \ - $(TAO_ROOT)/tao/sequence.h \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/any.h \ - $(TAO_ROOT)/tao/poa.h \ - $(TAO_ROOT)/tao/tao_internals.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/client_factory.h \ - $(TAO_ROOT)/tao/server_factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/except.h \ - $(TAO_ROOT)/tao/orbobj.h \ - $(TAO_ROOT)/tao/nvlist.h \ - $(TAO_ROOT)/tao/principa.h \ - $(TAO_ROOT)/tao/request.h \ - $(TAO_ROOT)/tao/svrrqst.h \ - $(TAO_ROOT)/tao/typecode.h \ - $(TAO_ROOT)/tao/marshal.h \ - $(TAO_ROOT)/tao/cdr.h \ - $(TAO_ROOT)/tao/stub.h \ - $(TAO_ROOT)/tao/connect.h \ - $(TAO_ROOT)/tao/orb_core.h \ - $(TAO_ROOT)/tao/objtable.h \ - $(TAO_ROOT)/tao/optable.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/iiopobj.h \ - $(TAO_ROOT)/tao/iioporb.h \ - $(TAO_ROOT)/tao/giop.h \ - $(TAO_ROOT)/tao/orb_core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(TAO_ROOT)/tao/corbacom.i \ - $(TAO_ROOT)/tao/sequence.i \ - $(TAO_ROOT)/tao/typecode.i \ - $(TAO_ROOT)/tao/any.i \ - $(TAO_ROOT)/tao/cdr.i \ - $(TAO_ROOT)/tao/stub.i \ - $(TAO_ROOT)/tao/object.i \ - $(TAO_ROOT)/tao/orbobj.i \ - $(TAO_ROOT)/tao/marshal.i \ - $(TAO_ROOT)/tao/poa.i \ - $(TAO_ROOT)/tao/giop.i \ - $(TAO_ROOT)/tao/iioporb.i \ - $(TAO_ROOT)/tao/iiopobj.i \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/server_factory.i \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/connect.i \ - $(TAO_ROOT)/tao/singletons.h \ - RtecEventCommC.h RtecEventCommC.i RtecSchedulerC.h RtecSchedulerC.i \ - RtecEventChannelAdminC.i RtecEventCommS.h RtecEventCommS.i \ - RtecSchedulerS.h RtecSchedulerS.i RtecEventChannelAdminS.i -.obj/Event_Utilities.o .shobj/Event_Utilities.so: Event_Utilities.cpp Event_Utilities.h \ - RtecEventChannelAdminC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(TAO_ROOT)/tao/orbconf.h \ - $(TAO_ROOT)/tao/orb.h \ - $(TAO_ROOT)/tao/corbacom.h \ - $(TAO_ROOT)/tao/object.h \ - $(TAO_ROOT)/tao/align.h \ - $(TAO_ROOT)/tao/sequence.h \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/any.h \ - $(TAO_ROOT)/tao/poa.h \ - $(TAO_ROOT)/tao/tao_internals.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/client_factory.h \ - $(TAO_ROOT)/tao/server_factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/except.h \ - $(TAO_ROOT)/tao/orbobj.h \ - $(TAO_ROOT)/tao/nvlist.h \ - $(TAO_ROOT)/tao/principa.h \ - $(TAO_ROOT)/tao/request.h \ - $(TAO_ROOT)/tao/svrrqst.h \ - $(TAO_ROOT)/tao/typecode.h \ - $(TAO_ROOT)/tao/marshal.h \ - $(TAO_ROOT)/tao/cdr.h \ - $(TAO_ROOT)/tao/stub.h \ - $(TAO_ROOT)/tao/connect.h \ - $(TAO_ROOT)/tao/orb_core.h \ - $(TAO_ROOT)/tao/objtable.h \ - $(TAO_ROOT)/tao/optable.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/iiopobj.h \ - $(TAO_ROOT)/tao/iioporb.h \ - $(TAO_ROOT)/tao/giop.h \ - $(TAO_ROOT)/tao/orb_core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(TAO_ROOT)/tao/corbacom.i \ - $(TAO_ROOT)/tao/sequence.i \ - $(TAO_ROOT)/tao/typecode.i \ - $(TAO_ROOT)/tao/any.i \ - $(TAO_ROOT)/tao/cdr.i \ - $(TAO_ROOT)/tao/stub.i \ - $(TAO_ROOT)/tao/object.i \ - $(TAO_ROOT)/tao/orbobj.i \ - $(TAO_ROOT)/tao/marshal.i \ - $(TAO_ROOT)/tao/poa.i \ - $(TAO_ROOT)/tao/giop.i \ - $(TAO_ROOT)/tao/iioporb.i \ - $(TAO_ROOT)/tao/iiopobj.i \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/server_factory.i \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/connect.i \ - $(TAO_ROOT)/tao/singletons.h \ - RtecEventCommC.h RtecEventCommC.i RtecSchedulerC.h RtecSchedulerC.i \ - RtecEventChannelAdminC.i Event_Service_Constants.h Event_Utilities.i -.obj/Scheduler_Factory.o .shobj/Scheduler_Factory.so: Scheduler_Factory.cpp Runtime_Scheduler.h \ - RtecSchedulerS.h RtecSchedulerC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(TAO_ROOT)/tao/orbconf.h \ - $(TAO_ROOT)/tao/orb.h \ - $(TAO_ROOT)/tao/corbacom.h \ - $(TAO_ROOT)/tao/object.h \ - $(TAO_ROOT)/tao/align.h \ - $(TAO_ROOT)/tao/sequence.h \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/any.h \ - $(TAO_ROOT)/tao/poa.h \ - $(TAO_ROOT)/tao/tao_internals.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/client_factory.h \ - $(TAO_ROOT)/tao/server_factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/except.h \ - $(TAO_ROOT)/tao/orbobj.h \ - $(TAO_ROOT)/tao/nvlist.h \ - $(TAO_ROOT)/tao/principa.h \ - $(TAO_ROOT)/tao/request.h \ - $(TAO_ROOT)/tao/svrrqst.h \ - $(TAO_ROOT)/tao/typecode.h \ - $(TAO_ROOT)/tao/marshal.h \ - $(TAO_ROOT)/tao/cdr.h \ - $(TAO_ROOT)/tao/stub.h \ - $(TAO_ROOT)/tao/connect.h \ - $(TAO_ROOT)/tao/orb_core.h \ - $(TAO_ROOT)/tao/objtable.h \ - $(TAO_ROOT)/tao/optable.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/iiopobj.h \ - $(TAO_ROOT)/tao/iioporb.h \ - $(TAO_ROOT)/tao/giop.h \ - $(TAO_ROOT)/tao/orb_core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(TAO_ROOT)/tao/corbacom.i \ - $(TAO_ROOT)/tao/sequence.i \ - $(TAO_ROOT)/tao/typecode.i \ - $(TAO_ROOT)/tao/any.i \ - $(TAO_ROOT)/tao/cdr.i \ - $(TAO_ROOT)/tao/stub.i \ - $(TAO_ROOT)/tao/object.i \ - $(TAO_ROOT)/tao/orbobj.i \ - $(TAO_ROOT)/tao/marshal.i \ - $(TAO_ROOT)/tao/poa.i \ - $(TAO_ROOT)/tao/giop.i \ - $(TAO_ROOT)/tao/iioporb.i \ - $(TAO_ROOT)/tao/iiopobj.i \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/server_factory.i \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/connect.i \ - $(TAO_ROOT)/tao/singletons.h \ - RtecSchedulerC.i RtecSchedulerS.i Runtime_Scheduler.i \ - Scheduler_Factory.h CosNamingC.h CosNamingC.i Scheduler_Factory.i -.obj/Runtime_Scheduler.o .shobj/Runtime_Scheduler.so: Runtime_Scheduler.cpp Runtime_Scheduler.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - RtecSchedulerS.h RtecSchedulerC.h \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(TAO_ROOT)/tao/orbconf.h \ - $(TAO_ROOT)/tao/orb.h \ - $(TAO_ROOT)/tao/corbacom.h \ - $(TAO_ROOT)/tao/object.h \ - $(TAO_ROOT)/tao/align.h \ - $(TAO_ROOT)/tao/sequence.h \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/any.h \ - $(TAO_ROOT)/tao/poa.h \ - $(TAO_ROOT)/tao/tao_internals.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/client_factory.h \ - $(TAO_ROOT)/tao/server_factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/except.h \ - $(TAO_ROOT)/tao/orbobj.h \ - $(TAO_ROOT)/tao/nvlist.h \ - $(TAO_ROOT)/tao/principa.h \ - $(TAO_ROOT)/tao/request.h \ - $(TAO_ROOT)/tao/svrrqst.h \ - $(TAO_ROOT)/tao/typecode.h \ - $(TAO_ROOT)/tao/marshal.h \ - $(TAO_ROOT)/tao/cdr.h \ - $(TAO_ROOT)/tao/stub.h \ - $(TAO_ROOT)/tao/connect.h \ - $(TAO_ROOT)/tao/orb_core.h \ - $(TAO_ROOT)/tao/objtable.h \ - $(TAO_ROOT)/tao/optable.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/iiopobj.h \ - $(TAO_ROOT)/tao/iioporb.h \ - $(TAO_ROOT)/tao/giop.h \ - $(TAO_ROOT)/tao/orb_core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(TAO_ROOT)/tao/corbacom.i \ - $(TAO_ROOT)/tao/sequence.i \ - $(TAO_ROOT)/tao/typecode.i \ - $(TAO_ROOT)/tao/any.i \ - $(TAO_ROOT)/tao/cdr.i \ - $(TAO_ROOT)/tao/stub.i \ - $(TAO_ROOT)/tao/object.i \ - $(TAO_ROOT)/tao/orbobj.i \ - $(TAO_ROOT)/tao/marshal.i \ - $(TAO_ROOT)/tao/poa.i \ - $(TAO_ROOT)/tao/giop.i \ - $(TAO_ROOT)/tao/iioporb.i \ - $(TAO_ROOT)/tao/iiopobj.i \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/server_factory.i \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/connect.i \ - $(TAO_ROOT)/tao/singletons.h \ - RtecSchedulerC.i RtecSchedulerS.i Runtime_Scheduler.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/orbsvcs/lib/RtecEventChannelAdmin.idl b/TAO/orbsvcs/lib/RtecEventChannelAdmin.idl deleted file mode 100644 index ec0147abbb9..00000000000 --- a/TAO/orbsvcs/lib/RtecEventChannelAdmin.idl +++ /dev/null @@ -1,91 +0,0 @@ -// -// $Id$ -// -#include "RtecEventComm.idl" -#include "RtecScheduler.idl" - -module RtecEventChannelAdmin { - - exception AlreadyConnected { - }; - exception TypeError { - }; - - struct Dependency { - RtecEventComm::Event event_; - RtecScheduler::handle_t rt_info; - }; - typedef sequence<Dependency> DependencySet; - - struct ConsumerQOS { - DependencySet dependencies; - }; - - struct Publication { - RtecEventComm::Event event_; - RtecScheduler::Dependency_Info dependency_info_; - }; - typedef sequence<Publication> PublicationSet; - - struct SupplierQOS { - PublicationSet publications_; - }; - - interface ProxyPushConsumer: RtecEventComm::PushConsumer { - oneway void connect_push_supplier( - in RtecEventComm::PushSupplier push_supplier, - in SupplierQOS qos); - // raises(AlreadyConnected); - }; - - interface ProxyPushSupplier: RtecEventComm::PushSupplier { - oneway void connect_push_consumer( - in RtecEventComm::PushConsumer push_consumer, - in ConsumerQOS qos); - // raises(AlreadyConnected, TypeError); - }; - - // TODO: Find out the exception specs for the following interface's - // methods. - interface ConsumerAdmin { - ProxyPushSupplier obtain_push_supplier(); - }; - interface SupplierAdmin { - ProxyPushConsumer obtain_push_consumer(); - }; - - interface EventChannel { - exception SYNCHRONIZATION_ERROR { - long minor; - long status; - string name; - }; - exception QOS_ERROR { - long minor; - long status; - string name; - }; - exception SUBSCRIPTION_ERROR { - long minor; - long status; - string name; - }; - exception CORRELATION_ERROR { - long minor; - long status; - string name; - }; - exception DISPATCH_ERROR { - long minor; - long status; - string name; - }; - ConsumerAdmin for_consumers(); - SupplierAdmin for_suppliers(); - - void destroy(); - }; - -}; - - diff --git a/TAO/orbsvcs/lib/RtecEventChannelAdminC.cpp b/TAO/orbsvcs/lib/RtecEventChannelAdminC.cpp deleted file mode 100644 index 694e0b7a276..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_long, - - 6, 0x64617461, 0x5f000000, // name = data_ - CORBA::tk_struct, // typecode kind - 84, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventData:1.0 - 10, 0x4576656e, 0x74446174, 0x61000000, // name = EventData - 2, // member count - 2, 0x78000000, // name = x - CORBA::tk_long, - - 2, 0x79000000, // name = y - CORBA::tk_long, - - 8, 0x72745f69, 0x6e666f00, // name = rt_info - CORBA::tk_alias, // typecode kind for typedefs - 60, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0 - 9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t - CORBA::tk_long, - -}; -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 (int i = 0; i < this->length_; ++i) - { - tmp[i] = this->buffer_[i]; - } - if (this->release_) - RtecEventChannelAdmin::_tao__seq_DependencySet::freebuf (this->buffer_); - this->buffer_ = tmp; - this->release_ = 1; - this->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_long, - - 6, 0x64617461, 0x5f000000, // name = data_ - CORBA::tk_struct, // typecode kind - 84, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventData:1.0 - 10, 0x4576656e, 0x74446174, 0x61000000, // name = EventData - 2, // member count - 2, 0x78000000, // name = x - CORBA::tk_long, - - 2, 0x79000000, // name = y - CORBA::tk_long, - - 8, 0x72745f69, 0x6e666f00, // name = rt_info - CORBA::tk_alias, // typecode kind for typedefs - 60, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0 - 9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t - CORBA::tk_long, - - 0, -}; -static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin__tao__seq_DependencySet (CORBA::tk_sequence, sizeof (_oc_RtecEventChannelAdmin__tao__seq_DependencySet), (unsigned char *) &_oc_RtecEventChannelAdmin__tao__seq_DependencySet, CORBA::B_FALSE); -CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc__tao__seq_DependencySet = &_tc__tc_RtecEventChannelAdmin__tao__seq_DependencySet; - -static const CORBA::Long _oc_RtecEventChannelAdmin_DependencySet[] = -{ - TAO_ENCAP_BYTE_ORDER, // byte order - 44, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4465, 0x70656e64, 0x656e6379, 0x5365743a, 0x312e3000, // repository ID = IDL:RtecEventChannelAdmin/DependencySet:1.0 - 14, 0x44657065, 0x6e64656e, 0x63795365, 0x74000000, // name = DependencySet - CORBA::tk_sequence, // typecode kind - 592, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - CORBA::tk_struct, // typecode kind - 568, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 41, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f4465, 0x70656e64, 0x656e6379, 0x3a312e30, 0x0, // repository ID = IDL:RtecEventChannelAdmin/Dependency:1.0 - 11, 0x44657065, 0x6e64656e, 0x63790000, // name = Dependency - 2, // member count - 7, 0x6576656e, 0x745f0000, // name = event_ - CORBA::tk_struct, // typecode kind - 396, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 28, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e743a, 0x312e3000, // repository ID = IDL:RtecEventComm/Event:1.0 - 6, 0x4576656e, 0x74000000, // name = Event - 4, // member count - 8, 0x736f7572, 0x63655f00, // name = source_ - CORBA::tk_alias, // typecode kind for typedefs - 68, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 36, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7453, 0x6f757263, 0x6549443a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventSourceID:1.0 - 14, 0x4576656e, 0x74536f75, 0x72636549, 0x44000000, // name = EventSourceID - CORBA::tk_long, - - 6, 0x74797065, 0x5f000000, // name = type_ - CORBA::tk_alias, // typecode kind for typedefs - 60, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7454, 0x7970653a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventType:1.0 - 10, 0x4576656e, 0x74547970, 0x65000000, // name = EventType - CORBA::tk_long, - - 6, 0x74696d65, 0x5f000000, // name = time_ - CORBA::tk_alias, // typecode kind for typedefs - 52, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 27, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecEventComm/Time:1.0 - 5, 0x54696d65, 0x0, // name = Time - CORBA::tk_long, - - 6, 0x64617461, 0x5f000000, // name = data_ - CORBA::tk_struct, // typecode kind - 84, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventData:1.0 - 10, 0x4576656e, 0x74446174, 0x61000000, // name = EventData - 2, // member count - 2, 0x78000000, // name = x - CORBA::tk_long, - - 2, 0x79000000, // name = y - CORBA::tk_long, - - 8, 0x72745f69, 0x6e666f00, // name = rt_info - CORBA::tk_alias, // typecode kind for typedefs - 60, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0 - 9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t - CORBA::tk_long, - - 0, -}; -static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_DependencySet (CORBA::tk_alias, sizeof (_oc_RtecEventChannelAdmin_DependencySet), (unsigned char *) &_oc_RtecEventChannelAdmin_DependencySet, CORBA::B_FALSE); -CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_DependencySet = &_tc__tc_RtecEventChannelAdmin_DependencySet; - -static const CORBA::Long _oc_RtecEventChannelAdmin_ConsumerQOS[] = -{ - TAO_ENCAP_BYTE_ORDER, // byte order - 42, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f436f, 0x6e73756d, 0x6572514f, 0x533a312e, 0x30000000, // repository ID = IDL:RtecEventChannelAdmin/ConsumerQOS:1.0 - 12, 0x436f6e73, 0x756d6572, 0x514f5300, // name = ConsumerQOS - 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_long, - - 6, 0x64617461, 0x5f000000, // name = data_ - CORBA::tk_struct, // typecode kind - 84, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventData:1.0 - 10, 0x4576656e, 0x74446174, 0x61000000, // name = EventData - 2, // member count - 2, 0x78000000, // name = x - CORBA::tk_long, - - 2, 0x79000000, // name = y - CORBA::tk_long, - - 8, 0x72745f69, 0x6e666f00, // name = rt_info - CORBA::tk_alias, // typecode kind for typedefs - 60, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0 - 9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t - CORBA::tk_long, - - 0, -}; -static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_ConsumerQOS (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_ConsumerQOS), (unsigned char *) &_oc_RtecEventChannelAdmin_ConsumerQOS, CORBA::B_FALSE); -CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_ConsumerQOS = &_tc__tc_RtecEventChannelAdmin_ConsumerQOS; - -static const CORBA::Long _oc_RtecEventChannelAdmin_Publication[] = -{ - TAO_ENCAP_BYTE_ORDER, // byte order - 42, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436861, 0x6e6e656c, 0x41646d69, 0x6e2f5075, 0x626c6963, 0x6174696f, 0x6e3a312e, 0x30000000, // repository ID = IDL:RtecEventChannelAdmin/Publication:1.0 - 12, 0x5075626c, 0x69636174, 0x696f6e00, // name = Publication - 2, // member count - 7, 0x6576656e, 0x745f0000, // name = event_ - CORBA::tk_struct, // typecode kind - 396, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 28, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e743a, 0x312e3000, // repository ID = IDL:RtecEventComm/Event:1.0 - 6, 0x4576656e, 0x74000000, // name = Event - 4, // member count - 8, 0x736f7572, 0x63655f00, // name = source_ - CORBA::tk_alias, // typecode kind for typedefs - 68, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 36, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7453, 0x6f757263, 0x6549443a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventSourceID:1.0 - 14, 0x4576656e, 0x74536f75, 0x72636549, 0x44000000, // name = EventSourceID - CORBA::tk_long, - - 6, 0x74797065, 0x5f000000, // name = type_ - CORBA::tk_alias, // typecode kind for typedefs - 60, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7454, 0x7970653a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventType:1.0 - 10, 0x4576656e, 0x74547970, 0x65000000, // name = EventType - CORBA::tk_long, - - 6, 0x74696d65, 0x5f000000, // name = time_ - CORBA::tk_alias, // typecode kind for typedefs - 52, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 27, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f5469, 0x6d653a31, 0x2e300000, // repository ID = IDL:RtecEventComm/Time:1.0 - 5, 0x54696d65, 0x0, // name = Time - CORBA::tk_long, - - 6, 0x64617461, 0x5f000000, // name = data_ - CORBA::tk_struct, // typecode kind - 84, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventData:1.0 - 10, 0x4576656e, 0x74446174, 0x61000000, // name = EventData - 2, // member count - 2, 0x78000000, // name = x - CORBA::tk_long, - - 2, 0x79000000, // name = y - CORBA::tk_long, - - 17, 0x64657065, 0x6e64656e, 0x63795f69, 0x6e666f5f, 0x0, // name = dependency_info_ - CORBA::tk_struct, // typecode kind - 176, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 38, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f496e66, 0x6f3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Dependency_Info:1.0 - 16, 0x44657065, 0x6e64656e, 0x63795f49, 0x6e666f00, // name = Dependency_Info - 2, // member count - 16, 0x6e756d62, 0x65725f6f, 0x665f6361, 0x6c6c7300, // name = number_of_calls - CORBA::tk_long, - - 8, 0x72745f69, 0x6e666f00, // name = rt_info - CORBA::tk_alias, // typecode kind for typedefs - 60, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0 - 9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t - CORBA::tk_long, - - }; -static CORBA::TypeCode _tc__tc_RtecEventChannelAdmin_Publication (CORBA::tk_struct, sizeof (_oc_RtecEventChannelAdmin_Publication), (unsigned char *) &_oc_RtecEventChannelAdmin_Publication, CORBA::B_FALSE); -CORBA::TypeCode_ptr RtecEventChannelAdmin::_tc_Publication = &_tc__tc_RtecEventChannelAdmin_Publication; - -// ************************************************************* -// class RtecEventChannelAdmin::_tao__seq_PublicationSet -// ************************************************************* - -// copy constructor -RtecEventChannelAdmin::_tao__seq_PublicationSet::_tao__seq_PublicationSet (const RtecEventChannelAdmin::_tao__seq_PublicationSet &seq) - : maximum_ (seq.maximum_), - length_ (seq.length_), - buffer_ (RtecEventChannelAdmin::_tao__seq_PublicationSet::allocbuf (seq.maximum_)), - release_ (1) // we always own it -{ - for (CORBA::ULong i=0; i < seq.length_; i++) - this->buffer_[i] = seq.buffer_[i]; -} - -// destructor -RtecEventChannelAdmin::_tao__seq_PublicationSet::~_tao__seq_PublicationSet (void) -{ - if (this->release_) // we own the buffer - { - RtecEventChannelAdmin::_tao__seq_PublicationSet::freebuf (this->buffer_); - } -} - -// assignment operator -RtecEventChannelAdmin::_tao__seq_PublicationSet& -RtecEventChannelAdmin::_tao__seq_PublicationSet::operator= (const RtecEventChannelAdmin::_tao__seq_PublicationSet &seq) -{ - if (this == &seq) return *this; - if (this->release_) - { - RtecEventChannelAdmin::_tao__seq_PublicationSet::freebuf (this->buffer_); - } - this->length_ = seq.length_; - this->maximum_ = seq.maximum_; - this->buffer_ = RtecEventChannelAdmin::_tao__seq_PublicationSet::allocbuf (seq.maximum_), - this->release_ =1; // we always own it - for (CORBA::ULong i=0; i < seq.length_; i++) - this->buffer_[i] = seq.buffer_[i]; - return *this; -} - -void -RtecEventChannelAdmin::_tao__seq_PublicationSet::length (CORBA::ULong length) -{ - if (length > this->maximum_) - { - RtecEventChannelAdmin::Publication *tmp = RtecEventChannelAdmin::_tao__seq_PublicationSet::allocbuf (length); - if (tmp == 0) - return; - for (int i = 0; i < this->length_; ++i) - { - tmp[i] = this->buffer_[i]; - } - if (this->release_) - RtecEventChannelAdmin::_tao__seq_PublicationSet::freebuf (this->buffer_); - this->buffer_ = tmp; - this->release_ = 1; - this->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_long, - - 6, 0x64617461, 0x5f000000, // name = data_ - CORBA::tk_struct, // typecode kind - 84, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventData:1.0 - 10, 0x4576656e, 0x74446174, 0x61000000, // name = EventData - 2, // member count - 2, 0x78000000, // name = x - CORBA::tk_long, - - 2, 0x79000000, // name = y - CORBA::tk_long, - - 17, 0x64657065, 0x6e64656e, 0x63795f69, 0x6e666f5f, 0x0, // name = dependency_info_ - CORBA::tk_struct, // typecode kind - 176, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 38, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f496e66, 0x6f3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Dependency_Info:1.0 - 16, 0x44657065, 0x6e64656e, 0x63795f49, 0x6e666f00, // name = Dependency_Info - 2, // member count - 16, 0x6e756d62, 0x65725f6f, 0x665f6361, 0x6c6c7300, // name = number_of_calls - CORBA::tk_long, - - 8, 0x72745f69, 0x6e666f00, // name = rt_info - CORBA::tk_alias, // typecode kind for typedefs - 60, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0 - 9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t - CORBA::tk_long, - - 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_long, - - 6, 0x64617461, 0x5f000000, // name = data_ - CORBA::tk_struct, // typecode kind - 84, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventData:1.0 - 10, 0x4576656e, 0x74446174, 0x61000000, // name = EventData - 2, // member count - 2, 0x78000000, // name = x - CORBA::tk_long, - - 2, 0x79000000, // name = y - CORBA::tk_long, - - 17, 0x64657065, 0x6e64656e, 0x63795f69, 0x6e666f5f, 0x0, // name = dependency_info_ - CORBA::tk_struct, // typecode kind - 176, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 38, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f496e66, 0x6f3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Dependency_Info:1.0 - 16, 0x44657065, 0x6e64656e, 0x63795f49, 0x6e666f00, // name = Dependency_Info - 2, // member count - 16, 0x6e756d62, 0x65725f6f, 0x665f6361, 0x6c6c7300, // name = number_of_calls - CORBA::tk_long, - - 8, 0x72745f69, 0x6e666f00, // name = rt_info - CORBA::tk_alias, // typecode kind for typedefs - 60, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0 - 9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t - CORBA::tk_long, - - 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_long, - - 6, 0x64617461, 0x5f000000, // name = data_ - CORBA::tk_struct, // typecode kind - 84, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventData:1.0 - 10, 0x4576656e, 0x74446174, 0x61000000, // name = EventData - 2, // member count - 2, 0x78000000, // name = x - CORBA::tk_long, - - 2, 0x79000000, // name = y - CORBA::tk_long, - - 17, 0x64657065, 0x6e64656e, 0x63795f69, 0x6e666f5f, 0x0, // name = dependency_info_ - CORBA::tk_struct, // typecode kind - 176, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 38, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f4465, 0x70656e64, 0x656e6379, 0x5f496e66, 0x6f3a312e, 0x30000000, // repository ID = IDL:RtecScheduler/Dependency_Info:1.0 - 16, 0x44657065, 0x6e64656e, 0x63795f49, 0x6e666f00, // name = Dependency_Info - 2, // member count - 16, 0x6e756d62, 0x65725f6f, 0x665f6361, 0x6c6c7300, // name = number_of_calls - CORBA::tk_long, - - 8, 0x72745f69, 0x6e666f00, // name = rt_info - CORBA::tk_alias, // typecode kind for typedefs - 60, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 31, 0x49444c3a, 0x52746563, 0x53636865, 0x64756c65, 0x722f6861, 0x6e646c65, 0x5f743a31, 0x2e300000, // repository ID = IDL:RtecScheduler/handle_t:1.0 - 9, 0x68616e64, 0x6c655f74, 0x0, // name = handle_t - CORBA::tk_long, - - 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 a4fdcfc2b6d..00000000000 --- a/TAO/orbsvcs/lib/RtecEventChannelAdminS.cpp +++ /dev/null @@ -1,480 +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 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_ProxyPushConsumer_optable (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_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 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_ProxyPushSupplier_optable (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_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 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_ConsumerAdmin_optable (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_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; - - // 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 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_SupplierAdmin_optable (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_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; - - // 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 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_EventChannel_optable (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_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; - - // 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; - - // 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 deleted file mode 100644 index 3ce98797ae8..00000000000 --- a/TAO/orbsvcs/lib/RtecEventComm.idl +++ /dev/null @@ -1,45 +0,0 @@ -// -// $Id$ -// - -module RtecEventComm { - exception Disconnected {}; - -#if 0 - union EventData switch(short) { - case 1: double dval; - case 2: string sval; - case 3: sequence<octet> bval; - default: long lval; - }; -#else - struct EventData { - long x; - long y; - }; -#endif - - typedef long EventSourceID; - // TODO: Use CosTimeService? - typedef long Time; - typedef long EventType; - struct Event { - EventSourceID source_; - EventType type_; - Time time_; - EventData data_; - }; - typedef sequence<Event> EventSet; - - interface PushConsumer { - oneway void push (in EventSet data); // raises(Disconnected); - oneway void disconnect_push_consumer(); - }; - - interface PushSupplier { - oneway void disconnect_push_supplier(); - }; - -}; - - diff --git a/TAO/orbsvcs/lib/RtecEventCommC.cpp b/TAO/orbsvcs/lib/RtecEventCommC.cpp deleted file mode 100644 index dbcac3ed93b..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_long, - -}; -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_long, - - 6, 0x64617461, 0x5f000000, // name = data_ - CORBA::tk_struct, // typecode kind - 84, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventData:1.0 - 10, 0x4576656e, 0x74446174, 0x61000000, // name = EventData - 2, // member count - 2, 0x78000000, // name = x - CORBA::tk_long, - - 2, 0x79000000, // name = y - CORBA::tk_long, - - }; -static CORBA::TypeCode _tc__tc_RtecEventComm_Event (CORBA::tk_struct, sizeof (_oc_RtecEventComm_Event), (unsigned char *) &_oc_RtecEventComm_Event, CORBA::B_FALSE); -CORBA::TypeCode_ptr RtecEventComm::_tc_Event = &_tc__tc_RtecEventComm_Event; - -// ************************************************************* -// class RtecEventComm::_tao__seq_EventSet -// ************************************************************* - -// copy constructor -RtecEventComm::_tao__seq_EventSet::_tao__seq_EventSet (const RtecEventComm::_tao__seq_EventSet &seq) - : maximum_ (seq.maximum_), - length_ (seq.length_), - buffer_ (RtecEventComm::_tao__seq_EventSet::allocbuf (seq.maximum_)), - release_ (1) // we always own it -{ - for (CORBA::ULong i=0; i < seq.length_; i++) - this->buffer_[i] = seq.buffer_[i]; -} - -// destructor -RtecEventComm::_tao__seq_EventSet::~_tao__seq_EventSet (void) -{ - if (this->release_) // we own the buffer - { - RtecEventComm::_tao__seq_EventSet::freebuf (this->buffer_); - } -} - -// assignment operator -RtecEventComm::_tao__seq_EventSet& -RtecEventComm::_tao__seq_EventSet::operator= (const RtecEventComm::_tao__seq_EventSet &seq) -{ - if (this == &seq) return *this; - if (this->release_) - { - RtecEventComm::_tao__seq_EventSet::freebuf (this->buffer_); - } - this->length_ = seq.length_; - this->maximum_ = seq.maximum_; - this->buffer_ = RtecEventComm::_tao__seq_EventSet::allocbuf (seq.maximum_), - this->release_ =1; // we always own it - for (CORBA::ULong i=0; i < seq.length_; i++) - this->buffer_[i] = seq.buffer_[i]; - return *this; -} - -void -RtecEventComm::_tao__seq_EventSet::length (CORBA::ULong length) -{ - if (length > this->maximum_) - { - RtecEventComm::Event *tmp = RtecEventComm::_tao__seq_EventSet::allocbuf (length); - if (tmp == 0) - return; - for (int i = 0; i < this->length_; ++i) - { - tmp[i] = this->buffer_[i]; - } - if (this->release_) - RtecEventComm::_tao__seq_EventSet::freebuf (this->buffer_); - this->buffer_ = tmp; - this->release_ = 1; - this->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_long, - - 6, 0x64617461, 0x5f000000, // name = data_ - CORBA::tk_struct, // typecode kind - 84, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventData:1.0 - 10, 0x4576656e, 0x74446174, 0x61000000, // name = EventData - 2, // member count - 2, 0x78000000, // name = x - CORBA::tk_long, - - 2, 0x79000000, // name = y - CORBA::tk_long, - - 0, -}; -static CORBA::TypeCode _tc__tc_RtecEventComm__tao__seq_EventSet (CORBA::tk_sequence, sizeof (_oc_RtecEventComm__tao__seq_EventSet), (unsigned char *) &_oc_RtecEventComm__tao__seq_EventSet, CORBA::B_FALSE); -CORBA::TypeCode_ptr RtecEventComm::_tc__tao__seq_EventSet = &_tc__tc_RtecEventComm__tao__seq_EventSet; - -static const CORBA::Long _oc_RtecEventComm_EventSet[] = -{ - TAO_ENCAP_BYTE_ORDER, // byte order - 31, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7453, 0x65743a31, 0x2e300000, // repository ID = IDL:RtecEventComm/EventSet:1.0 - 9, 0x4576656e, 0x74536574, 0x0, // name = EventSet - CORBA::tk_sequence, // typecode kind - 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_long, - - 6, 0x64617461, 0x5f000000, // name = data_ - CORBA::tk_struct, // typecode kind - 84, // encapsulation length - TAO_ENCAP_BYTE_ORDER, // byte order - 32, 0x49444c3a, 0x52746563, 0x4576656e, 0x74436f6d, 0x6d2f4576, 0x656e7444, 0x6174613a, 0x312e3000, // repository ID = IDL:RtecEventComm/EventData:1.0 - 10, 0x4576656e, 0x74446174, 0x61000000, // name = EventData - 2, // member count - 2, 0x78000000, // name = x - CORBA::tk_long, - - 2, 0x79000000, // name = y - CORBA::tk_long, - - 0, -}; -static CORBA::TypeCode _tc__tc_RtecEventComm_EventSet (CORBA::tk_alias, sizeof (_oc_RtecEventComm_EventSet), (unsigned char *) &_oc_RtecEventComm_EventSet, CORBA::B_FALSE); -CORBA::TypeCode_ptr RtecEventComm::_tc_EventSet = &_tc__tc_RtecEventComm_EventSet; - -RtecEventComm::PushConsumer_ptr RtecEventComm::PushConsumer::_duplicate (RtecEventComm::PushConsumer_ptr obj) -{ - if (!CORBA::is_nil (obj)) - obj->AddRef (); - - return obj; -} // end of _duplicate - -RtecEventComm::PushConsumer_ptr RtecEventComm::PushConsumer::_narrow (CORBA::Object_ptr obj, CORBA::Environment &env) -{ - if (CORBA::is_nil (obj)) return RtecEventComm::PushConsumer::_nil (); - if (obj->_is_a ("IDL:RtecEventComm/PushConsumer:1.0", env)) - { - STUB_Object *istub; - RtecEventComm::PushConsumer_ptr new_obj; // to be returned - if (obj->QueryInterface (IID_STUB_Object, (void **)&istub) != NOERROR) - return RtecEventComm::PushConsumer::_nil (); - - obj->Release (); // need this since QueryIntf bumped our refcount - new_obj = new RtecEventComm::PushConsumer (istub); // construct obj ref using the stub object - return new_obj; - } // end of if - return RtecEventComm::PushConsumer::_nil (); // _narrow failed -} // end of _narrow - -RtecEventComm::PushConsumer_ptr RtecEventComm::PushConsumer::_nil (void) -{ - return (RtecEventComm::PushConsumer_ptr)NULL; -} // end of _nil - -RtecEventComm::PushConsumer_ptr RtecEventComm::PushConsumer::_bind (const char *host, CORBA::UShort port, const char *key, CORBA::Environment &env) -{ - CORBA::Object_ptr objref = CORBA::Object::_nil (); - IIOP_Object *data = new IIOP_Object (host, port, key); - if (!data) return RtecEventComm::PushConsumer::_nil (); - // get the object_ptr using Query Interface - if (data->QueryInterface (IID_CORBA_Object, (void **)&objref) != NOERROR) - { - env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO)); - return RtecEventComm::PushConsumer::_nil (); - } - data->Release (); // QueryInterface had bumped up our count - if (CORBA::is_nil (objref)) - return RtecEventComm::PushConsumer::_nil (); - else // narrow it - return RtecEventComm::PushConsumer::_narrow (objref, env); -} - -static const TAO_Param_Data RtecEventComm_PushConsumer_push_paramdata [] = -{ - {CORBA::_tc_void, PARAM_RETURN, 0}, - {RtecEventComm::_tc_EventSet, PARAM_IN, 0} -}; - -static const TAO_Call_Data RtecEventComm_PushConsumer_push_calldata = -{"push", 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 99f5e65bd8d..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::Long Time;typedef CORBA::Long_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 0deb62ae2fa..00000000000 --- a/TAO/orbsvcs/lib/RtecEventCommS.cpp +++ /dev/null @@ -1,168 +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 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_PushConsumer_optable (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_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 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_PushSupplier_optable (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_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/RtecScheduler.idl b/TAO/orbsvcs/lib/RtecScheduler.idl deleted file mode 100644 index e0d2ea9fa0f..00000000000 --- a/TAO/orbsvcs/lib/RtecScheduler.idl +++ /dev/null @@ -1,222 +0,0 @@ -// -// $Id$ -// - -module RtecScheduler { - - // TODO: Use the COS Time Service TimeT type. - typedef double Time; - typedef long Period; - typedef Time Quantum; - - const long NO_QUANTUM = 0; - - // - // TODO: This differ from the ones documented in the TAO paper, - // namely: - // INTERRUPT - // IO_SERVICE - // CRITICAL - // HARD_DEADLINE - // BACKGROUND - // Notice that the order is inverted and, of course, the names don't - // match. - // - enum Importance { - VERY_LOW, - LOW, - MEDIUM, - HIGH, - VERY_HIGH - }; - - typedef long handle_t; - // RT_Info's are assignned per-application unique identifiers. - - struct Dependency_Info { - long number_of_calls; - handle_t rt_info; - // Notice the reference to the RT_Info we depend on. - }; - - typedef sequence<Dependency_Info> Dependency_Set; - - typedef long OS_Priority; - typedef long Sub_Priority; - typedef long Preemption_Priority; - - struct RT_Info - // = TITLE - // Describes the QoS for an "operation". - // - // = DESCRIPTION - // The CPU requirements and QoS for each "entity" implementing - // an application operation is described by the following - // information. - { - // Application defined string that uniquely identifies the - // operation. - string entry_point; - - // The scheduler defined unique identifier. - handle_t handle; - - // Execution times - Time worst_case_execution_time; - Time typical_execution_time; - - // To account for server data caching. - Time cached_execution_time; - - // For rate operations this defines the period of the rate. - // 0 means "completely pasive", i.e., this operation only executes - // when called. - Period period; - - // Operation importance (used to "break ties"). - Importance importance; - - // For time-slicing (for BACKGROUND operations only). - Quantum quantum; - - // The following attributes are defined by the Scheduler once the - // off-line scheduling is computed. - - // The number of threads that will execute this operation? - // TODO: clarify this. - long threads; - - // The operations we depend upon. - Dependency_Set dependencies; - - // The OS por processing the events generated from this RT_Info. - OS_Priority priority; - - // For ordering RT_Info's with equal priority. - Sub_Priority subpriority; - - // The queue number for this RT_Info. - Preemption_Priority preemption_priority; - }; - - exception DUPLICATE_NAME {}; - // The application is trying to register the same task again. - - exception UNKNOWN_TASK {}; - // The RT_Info handle was not valid. - - exception NOT_SCHEDULED {}; - // The application is trying to obtain scheduling information, but - // none is available. - - exception UTILIZATION_BOUND_EXCEEDED {}; - exception INSUFFICIENT_THREAD_PRIORITY_LEVELS {}; - exception TASK_COUNT_MISMATCH {}; - // Problems while computing off-line scheduling. - - typedef sequence<RT_Info> RT_Info_Set; - - // TODO: Find a reasonable name for this interface, maybe we should - // change the name of the module to RtecSchedulerAdmin and name this - // Scheduler - interface Scheduler - // = DESCRIPTION - // This class holds all the RT_Info's for a single application. - // During the configuration run this will be implemented as a - // single remote object, whose services are used by the - // suppliers, consumers and the EC. - // At run-time each process will hold a copy of the compiled - // version of the Scheduler, using the precomputed data to - // resolve requests (avoiding any remote calls) and ignoring any - // requests for modifying its state. - // A Factory class will be used to choose the proper - // implementation. - // - // This class must be registered with the naming service using a - // well known name ("Scheduler" seems the obvious choice), the - // Naming Context will account for different applications and - // modes. - // - // Once the scheduling data is computed it can be retrieved - // remotely to generate the code for the run-time version. - { - handle_t create (in string entry_point) raises (DUPLICATE_NAME); - // Creates a new RT_Info entry for the function identifier - // "entry_point", it can be any string, but the fully qualified - // name function name is suggested. - // Returns a handle to the RT_Info. - - handle_t lookup (in string entry_point); - // Lookups a handle for entry_point. - // TODO: Should we add INVALID_HANDLE or raise an exception? - - RT_Info get (in handle_t handle) raises (UNKNOWN_TASK); - // Retrieve information about an RT_Info. - - void set (in handle_t handle, - in Time time, - in Time typical_time, - in Time cached_time, - in Period period, - in Importance importance, - in Quantum quantum, - in long threads) - raises (UNKNOWN_TASK); - // Set the attributes of an RT_Info. - // Notice that some values may not be modified (like priority). - - void add_dependency (in handle_t handle, - in handle_t dependency, - in long number_of_calls) - raises (UNKNOWN_TASK); - // Adds <dependency> to <handle> - - void priority (in handle_t handle, - out OS_Priority priority, - out Sub_Priority subpriority, - out Preemption_Priority p_priority) - raises (UNKNOWN_TASK, NOT_SCHEDULED); - void entry_point_priority (in string entry_point, - out OS_Priority priority, - out Sub_Priority subpriority, - out Preemption_Priority p_priority) - raises (UNKNOWN_TASK, NOT_SCHEDULED); - // Obtain the run time priorities. - // TODO: Do we need the two interfaces or is it simply confusing? - // If we should to keep only the <handle> version: Are the extra - // round-trips too expensive? - // If we choose only the <entry_point> version: Are the copies for - // the string affordable? - - void compute_scheduling (in long minimum_priority, - in long maximum_priority, - out RT_Info_Set infos) - raises (UTILIZATION_BOUND_EXCEEDED, - INSUFFICIENT_THREAD_PRIORITY_LEVELS, - TASK_COUNT_MISMATCH); - // Computes the scheduling priorities, returns the RT_Info's with - // their priorities properly filled. - // This info can be cached by a Run_Time_Scheduler service or - // dumped into a C++ file for compilation and even faster (static) - // lookup. - - // TODO: The dependencies field can be removed from the RT_Info - // and made part of the secrets of "Application", adding the - // following to satisfy curious clients: - // - // struct Dependency { - // long number_of_calls; - // handle_t dependency; - // }; - // typedef sequence<Dependency> Dependency_Set; - // - // Dependency_Set dependencies (in handle_t handle) - // raises (UNKNOWN_TASK); - // Returns the list of dependencies - // - // long number_of_dependencies (in handle_t handle) - // raises (UNKNOWN_TASK); - // Returns the number of dependencies. - - }; -}; diff --git a/TAO/orbsvcs/lib/RtecSchedulerC.cpp b/TAO/orbsvcs/lib/RtecSchedulerC.cpp deleted file mode 100644 index 6e06941c72f..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 (int i = 0; i < this->length_; ++i) - { - tmp[i] = this->buffer_[i]; - } - if (this->release_) - RtecScheduler::_tao__seq_Dependency_Set::freebuf (this->buffer_); - this->buffer_ = tmp; - this->release_ = 1; - this->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 (int i = 0; i < this->length_; ++i) - { - tmp[i] = this->buffer_[i]; - } - if (this->release_) - RtecScheduler::_tao__seq_RT_Info_Set::freebuf (this->buffer_); - this->buffer_ = tmp; - this->release_ = 1; - this->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, &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 eec210cb6b1..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 (const RT_Info_out &); - RT_Info_out &operator= (const 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 (const _tao__seq_RT_Info_Set_out &); - _tao__seq_RT_Info_Set_out &operator= (const _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 9da5fcca635..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 (const RtecScheduler::RT_Info_out &p) // copy constructor - : ptr_ (p.ptr_) -{} - -ACE_INLINE RtecScheduler::RT_Info_out & -RtecScheduler::RT_Info_out::operator= (const 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 (const 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= (const 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 43679b79f97..00000000000 --- a/TAO/orbsvcs/lib/RtecSchedulerS.cpp +++ /dev/null @@ -1,325 +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 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_Scheduler_optable (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_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 83e89a3b372..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) -{ -} diff --git a/TAO/orbsvcs/lib/Runtime_Scheduler.cpp b/TAO/orbsvcs/lib/Runtime_Scheduler.cpp deleted file mode 100644 index 183800b8ad1..00000000000 --- a/TAO/orbsvcs/lib/Runtime_Scheduler.cpp +++ /dev/null @@ -1,173 +0,0 @@ -// ============================================================================ -// -// $Id$ -// -// ============================================================================ - -#include "Runtime_Scheduler.h" - -#if defined (__ACE_INLINE__) -#include "Runtime_Scheduler.i" -#endif /* __ACE_INLINE__ */ - -ACE_Runtime_Scheduler:: -ACE_Runtime_Scheduler (int entry_count, - RtecScheduler::RT_Info* rt_info[]) -: POA_RtecScheduler::Scheduler ("Static_Scheduler"), - entry_count_ (entry_count), - rt_info_ (rt_info) -{ -} - -RtecScheduler::handle_t -ACE_Runtime_Scheduler::create (const char * entry_point, - CORBA::Environment &_env) - ACE_THROW_SPEC ((CORBA::SystemException, - RtecScheduler::DUPLICATE_NAME)) -{ - // Just make sure its there and returns its handle (position). - int i; - for (i = 0; i < entry_count_; ++i) - { - if (strcmp (entry_point, rt_info_[i]->entry_point) == 0) - { - return i; - } - } - // TODO: throw an exception or print an error. - return -1; -} - -RtecScheduler::handle_t -ACE_Runtime_Scheduler::lookup (const char * entry_point, - CORBA::Environment &_env) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - return create (entry_point, _env); -} - -RtecScheduler::RT_Info* -ACE_Runtime_Scheduler::get (RtecScheduler::handle_t handle, - CORBA::Environment &_env) - ACE_THROW_SPEC((CORBA::SystemException, - RtecScheduler::UNKNOWN_TASK)) -{ - if (handle < 0 || handle > entry_count_) - { - ACE_THROW_RETURN (RtecScheduler::UNKNOWN_TASK(), 0); - } - return rt_info_[handle]; -} - -void ACE_Runtime_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) - ACE_THROW_SPEC ((CORBA::SystemException, - RtecScheduler::UNKNOWN_TASK)) -{ - // We compare the values with the ones stored and print a message on - // any differences. - if (handle < 0 || handle > entry_count_) - { - ACE_THROW (RtecScheduler::UNKNOWN_TASK); - return; - } - if (rt_info_[handle]->worst_case_execution_time != time - || rt_info_[handle]->typical_execution_time != typical_time - || rt_info_[handle]->cached_execution_time != cached_time - || rt_info_[handle]->period != period - || rt_info_[handle]->importance != importance - || rt_info_[handle]->quantum != quantum - || rt_info_[handle]->threads != threads) - { - ACE_ERROR ((LM_ERROR, "invalid data for RT_Info: %s\n", - (const char*)rt_info_[handle]->entry_point)); - // TODO: throw something here. - } -} - - -void ACE_Runtime_Scheduler::priority (RtecScheduler::handle_t handle, - RtecScheduler::OS_Priority& priority, - RtecScheduler::Sub_Priority& subpriority, - RtecScheduler::Preemption_Priority& p_priority, - CORBA::Environment &_env) - ACE_THROW_SPEC ((CORBA::SystemException, - RtecScheduler::UNKNOWN_TASK, - RtecScheduler::NOT_SCHEDULED)) -{ - if (handle < 0 || handle > entry_count_) - { - ACE_THROW (RtecScheduler::UNKNOWN_TASK()); - return; - } - priority = rt_info_[handle]->priority; - subpriority = rt_info_[handle]->subpriority; - p_priority = rt_info_[handle]->preemption_priority; -} - -void ACE_Runtime_Scheduler::entry_point_priority (const char * entry_point, - RtecScheduler::OS_Priority& priority, - RtecScheduler::Sub_Priority& subpriority, - RtecScheduler::Preemption_Priority& p_priority, - CORBA::Environment &_env) - ACE_THROW_SPEC((CORBA::SystemException, - RtecScheduler::UNKNOWN_TASK, - RtecScheduler::NOT_SCHEDULED)) -{ - RtecScheduler::handle_t handle = lookup (entry_point, _env); - if (handle < -1) - { - // The exception was thrown or is in _env already. - return; - } - this->priority (handle, priority, subpriority, p_priority, _env); -} - -void ACE_Runtime_Scheduler::add_dependency (RtecScheduler::handle_t handle, - RtecScheduler::handle_t dependency, - CORBA::Long number_of_calls, - CORBA::Environment &_env) - ACE_THROW_SPEC ((CORBA::SystemException, - RtecScheduler::UNKNOWN_TASK)) -{ - if (handle < 0 || handle > entry_count_) - { - ACE_THROW (RtecScheduler::UNKNOWN_TASK); - return; - } - // Just check that the information is consistent. - RtecScheduler::Dependency_Set& deps = rt_info_[handle]->dependencies; - for (int i = 0; i < deps.length (); ++i) - { - if (deps[i].rt_info == dependency - && deps[i].number_of_calls == number_of_calls) - { - return; - } - } - ACE_ERROR ((LM_ERROR, "unmatched dependency on %s\n", - (const char*)rt_info_[handle]->entry_point)); -} - -void ACE_Runtime_Scheduler::compute_scheduling (CORBA::Long minimum_priority, - CORBA::Long maximum_priority, - RtecScheduler::RT_Info_Set_out infos, - CORBA::Environment &_env) - ACE_THROW_SPEC ((CORBA::SystemException, - RtecScheduler::UTILIZATION_BOUND_EXCEEDED, - RtecScheduler::INSUFFICIENT_THREAD_PRIORITY_LEVELS, - RtecScheduler::TASK_COUNT_MISMATCH)) -{ - // TODO: Right now just do nothing, later we could validate the - // priorities (without recomputing). - // TODO: fill up the infos. - return; -} - diff --git a/TAO/orbsvcs/lib/Runtime_Scheduler.h b/TAO/orbsvcs/lib/Runtime_Scheduler.h deleted file mode 100644 index 4209b7cbf44..00000000000 --- a/TAO/orbsvcs/lib/Runtime_Scheduler.h +++ /dev/null @@ -1,96 +0,0 @@ -// ============================================================================ -// -// $Id$ -// -// ============================================================================ - -#ifndef ACE_RUNTIME_SCHEDULER_H -#define ACE_RUNTIME_SCHEDULER_H - -#include "ace/OS.h" - -#include "RtecSchedulerS.h" - -class ACE_Runtime_Scheduler - : public POA_RtecScheduler::Scheduler - // = TITLE - // A proxy server for RtecScheduler::Scheduler. - // - // = DESCRIPTION - // This class offers the services of the scheduler, but based on - // precomputed and precompiled information. This results in a - // highly optimized execution after the configuration runs. -{ -public: - ACE_Runtime_Scheduler (int entry_count, - RtecScheduler::RT_Info* rt_info[]); - // Initialize the data from the RT_Info array. - // Only basic validation is done. - - virtual RtecScheduler::handle_t create (const char * entry_point, - CORBA::Environment &_env) - ACE_THROW_SPEC ((CORBA::SystemException, RtecScheduler::DUPLICATE_NAME)); - - virtual RtecScheduler::handle_t lookup (const char * entry_point, - CORBA::Environment &_env) - ACE_THROW_SPEC((CORBA::SystemException)); - - virtual RtecScheduler::RT_Info* get (RtecScheduler::handle_t handle, - CORBA::Environment &_env) - ACE_THROW_SPEC ((CORBA::SystemException, RtecScheduler::UNKNOWN_TASK)); - - 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) - ACE_THROW_SPEC ((CORBA::SystemException, RtecScheduler::UNKNOWN_TASK)); - - virtual void priority (RtecScheduler::handle_t handle, - RtecScheduler::OS_Priority& priority, - RtecScheduler::Sub_Priority& subpriority, - RtecScheduler::Preemption_Priority& p_priority, - CORBA::Environment &_env) - ACE_THROW_SPEC ((CORBA::SystemException, - RtecScheduler::UNKNOWN_TASK, - RtecScheduler::NOT_SCHEDULED)); - - virtual void entry_point_priority (const char * entry_point, - RtecScheduler::OS_Priority& priority, - RtecScheduler::Sub_Priority& subpriority, - RtecScheduler::Preemption_Priority& p_priority, - CORBA::Environment &_env) - ACE_THROW_SPEC ((CORBA::SystemException, - RtecScheduler::UNKNOWN_TASK, - RtecScheduler::NOT_SCHEDULED)); - - virtual void add_dependency (RtecScheduler::handle_t handle, - RtecScheduler::handle_t dependency, - CORBA::Long number_of_calls, - CORBA::Environment &_env) - ACE_THROW_SPEC ((CORBA::SystemException, - RtecScheduler::UNKNOWN_TASK)); - - virtual void compute_scheduling (CORBA::Long minimum_priority, - CORBA::Long maximum_priority, - RtecScheduler::RT_Info_Set_out infos, - CORBA::Environment &_env) - ACE_THROW_SPEC((CORBA::SystemException, - RtecScheduler::UTILIZATION_BOUND_EXCEEDED, - RtecScheduler::INSUFFICIENT_THREAD_PRIORITY_LEVELS, - RtecScheduler::TASK_COUNT_MISMATCH)); - -private: - int entry_count_; - RtecScheduler::RT_Info** rt_info_; -}; - -#if defined (__ACE_INLINE__) -#include "Runtime_Scheduler.i" -#endif /* __ACE_INLINE__ */ - -#endif /* ACE_RUNTIME_SCHEDULER_H */ diff --git a/TAO/orbsvcs/lib/Runtime_Scheduler.i b/TAO/orbsvcs/lib/Runtime_Scheduler.i deleted file mode 100644 index a21ea7f9897..00000000000 --- a/TAO/orbsvcs/lib/Runtime_Scheduler.i +++ /dev/null @@ -1,5 +0,0 @@ -// ============================================================================ -// -// $Id$ -// -// ============================================================================ diff --git a/TAO/orbsvcs/lib/Scheduler_Factory.cpp b/TAO/orbsvcs/lib/Scheduler_Factory.cpp deleted file mode 100644 index dd197beafe9..00000000000 --- a/TAO/orbsvcs/lib/Scheduler_Factory.cpp +++ /dev/null @@ -1,246 +0,0 @@ -// ============================================================================ -// -// $Id$ -// -// ============================================================================ - -#include <ace/OS.h> - -#include "Runtime_Scheduler.h" -#include "Scheduler_Factory.h" - -#if ! defined (__ACE_INLINE__) -#include "Scheduler_Factory.i" -#endif /* __ACE_INLINE__ */ - -RtecScheduler::Scheduler_ptr ACE_Scheduler_Factory::server_ = 0; - -static int entry_count = -1; -static ACE_Scheduler_Factory::POD_RT_Info* rt_info = 0; - -int ACE_Scheduler_Factory::use_runtime (int ec, - POD_RT_Info rti[]) -{ - if (server_ != 0 || entry_count != -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "ACE_Scheduler_Factory::use_runtime - " - "server already configured\n"), -1); - } - - entry_count = ec; - rt_info = rti; - - return 0; -} - -RtecScheduler::Scheduler_ptr static_server () -{ - RtecScheduler::Scheduler_ptr server_ = 0; - - typedef RtecScheduler::RT_Info* RT_Info_ptr; - RtecScheduler::RT_Info** info; - ACE_NEW_RETURN (info, RT_Info_ptr[entry_count], 0); - for (int i = 0; i < entry_count; ++i) - { - info[i] = new RtecScheduler::RT_Info; - if (info[i] == 0) - { - for (int j = 0; j < i; ++j) - { - delete info[i]; - } - delete[] info; - ACE_ERROR_RETURN ((LM_ERROR, - "ACE_Scheduler_Factory::config_runtime - " - "cannot allocate RT_Info\n"), 0); - } - info[i]->entry_point = rt_info[i].entry_point; - info[i]->handle = rt_info[i].handle; - info[i]->worst_case_execution_time = rt_info[i].worst_case_execution_time; - info[i]->typical_execution_time = rt_info[i].typical_execution_time; - info[i]->cached_execution_time = rt_info[i].cached_execution_time; - info[i]->period = rt_info[i].period; - info[i]->importance = rt_info[i].importance; - info[i]->quantum = rt_info[i].quantum; - info[i]->threads = rt_info[i].threads; - info[i]->priority = rt_info[i].priority; - info[i]->subpriority = rt_info[i].subpriority; - info[i]->preemption_priority = rt_info[i].preemption_priority; - } - server_ = new ACE_Runtime_Scheduler (entry_count, info); - - if (server_ == 0) - { - for (int i = 0; i < entry_count; ++i) - { - delete info[i]; - } - delete[] info; - ACE_ERROR_RETURN ((LM_ERROR, - "ACE_Scheduler_Factory::config_runtime - " - "cannot allocate server\n"), 0); - } - ACE_DEBUG ((LM_DEBUG, - "ACE_Scheduler_Factory - configured static server\n")); - CORBA::Object::_duplicate (server_); - return server_; -} - -int -ACE_Scheduler_Factory::use_config (CosNaming::NamingContext_ptr naming) -{ - if (server_ != 0 || entry_count != -1) - { - // No errors, runtime execution simply takes precedence over - // config runs. - return 0; - } - - ACE_TRY - { - CosNaming::Name schedule_name (1); - schedule_name[0].id = CORBA::string_dup ("ScheduleService"); - schedule_name.length (1); - CORBA::Object_ptr objref = - naming->resolve (schedule_name, ACE_TRY_ENV); - ACE_CHECK_ENV; - - server_ = - RtecScheduler::Scheduler::_narrow(objref, ACE_TRY_ENV); - ACE_CHECK_ENV; - - RtecScheduler::Scheduler::_duplicate (server_); - ACE_CHECK_ENV; - } - ACE_CATCHANY - { - server_ = 0; - ACE_ERROR_RETURN ((LM_ERROR, - "ACE_Scheduler_Factory::use_context - " - " exception while resolving server\n"), -1); - } - ACE_ENDTRY; - return 0; -} - -int -ACE_Scheduler_Factory::use_config (CORBA::ORB_ptr orb) -{ - if (server_ != 0 || entry_count != -1) - { - // No errors, runtime execution simply takes precedence over - // config runs. - return 0; - } - - ACE_TRY - { - CORBA::Object_ptr objref = - orb->resolve_initial_references ("ScheduleService"); - ACE_CHECK_ENV; - - server_ = - RtecScheduler::Scheduler::_narrow(objref, ACE_TRY_ENV); - ACE_CHECK_ENV; - - RtecScheduler::Scheduler::_duplicate (server_); - ACE_CHECK_ENV; - } - ACE_CATCHANY - { - server_ = 0; - ACE_ERROR_RETURN ((LM_ERROR, - "ACE_Scheduler_Factory::use_context - " - " exception while resolving server\n"), -1); - } - ACE_ENDTRY; - return 0; -} - - -RtecScheduler::Scheduler_ptr -ACE_Scheduler_Factory::server (void) -{ - if (server_ == 0 && entry_count != -1) - { - server_ = static_server (); - } - - if (server_ == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "ACE_Scheduler_Factor::server - " - "no scheduling service configured\n"), 0); - } - return server_; -} - -static char header[] = -"// This file was automatically generated by Scheduler_Factory\n" -"// before editing the file please consider generating it again\n" -"\n" -"#include \"Scheduler_Factory.h\"\n" -"\n"; - -static char footer[] = -"\n" -"// This setups Scheduler_Factory to use the runtime version\n" -"static int scheduler_factory_setup = \n" -" ACE_Scheduler_Factory::use_runtime (sizeof (infos)/sizeof (infos[0]),\n" -" infos);\n" -"\n" -"// EOF\n"; - -static char start_infos[] = -"static ACE_Scheduler_Factory::POD_RT_Info infos[] = {\n"; - -static char end_infos[] = -"};\n"; - -int ACE_Scheduler_Factory::dump_schedule - (const RtecScheduler::RT_Info_Set& infos, - const char* filename) -{ - FILE* file = stdin; - if (filename != 0) - { - file = ACE_OS::fopen (filename, "w"); - if (file == 0) - { - return -1; - } - } - ACE_OS::fprintf(file, header); - - ACE_OS::fprintf(file, start_infos); - for (u_int i = 0; i < infos.length (); ++i) - { - if (i != 0) - { - // Finish previous line - ACE_OS::fprintf(file, ",\n"); - } - const RtecScheduler::RT_Info& info = infos[i]; - ACE_OS::fprintf (file, -"{ \"%s\", %d, %f, %f, %f, %d, %d, %f, %d, %d, %d, %d }", - (const char*)info.entry_point, - info.handle, - info.worst_case_execution_time, - info.typical_execution_time, - info.cached_execution_time, - info.period, - info.importance, - info.quantum, - info.threads, - info.priority, - info.subpriority, - info.preemption_priority); - } - // finish last line. - ACE_OS::fprintf(file, "\n"); - ACE_OS::fprintf(file, end_infos); - ACE_OS::fprintf(file, footer); - ACE_OS::fclose (file); - return 0; -} diff --git a/TAO/orbsvcs/lib/Scheduler_Factory.h b/TAO/orbsvcs/lib/Scheduler_Factory.h deleted file mode 100644 index 2529b0be35a..00000000000 --- a/TAO/orbsvcs/lib/Scheduler_Factory.h +++ /dev/null @@ -1,98 +0,0 @@ -// ============================================================================ -// -// $Id$ -// -// ============================================================================ - -#ifndef ACE_SCHEDULER_FACTORY_H -#define ACE_SCHEDULER_FACTORY_H - -#include "ace/OS.h" - -#include "RtecSchedulerC.h" -#include "CosNamingC.h" - -class ACE_Scheduler_Factory - // = TITLE - // Factory of scheduler services. - // - // = DESCRIPTION - // This class acts as a factory for scheduler servers. At config - // time it will return a remote server, which will actually - // compute the scheduling parameters. At run-time it returns a - // local server, which will use the results of the config runs to - // actually do the scheduling, without incurring in RPC overheads. -{ -public: - struct POD_RT_Info - // = TITLE - // Plain Old Data for RT_Infos. - // - // = DESCRIPTION - // This class provide us with a plain old data version of - // RT_Info, this is useful for implementing static arrays or of - // those. - { - const char* entry_point; - RtecScheduler::handle_t handle; - RtecScheduler::Time worst_case_execution_time; - RtecScheduler::Time typical_execution_time; - RtecScheduler::Time cached_execution_time; - RtecScheduler::Period period; - RtecScheduler::Importance importance; - RtecScheduler::Quantum quantum; - CORBA::Long threads; - RtecScheduler::OS_Priority priority; - RtecScheduler::Sub_Priority subpriority; - RtecScheduler::Preemption_Priority preemption_priority; - }; - - static int use_config (CosNaming::NamingContext_ptr naming); - // Setup the variables needed for a config run, using the - // NamingContext to locate a Scheduler. - - static int use_config (CORBA::ORB_ptr orb); - // Setup the variable needed for a config run, using an environment - // variable to locate a Scheduler. - - static int use_runtime (int entry_count, - POD_RT_Info rt_info[]); - // Disable config runs in the Factory and setups the precomputed - // scheduling. - - static RtecScheduler::Scheduler_ptr server (void); - // Return the Real-time Scheduling Service used for this run. - // Must have been configured either using use_context() or use_data(). - // - // Normally use_data() is called at static elaboration time, so - // everything is automatic. - // On config runs use_context() is called from main, after - // resolve_initial_references. - - static int dump_schedule (const RtecScheduler::RT_Info_Set& infos, - const char* file_name = 0); - // This helper function will dump the schedule returned by a - // RtecScheduler::Scheduler into a file, the file can be compiled to - // create an efficient local implementation of the Scheduler. - - // TODO: How to do cleanup()? Use the ACE_Object_Manager stuff? - -protected: - static int no_config_run (void); - // By default this factory assumes we are runnning a config - // run. Calling this method disables that. - // Since the methods returns an int it can be used to initialize a - // static variable, hence calling it before main(); this technique - // can be used in the code emitted for the run-time scheduler, - // automagically disabling the config_run() when that code is linked - // in. - -private: - static RtecScheduler::Scheduler_ptr server_; -}; - -#if defined (__ACE_INLINE__) -#include "Scheduler_Factory.i" -#endif /* __ACE_INLINE__ */ - -#endif /* ACE_SCHEDULER_FACTORY_H */ diff --git a/TAO/orbsvcs/lib/Scheduler_Factory.i b/TAO/orbsvcs/lib/Scheduler_Factory.i deleted file mode 100644 index 8d85b9d5a37..00000000000 --- a/TAO/orbsvcs/lib/Scheduler_Factory.i +++ /dev/null @@ -1,6 +0,0 @@ -// ============================================================================ -// -// $Id$ -// -// ============================================================================ - diff --git a/TAO/orbsvcs/lib/Scheduler_Utilities.cpp b/TAO/orbsvcs/lib/Scheduler_Utilities.cpp deleted file mode 100644 index 78147115178..00000000000 --- a/TAO/orbsvcs/lib/Scheduler_Utilities.cpp +++ /dev/null @@ -1,14 +0,0 @@ -// ============================================================================ -// -// $Id$ -// -// ============================================================================ - -#include <ace/OS.h> - -#include "Scheduler_Utilities.h" - -#if ! defined (__ACE_INLINE__) -#include "Scheduler_Utilities.i" -#endif /* __ACE_INLINE__ */ - diff --git a/TAO/orbsvcs/lib/Scheduler_Utilities.h b/TAO/orbsvcs/lib/Scheduler_Utilities.h deleted file mode 100644 index 2475751020a..00000000000 --- a/TAO/orbsvcs/lib/Scheduler_Utilities.h +++ /dev/null @@ -1,46 +0,0 @@ -// ============================================================================ -// -// $Id$ -// -// ============================================================================ - -#ifndef ACE_SCHEDULER_UTILITIES_H -#define ACE_SCHEDULER_UTILITIES_H - -#include <ace/OS.h> - -#include "RtecSchedulerC.h" - -class ACE_RT_Info : public RtecScheduler::RT_Info - // = TITLE - // Offers a convenient C++ interface to the IDL RT_Info structure. - // - // = DESCRIPTION - // For performance reasons the RT_Info data is represented as an - // IDL structure, this permits sending complete RT_Info's from the - // client to the server. - // Unfortunately this precludes the usage of member functions and - // constructors, this class serves as a helper to implement those - // without loosing the performance on IDL. -{ -public: - ACE_RT_Info (const char* entry_point, - RtecScheduler::Time worst_time, - RtecScheduler::Time typical_time, - RtecScheduler::Time cached_time, - RtecScheduler::Period period, - RtecScheduler::Importance importance, - RtecScheduler::Quantum quantum, - CORBA::Long threads); - - ACE_RT_Info (const RtecScheduler::RT_Info& rt_info); - - int add_dependency(RtecScheduler::handle_t dep, - int number_of_calls = 1); -}; - -#if defined (__ACE_INLINE__) -#include "Scheduler_Utilities.i" -#endif /* __ACE_INLINE__ */ - -#endif /* ACE_SCHEDULER_UTILITIES_H */ diff --git a/TAO/orbsvcs/lib/Scheduler_Utilities.i b/TAO/orbsvcs/lib/Scheduler_Utilities.i deleted file mode 100644 index 1d62ceffaf5..00000000000 --- a/TAO/orbsvcs/lib/Scheduler_Utilities.i +++ /dev/null @@ -1,32 +0,0 @@ -// ============================================================================ -// -// $Id$ -// -// ============================================================================ - -ACE_INLINE -ACE_RT_Info::ACE_RT_Info (const char* entry_point_, - RtecScheduler::Time worst_time_, - RtecScheduler::Time typical_time_, - RtecScheduler::Time cached_time_, - RtecScheduler::Period period_, - RtecScheduler::Importance importance_, - RtecScheduler::Quantum quantum_, - CORBA::Long threads_) -{ - this->entry_point = entry_point_; - this->worst_case_execution_time = worst_time_; - this->typical_execution_time = typical_time_; - this->cached_execution_time = cached_time_; - this->period = period_; - this->importance = importance_; - this->quantum = quantum_; - this->threads = threads_; -} - -ACE_INLINE -ACE_RT_Info::ACE_RT_Info (const RtecScheduler::RT_Info& rt_info) - : RtecScheduler::RT_Info (rt_info) -{ -} - diff --git a/TAO/orbsvcs/tests/Logger/Makefile b/TAO/orbsvcs/tests/Logger/Makefile deleted file mode 100644 index 1908db92720..00000000000 --- a/TAO/orbsvcs/tests/Logger/Makefile +++ /dev/null @@ -1,87 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Top-level Makefile for the Logger Service of the TAO ORB -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -LDLIBS = -lorbsvcs -lTAO - -IDL_SRC = loggerC.cpp loggerS.cpp -PROG_SRCS = $(IDL_SRC) logger_i.cpp - -LSRC = $(PROG_SRCS) - -logger_SVR_OBJS = loggerC.o loggerS.o svr.o logger_i.o -logger_CLT_OBJS = loggerC.o clnt.o - -BIN = svr clnt -BUILD = $(BIN) -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -#include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -ifndef TAO_ROOT -TAO_ROOT = $(ACE_ROOT)/TAO -endif -TSS_ORB_FLAG = #-DTAO_HAS_TSS_ORBCORE -DCFLAGS = -g -LDFLAGS += -L$(TAO_ROOT)/orbsvcs/lib -L$(TAO_ROOT)/tao -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs/lib -I$(TAO_ROOT) -I$(TAO_ROOT)/tao/compat $(TSS_ORB_FLAG)#-H - -$(IDL_SRC): logger.idl - $(TAO_ROOT)/TAO_IDL/tao_idl logger.idl - -svr: $(addprefix $(VDIR),$(logger_SVR_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) - -clnt: $(addprefix $(VDIR),$(logger_CLT_OBJS)) - $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) - -######## -# Sanity check builds by running basic functionality tests. -# -# "sleep 5" in the server startup is usually enough to get the -# objref into the file so the client can read it. -# -check: $(TESTS) - @echo "testing with 'cube' calls, stub + DII, IOR strings" - @./svr -i30 -o non-internet > obj.1 & sleep 5 - @./clnt -n250 -O `cat obj.1` -x - @echo '' - @echo "testing request forwarding with 'cube' calls, stub + DII" - @./svr -f -i30 > obj.2 & sleep 5 - @./clnt -n250 -O `cat obj.2` -x - @echo '' - @echo "testing transmission of primitive data types" - @./test1_svr -i30 > obj.3 & sleep 5 - @./test1_clnt -n50 -O `cat obj.3` -x - @echo '' -# @echo "testing echo of primitive data values" -# @./echo_svr -i30 > obj.4 & sleep 5 -# @./echo_clnt -O `cat obj.4` -x -# @echo '' - @echo "testing with 'cube' calls, MT-ized (no forwarding)" - @./svr -t -i30 -o non-internet > obj.5 & sleep 5 - @./clnt -n250 -O `cat obj.5` -x - @echo '' - -clean: - -/bin/rm -rf *.o Log $(BIN) obj.* core Templates.DB .make.state - -realclean: clean - -/bin/rm -rf loggerC.* loggerS.* - diff --git a/TAO/orbsvcs/tests/Logger/clnt.cpp b/TAO/orbsvcs/tests/Logger/clnt.cpp deleted file mode 100644 index 1ebc1f5aad3..00000000000 --- a/TAO/orbsvcs/tests/Logger/clnt.cpp +++ /dev/null @@ -1,235 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/orbsvcs/bin/Logger -// -// = FILENAME -// clnt.cpp -// -// = DESCRIPTION -// This program tests an implementation of a logger service. It uses the -// Logger_Factory server to create a number of logger objects. It then -// uses their object references to test functions supported by the -// logger server. -// -// = AUTHORS -// Sergio Flores-Gaitan -// -// ============================================================================ - -#include <iostream.h> -#include "ace/INET_Addr.h" -#include "ace/SOCK_Dgram_Mcast.h" -#include "loggerC.h" -#include "CosNamingC.h" -#include "clnt.h" - -// constructor - -Logger_Client::Logger_Client (void) - : logger_factory_key_ ("factory"), - hostname_ (ACE_DEFAULT_SERVER_HOST), - portnum_ (TAO_DEFAULT_SERVER_PORT), - exit_later_ (0), - factory_ (Logger_Factory::_nil ()), - objref_ (CORBA::Object::_nil ()), - orb_ptr_ (0), - logger_1_ (Logger::_nil ()), - logger_2_ (Logger::_nil ()), - naming_service_ (CosNaming::NamingContext::_nil ()) -{ -} - -// Parses the command line arguments and returns an error status. - -int -Logger_Client::parse_args (void) -{ - ACE_Get_Opt get_opts (argc_, argv_, "d:h:p:x"); - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'd': // debug flag - TAO_debug_level++; - break; - case 'h': - hostname_ = ACE_OS::strdup (get_opts.optarg); - break; - case 'p': - portnum_ = ACE_OS::atoi (get_opts.optarg); - break; - case 'x': - this->exit_later_++; - break; - case '?': - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s" - " [-d]" - " [-h hostname]" - " [-p port]" - " [-x]" - "\n", - this->argv_ [0]), - -1); - } - - // Indicates successful parsing of command line. - return 0; -} - -// Execute client example code. - -int -Logger_Client::run (void) -{ - this->logger_1_->log ("Logging at logger 1", this->env_); - this->logger_2_->log ("Logging at logger 2", this->env_); - - if (this->exit_later_) - { - //Not supported yet. - //this->logger_1_->please_exit (this->env_); - //this->logger_2_->please_exit (this->env_); - dexc (this->env_, "server, please ACE_OS::exit"); - } - return 0; -} - -Logger_Client::~Logger_Client (void) -{ - // Free resources - if (CORBA::is_nil (this->naming_service_) == CORBA::B_FALSE) - CORBA::release (this->naming_service_); - CORBA::release (this->logger_1_); - CORBA::release (this->logger_2_); - CORBA::release (this->factory_); - CORBA::release (this->orb_ptr_); -} - -int -Logger_Client::init (int argc, char **argv) -{ - this->argc_ = argc; - this->argv_ = argv; - - // Parse command line and verify parameters. - if (this->parse_args () == -1) - { - return 1; - } - - // retrieve the ORB - this->orb_ptr_ = CORBA::ORB_init (this->argc_, - this->argv_, - "internet", - this->env_); - - if (this->env_.exception () != 0) - { - this->env_.print_exception ("ORB initialization"); - return 1; - } - - this->objref_ = this->orb_ptr_->resolve_initial_references ("NameService"); - - if (CORBA::is_nil (this->objref_) != CORBA::B_TRUE) - { - // resolve the naming service - this->naming_service_ = - CosNaming::NamingContext::_narrow (this->objref_, this->env_); - - if (CORBA::is_nil (this->naming_service_) == CORBA::B_TRUE) - ACE_ERROR_RETURN ((LM_ERROR, "CosNaming::NamingContext::_narrow"), 1); - - // Create the name of the logger factory. - CosNaming::Name n(1); - n.length (1); - n[0].id = CORBA::string_dup ("logger_factory"); - - // Resolve the logger factory to a corba object pointer - this->objref_ = this->naming_service_->resolve (n, this->env_); - - if (CORBA::is_nil (this->objref_) == CORBA::B_TRUE) - ACE_ERROR_RETURN ((LM_ERROR, "resolve"), 1); - } - else - { - ACE_ERROR ((LM_ERROR, "resolve_initial_references failed\n")); - ACE_ERROR ((LM_ERROR, "Unable to use the naming service\n")); - - // Retrieve a factory objref. - this->objref_ = Logger_Factory::_bind (this->hostname_, - this->portnum_, - this->logger_factory_key_, - this->env_); - - if (this->env_.exception () != 0) - { - this->env_.print_exception ("Logger_Factory::_bind"); - return -1; - } - - if (CORBA::is_nil (this->objref_) == CORBA::B_TRUE) - ACE_ERROR_RETURN ((LM_ERROR, - " _bind returned null object for key (%s), host (%s), port (%d)\n", - this->logger_factory_key_, - this->hostname_, - this->portnum_), - -1); - } - - // Narrow it to a logger factory pointer - this->factory_ = Logger_Factory::_narrow (this->objref_, this->env_); - - if (this->env_.exception () != 0) - { - this->env_.print_exception ("Logger_Factory::_narrow"); - return 1; - } - - - - // Now retrieve the Logger obj ref corresponding to key1 and key2 - this->logger_1_ = this->factory_->make_logger ("key1", this->env_); - this->logger_2_ = this->factory_->make_logger ("key2", this->env_); - - if (this->env_.exception () != 0) - { - this->env_.print_exception ("factory_->make_logger"); - return 1; - } - - if (CORBA::is_nil (this->logger_1_)) - ACE_ERROR_RETURN ((LM_ERROR, - "null logger objref returned by factory\n"), - 1); - - if (CORBA::is_nil (this->logger_2_)) - ACE_ERROR_RETURN ((LM_ERROR, - "null logger objref returned by factory\n"), - 1); - - return 0; -} - -// This function runs the test. - -int -main (int argc, char **argv) -{ - int rc; - Logger_Client logger_client; - - if (logger_client.init (argc, argv) != 0) - return 1; - else - rc = logger_client.run (); - - cout << "....the end" << endl; - return rc; -} diff --git a/TAO/orbsvcs/tests/Logger/clnt.h b/TAO/orbsvcs/tests/Logger/clnt.h deleted file mode 100644 index c68b8c39126..00000000000 --- a/TAO/orbsvcs/tests/Logger/clnt.h +++ /dev/null @@ -1,93 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/orbsvcs/bin/Logger -// -// = FILENAME -// clnt.h -// -// = DESCRIPTION -// This program tests an implementation of a logger service. It uses the -// Logger_Factory server to create a number of logger objects. It then -// uses their object references to test functions supported by the -// logger server. -// -// = AUTHORS -// Sergio Flores-Gaitan -// -// ============================================================================ - - -#include "ace/Get_Opt.h" -#include "tao/corba.h" -#include "loggerC.h" -#include "CosNamingC.h" - -class Logger_Client - // = TITLE - // Defines a class that encapsulates behaviour of the Logger client - // example. Provides a better understanding of the logic in an - // object oriented way. - // - // = DESCRIPTION - // This class declares an interface to run the example client for - // Logger CORBA server. All the complexity for initializing the - // server is hidden in the class. Just the run() interface is needed. -{ -public: - // = Constructor and destructor. - Logger_Client (void); - ~Logger_Client (void); - - int run (void); - // Execute client example code. - - int init (int argc, char **argv); - // Initialize the client communication endpoint with server. - -private: - int parse_args (void); - // Parses the arguments passed on the command line. - - int argc_; - // # of arguments on the command line. - - char **argv_; - // arguments from command line. - - const char *logger_factory_key_; - // Key of factory obj ref. - - char *hostname_; - // Hostname of server. - - CORBA::ULong portnum_; - // default port number of server. - - int exit_later_; - // Flag to tell server to not exit immediately - - Logger_Factory_ptr factory_; - // factory pointer for logger. - - CORBA::Object_ptr objref_; - // storage of the factory objref - - CORBA::Environment env_; - // Environment variable - - CORBA::ORB_ptr orb_ptr_; - // Remember our orb - - Logger_ptr logger_1_; - // Logger obj ref - - Logger_ptr logger_2_; - // Logger obj ref - - CosNaming::NamingContext_ptr naming_service_; - // naming service -}; diff --git a/TAO/orbsvcs/tests/Logger/logger.idl b/TAO/orbsvcs/tests/Logger/logger.idl deleted file mode 100644 index 658859115e7..00000000000 --- a/TAO/orbsvcs/tests/Logger/logger.idl +++ /dev/null @@ -1,21 +0,0 @@ -// -// Simplified logger and Logger factory interfaces for -// testing of the Name Service implementation. - - -interface Logger; - -interface Logger_Factory -{ - Logger make_logger (in string name); -}; - - - - -interface Logger -{ - // Transmit a Log_Record to the logging server. - oneway void log (in string message); -}; - diff --git a/TAO/orbsvcs/tests/Logger/logger_i.cpp b/TAO/orbsvcs/tests/Logger/logger_i.cpp deleted file mode 100644 index 523849c6cb7..00000000000 --- a/TAO/orbsvcs/tests/Logger/logger_i.cpp +++ /dev/null @@ -1,43 +0,0 @@ -#include <iostream.h> -#include "ace/ACE.h" -#include "loggerC.h" -#include "logger_i.h" - - -Logger_ptr -Logger_Factory_i::make_logger (const char* name, - CORBA::Environment &IT_env) -{ - ACE_UNUSED_ARG (IT_env); - - Logger_i* l = new Logger_i (name); - return (l->_duplicate (l)); -} - -Logger_Factory_i::Logger_Factory_i (const char *key) - :POA_Logger_Factory (key) -{ -} - -Logger_i::Logger_i (const char* name) - :POA_Logger (name) -{ - name_ = new char [strlen (name) + 1]; - strcpy (name_, name); - - cout << name_ << ": in the constructor" << endl; -} - -Logger_i::~Logger_i (void) -{ - cout << name_ << ": in the destructor" << endl; - delete name_; -} - -void -Logger_i::log (const char* message, CORBA::Environment &IT_env) -{ - ACE_UNUSED_ARG (IT_env); - - cout << name_ << ": " << message << endl; -} diff --git a/TAO/orbsvcs/tests/Logger/logger_i.h b/TAO/orbsvcs/tests/Logger/logger_i.h deleted file mode 100644 index 18bb27d167b..00000000000 --- a/TAO/orbsvcs/tests/Logger/logger_i.h +++ /dev/null @@ -1,42 +0,0 @@ -/* -*- C++ -*- */ - -#if !defined (LOGGER_I_H) -#define LOGGER_I_H - - -#include "loggerS.h" -#include <iostream.h> -#include <string.h> - - -class Logger_Factory_i : public virtual POA_Logger_Factory -{ -public: - Logger_Factory_i (const char *key); - // constructor - - virtual Logger_ptr make_logger (const char * name, - CORBA::Environment &IT_env); - // this function creates and returns a logger with the given name -}; - - -class Logger_i : public virtual POA_Logger -{ -public: - - // constructor - Logger_i (const char * name); - - // destructor - virtual ~Logger_i (void); - - virtual void log (const char *message, - CORBA::Environment &IT_env); - -private: - // logger identification - char *name_; -}; - -#endif /* LOGGER_I_H */ diff --git a/TAO/orbsvcs/tests/Logger/svc.conf b/TAO/orbsvcs/tests/Logger/svc.conf deleted file mode 100644 index 43c6a486c92..00000000000 --- a/TAO/orbsvcs/tests/Logger/svc.conf +++ /dev/null @@ -1,49 +0,0 @@ -# $Id$ -# -# This file contains a sample ACE_Service_Config configuration -# file specifying the strategy factories utilized by an application -# using TAO. There are currently only two possible factories: -# Client_Strategy_Factory and Server_Strategy_Factory. These names -# must be used as the second argument to their corresponding line, -# because that's what the ORB uses to find the desired factory. -# -# Note that there are two unordinary characteristics of the way *this* -# file is set up: -# - both client and server strategies are specified in the same -# file, which would only make sense for co-located clients & servers -# - both of the factories are actually sourced out of libTAO.so -# (TAO.DLL on Win32), and they would normally be in a separate -# dll from the TAO ORB Core. -# -# The options which can be passed to the Resource Factory are: -# -# -ORBresources <which> -# where <which> can be 'global' to specify globally-held resources, -# or 'tss' to specify thread-specific resources. -# -# The options which can be passed to the Client are: -# <none currently> -# -# The options which can be passed to the Server are: -# -# -ORBconcurrency <which> -# where <which> can be 'thread-per-connection' to specify -# use of the ACE_Threaded_Strategy concurrency strategy, -# or 'reactive' to specify use of the ACE_Reactive_Strategy -# concurrency strategy. -# -# -ORBthreadflags <flags> -# specifies the default thread flags to use, where <flags> is a -# logical OR'ing of the flags THR_DETACHED, THR_BOUND, THR_NEW_LWP, -# THR_SUSPENDED, or THR_DAEMON. Note that not every flag may be valid -# on every platform. -# -# -ORBdemuxstrategy <which> -# where <which> can be one of 'dynamic', 'linear', 'active', or 'user', -# and specifies the type of object lookup strategy used internally. -# -ORBtablesize <unsigned> -# specifies the size of the object table -# -dynamic Resource_Factory Service_Object * TAO:_make_TAO_Resource_Factory() "-ORBresources global" -dynamic Client_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Client_Strategy_Factory() -dynamic Server_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Server_Strategy_Factory() "-ORBconcurrency reactive -ORBdemuxstrategy dynamic -ORBtablesize 128" diff --git a/TAO/orbsvcs/tests/Logger/svr.cpp b/TAO/orbsvcs/tests/Logger/svr.cpp deleted file mode 100644 index b640b7222ec..00000000000 --- a/TAO/orbsvcs/tests/Logger/svr.cpp +++ /dev/null @@ -1,139 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/orbsvcs/tests/Logger -// -// = FILENAME -// svr.cpp -// -// = DESCRIPTION -// This program is an implementation of a simple logger service. -// Whatever is sent to it through its interface is displayed on stdout. -// It uses the Logger_Factory server to create logger objects. -// -// = AUTHORS -// Sergio Flores-Gaitan <sergio@cs.wustl.edu> -// -// ============================================================================ - -#include <iostream.h> -#include "loggerS.h" -#include "logger_i.h" -#include "CosNamingC.h" - -int -main (int argc, char ** argv) -{ - CORBA::Environment env; - char *orb_name = "logger"; - - CORBA::ORB_ptr orb_ptr = CORBA::ORB_init (argc, argv, orb_name, env); - - if (env.exception () != 0) - { - env.print_exception ("ORB init"); - return 1; - } - - // Initialize the Object Adapter - CORBA::POA_ptr oa_ptr = orb_ptr->POA_init (argc, argv, "POA"); - - if (oa_ptr == 0) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to initialize the POA.\n"), - 1); - - // create a factory implementation - Logger_Factory_ptr f; - - ACE_NEW_RETURN (f, Logger_Factory_i ("factory"), -1); - - // Stringify the objref we'll be implementing, and print it to - // stdout. Someone will take that string and give it to a - // client. Then release the object. - - CORBA::String str; - - str = orb_ptr->object_to_string (f, env); - - if (env.exception () != 0) - { - env.print_exception ("object2string"); - return 1; - } - - ACE_DEBUG ((LM_DEBUG, "listening as object '%s'\n", str)); - - int name_service_flag = 0; - CosNaming::NamingContext_ptr naming_service = 0; - CosNaming::Name n(1); - - do { - CORBA::Object_ptr obj_ptr = - orb_ptr->resolve_initial_references ("NameService"); - - // Use the naming service to advertise us, if we could successfully get a reference. - if (CORBA::is_nil (obj_ptr) == CORBA::B_TRUE) - { - ACE_ERROR ((LM_ERROR, "resolve_initial_references failed.\n")); - break; - } - - // resolve the naming service - naming_service = CosNaming::NamingContext::_narrow (obj_ptr, env); - - if (CORBA::is_nil (naming_service) == CORBA::B_TRUE) - { - ACE_ERROR ((LM_ERROR, "_narrow failed\n")); - break; - } - - // The name of the logger factory in the naming service. - n.length (1); - n[0].id = CORBA::string_dup ("logger_factory"); - - // bind the logger factory to a name using the naming service. - naming_service->bind (n, f, env); - - // check for errors! - if (env.exception () != 0) - { - env.print_exception ("name_service->bind()"); - break; - } - else - { - ACE_DEBUG ((LM_DEBUG, "Success using the naming service!! to bind the logger factory!\n")); - name_service_flag = 1; - } - - } while (0); - - if (name_service_flag == 0) - { - ACE_ERROR ((LM_ERROR, "Unable to use the naming service.\n")); - } - - // Handle requests for this object until we're killed, or one of the - // methods asks us to exit. - if (orb_ptr->run () == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "run"), -1); - - // unbind the logger factory name - naming_service->unbind (n, env); - - // check for errors! - if (env.exception () != 0) - { - env.print_exception ("name_service->unbind()"); - } - - // release the object reference for the naming service. - CORBA::release (naming_service); - - cout << "Server logger_factory is terminating" << endl; - return 0; -} - diff --git a/TAO/orbsvcs/tests/Makefile b/TAO/orbsvcs/tests/Makefile deleted file mode 100644 index f6471c39a08..00000000000 --- a/TAO/orbsvcs/tests/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -DIRS = Simple_Naming \ - Logger \ - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU - diff --git a/TAO/orbsvcs/tests/Simple_Naming/Makefile b/TAO/orbsvcs/tests/Simple_Naming/Makefile deleted file mode 100644 index 02bbe8e5569..00000000000 --- a/TAO/orbsvcs/tests/Simple_Naming/Makefile +++ /dev/null @@ -1,210 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -LDLIBS = -lorbsvcs -lTAO - -CLNT_SRCS = clnt.cpp - -LSRC = $(CLNT_SRCS) - -CLNT_OBJS = $(CLNT_SRCS:.cpp=.o) - -BIN = clnt -BUILD = $(BIN) -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -ifndef TAO_ROOT -TAO_ROOT = $(ACE_ROOT)/TAO -endif -TSS_ORB_FLAG = #-DTAO_HAS_TSS_ORBCORE -DCFLAGS = -g -LDFLAGS += -L$(TAO_ROOT)/orbsvcs/lib -L$(TAO_ROOT)/tao -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs/lib -I$(TAO_ROOT) -I$(TAO_ROOT)/tao/compat $(TSS_ORB_FLAG)#-H - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/clnt.o .shobj/clnt.: clnt.cpp clnt.h \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(TAO_ROOT)/tao/corba.h \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(TAO_ROOT)/tao/orbconf.h \ - $(TAO_ROOT)/tao/orb.h \ - $(TAO_ROOT)/tao/corbacom.h \ - $(TAO_ROOT)/tao/object.h \ - $(TAO_ROOT)/tao/align.h \ - $(TAO_ROOT)/tao/sequence.h \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/any.h \ - $(TAO_ROOT)/tao/poa.h \ - $(TAO_ROOT)/tao/tao_internals.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/client_factory.h \ - $(TAO_ROOT)/tao/server_factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/except.h \ - $(TAO_ROOT)/tao/orbobj.h \ - $(TAO_ROOT)/tao/nvlist.h \ - $(TAO_ROOT)/tao/principa.h \ - $(TAO_ROOT)/tao/request.h \ - $(TAO_ROOT)/tao/svrrqst.h \ - $(TAO_ROOT)/tao/typecode.h \ - $(TAO_ROOT)/tao/marshal.h \ - $(TAO_ROOT)/tao/cdr.h \ - $(TAO_ROOT)/tao/stub.h \ - $(TAO_ROOT)/tao/connect.h \ - $(TAO_ROOT)/tao/orb_core.h \ - $(TAO_ROOT)/tao/objtable.h \ - $(TAO_ROOT)/tao/optable.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/iiopobj.h \ - $(TAO_ROOT)/tao/iioporb.h \ - $(TAO_ROOT)/tao/giop.h \ - $(TAO_ROOT)/tao/orb_core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(TAO_ROOT)/tao/corbacom.i \ - $(TAO_ROOT)/tao/sequence.i \ - $(TAO_ROOT)/tao/typecode.i \ - $(TAO_ROOT)/tao/any.i \ - $(TAO_ROOT)/tao/cdr.i \ - $(TAO_ROOT)/tao/stub.i \ - $(TAO_ROOT)/tao/object.i \ - $(TAO_ROOT)/tao/orbobj.i \ - $(TAO_ROOT)/tao/marshal.i \ - $(TAO_ROOT)/tao/poa.i \ - $(TAO_ROOT)/tao/giop.i \ - $(TAO_ROOT)/tao/iioporb.i \ - $(TAO_ROOT)/tao/iiopobj.i \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/server_factory.i \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/connect.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(TAO_ROOT)/orbsvcs/lib/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/lib/CosNamingC.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/orbsvcs/tests/Simple_Naming/clnt.cpp b/TAO/orbsvcs/tests/Simple_Naming/clnt.cpp deleted file mode 100644 index f657ce240e8..00000000000 --- a/TAO/orbsvcs/tests/Simple_Naming/clnt.cpp +++ /dev/null @@ -1,178 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/orbsvcs/bin/Naming_Service/TAO -// -// = FILENAME -// clnt.cpp -// -// = DESCRIPTION -// This class implements a simple "cube" CORBA client for the CosNaming -// example using stubs generated by the TAO ORB IDL compiler. -// -// = AUTHORS -// Sergio Flores-Gaitan <sergio@cs.wustl.edu> -// -// ============================================================================ - -#include "clnt.h" - -// constructor - -CosNaming_Client::CosNaming_Client (void) - : hostname_ ("localhost"), - portnum_ (TAO_DEFAULT_SERVER_PORT), - exit_later_ (0), - factory_ (CORBA::Object::_nil ()), - objref_ (CORBA::Object::_nil ()), - CosNaming_ (CosNaming::NamingContext::_nil ()), - cosnaming_factory_key_ ("naming_context") -{ -} - -// Parses the command line arguments and returns an error status. - -int -CosNaming_Client::parse_args (void) -{ - ACE_Get_Opt get_opts (argc_, argv_, "dn:h:p:k:x"); - int c; - - while ((c = get_opts ()) != -1) - switch (c) - { - case 'd': // debug flag - TAO_debug_level++; - break; - case 'h': - hostname_ = ACE_OS::strdup (get_opts.optarg); - break; - case 'p': - portnum_ = ACE_OS::atoi (get_opts.optarg); - break; - case 'x': - this->exit_later_++; - break; - case '?': - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s" - " [-d]" - " [-h hostname]" - " [-p port]" - " [-x]" - "\n", - this->argv_ [0]), - -1); - } - - // Indicates successful parsing of command line. - return 0; -} - -// Execute client example code. - -int -CosNaming_Client::run (void) -{ - - - if (this->exit_later_) - { - // this->please_exit (this->env_); - dexc (this->env_, "server, please ACE_OS::exit"); - } - - return 0; -} - -CosNaming_Client::~CosNaming_Client (void) -{ - CORBA::release (this->CosNaming_); - CORBA::release (this->factory_); -} - -int -CosNaming_Client::init (int argc, char **argv) -{ - this->argc_ = argc; - this->argv_ = argv; - - // retrieve the ORB - CORBA::ORB_init (this->argc_, - this->argv_, - "internet", - this->env_); - - if (this->env_.exception () != 0) - { - this->env_.print_exception ("ORB initialization"); - return 1; - } - - // Parse command line and verify parameters. - if (this->parse_args () == -1) - return 1; - - // Retrieve a factory objref. - this->objref_ = CosNaming::NamingContext::_bind (this->hostname_, - this->portnum_, - this->cosnaming_factory_key_, - this->env_); - - if (this->env_.exception () != 0) - { - this->env_.print_exception ("CosNaming_Factory::_bind"); - return 1; - } - - if (CORBA::is_nil (this->objref_) == CORBA::B_TRUE) - ACE_ERROR_RETURN ((LM_ERROR, - " _bind returned null object for key (%s) host (%s), port (%d)\n", - this->cosnaming_factory_key_, - this->hostname_, - this->portnum_), - 1); - - // Narrow the CORBA::Object reference to the stub object, checking - // the type along the way using _is_a. There is really no need to - // narrow <objref> because <_bind> will return us the - // <CosNaming_Factory> pointer. However, we do it so that we can - // explicitly test the _narrow function. - - this->CosNaming_ = CosNaming::NamingContext::_narrow (this->objref_, - this->env_); - - if (this->CosNaming_ == 0) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to narrow object reference to a CosNaming_ptr.\n"), - 1); - - if (this->env_.exception () != 0) - { - this->env_.print_exception ("CosNaming::NamingContext::_narrow"); - return 1; - } - - if (CORBA::is_nil (this->CosNaming_)) - ACE_ERROR_RETURN ((LM_ERROR, - "null CosNaming objref returned by factory\n"), - 1); - - return 0; -} - -// This function runs the test. - -int -main (int argc, char **argv) -{ - CosNaming_Client cosnaming_client; - - if (cosnaming_client.init (argc, argv) == -1) - return 1; - else - return cosnaming_client.run (); -} diff --git a/TAO/orbsvcs/tests/Simple_Naming/clnt.h b/TAO/orbsvcs/tests/Simple_Naming/clnt.h deleted file mode 100644 index 001aaea1996..00000000000 --- a/TAO/orbsvcs/tests/Simple_Naming/clnt.h +++ /dev/null @@ -1,82 +0,0 @@ -/* -*- C++ -*- */ - -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/orbsvcs/tests -// -// = FILENAME -// clnt.h -// -// = DESCRIPTION -// This class implements naming service according to the CORBA -// spec. -// -// = AUTHORS -// Sergio Flores-Gaitan <sergio@cs.wustl.edu> -// -// ============================================================================ - -#include "ace/Get_Opt.h" -#include "tao/corba.h" -#include "CosNamingC.h" - -class CosNaming_Client - // = TITLE - // Defines a class that encapsulates behaviour of the CosNaming client - // example. Provides a better understanding of the logic in an - // object oriented way. - // - // = DESCRIPTION - // This class declares an interface to run the example client for - // CosNaming CORBA server. All the complexity for initializing the - // server is hidden in the class. Just the run() interface is needed. -{ -public: - // = Constructor and destructor. - CosNaming_Client (void); - ~CosNaming_Client (void); - - int run (void); - // Execute client example code. - - int init (int argc, char **argv); - // Initialize the client communication endpoint with server. - -private: - int parse_args (void); - // Parses the arguments passed on the command line. - - int argc_; - // # of arguments on the command line. - - char **argv_; - // arguments from command line. - - char *hostname_; - // Hostname of server. - - CORBA::ULong portnum_; - // default port number of server. - - int exit_later_; - // Flag to tell server to not exit immediately - - CORBA::Object_ptr factory_; - // factory pointer for CosNaming. - - CORBA::Object_ptr objref_; - // storage of the factory objref - - CORBA::Environment env_; - // Environment variable - - // CORBA::Object_ptr CosNaming_; - CosNaming::NamingContext_ptr CosNaming_; - // CosNaming obj ref - - char *cosnaming_factory_key_; - // CosNaming key. -}; diff --git a/TAO/orbsvcs/tests/Simple_Naming/svc.conf b/TAO/orbsvcs/tests/Simple_Naming/svc.conf deleted file mode 100644 index 43c6a486c92..00000000000 --- a/TAO/orbsvcs/tests/Simple_Naming/svc.conf +++ /dev/null @@ -1,49 +0,0 @@ -# $Id$ -# -# This file contains a sample ACE_Service_Config configuration -# file specifying the strategy factories utilized by an application -# using TAO. There are currently only two possible factories: -# Client_Strategy_Factory and Server_Strategy_Factory. These names -# must be used as the second argument to their corresponding line, -# because that's what the ORB uses to find the desired factory. -# -# Note that there are two unordinary characteristics of the way *this* -# file is set up: -# - both client and server strategies are specified in the same -# file, which would only make sense for co-located clients & servers -# - both of the factories are actually sourced out of libTAO.so -# (TAO.DLL on Win32), and they would normally be in a separate -# dll from the TAO ORB Core. -# -# The options which can be passed to the Resource Factory are: -# -# -ORBresources <which> -# where <which> can be 'global' to specify globally-held resources, -# or 'tss' to specify thread-specific resources. -# -# The options which can be passed to the Client are: -# <none currently> -# -# The options which can be passed to the Server are: -# -# -ORBconcurrency <which> -# where <which> can be 'thread-per-connection' to specify -# use of the ACE_Threaded_Strategy concurrency strategy, -# or 'reactive' to specify use of the ACE_Reactive_Strategy -# concurrency strategy. -# -# -ORBthreadflags <flags> -# specifies the default thread flags to use, where <flags> is a -# logical OR'ing of the flags THR_DETACHED, THR_BOUND, THR_NEW_LWP, -# THR_SUSPENDED, or THR_DAEMON. Note that not every flag may be valid -# on every platform. -# -# -ORBdemuxstrategy <which> -# where <which> can be one of 'dynamic', 'linear', 'active', or 'user', -# and specifies the type of object lookup strategy used internally. -# -ORBtablesize <unsigned> -# specifies the size of the object table -# -dynamic Resource_Factory Service_Object * TAO:_make_TAO_Resource_Factory() "-ORBresources global" -dynamic Client_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Client_Strategy_Factory() -dynamic Server_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Server_Strategy_Factory() "-ORBconcurrency reactive -ORBdemuxstrategy dynamic -ORBtablesize 128" |