summaryrefslogtreecommitdiff
path: root/CIAO/tests/DAnCE/Launch-Failures/Component
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/tests/DAnCE/Launch-Failures/Component')
-rw-r--r--CIAO/tests/DAnCE/Launch-Failures/Component/Launch_Failure.idl39
-rw-r--r--CIAO/tests/DAnCE/Launch-Failures/Component/Launch_Failure.mpc140
-rw-r--r--CIAO/tests/DAnCE/Launch-Failures/Component/Launch_Failure_exec.cpp290
-rw-r--r--CIAO/tests/DAnCE/Launch-Failures/Component/Launch_Failure_exec.h200
4 files changed, 0 insertions, 669 deletions
diff --git a/CIAO/tests/DAnCE/Launch-Failures/Component/Launch_Failure.idl b/CIAO/tests/DAnCE/Launch-Failures/Component/Launch_Failure.idl
deleted file mode 100644
index 5c38052f71e..00000000000
--- a/CIAO/tests/DAnCE/Launch-Failures/Component/Launch_Failure.idl
+++ /dev/null
@@ -1,39 +0,0 @@
-#include <Components.idl>
-
-interface Remote_Interface
-{
-};
-
-local interface Local_Interface
-{
-};
-
-enum Failure_Reason
-{
- NO_LAUNCH_ERROR,
- ATTRIBUTE_EXCEPTION,
- NIL_FACET_REFERENCE,
- FACET_REFERENCE_EXCEPTION
-
-};
-
-exception Custom_Exception
-{
-};
-
-component Launch_Failure
-{
- provides Remote_Interface remote_out;
- uses Remote_Interface remote_in;
-
- provides Local_Interface local_out;
- uses Local_Interface local_in;
-
- attribute Failure_Reason failure_reason;
-
-
-};
-
-home Launch_Failure_Home manages Launch_Failure
-{
-};
diff --git a/CIAO/tests/DAnCE/Launch-Failures/Component/Launch_Failure.mpc b/CIAO/tests/DAnCE/Launch-Failures/Component/Launch_Failure.mpc
deleted file mode 100644
index a0940efb9d7..00000000000
--- a/CIAO/tests/DAnCE/Launch-Failures/Component/Launch_Failure.mpc
+++ /dev/null
@@ -1,140 +0,0 @@
-// This file is generated with "generate_component_mpc.pl Launch_Failure"
-
-project(Launch_Failure_idl_gen) : componentidldefaults {
- custom_only = 1
-
- idlflags += -Wb,stub_export_macro=LAUNCH_FAILURE_STUB_Export \
- -Wb,stub_export_include=Launch_Failure_stub_export.h \
- -Wb,skel_export_macro=LAUNCH_FAILURE_SVNT_Export \
- -Wb,skel_export_include=Launch_Failure_svnt_export.h \
- -Wb,exec_export_macro=LAUNCH_FAILURE_EXEC_Export \
- -Wb,exec_export_include=Launch_Failure_exec_export.h \
- -Gxhex -Gxhsk -Gxhst
-
- IDL_Files {
- Launch_Failure.idl
- }
-}
-
-project(Launch_Failure_lem_gen) : ciaoidldefaults {
- after += Launch_Failure_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=LAUNCH_FAILURE_LEM_STUB_Export \
- -Wb,stub_export_include=Launch_Failure_lem_stub_export.h \
- -SS -Gxhst
-
- IDL_Files {
- Launch_FailureE.idl
- }
-}
-
-project(Launch_Failure_lem_stub) : ccm_svnt {
- after += Launch_Failure_lem_gen Launch_Failure_stub
- libs += Launch_Failure_stub
-
- libout = ../lib
- libpaths += ../lib ../lib_stub
-
- sharedname = Launch_Failure_lem_stub
- dynamicflags += LAUNCH_FAILURE_LEM_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- Launch_FailureEC.cpp
- }
-
- Header_Files {
- Launch_FailureEC.h
- Launch_Failure_lem_stub_export.h
- }
-
- Inline_Files {
- Launch_FailureEC.inl
- }
-}
-
-project(Launch_Failure_stub) : ccm_stub {
- after += Launch_Failure_idl_gen
- libs +=
-
- libout = ../lib_stub
- libpaths += ../lib ../lib_stub
-
- sharedname = Launch_Failure_stub
- dynamicflags += LAUNCH_FAILURE_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- Launch_FailureC.cpp
- }
-
- Header_Files {
- Launch_FailureC.h
- Launch_Failure_stub_export.h
- }
-
- Inline_Files {
- Launch_FailureC.inl
- }
-}
-
-project(Launch_Failure_exec) : ciao_executor {
- after += Launch_Failure_lem_stub Launch_Failure_stub
- sharedname = Launch_Failure_exec
- libs += Launch_Failure_stub Launch_Failure_lem_stub
-
- libout = ../lib
- libpaths += ../lib ../lib_stub
-
- dynamicflags += LAUNCH_FAILURE_EXEC_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- Launch_Failure_exec.cpp
- }
-
- Header_Files {
- Launch_Failure_exec.h
- Launch_Failure_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-
-project(Launch_Failure_svnt) : ciao_servant {
- after += Launch_Failure_lem_stub
- sharedname = Launch_Failure_svnt
- libs += Launch_Failure_stub Launch_Failure_lem_stub
-
- libout = ../lib
- libpaths += ../lib ../lib_stub
-
- dynamicflags += LAUNCH_FAILURE_SVNT_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- Launch_FailureS.cpp
- Launch_Failure_svnt.cpp
- }
-
- Header_Files {
- Launch_FailureS.h
- Launch_Failure_svnt.h
- Launch_Failure_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
-
diff --git a/CIAO/tests/DAnCE/Launch-Failures/Component/Launch_Failure_exec.cpp b/CIAO/tests/DAnCE/Launch-Failures/Component/Launch_Failure_exec.cpp
deleted file mode 100644
index d574cf19931..00000000000
--- a/CIAO/tests/DAnCE/Launch-Failures/Component/Launch_Failure_exec.cpp
+++ /dev/null
@@ -1,290 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v2.0.1
- * 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 "Launch_Failure_exec.h"
-
-namespace CIAO_Launch_Failure_Impl
-{
-
- /**
- * Facet Executor Implementation Class: remote_out_exec_i
- */
-
- remote_out_exec_i::remote_out_exec_i (
- ::CCM_Launch_Failure_Context_ptr ctx)
- : ciao_context_ (
- ::CCM_Launch_Failure_Context::_duplicate (ctx))
- {
- }
-
- remote_out_exec_i::~remote_out_exec_i (void)
- {
- }
-
- // Operations from ::Remote_Interface
-
- /**
- * Facet Executor Implementation Class: local_out_exec_i
- */
-
- local_out_exec_i::local_out_exec_i (
- ::CCM_Launch_Failure_Context_ptr ctx)
- : ciao_context_ (
- ::CCM_Launch_Failure_Context::_duplicate (ctx))
- {
- }
-
- local_out_exec_i::~local_out_exec_i (void)
- {
- }
-
- // Operations from ::Local_Interface
-
- /**
- * Facet Executor Implementation Class: local_in_exec_i
- */
-
- local_in_exec_i::local_in_exec_i (
- ::CCM_Launch_Failure_Context_ptr ctx)
- : ciao_context_ (
- ::CCM_Launch_Failure_Context::_duplicate (ctx))
- {
- }
-
- local_in_exec_i::~local_in_exec_i (void)
- {
- }
-
- // Operations from ::Local_Interface
-
- /**
- * Component Executor Implementation Class: Launch_Failure_exec_i
- */
-
- Launch_Failure_exec_i::Launch_Failure_exec_i (void)
- : failure_reason_ (::NO_LAUNCH_ERROR)
- {
- }
-
- Launch_Failure_exec_i::~Launch_Failure_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- ::CCM_Remote_Interface_ptr
- Launch_Failure_exec_i::get_remote_out (void)
- {
- if (this->failure_reason_ == ::FACET_REFERENCE_EXCEPTION)
- {
- throw 1;
- }
-
- if (this->failure_reason_ == ::NIL_FACET_REFERENCE)
- {
- return 0;
- }
-
- if ( ::CORBA::is_nil (this->ciao_remote_out_.in ()))
- {
- remote_out_exec_i *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- remote_out_exec_i (
- this->ciao_context_.in ()),
- ::CCM_Remote_Interface::_nil ());
-
- this->ciao_remote_out_ = tmp;
- }
-
- return
- ::CCM_Remote_Interface::_duplicate (
- this->ciao_remote_out_.in ());
- }
-
- ::CCM_Local_Interface_ptr
- Launch_Failure_exec_i::get_local_out (void)
- {
- if (this->failure_reason_ == ::FACET_REFERENCE_EXCEPTION)
- {
- throw 1;
- }
-
- if (this->failure_reason_ == ::NIL_FACET_REFERENCE)
- {
- return 0;
- }
-
- if ( ::CORBA::is_nil (this->ciao_local_out_.in ()))
- {
- local_out_exec_i *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- local_out_exec_i (
- this->ciao_context_.in ()),
- ::CCM_Local_Interface::_nil ());
-
- this->ciao_local_out_ = tmp;
- }
-
- return
- ::CCM_Local_Interface::_duplicate (
- this->ciao_local_out_.in ());
- }
-
- ::Failure_Reason
- Launch_Failure_exec_i::failure_reason (void)
- {
- return this->failure_reason_;
- }
-
- void
- Launch_Failure_exec_i::failure_reason (
- const ::Failure_Reason failure_reason)
- {
- if (failure_reason == ATTRIBUTE_EXCEPTION)
- throw 1;
-
- this->failure_reason_ = failure_reason;
- }
-
- // Operations from Components::SessionComponent.
-
- void
- Launch_Failure_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::CCM_Launch_Failure_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Launch_Failure_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Launch_Failure_exec_i::ccm_activate (void)
- {
- /* Your code here. */
- }
-
- void
- Launch_Failure_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Launch_Failure_exec_i::ccm_remove (void)
- {
- /* Your code here. */
- }
-
- extern "C" LAUNCH_FAILURE_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_Launch_Failure_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Launch_Failure_exec_i);
-
- return retval;
- }
-
- extern "C" LAUNCH_FAILURE_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_Launch_Failure_Nil (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- // Intentionally return nil.
- return retval;
- }
-
- extern "C" LAUNCH_FAILURE_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_Launch_Failure_Exception (void)
- {
- // Throw an exception
- //throw 1;
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
- return retval;
- }
-}
-
-namespace CIAO_Launch_Failure_Impl
-{
- /**
- * Home Executor Implementation Class: Launch_Failure_Home_exec_i
- */
-
- Launch_Failure_Home_exec_i::Launch_Failure_Home_exec_i (void)
- {
- }
-
- Launch_Failure_Home_exec_i::~Launch_Failure_Home_exec_i (void)
- {
- }
-
- // Implicit operations.
-
- ::Components::EnterpriseComponent_ptr
- Launch_Failure_Home_exec_i::create (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_THROW_EX (
- retval,
- Launch_Failure_exec_i,
- ::CORBA::NO_MEMORY ());
-
- return retval;
- }
-
- extern "C" LAUNCH_FAILURE_EXEC_Export ::Components::HomeExecutorBase_ptr
- create_Launch_Failure_Home_Impl (void)
- {
- ::Components::HomeExecutorBase_ptr retval =
- ::Components::HomeExecutorBase::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Launch_Failure_Home_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/tests/DAnCE/Launch-Failures/Component/Launch_Failure_exec.h b/CIAO/tests/DAnCE/Launch-Failures/Component/Launch_Failure_exec.h
deleted file mode 100644
index 47a21006787..00000000000
--- a/CIAO/tests/DAnCE/Launch-Failures/Component/Launch_Failure_exec.h
+++ /dev/null
@@ -1,200 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v2.0.1
- * 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_LAUNCH_FAILURE_EXEC_SOQV6E_H_
-#define CIAO_LAUNCH_FAILURE_EXEC_SOQV6E_H_
-
-#include /**/ "ace/pre.h"
-
-#include "Launch_FailureEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "Launch_Failure_exec_export.h"
-#include "tao/LocalObject.h"
-
-namespace CIAO_Launch_Failure_Impl
-{
-
- /**
- * Provider Executor Implementation Class: remote_out_exec_i
- */
-
- class remote_out_exec_i
- : public virtual ::CCM_Remote_Interface,
- public virtual ::CORBA::LocalObject
- {
- public:
- remote_out_exec_i (
- ::CCM_Launch_Failure_Context_ptr ctx);
- virtual ~remote_out_exec_i (void);
-
- /** @name Operations and attributes from Remote_Interface */
- //@{
- //@}
-
- private:
- ::CCM_Launch_Failure_Context_var ciao_context_;
- };
-
- /**
- * Provider Executor Implementation Class: local_out_exec_i
- */
-
- class local_out_exec_i
- : public virtual ::CCM_Local_Interface,
- public virtual ::CORBA::LocalObject
- {
- public:
- local_out_exec_i (
- ::CCM_Launch_Failure_Context_ptr ctx);
- virtual ~local_out_exec_i (void);
-
- /** @name Operations and attributes from Local_Interface */
- //@{
- //@}
-
- private:
- ::CCM_Launch_Failure_Context_var ciao_context_;
- };
-
- /**
- * Provider Executor Implementation Class: local_in_exec_i
- */
-
- class local_in_exec_i
- : public virtual ::CCM_Local_Interface,
- public virtual ::CORBA::LocalObject
- {
- public:
- local_in_exec_i (
- ::CCM_Launch_Failure_Context_ptr ctx);
- virtual ~local_in_exec_i (void);
-
- /** @name Operations and attributes from Local_Interface */
- //@{
- //@}
-
- private:
- ::CCM_Launch_Failure_Context_var ciao_context_;
- };
-
- /**
- * Component Executor Implementation Class: Launch_Failure_exec_i
- */
-
- class Launch_Failure_exec_i
- : public virtual Launch_Failure_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Launch_Failure_exec_i (void);
- virtual ~Launch_Failure_exec_i (void);
-
- /** @name Supported operations and attributes. */
- //@{
-
- //@}
-
- /** @name Component attributes and port operations. */
- //@{
-
- virtual ::CCM_Remote_Interface_ptr
- get_remote_out (void);
-
- virtual ::CCM_Local_Interface_ptr
- get_local_out (void);
-
- virtual ::Failure_Reason failure_reason (void);
-
- virtual void failure_reason (::Failure_Reason failure_reason);
- //@}
-
- /** @name 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);
- //@}
-
- /** @name User defined public operations. */
- //@{
-
- //@}
-
- private:
- ::CCM_Launch_Failure_Context_var ciao_context_;
-
- /** @name Component attributes. */
- //@{
- ::CCM_Remote_Interface_var ciao_remote_out_;
- ::CCM_Local_Interface_var ciao_local_out_;
- ::CCM_Local_Interface_var ciao_local_in_;
-
- ::Failure_Reason failure_reason_;
- //@}
-
- /** @name User defined members. */
- //@{
-
- //@}
-
- /** @name User defined private operations. */
- //@{
-
- //@}
- };
-
- extern "C" LAUNCH_FAILURE_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_Launch_Failure_Impl (void);
-}
-
-namespace CIAO_Launch_Failure_Impl
-{
- class LAUNCH_FAILURE_EXEC_Export Launch_Failure_Home_exec_i
- : public virtual Launch_Failure_Home_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Launch_Failure_Home_exec_i (void);
-
- virtual ~Launch_Failure_Home_exec_i (void);
-
- // Implicit operations.
-
- virtual ::Components::EnterpriseComponent_ptr
- create (void);
- };
-
- extern "C" LAUNCH_FAILURE_EXEC_Export ::Components::HomeExecutorBase_ptr
- create_Launch_Failure_Home_Impl (void);
-}
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */