diff options
Diffstat (limited to 'CIAO/connectors/ami4ccm/tests/OneProcess/Receiver')
5 files changed, 0 insertions, 435 deletions
diff --git a/CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/.gitignore b/CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/.gitignore deleted file mode 100644 index e997f691181..00000000000 --- a/CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -/OneProcess_ReceiverE.idl -/OneProcess_Receiver_exec_export.h -/OneProcess_Receiver_lem_stub_export.h -/OneProcess_Receiver_stub_export.h -/OneProcess_Receiver_svnt_export.h diff --git a/CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/OneProcess_Receiver.idl b/CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/OneProcess_Receiver.idl deleted file mode 100644 index 3c6e8370312..00000000000 --- a/CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/OneProcess_Receiver.idl +++ /dev/null @@ -1,16 +0,0 @@ -#ifndef ONEPROCESS_RECEIVER_IDL -#define ONEPROCESS_RECEIVER_IDL - -#include <Components.idl> - -#include "Base/OneProcess.idl" - -module OneProcess -{ - component Receiver - { - /// Provides - provides MyFoo do_my_foo; - }; -}; -#endif diff --git a/CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/OneProcess_Receiver.mpc b/CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/OneProcess_Receiver.mpc deleted file mode 100644 index 69474e0a621..00000000000 --- a/CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/OneProcess_Receiver.mpc +++ /dev/null @@ -1,131 +0,0 @@ -// This file is generated with "generate_component_mpc.pl -p OneProcess_Base OneProcess_Receiver" - -project(AMI_OneProcess_Base_Receiver_idl_gen) : componentidldefaults { - custom_only = 1 - after += AMI_OneProcess_idl_gen - idlflags += -Wb,stub_export_macro=ONEPROCESS_RECEIVER_STUB_Export \ - -Wb,stub_export_include=OneProcess_Receiver_stub_export.h \ - -Wb,skel_export_macro=ONEPROCESS_RECEIVER_SVNT_Export \ - -Wb,skel_export_include=OneProcess_Receiver_svnt_export.h \ - -Wb,exec_export_macro=ONEPROCESS_RECEIVER_EXEC_Export \ - -Wb,exec_export_include=OneProcess_Receiver_exec_export.h \ - -Glem -I.. - IDL_Files { - OneProcess_Receiver.idl - } -} - -project(AMI_OneProcess_Base_Receiver_lem_gen) : ciaoidldefaults { - after += AMI_OneProcess_Base_Receiver_idl_gen - custom_only = 1 - idlflags += -Wb,stub_export_macro=ONEPROCESS_RECEIVER_LEM_STUB_Export \ - -Wb,stub_export_include=OneProcess_Receiver_lem_stub_export.h \ - -SS -Gxhst -I.. - - IDL_Files { - OneProcess_ReceiverE.idl - } -} - -project(AMI_OneProcess_Base_Receiver_l_stub) : ccm_svnt, messaging { - after += AMI_OneProcess_Base_Receiver_lem_gen AMI_OneProcess_Base_Receiver_stub AMI_OneProcess_stub - libs += OneProcess_stub OneProcess_Receiver_stub - libpaths += ../lib - libout = ../lib - sharedname = OneProcess_Receiver_lem_stub - dynamicflags += ONEPROCESS_RECEIVER_LEM_STUB_BUILD_DLL - includes += .. - IDL_Files { - } - - Source_Files { - OneProcess_ReceiverEC.cpp - } - - Header_Files { - OneProcess_ReceiverEC.h - OneProcess_Receiver_lem_stub_export.h - } - - Inline_Files { - OneProcess_ReceiverEC.inl - } -} - -project(AMI_OneProcess_Base_Receiver_stub) : ccm_stub, messaging { - after += AMI_OneProcess_Base_Receiver_idl_gen AMI_OneProcess_stub - libs += OneProcess_stub - libpaths += ../lib - libout = ../lib - sharedname = OneProcess_Receiver_stub - dynamicflags += ONEPROCESS_RECEIVER_STUB_BUILD_DLL - includes += .. - IDL_Files { - } - - Source_Files { - OneProcess_ReceiverC.cpp - } - - Header_Files { - OneProcess_ReceiverC.h - OneProcess_Receiver_stub_export.h - } - - Inline_Files { - OneProcess_ReceiverC.inl - } -} - -project(AMI_OneProcess_Base_Receiver_exec) : ciao_executor, messaging { - after += AMI_OneProcess_Base_Receiver_l_stub AMI_OneProcess_Base_Receiver_stub AMI_OneProcess_stub AMI_OneProcess_lem_stub - sharedname = OneProcess_Receiver_exec - libs += OneProcess_Receiver_stub OneProcess_Receiver_lem_stub OneProcess_stub OneProcess_lem_stub - libpaths += ../lib - libout = ../lib - dynamicflags += ONEPROCESS_RECEIVER_EXEC_BUILD_DLL - includes += .. - IDL_Files { - } - - Source_Files { - OneProcess_Receiver_exec.cpp - } - - Header_Files { - OneProcess_Receiver_exec.h - OneProcess_Receiver_exec_export.h - } - - Inline_Files { - } -} - -project(AMI_OneProcess_Base_Receiver_svnt) : ciao_servant, messaging { - after += AMI_OneProcess_Base_skel AMI_OneProcess_Base_Receiver_l_stub AMI_OneProcess_stub AMI_OneProcess_skel AMI_OneProcess_lem_stub - sharedname = OneProcess_Receiver_svnt - libs += OneProcess_Receiver_stub OneProcess_Receiver_lem_stub \ - OneProcess_skel \ - OneProcess_stub OneProcess_lem_stub - libpaths += ../lib - libout = ../lib - dynamicflags += ONEPROCESS_RECEIVER_SVNT_BUILD_DLL - includes += .. - IDL_Files { - } - - Source_Files { - OneProcess_ReceiverS.cpp - OneProcess_Receiver_svnt.cpp - } - - Header_Files { - OneProcess_ReceiverS.h - OneProcess_Receiver_svnt.h - OneProcess_Receiver_svnt_export.h - } - - Inline_Files { - } -} - diff --git a/CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/OneProcess_Receiver_exec.cpp b/CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/OneProcess_Receiver_exec.cpp deleted file mode 100644 index d5a810ed47f..00000000000 --- a/CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/OneProcess_Receiver_exec.cpp +++ /dev/null @@ -1,152 +0,0 @@ -// -*- C++ -*- -/** - * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3 - * TAO and the TAO IDL Compiler have been developed by: - * Center for Distributed Object Computing - * Washington University - * St. Louis, MO - * USA - * http://www.cs.wustl.edu/~schmidt/doc-center.html - * and - * Distributed Object Computing Laboratory - * University of California at Irvine - * Irvine, CA - * USA - * and - * Institute for Software Integrated Systems - * Vanderbilt University - * Nashville, TN - * USA - * http://www.isis.vanderbilt.edu/ - * - * Information about TAO is available at: - * http://www.dre.vanderbilt.edu/~schmidt/TAO.html - **/ - -#include "OneProcess_Receiver_exec.h" -#include "ace/OS_NS_unistd.h" - -namespace CIAO_OneProcess_Receiver_Impl -{ - - /** - * Facet Executor Implementation Class: do_my_foo_exec_i - */ - - do_my_foo_exec_i::do_my_foo_exec_i ( - ::OneProcess::CCM_Receiver_Context_ptr ctx) - : ciao_context_ ( - ::OneProcess::CCM_Receiver_Context::_duplicate (ctx)) - { - } - - do_my_foo_exec_i::~do_my_foo_exec_i (void) - { - } - - // Operations from ::OneProcess::MyFoo - - ::CORBA::Long - do_my_foo_exec_i::foo (const char * /* in_str */, - ::CORBA::Long cmd, - ::CORBA::String_out answer) - { - if (cmd == 1) - { - ACE_OS::sleep(2); - answer = CORBA::string_dup ("ASYNCH answer"); - } - if (cmd == 2) - { - answer = CORBA::string_dup ("SYNCH answer"); - } - return cmd; - } - - /** - * Component Executor Implementation Class: Receiver_exec_i - */ - - Receiver_exec_i::Receiver_exec_i (void){ - } - - Receiver_exec_i::~Receiver_exec_i (void) - { - } - - // Supported operations and attributes. - - // Component attributes and port operations. - - ::OneProcess::CCM_MyFoo_ptr - Receiver_exec_i::get_do_my_foo (void) - { - if ( ::CORBA::is_nil (this->ciao_do_my_foo_.in ())) - { - do_my_foo_exec_i *tmp = 0; - ACE_NEW_RETURN ( - tmp, - do_my_foo_exec_i ( - this->ciao_context_.in ()), - ::OneProcess::CCM_MyFoo::_nil ()); - - this->ciao_do_my_foo_ = tmp; - } - - return - ::OneProcess::CCM_MyFoo::_duplicate ( - this->ciao_do_my_foo_.in ()); - } - - // Operations from Components::SessionComponent. - - void - Receiver_exec_i::set_session_context ( - ::Components::SessionContext_ptr ctx) - { - this->ciao_context_ = - ::OneProcess::CCM_Receiver_Context::_narrow (ctx); - - if ( ::CORBA::is_nil (this->ciao_context_.in ())) - { - throw ::CORBA::INTERNAL (); - } - } - - void - Receiver_exec_i::configuration_complete (void) - { - /* Your code here. */ - } - - void - Receiver_exec_i::ccm_activate (void) - { - /* Your code here. */ - } - - void - Receiver_exec_i::ccm_passivate (void) - { - /* Your code here. */ - } - - void - Receiver_exec_i::ccm_remove (void) - { - /* Your code here. */ - } - - extern "C" ONEPROCESS_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr - create_OneProcess_Receiver_Impl (void) - { - ::Components::EnterpriseComponent_ptr retval = - ::Components::EnterpriseComponent::_nil (); - - ACE_NEW_NORETURN ( - retval, - Receiver_exec_i); - - return retval; - } -} diff --git a/CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/OneProcess_Receiver_exec.h b/CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/OneProcess_Receiver_exec.h deleted file mode 100644 index 7dc5d7be4b7..00000000000 --- a/CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/OneProcess_Receiver_exec.h +++ /dev/null @@ -1,131 +0,0 @@ -// -*- C++ -*- -/** - * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3 - * TAO and the TAO IDL Compiler have been developed by: - * Center for Distributed Object Computing - * Washington University - * St. Louis, MO - * USA - * http://www.cs.wustl.edu/~schmidt/doc-center.html - * and - * Distributed Object Computing Laboratory - * University of California at Irvine - * Irvine, CA - * USA - * and - * Institute for Software Integrated Systems - * Vanderbilt University - * Nashville, TN - * USA - * http://www.isis.vanderbilt.edu/ - * - * Information about TAO is available at: - * http://www.dre.vanderbilt.edu/~schmidt/TAO.html - **/ -#ifndef CIAO_ONEPROCESS_RECEIVER_EXEC_XIUX6C_H_ -#define CIAO_ONEPROCESS_RECEIVER_EXEC_XIUX6C_H_ - -#include /**/ "ace/pre.h" - -#include "OneProcess_ReceiverEC.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include /**/ "OneProcess_Receiver_exec_export.h" -#include "tao/LocalObject.h" - -namespace CIAO_OneProcess_Receiver_Impl -{ - - /** - * Provider Executor Implementation Class: do_my_foo_exec_i - */ - - class do_my_foo_exec_i - : public virtual ::OneProcess::CCM_MyFoo, - public virtual ::CORBA::LocalObject - { - public: - do_my_foo_exec_i ( - ::OneProcess::CCM_Receiver_Context_ptr ctx); - virtual ~do_my_foo_exec_i (void); - - //@{ - /** Operations and attributes from OneProcess::MyFoo. */ - - virtual - ::CORBA::Long foo (const char * in_str, - ::CORBA::Long cmd, - ::CORBA::String_out answer); - //@} - - private: - ::OneProcess::CCM_Receiver_Context_var ciao_context_; - }; - - /** - * Component Executor Implementation Class: Receiver_exec_i - */ - - class Receiver_exec_i - : public virtual Receiver_Exec, - public virtual ::CORBA::LocalObject - { - public: - Receiver_exec_i (void); - virtual ~Receiver_exec_i (void); - - //@{ - /** Supported operations and attributes. */ - - //@} - - //@{ - /** Component attributes and port operations. */ - - virtual ::OneProcess::CCM_MyFoo_ptr - get_do_my_foo (void); - //@} - - //@{ - /** Operations from Components::SessionComponent. */ - virtual void set_session_context (::Components::SessionContext_ptr ctx); - virtual void configuration_complete (void); - virtual void ccm_activate (void); - virtual void ccm_passivate (void); - virtual void ccm_remove (void); - //@} - - //@{ - /** User defined public operations. */ - - //@} - - private: - ::OneProcess::CCM_Receiver_Context_var ciao_context_; - - //@{ - /** Component attributes. */ - ::OneProcess::CCM_MyFoo_var ciao_do_my_foo_; - //@} - - //@{ - /** User defined members. */ - - //@} - - //@{ - /** User defined private operations. */ - - //@} - }; - - extern "C" ONEPROCESS_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr - create_OneProcess_Receiver_Impl (void); -} - -#include /**/ "ace/post.h" - -#endif /* ifndef */ |