summaryrefslogtreecommitdiff
path: root/modules/CIAO/connectors/dds4ccm/examples/Large_Deployment/Single_Service
diff options
context:
space:
mode:
Diffstat (limited to 'modules/CIAO/connectors/dds4ccm/examples/Large_Deployment/Single_Service')
-rw-r--r--modules/CIAO/connectors/dds4ccm/examples/Large_Deployment/Single_Service/Single_Service.idl14
-rw-r--r--modules/CIAO/connectors/dds4ccm/examples/Large_Deployment/Single_Service/Single_Service.mpc138
-rw-r--r--modules/CIAO/connectors/dds4ccm/examples/Large_Deployment/Single_Service/Single_Service_exec.cpp130
-rw-r--r--modules/CIAO/connectors/dds4ccm/examples/Large_Deployment/Single_Service/Single_Service_exec.h114
4 files changed, 396 insertions, 0 deletions
diff --git a/modules/CIAO/connectors/dds4ccm/examples/Large_Deployment/Single_Service/Single_Service.idl b/modules/CIAO/connectors/dds4ccm/examples/Large_Deployment/Single_Service/Single_Service.idl
new file mode 100644
index 00000000000..d0952f70803
--- /dev/null
+++ b/modules/CIAO/connectors/dds4ccm/examples/Large_Deployment/Single_Service/Single_Service.idl
@@ -0,0 +1,14 @@
+// $Id$
+
+#ifndef SINGLE_SERVICE_IDL
+#define SINGLE_SERVICE_IDL
+
+#include <Components.idl>
+#include "Common/Common.idl"
+
+component Single_Service
+{
+ provides Simple_Service ping_port;
+};
+
+#endif
diff --git a/modules/CIAO/connectors/dds4ccm/examples/Large_Deployment/Single_Service/Single_Service.mpc b/modules/CIAO/connectors/dds4ccm/examples/Large_Deployment/Single_Service/Single_Service.mpc
new file mode 100644
index 00000000000..aeabc169ee1
--- /dev/null
+++ b/modules/CIAO/connectors/dds4ccm/examples/Large_Deployment/Single_Service/Single_Service.mpc
@@ -0,0 +1,138 @@
+// $Id$
+// This file is generated with "generate_component_mpc.pl -o ../lib -l ../lib Single_Service"
+
+project(Single_Service_idl_gen) : componentidldefaults {
+ custom_only = 1
+ idlflags += -Wb,stub_export_macro=SINGLE_SERVICE_STUB_Export \
+ -Wb,stub_export_include=Single_Service_stub_export.h \
+ -Wb,skel_export_macro=SINGLE_SERVICE_SVNT_Export \
+ -Wb,skel_export_include=Single_Service_svnt_export.h \
+ -Wb,exec_export_macro=SINGLE_SERVICE_EXEC_Export \
+ -Wb,exec_export_include=Single_Service_exec_export.h \
+ -Gxhex -Gxhsk -Gxhst -I.. -Glfa
+
+ IDL_Files {
+ Single_Service.idl
+ }
+}
+
+project(Single_Service_lem_gen) : ciaoidldefaults {
+ after += Single_Service_idl_gen
+ custom_only = 1
+ idlflags += -Wb,stub_export_macro=SINGLE_SERVICE_LEM_STUB_Export \
+ -Wb,stub_export_include=Single_Service_lem_stub_export.h \
+ -SS -Gxhst -I..
+
+ IDL_Files {
+ Single_ServiceE.idl
+ }
+}
+
+project(Single_Service_lem_stub) : ccm_svnt {
+ after += Single_Service_lem_gen Single_Service_stub Large_Deployment_stub
+ libs += Single_Service_stub Large_Deployment_stub
+ libpaths += ../lib
+ libout = ../lib
+ includes += ..
+ sharedname = Single_Service_lem_stub
+ dynamicflags = SINGLE_SERVICE_LEM_STUB_BUILD_DLL
+
+ IDL_Files {
+ }
+
+ Source_Files {
+ Single_ServiceEC.cpp
+ }
+
+ Header_Files {
+ Single_ServiceEC.h
+ Single_Service_lem_stub_export.h
+ }
+
+ Inline_Files {
+ Single_ServiceEC.inl
+ }
+}
+
+project(Single_Service_stub) : ccm_stub {
+ after += Single_Service_idl_gen Large_Deployment_stub
+ libs += Large_Deployment_stub
+ libpaths += ../lib
+ libout = ../lib
+ includes += ..
+ sharedname = Single_Service_stub
+ dynamicflags = SINGLE_SERVICE_STUB_BUILD_DLL
+
+ IDL_Files {
+ }
+
+ Source_Files {
+ Single_ServiceC.cpp
+ }
+
+ Header_Files {
+ Single_ServiceC.h
+ Single_Service_stub_export.h
+ }
+
+ Inline_Files {
+ Single_ServiceC.inl
+ }
+}
+
+project(Single_Service_exec) : ciao_executor {
+ after += Single_Service_lem_stub Single_Service_stub
+ sharedname = Single_Service_exec
+ libs += Single_Service_stub Single_Service_lem_stub Large_Deployment_stub
+ libpaths += ../lib
+ libout = ../lib
+ includes += ..
+ dynamicflags = SINGLE_SERVICE_EXEC_BUILD_DLL
+
+ IDL_Files {
+ }
+
+ Source_Files {
+ Single_Service_exec.cpp
+ }
+
+ Header_Files {
+ Single_Service_exec.h
+ Single_Service_exec_export.h
+ }
+
+ Inline_Files {
+ }
+}
+
+
+project(Single_Service_svnt) : ciao_servant {
+ after += Single_Service_lem_stub
+ sharedname = Single_Service_svnt
+ libs += Single_Service_stub Single_Service_lem_stub \
+ Large_Deployment_stub
+ libpaths += ../lib
+ libout = ../lib
+ includes += ..
+ dynamicflags = SINGLE_SERVICE_SVNT_BUILD_DLL
+
+ IDL_Files {
+ }
+
+ Source_Files {
+ Single_ServiceS.cpp
+ Single_Service_svnt.cpp
+ }
+
+ Header_Files {
+ Single_ServiceS.h
+ Single_Service_svnt.h
+ Single_Service_svnt_export.h
+ }
+
+ Inline_Files {
+ Single_ServiceS.inl
+ }
+}
+
+
diff --git a/modules/CIAO/connectors/dds4ccm/examples/Large_Deployment/Single_Service/Single_Service_exec.cpp b/modules/CIAO/connectors/dds4ccm/examples/Large_Deployment/Single_Service/Single_Service_exec.cpp
new file mode 100644
index 00000000000..efdca13b09c
--- /dev/null
+++ b/modules/CIAO/connectors/dds4ccm/examples/Large_Deployment/Single_Service/Single_Service_exec.cpp
@@ -0,0 +1,130 @@
+// -*- C++ -*-
+// $Id$
+
+/**
+ * Code generated by the The ACE ORB (TAO) IDL Compiler v1.7.7
+ * 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.cs.wustl.edu/~schmidt/TAO.html
+ **/
+
+// TAO_IDL - Generated from
+// be/be_codegen.cpp:1277
+
+#include "Single_Service_exec.h"
+
+namespace CIAO_Single_Service_Impl
+{
+ //============================================================
+ // Facet Executor Implementation Class: Simple_Service_exec_i
+ //============================================================
+
+ Simple_Service_exec_i::Simple_Service_exec_i (void)
+ {
+ }
+
+ Simple_Service_exec_i::~Simple_Service_exec_i (void)
+ {
+ }
+
+ // Operations from ::Simple_Service
+
+ void
+ Simple_Service_exec_i::ping (void)
+ {
+ /* Your code here. */
+ }
+
+ //============================================================
+ // Component Executor Implementation Class: Single_Service_exec_i
+ //============================================================
+
+ Single_Service_exec_i::Single_Service_exec_i (void)
+ {
+ }
+
+ Single_Service_exec_i::~Single_Service_exec_i (void)
+ {
+ }
+
+ // Supported operations and attributes.
+
+ // Component attributes and port operations.
+
+ ::CCM_Simple_Service_ptr
+ Single_Service_exec_i::get_ping_port (void)
+ {
+ /* Your code here. */
+ return ::CCM_Simple_Service::_nil ();
+ }
+
+ // Operations from Components::SessionComponent.
+
+ void
+ Single_Service_exec_i::set_session_context (
+ ::Components::SessionContext_ptr ctx)
+ {
+ this->context_ =
+ ::CCM_Single_Service_Context::_narrow (ctx);
+
+ if ( ::CORBA::is_nil (this->context_.in ()))
+ {
+ throw ::CORBA::INTERNAL ();
+ }
+ }
+
+ void
+ Single_Service_exec_i::configuration_complete (void)
+ {
+ /* Your code here. */
+ }
+
+ void
+ Single_Service_exec_i::ccm_activate (void)
+ {
+ /* Your code here. */
+ }
+
+ void
+ Single_Service_exec_i::ccm_passivate (void)
+ {
+ /* Your code here. */
+ }
+
+ void
+ Single_Service_exec_i::ccm_remove (void)
+ {
+ /* Your code here. */
+ }
+
+ extern "C" SINGLE_SERVICE_EXEC_Export ::Components::EnterpriseComponent_ptr
+ create_Single_Service_Impl (void)
+ {
+ ::Components::EnterpriseComponent_ptr retval =
+ ::Components::EnterpriseComponent::_nil ();
+
+ ACE_NEW_NORETURN (
+ retval,
+ Single_Service_exec_i);
+
+ return retval;
+ }
+}
+
diff --git a/modules/CIAO/connectors/dds4ccm/examples/Large_Deployment/Single_Service/Single_Service_exec.h b/modules/CIAO/connectors/dds4ccm/examples/Large_Deployment/Single_Service/Single_Service_exec.h
new file mode 100644
index 00000000000..52f57318dbf
--- /dev/null
+++ b/modules/CIAO/connectors/dds4ccm/examples/Large_Deployment/Single_Service/Single_Service_exec.h
@@ -0,0 +1,114 @@
+// -*- C++ -*-
+// $Id$
+
+/**
+ * Code generated by the The ACE ORB (TAO) IDL Compiler v1.7.7
+ * 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.cs.wustl.edu/~schmidt/TAO.html
+ **/
+
+// TAO_IDL - Generated from
+// be/be_codegen.cpp:1216
+
+#ifndef CIAO_SINGLE_SERVICE_EXEC_AZRZEB_H_
+#define CIAO_SINGLE_SERVICE_EXEC_AZRZEB_H_
+
+#include /**/ "ace/pre.h"
+
+#include "Single_ServiceEC.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include /**/ "Single_Service_exec_export.h"
+#include "tao/LocalObject.h"
+
+namespace CIAO_Single_Service_Impl
+{
+ // TAO_IDL - Generated from
+ // be/be_visitor_component/facet_exh.cpp:53
+
+ class SINGLE_SERVICE_EXEC_Export Simple_Service_exec_i
+ : public virtual ::CCM_Simple_Service,
+ public virtual ::CORBA::LocalObject
+ {
+ public:
+ Simple_Service_exec_i (void);
+ virtual ~Simple_Service_exec_i (void);
+
+ // Operations and attributes from ::Simple_Service
+
+ // TAO_IDL - Generated from
+ // be/be_visitor_operation/operation_ch.cpp:37
+
+ virtual void
+ ping (void);
+ };
+
+ class SINGLE_SERVICE_EXEC_Export Single_Service_exec_i
+ : public virtual Single_Service_Exec,
+ public virtual ::CORBA::LocalObject
+ {
+ public:
+ Single_Service_exec_i (void);
+ virtual ~Single_Service_exec_i (void);
+
+ //@{
+ /** Supported operations and attributes. */
+
+ //@}
+
+ //@{
+ /** Component attributes and port operations. */
+
+
+ virtual ::CCM_Simple_Service_ptr
+ get_ping_port (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);
+ //@}
+
+
+ private:
+ ::CCM_Single_Service_Context_var context_;
+ };
+
+ extern "C" SINGLE_SERVICE_EXEC_Export ::Components::EnterpriseComponent_ptr
+ create_Single_Service_Impl (void);
+}
+
+#include /**/ "ace/post.h"
+
+#endif /* ifndef */
+