summaryrefslogtreecommitdiff
path: root/modules/CIAO/tests/IDL_Test/Lem_Specific_Export
diff options
context:
space:
mode:
Diffstat (limited to 'modules/CIAO/tests/IDL_Test/Lem_Specific_Export')
-rw-r--r--modules/CIAO/tests/IDL_Test/Lem_Specific_Export/Lem_Export.idl8
-rw-r--r--modules/CIAO/tests/IDL_Test/Lem_Specific_Export/Lem_Export.mpc128
-rw-r--r--modules/CIAO/tests/IDL_Test/Lem_Specific_Export/Lem_Export_exec.cpp106
-rw-r--r--modules/CIAO/tests/IDL_Test/Lem_Specific_Export/Lem_Export_exec.h84
4 files changed, 326 insertions, 0 deletions
diff --git a/modules/CIAO/tests/IDL_Test/Lem_Specific_Export/Lem_Export.idl b/modules/CIAO/tests/IDL_Test/Lem_Specific_Export/Lem_Export.idl
new file mode 100644
index 00000000000..28248068aff
--- /dev/null
+++ b/modules/CIAO/tests/IDL_Test/Lem_Specific_Export/Lem_Export.idl
@@ -0,0 +1,8 @@
+
+// $Id$
+
+#include <Components.idl>
+
+component Foo
+{
+};
diff --git a/modules/CIAO/tests/IDL_Test/Lem_Specific_Export/Lem_Export.mpc b/modules/CIAO/tests/IDL_Test/Lem_Specific_Export/Lem_Export.mpc
new file mode 100644
index 00000000000..4b51f971870
--- /dev/null
+++ b/modules/CIAO/tests/IDL_Test/Lem_Specific_Export/Lem_Export.mpc
@@ -0,0 +1,128 @@
+// $Id$
+// This file is generated with "generate_component_mpc.pl Lem_Export"
+
+project(Lem_Export_idl_gen) : componentidldefaults {
+ custom_only = 1
+ idlflags += -Wb,stub_export_macro=LEM_EXPORT_STUB_Export \
+ -Wb,stub_export_include=Lem_Export_stub_export.h \
+ -Wb,skel_export_macro=LEM_EXPORT_SVNT_Export \
+ -Wb,skel_export_include=Lem_Export_svnt_export.h \
+ -Wb,exec_export_macro=LEM_EXPORT_EXEC_Export \
+ -Wb,exec_export_include=Lem_Export_exec_export.h
+
+ IDL_Files {
+ Lem_Export.idl
+ }
+}
+
+project(Lem_Export_lem_gen) : ciaoidldefaults {
+ after += Lem_Export_idl_gen
+ custom_only = 1
+ idlflags += -Wb,stub_export_macro=LEM_EXPORT_LEM_STUB_Export \
+ -Wb,stub_export_include=Lem_Export_lem_stub_export.h \
+ -SS -Gxhst
+
+ IDL_Files {
+ Lem_ExportE.idl
+ }
+}
+
+project(Lem_Export_stub) : ccm_stub {
+ after += Lem_Export_idl_gen
+ libs +=
+
+ sharedname = Lem_Export_stub
+ dynamicflags = LEM_EXPORT_STUB_BUILD_DLL
+
+ IDL_Files {
+ }
+
+ Source_Files {
+ Lem_ExportC.cpp
+ }
+
+ Header_Files {
+ Lem_ExportC.h
+ Lem_Export_stub_export.h
+ }
+
+ Inline_Files {
+ Lem_ExportC.inl
+ }
+}
+
+project(Lem_Export_lem_stub) : ccm_svnt {
+ after += Lem_Export_lem_gen
+ libs +=
+
+ sharedname = Lem_Export_lem_stub
+ dynamicflags = LEM_EXPORT_LEM_STUB_BUILD_DLL
+
+ IDL_Files {
+ }
+
+ Source_Files {
+ Lem_ExportEC.cpp
+ }
+
+ Header_Files {
+ Lem_ExportEC.h
+ Lem_Export_lem_stub_export.h
+ }
+
+ Inline_Files {
+ Lem_ExportEC.inl
+ }
+}
+
+project(Lem_Export_exec) : ciao_executor {
+ after += Lem_Export_lem_stub Lem_Export_stub
+ sharedname = Lem_Export_exec
+ libs += Lem_Export_stub Lem_Export_lem_stub
+
+ dynamicflags = LEM_EXPORT_EXEC_BUILD_DLL
+
+ IDL_Files {
+ }
+
+ Source_Files {
+ Lem_Export_exec.cpp
+ }
+
+ Header_Files {
+ Lem_Export_exec.h
+ Lem_Export_exec_export.h
+ }
+
+ Inline_Files {
+ }
+}
+
+
+project(Lem_Export_svnt) : ciao_servant {
+ after += Lem_Export_lem_stub Lem_Export_stub
+ sharedname = Lem_Export_svnt
+ libs += Lem_Export_stub Lem_Export_lem_stub
+
+ dynamicflags = LEM_EXPORT_SVNT_BUILD_DLL
+
+ IDL_Files {
+ }
+
+ Source_Files {
+ Lem_ExportS.cpp
+ Lem_Export_svnt.cpp
+ }
+
+ Header_Files {
+ Lem_ExportS.h
+ Lem_Export_svnt.h
+ Lem_Export_svnt_export.h
+ }
+
+ Inline_Files {
+ Lem_ExportS.inl
+ }
+}
+
+
diff --git a/modules/CIAO/tests/IDL_Test/Lem_Specific_Export/Lem_Export_exec.cpp b/modules/CIAO/tests/IDL_Test/Lem_Specific_Export/Lem_Export_exec.cpp
new file mode 100644
index 00000000000..d9d5eaf0928
--- /dev/null
+++ b/modules/CIAO/tests/IDL_Test/Lem_Specific_Export/Lem_Export_exec.cpp
@@ -0,0 +1,106 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler v1.6.9 ****
+// 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
+// http://doc.ece.uci.edu/
+// and
+// Institute for Software Integrated Systems
+// Vanderbilt University
+// Nashville, TN
+// USA
+// http://www.isis.vanderbilt.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+// TAO_IDL - Generated from
+// be/be_codegen.cpp:1278
+
+#include "Lem_Export_exec.h"
+
+namespace CIAO_Foo_Impl
+{
+ //============================================================
+ // Component Executor Implementation Class: Foo_exec_i
+ //============================================================
+
+ Foo_exec_i::Foo_exec_i (void)
+ {
+ }
+
+ Foo_exec_i::~Foo_exec_i (void)
+ {
+ }
+
+ // Supported operations and attributes.
+
+ // Component attributes.
+
+ // Port operations.
+
+ // Operations from Components::SessionComponent.
+
+ void
+ Foo_exec_i::set_session_context (
+ ::Components::SessionContext_ptr ctx)
+ {
+ this->context_ =
+ ::CCM_Foo_Context::_narrow (ctx);
+
+ if ( ::CORBA::is_nil (this->context_.in ()))
+ {
+ throw ::CORBA::INTERNAL ();
+ }
+ }
+
+ void
+ Foo_exec_i::configuration_complete (void)
+ {
+ /* Your code here. */
+ }
+
+ void
+ Foo_exec_i::ccm_activate (void)
+ {
+ /* Your code here. */
+ }
+
+ void
+ Foo_exec_i::ccm_passivate (void)
+ {
+ /* Your code here. */
+ }
+
+ void
+ Foo_exec_i::ccm_remove (void)
+ {
+ /* Your code here. */
+ }
+
+ extern "C" LEM_EXPORT_EXEC_Export ::Components::EnterpriseComponent_ptr
+ create_Foo_Impl (void)
+ {
+ ::Components::EnterpriseComponent_ptr retval =
+ ::Components::EnterpriseComponent::_nil ();
+
+ ACE_NEW_RETURN (
+ retval,
+ Foo_exec_i,
+ ::Components::EnterpriseComponent::_nil ());
+
+ return retval;
+ }
+}
+
diff --git a/modules/CIAO/tests/IDL_Test/Lem_Specific_Export/Lem_Export_exec.h b/modules/CIAO/tests/IDL_Test/Lem_Specific_Export/Lem_Export_exec.h
new file mode 100644
index 00000000000..a60906d3aa5
--- /dev/null
+++ b/modules/CIAO/tests/IDL_Test/Lem_Specific_Export/Lem_Export_exec.h
@@ -0,0 +1,84 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler v1.6.9 ****
+// 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
+// http://doc.ece.uci.edu/
+// and
+// Institute for Software Integrated Systems
+// Vanderbilt University
+// Nashville, TN
+// USA
+// http://www.isis.vanderbilt.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+// TAO_IDL - Generated from
+// be/be_codegen.cpp:1217
+
+#ifndef CIAO_LEM_EXPORT_EXEC_H_
+#define CIAO_LEM_EXPORT_EXEC_H_
+
+#include /**/ "ace/pre.h"
+
+#include "Lem_ExportEC.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include /**/ "Lem_Export_exec_export.h"
+#include "tao/LocalObject.h"
+
+namespace CIAO_Foo_Impl
+{
+ class LEM_EXPORT_EXEC_Export Foo_exec_i
+ : public virtual Foo_Exec,
+ public virtual ::CORBA::LocalObject
+ {
+ public:
+ Foo_exec_i (void);
+ virtual ~Foo_exec_i (void);
+
+ // Supported operations and attributes.
+
+ // Component attributes.
+
+ // Port operations.
+
+ // 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);
+
+ private:
+ ::CCM_Foo_Context_var context_;
+ };
+
+ extern "C" LEM_EXPORT_EXEC_Export ::Components::EnterpriseComponent_ptr
+ create_Foo_Impl (void);
+}
+
+#include /**/ "ace/post.h"
+
+#endif /* ifndef */
+