summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam R. Otte <wotte@dre.vanderbilt.edu>2009-06-16 12:51:41 +0000
committerWilliam R. Otte <wotte@dre.vanderbilt.edu>2009-06-16 12:51:41 +0000
commitf5977d8c2b10aa176e48ebe39038285db2d44c4d (patch)
tree8ee276e9f0d29e72fc9d66041acfdd57a258c9cb
parentf25cf349716008eaa62858e900670aac2568a08b (diff)
downloadATCD-f5977d8c2b10aa176e48ebe39038285db2d44c4d.tar.gz
Tue Jun 16 12:50:52 UTC 2009 William R. Otte <wotte@dre.vanderbilt.edu>
-rw-r--r--modules/CIAO/ChangeLog39
-rw-r--r--modules/CIAO/DAnCE/tests/CIAO/Components/ProcessColocation.idl15
-rw-r--r--modules/CIAO/DAnCE/tests/CIAO/Components/ProcessColocation.mpc112
-rw-r--r--modules/CIAO/DAnCE/tests/CIAO/Components/ProcessColocation_exec_export.h58
-rw-r--r--modules/CIAO/DAnCE/tests/CIAO/Components/ProcessColocation_stub_export.h58
-rw-r--r--modules/CIAO/DAnCE/tests/CIAO/Components/ProcessColocation_svnt_export.h58
-rw-r--r--modules/CIAO/DAnCE/tests/CIAO/Components/SimpleAttribute_exec.cpp279
-rw-r--r--modules/CIAO/DAnCE/tests/CIAO/Components/SimpleAttribute_exec.h196
-rw-r--r--modules/CIAO/DAnCE/tests/CIAO/Components/SimpleConsumer_exec.cpp163
-rw-r--r--modules/CIAO/DAnCE/tests/CIAO/Components/SimpleConsumer_exec.h103
-rw-r--r--modules/CIAO/DAnCE/tests/CIAO/Components/SimpleEmitter_exec.cpp157
-rw-r--r--modules/CIAO/DAnCE/tests/CIAO/Components/SimpleEmitter_exec.h99
-rw-r--r--modules/CIAO/DAnCE/tests/CIAO/Components/SimpleMultipleUser_exec.cpp184
-rw-r--r--modules/CIAO/DAnCE/tests/CIAO/Components/SimpleMultipleUser_exec.h99
-rw-r--r--modules/CIAO/DAnCE/tests/CIAO/Components/SimpleNull_exec.cpp158
-rw-r--r--modules/CIAO/DAnCE/tests/CIAO/Components/SimpleNull_exec.h98
-rw-r--r--modules/CIAO/DAnCE/tests/CIAO/Components/SimpleProvider_exec.cpp186
-rw-r--r--modules/CIAO/DAnCE/tests/CIAO/Components/SimpleProvider_exec.h116
-rw-r--r--modules/CIAO/DAnCE/tests/CIAO/Components/SimplePublisher_exec.cpp156
-rw-r--r--modules/CIAO/DAnCE/tests/CIAO/Components/SimplePublisher_exec.h99
-rw-r--r--modules/CIAO/DAnCE/tests/CIAO/Components/SimpleUser_exec.cpp177
-rw-r--r--modules/CIAO/DAnCE/tests/CIAO/Components/SimpleUser_exec.h99
22 files changed, 1579 insertions, 1130 deletions
diff --git a/modules/CIAO/ChangeLog b/modules/CIAO/ChangeLog
index e90eecb96ab..47c4788c5af 100644
--- a/modules/CIAO/ChangeLog
+++ b/modules/CIAO/ChangeLog
@@ -1,11 +1,40 @@
+Tue Jun 16 12:50:52 UTC 2009 William R. Otte <wotte@dre.vanderbilt.edu>
+
+ * DAnCE/tests/CIAO/Components/ProcessColocation.idl:
+ * DAnCE/tests/CIAO/Components/ProcessColocation.mpc:
+ * DAnCE/tests/CIAO/Components/ProcessColocation_exec_export.h:
+ * DAnCE/tests/CIAO/Components/ProcessColocation_stub_export.h:
+ * DAnCE/tests/CIAO/Components/ProcessColocation_svnt_export.h:
+
+ New component to test process colocation capabilities of CIAO/DAnCE.
+
+ * DAnCE/tests/CIAO/Components/SimpleAttribute_exec.h:
+ * DAnCE/tests/CIAO/Components/SimpleAttribute_exec.cpp:
+ * DAnCE/tests/CIAO/Components/SimpleConsumer_exec.h:
+ * DAnCE/tests/CIAO/Components/SimpleConsumer_exec.cpp:
+ * DAnCE/tests/CIAO/Components/SimpleEmitter_exec.h:
+ * DAnCE/tests/CIAO/Components/SimpleEmitter_exec.cpp:
+ * DAnCE/tests/CIAO/Components/SimpleMultipleUser_exec.h:
+ * DAnCE/tests/CIAO/Components/SimpleMultipleUser_exec.cpp:
+ * DAnCE/tests/CIAO/Components/SimpleNull_exec.h:
+ * DAnCE/tests/CIAO/Components/SimpleNull_exec.cpp:
+ * DAnCE/tests/CIAO/Components/SimpleProvider_exec.h:
+ * DAnCE/tests/CIAO/Components/SimpleProvider_exec.cpp:
+ * DAnCE/tests/CIAO/Components/SimplePublisher_exec.h:
+ * DAnCE/tests/CIAO/Components/SimplePublisher_exec.cpp:
+ * DAnCE/tests/CIAO/Components/SimpleUser_exec.h:
+ * DAnCE/tests/CIAO/Components/SimpleUser_exec.cpp:
+
+ Re-added business logic accidentally removed.
+
Tue Jun 16 12:45:52 UTC 2009 William R. Otte <wotte@dre.vanderbilt.edu>
* MPC/config/ciaoidldefaults.mpb:
* examples/Hello/Receiver/Receiver.mpc:
* examples/Hello/Sender/Sender.mpc:
-
- MPC base project for new tao_idl based container generation.
-
+
+ MPC base project for new tao_idl based container generation.
+
* tools/Config_Handlers/Basic_Deployment_Data.cpp:
* tools/Config_Handlers/Basic_Deployment_Data.hpp:
* tools/Config_Handlers/Config_Handlers.mpc:
@@ -16,8 +45,8 @@ Tue Jun 16 12:45:52 UTC 2009 William R. Otte <wotte@dre.vanderbilt.edu>
* tools/Config_Handlers/cpd.hpp:
* tools/Config_Handlers/cpd.cpp:
- Updated XSC code for updated schema.
-
+ Updated XSC code for updated schema.
+
Tue Jun 16 09:18:07 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl>
* examples/Hello/Receiver/Receiver.mpc
diff --git a/modules/CIAO/DAnCE/tests/CIAO/Components/ProcessColocation.idl b/modules/CIAO/DAnCE/tests/CIAO/Components/ProcessColocation.idl
new file mode 100644
index 00000000000..6c38a2dd8f0
--- /dev/null
+++ b/modules/CIAO/DAnCE/tests/CIAO/Components/ProcessColocation.idl
@@ -0,0 +1,15 @@
+// $Id$
+
+#include <Components.idl>
+
+module Simple
+{
+ component ProcessColocation
+ {
+ attribute string process_name;
+ };
+
+ home ProcessColocationHome manages ProcessColocation
+ {
+ };
+};
diff --git a/modules/CIAO/DAnCE/tests/CIAO/Components/ProcessColocation.mpc b/modules/CIAO/DAnCE/tests/CIAO/Components/ProcessColocation.mpc
new file mode 100644
index 00000000000..e3aa485400e
--- /dev/null
+++ b/modules/CIAO/DAnCE/tests/CIAO/Components/ProcessColocation.mpc
@@ -0,0 +1,112 @@
+// $Id$
+// This file is generated with "generate_component_mpc.pl ProcessColocation"
+
+project(ProcessColocation_idl_gen) : ciaoidldefaults, anytypecode, avoids_ace_for_tao {
+ custom_only = 1
+ idlflags += -Wb,stub_export_macro=PROCESSCOLOCATION_STUB_Export \
+ -Wb,stub_export_include=ProcessColocation_stub_export.h \
+ -Wb,skel_export_macro=PROCESSCOLOCATION_SVNT_Export \
+ -Wb,skel_export_include=ProcessColocation_svnt_export.h \
+ -Wb,exec_export_macro=PROCESSCOLOCATION_EXEC_Export \
+ -Wb,exec_export_include=ProcessColocation_exec_export.h \
+ -Gsv -Gex
+
+ IDL_Files {
+ ProcessColocation.idl
+ }
+}
+
+project(ProcessColocation_idle_gen) : ciaoidldefaults, avoids_ace_for_tao {
+ after += ProcessColocation_idl_gen
+ custom_only = 1
+ idlflags += -Wb,export_macro=PROCESSCOLOCATION_EXEC_Export \
+ -Wb,export_include=ProcessColocation_exec_export.h \
+ -SS
+
+ IDL_Files {
+ ProcessColocationE.idl
+ }
+}
+
+project(ProcessColocation_stub) : ccm_stub, avoids_ace_for_tao {
+ after += ProcessColocation_idl_gen
+ libs +=
+
+ sharedname = ProcessColocation_stub
+ dynamicflags = PROCESSCOLOCATION_STUB_BUILD_DLL
+
+ IDL_Files {
+ }
+
+ Source_Files {
+ ProcessColocationC.cpp
+ }
+
+ Header_Files {
+ ProcessColocationC.h
+ ProcessColocation_stub_export.h
+ }
+
+ Inline_Files {
+ ProcessColocationC.inl
+ }
+}
+
+project(ProcessColocation_exec) : ciao_executor, avoids_ace_for_tao {
+ after += ProcessColocation_idle_gen ProcessColocation_stub
+ sharedname = ProcessColocation_exec
+ libs += ProcessColocation_stub
+
+ dynamicflags = PROCESSCOLOCATION_EXEC_BUILD_DLL
+
+ IDL_Files {
+ }
+
+ Source_Files {
+ ProcessColocationEC.cpp
+ ProcessColocation_exec.cpp
+ }
+
+ Header_Files {
+ ProcessColocationEC.h
+ ProcessColocation_exec.h
+ ProcessColocation_exec_export.h
+ }
+
+ Inline_Files {
+ ProcessColocationEC.inl
+ }
+}
+
+
+project(ProcessColocation_svnt) : ciao_servant, avoids_ace_for_tao {
+ after += ProcessColocation_exec
+ sharedname = ProcessColocation_svnt
+ libs += ProcessColocation_exec \
+ ProcessColocation_stub
+
+ dynamicflags = PROCESSCOLOCATION_SVNT_BUILD_DLL
+
+ CIDL_Files {
+ }
+
+ IDL_Files {
+ }
+
+ Source_Files {
+ ProcessColocationS.cpp
+ ProcessColocation_svnt.cpp
+ }
+
+ Header_Files {
+ ProcessColocationS.h
+ ProcessColocation_svnt.h
+ ProcessColocation_svnt_export.h
+ }
+
+ Inline_Files {
+ ProcessColocationS.inl
+ }
+}
+
+
diff --git a/modules/CIAO/DAnCE/tests/CIAO/Components/ProcessColocation_exec_export.h b/modules/CIAO/DAnCE/tests/CIAO/Components/ProcessColocation_exec_export.h
new file mode 100644
index 00000000000..8b0e25ff9ba
--- /dev/null
+++ b/modules/CIAO/DAnCE/tests/CIAO/Components/ProcessColocation_exec_export.h
@@ -0,0 +1,58 @@
+
+// -*- C++ -*-
+// $Id$
+// Definition for Win32 Export directives.
+// This file is generated automatically by generate_export_file.pl PROCESSCOLOCATION_EXEC
+// ------------------------------
+#ifndef PROCESSCOLOCATION_EXEC_EXPORT_H
+#define PROCESSCOLOCATION_EXEC_EXPORT_H
+
+#include "ace/config-all.h"
+
+#if defined (ACE_AS_STATIC_LIBS) && !defined (PROCESSCOLOCATION_EXEC_HAS_DLL)
+# define PROCESSCOLOCATION_EXEC_HAS_DLL 0
+#endif /* ACE_AS_STATIC_LIBS && PROCESSCOLOCATION_EXEC_HAS_DLL */
+
+#if !defined (PROCESSCOLOCATION_EXEC_HAS_DLL)
+# define PROCESSCOLOCATION_EXEC_HAS_DLL 1
+#endif /* ! PROCESSCOLOCATION_EXEC_HAS_DLL */
+
+#if defined (PROCESSCOLOCATION_EXEC_HAS_DLL) && (PROCESSCOLOCATION_EXEC_HAS_DLL == 1)
+# if defined (PROCESSCOLOCATION_EXEC_BUILD_DLL)
+# define PROCESSCOLOCATION_EXEC_Export ACE_Proper_Export_Flag
+# define PROCESSCOLOCATION_EXEC_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
+# define PROCESSCOLOCATION_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
+# else /* PROCESSCOLOCATION_EXEC_BUILD_DLL */
+# define PROCESSCOLOCATION_EXEC_Export ACE_Proper_Import_Flag
+# define PROCESSCOLOCATION_EXEC_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
+# define PROCESSCOLOCATION_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
+# endif /* PROCESSCOLOCATION_EXEC_BUILD_DLL */
+#else /* PROCESSCOLOCATION_EXEC_HAS_DLL == 1 */
+# define PROCESSCOLOCATION_EXEC_Export
+# define PROCESSCOLOCATION_EXEC_SINGLETON_DECLARATION(T)
+# define PROCESSCOLOCATION_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
+#endif /* PROCESSCOLOCATION_EXEC_HAS_DLL == 1 */
+
+// Set PROCESSCOLOCATION_EXEC_NTRACE = 0 to turn on library specific tracing even if
+// tracing is turned off for ACE.
+#if !defined (PROCESSCOLOCATION_EXEC_NTRACE)
+# if (ACE_NTRACE == 1)
+# define PROCESSCOLOCATION_EXEC_NTRACE 1
+# else /* (ACE_NTRACE == 1) */
+# define PROCESSCOLOCATION_EXEC_NTRACE 0
+# endif /* (ACE_NTRACE == 1) */
+#endif /* !PROCESSCOLOCATION_EXEC_NTRACE */
+
+#if (PROCESSCOLOCATION_EXEC_NTRACE == 1)
+# define PROCESSCOLOCATION_EXEC_TRACE(X)
+#else /* (PROCESSCOLOCATION_EXEC_NTRACE == 1) */
+# if !defined (ACE_HAS_TRACE)
+# define ACE_HAS_TRACE
+# endif /* ACE_HAS_TRACE */
+# define PROCESSCOLOCATION_EXEC_TRACE(X) ACE_TRACE_IMPL(X)
+# include "ace/Trace.h"
+#endif /* (PROCESSCOLOCATION_EXEC_NTRACE == 1) */
+
+#endif /* PROCESSCOLOCATION_EXEC_EXPORT_H */
+
+// End of auto generated file.
diff --git a/modules/CIAO/DAnCE/tests/CIAO/Components/ProcessColocation_stub_export.h b/modules/CIAO/DAnCE/tests/CIAO/Components/ProcessColocation_stub_export.h
new file mode 100644
index 00000000000..15041a8225b
--- /dev/null
+++ b/modules/CIAO/DAnCE/tests/CIAO/Components/ProcessColocation_stub_export.h
@@ -0,0 +1,58 @@
+
+// -*- C++ -*-
+// $Id$
+// Definition for Win32 Export directives.
+// This file is generated automatically by generate_export_file.pl PROCESSCOLOCATION_STUB
+// ------------------------------
+#ifndef PROCESSCOLOCATION_STUB_EXPORT_H
+#define PROCESSCOLOCATION_STUB_EXPORT_H
+
+#include "ace/config-all.h"
+
+#if defined (ACE_AS_STATIC_LIBS) && !defined (PROCESSCOLOCATION_STUB_HAS_DLL)
+# define PROCESSCOLOCATION_STUB_HAS_DLL 0
+#endif /* ACE_AS_STATIC_LIBS && PROCESSCOLOCATION_STUB_HAS_DLL */
+
+#if !defined (PROCESSCOLOCATION_STUB_HAS_DLL)
+# define PROCESSCOLOCATION_STUB_HAS_DLL 1
+#endif /* ! PROCESSCOLOCATION_STUB_HAS_DLL */
+
+#if defined (PROCESSCOLOCATION_STUB_HAS_DLL) && (PROCESSCOLOCATION_STUB_HAS_DLL == 1)
+# if defined (PROCESSCOLOCATION_STUB_BUILD_DLL)
+# define PROCESSCOLOCATION_STUB_Export ACE_Proper_Export_Flag
+# define PROCESSCOLOCATION_STUB_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
+# define PROCESSCOLOCATION_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
+# else /* PROCESSCOLOCATION_STUB_BUILD_DLL */
+# define PROCESSCOLOCATION_STUB_Export ACE_Proper_Import_Flag
+# define PROCESSCOLOCATION_STUB_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
+# define PROCESSCOLOCATION_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
+# endif /* PROCESSCOLOCATION_STUB_BUILD_DLL */
+#else /* PROCESSCOLOCATION_STUB_HAS_DLL == 1 */
+# define PROCESSCOLOCATION_STUB_Export
+# define PROCESSCOLOCATION_STUB_SINGLETON_DECLARATION(T)
+# define PROCESSCOLOCATION_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
+#endif /* PROCESSCOLOCATION_STUB_HAS_DLL == 1 */
+
+// Set PROCESSCOLOCATION_STUB_NTRACE = 0 to turn on library specific tracing even if
+// tracing is turned off for ACE.
+#if !defined (PROCESSCOLOCATION_STUB_NTRACE)
+# if (ACE_NTRACE == 1)
+# define PROCESSCOLOCATION_STUB_NTRACE 1
+# else /* (ACE_NTRACE == 1) */
+# define PROCESSCOLOCATION_STUB_NTRACE 0
+# endif /* (ACE_NTRACE == 1) */
+#endif /* !PROCESSCOLOCATION_STUB_NTRACE */
+
+#if (PROCESSCOLOCATION_STUB_NTRACE == 1)
+# define PROCESSCOLOCATION_STUB_TRACE(X)
+#else /* (PROCESSCOLOCATION_STUB_NTRACE == 1) */
+# if !defined (ACE_HAS_TRACE)
+# define ACE_HAS_TRACE
+# endif /* ACE_HAS_TRACE */
+# define PROCESSCOLOCATION_STUB_TRACE(X) ACE_TRACE_IMPL(X)
+# include "ace/Trace.h"
+#endif /* (PROCESSCOLOCATION_STUB_NTRACE == 1) */
+
+#endif /* PROCESSCOLOCATION_STUB_EXPORT_H */
+
+// End of auto generated file.
diff --git a/modules/CIAO/DAnCE/tests/CIAO/Components/ProcessColocation_svnt_export.h b/modules/CIAO/DAnCE/tests/CIAO/Components/ProcessColocation_svnt_export.h
new file mode 100644
index 00000000000..d5a2184f0dc
--- /dev/null
+++ b/modules/CIAO/DAnCE/tests/CIAO/Components/ProcessColocation_svnt_export.h
@@ -0,0 +1,58 @@
+
+// -*- C++ -*-
+// $Id$
+// Definition for Win32 Export directives.
+// This file is generated automatically by generate_export_file.pl PROCESSCOLOCATION_SVNT
+// ------------------------------
+#ifndef PROCESSCOLOCATION_SVNT_EXPORT_H
+#define PROCESSCOLOCATION_SVNT_EXPORT_H
+
+#include "ace/config-all.h"
+
+#if defined (ACE_AS_STATIC_LIBS) && !defined (PROCESSCOLOCATION_SVNT_HAS_DLL)
+# define PROCESSCOLOCATION_SVNT_HAS_DLL 0
+#endif /* ACE_AS_STATIC_LIBS && PROCESSCOLOCATION_SVNT_HAS_DLL */
+
+#if !defined (PROCESSCOLOCATION_SVNT_HAS_DLL)
+# define PROCESSCOLOCATION_SVNT_HAS_DLL 1
+#endif /* ! PROCESSCOLOCATION_SVNT_HAS_DLL */
+
+#if defined (PROCESSCOLOCATION_SVNT_HAS_DLL) && (PROCESSCOLOCATION_SVNT_HAS_DLL == 1)
+# if defined (PROCESSCOLOCATION_SVNT_BUILD_DLL)
+# define PROCESSCOLOCATION_SVNT_Export ACE_Proper_Export_Flag
+# define PROCESSCOLOCATION_SVNT_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
+# define PROCESSCOLOCATION_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
+# else /* PROCESSCOLOCATION_SVNT_BUILD_DLL */
+# define PROCESSCOLOCATION_SVNT_Export ACE_Proper_Import_Flag
+# define PROCESSCOLOCATION_SVNT_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
+# define PROCESSCOLOCATION_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
+# endif /* PROCESSCOLOCATION_SVNT_BUILD_DLL */
+#else /* PROCESSCOLOCATION_SVNT_HAS_DLL == 1 */
+# define PROCESSCOLOCATION_SVNT_Export
+# define PROCESSCOLOCATION_SVNT_SINGLETON_DECLARATION(T)
+# define PROCESSCOLOCATION_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
+#endif /* PROCESSCOLOCATION_SVNT_HAS_DLL == 1 */
+
+// Set PROCESSCOLOCATION_SVNT_NTRACE = 0 to turn on library specific tracing even if
+// tracing is turned off for ACE.
+#if !defined (PROCESSCOLOCATION_SVNT_NTRACE)
+# if (ACE_NTRACE == 1)
+# define PROCESSCOLOCATION_SVNT_NTRACE 1
+# else /* (ACE_NTRACE == 1) */
+# define PROCESSCOLOCATION_SVNT_NTRACE 0
+# endif /* (ACE_NTRACE == 1) */
+#endif /* !PROCESSCOLOCATION_SVNT_NTRACE */
+
+#if (PROCESSCOLOCATION_SVNT_NTRACE == 1)
+# define PROCESSCOLOCATION_SVNT_TRACE(X)
+#else /* (PROCESSCOLOCATION_SVNT_NTRACE == 1) */
+# if !defined (ACE_HAS_TRACE)
+# define ACE_HAS_TRACE
+# endif /* ACE_HAS_TRACE */
+# define PROCESSCOLOCATION_SVNT_TRACE(X) ACE_TRACE_IMPL(X)
+# include "ace/Trace.h"
+#endif /* (PROCESSCOLOCATION_SVNT_NTRACE == 1) */
+
+#endif /* PROCESSCOLOCATION_SVNT_EXPORT_H */
+
+// End of auto generated file.
diff --git a/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleAttribute_exec.cpp b/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleAttribute_exec.cpp
index 0e7973de7ac..05b859b1ee2 100644
--- a/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleAttribute_exec.cpp
+++ b/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleAttribute_exec.cpp
@@ -1,258 +1,241 @@
-// $Id$
+// -*- C++ -*-
//
-// **** Code generated by the ****
-// **** Component Integrated ACE ORB (CIAO) CIDL Compiler ****
-// CIAO has been developed by:
+// $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
-// CIDL Compiler has been developed by:
+// 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 CIAO is available at:
-// http://www.dre.vanderbilt.edu/CIAO
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+// TAO_IDL - Generated from
+// be/be_codegen.cpp:1372
#include "SimpleAttribute_exec.h"
#include "ciao/CIAO_common.h"
namespace CIAO_Simple_SimpleAttribute_Impl
{
- //==================================================================
- // Component Executor Implementation Class: SimpleAttribute_exec_i
- //==================================================================
-
+ //============================================================
+ // Component Executor Implementation Class: SimpleAttribute_exec_i
+ //============================================================
+
SimpleAttribute_exec_i::SimpleAttribute_exec_i (void)
- : str_ (""),
- long_(-1),
- short_(-1)
{
}
-
+
SimpleAttribute_exec_i::~SimpleAttribute_exec_i (void)
{
}
-
- // Supported or inherited operations.
-
- // Attribute operations.
-
+
+ // Supported operations and attributes.
+
+ // Component attributes.
+
char *
- SimpleAttribute_exec_i::str_attr ()
+ SimpleAttribute_exec_i::str_attr (void)
{
- // Your code here.
- return CORBA::string_dup (str_.c_str ());
+ /* Your code here. */
+ return 0;
}
-
+
void
- SimpleAttribute_exec_i::str_attr (const char * str)
+ SimpleAttribute_exec_i::str_attr (
+ const char * /* str_attr */)
{
- CIAO_TRACE ("SimpleAttribute_exec_i::str_attr");
- // Your code here.
- this->str_ = str;
+ /* Your code here. */
}
-
+
::CORBA::Long
- SimpleAttribute_exec_i::long_attr ()
+ SimpleAttribute_exec_i::long_attr (void)
{
- CIAO_TRACE ("SimpleAttribute_exec_i::long_attr");
- // Your code here.
- return long_;
+ /* Your code here. */
+ return 0;
}
-
+
void
- SimpleAttribute_exec_i::long_attr (::CORBA::Long long_attr )
+ SimpleAttribute_exec_i::long_attr (
+ ::CORBA::Long /* long_attr */)
{
- CIAO_TRACE ("SimpleAttribute_exec_i::long_attr");
- // Your code here.
- this->long_ = long_attr;
+ /* Your code here. */
}
-
+
::CORBA::Short
- SimpleAttribute_exec_i::short_attr ()
+ SimpleAttribute_exec_i::short_attr (void)
{
- // Your code here.
- return short_;
+ /* Your code here. */
+ return 0;
}
-
+
void
- SimpleAttribute_exec_i::short_attr (::CORBA::Short short_attr )
+ SimpleAttribute_exec_i::short_attr (
+ ::CORBA::Short /* short_attr */)
{
- CIAO_TRACE ("SimpleAttribute_exec_i::short_attr");
- // Your code here.
- this->short_ = short_attr;
+ /* Your code here. */
}
-
+
// Port operations.
-
- // Operations from Components::SessionComponent
-
+
+ // Operations from Components::SessionComponent.
+
void
SimpleAttribute_exec_i::set_session_context (
::Components::SessionContext_ptr ctx)
{
this->context_ =
::Simple::CCM_SimpleAttribute_Context::_narrow (ctx);
-
- if (CORBA::is_nil (this->context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
+
+ if ( ::CORBA::is_nil (this->context_.in ()))
+ {
+ throw ::CORBA::INTERNAL ();
+ }
}
-
+
void
- SimpleAttribute_exec_i::configuration_complete ()
+ SimpleAttribute_exec_i::configuration_complete (void)
{
- // Your code here.
+ /* Your code here. */
}
-
+
void
- SimpleAttribute_exec_i::ccm_activate ()
+ SimpleAttribute_exec_i::ccm_activate (void)
{
- // Your code here.
- if (this->str_ == "" ||
- this->long_ == -1 ||
- this->short_ == -1)
- {
- CIAO_ERROR ((LM_ERROR, "SimpleAttribute_exec_i::ccm_activate - "
- "Error: Attribute values didin't initialize correctly!\n"));
- }
- else
- {
- CIAO_DEBUG ((LM_EMERGENCY, "SimpleAttribute_exec_i::ccm_activate - "
- "Test passed! String attribute is %s\n",
- this->str_.c_str ()));
- }
-
+ /* Your code here. */
}
-
+
void
- SimpleAttribute_exec_i::ccm_passivate ()
+ SimpleAttribute_exec_i::ccm_passivate (void)
{
- // Your code here.
+ /* Your code here. */
}
-
+
void
- SimpleAttribute_exec_i::ccm_remove ()
+ SimpleAttribute_exec_i::ccm_remove (void)
{
- // Your code here.
+ /* Your code here. */
}
+
+ extern "C" SIMPLEATTRIBUTE_EXEC_Export ::Components::EnterpriseComponent_ptr
+ create_Simple_SimpleAttribute_Impl (void)
+ {
+ ::Components::EnterpriseComponent_ptr retval =
+ ::Components::EnterpriseComponent::_nil ();
+
+ ACE_NEW_RETURN (
+ retval,
+ SimpleAttribute_exec_i,
+ ::Components::EnterpriseComponent::_nil ());
+
+ return retval;
+ }
+}
- //==================================================================
- // Home Executor Implementation Class: SimpleAttributeHome_exec_i
- //==================================================================
-
+namespace CIAO_Simple_SimpleAttribute_Impl
+{
+ //============================================================
+ // Home Executor Implementation Class: SimpleAttributeHome_exec_i
+ //============================================================
+
SimpleAttributeHome_exec_i::SimpleAttributeHome_exec_i (void)
- : str_ (""),
- long_(-1),
- short_(-1)
{
}
-
+
SimpleAttributeHome_exec_i::~SimpleAttributeHome_exec_i (void)
{
}
-
- // Supported or inherited operations.
-
- // Home operations.
-
- // Factory and finder operations.
-
- // Attribute operations.
-
-
+
+ // All operations and attributes.
+
char *
- SimpleAttributeHome_exec_i::str_attr ()
+ SimpleAttributeHome_exec_i::str_attr (void)
{
- // Your code here.
- return CORBA::string_dup (str_.c_str ());
+ /* Your code here. */
+ return 0;
}
-
+
void
- SimpleAttributeHome_exec_i::str_attr (const char * str)
+ SimpleAttributeHome_exec_i::str_attr (
+ const char * /* str_attr */)
{
- CIAO_TRACE ("SimpleAttributeHome_exec_i::str_attr");
- // Your code here.
- this->str_ = str;
+ /* Your code here. */
}
-
+
::CORBA::Long
- SimpleAttributeHome_exec_i::long_attr ()
+ SimpleAttributeHome_exec_i::long_attr (void)
{
- CIAO_TRACE ("SimpleAttributeHome_exec_i::long_attr");
- // Your code here.
- return long_;
+ /* Your code here. */
+ return 0;
}
-
+
void
- SimpleAttributeHome_exec_i::long_attr (::CORBA::Long long_attr )
+ SimpleAttributeHome_exec_i::long_attr (
+ ::CORBA::Long /* long_attr */)
{
- CIAO_TRACE ("SimpleAttributeHome_exec_i::long_attr");
- // Your code here.
- this->long_ = long_attr;
+ /* Your code here. */
}
-
+
::CORBA::Short
- SimpleAttributeHome_exec_i::short_attr ()
+ SimpleAttributeHome_exec_i::short_attr (void)
{
- // Your code here.
- return short_;
+ /* Your code here. */
+ return 0;
}
-
+
void
- SimpleAttributeHome_exec_i::short_attr (::CORBA::Short short_attr )
+ SimpleAttributeHome_exec_i::short_attr (
+ ::CORBA::Short /* short_attr */)
{
- CIAO_TRACE ("SimpleAttributeHome_exec_i::short_attr");
- // Your code here.
- this->short_ = short_attr;
+ /* Your code here. */
}
-
+
+ // Factory operations.
+
+ // Finder operations.
+
// Implicit operations.
-
+
::Components::EnterpriseComponent_ptr
- SimpleAttributeHome_exec_i::create ()
+ SimpleAttributeHome_exec_i::create (void)
{
- if (this->str_ == "" ||
- this->long_ == -1 ||
- this->short_ == -1)
- {
- CIAO_ERROR ((LM_ERROR, "SimpleAttribute_exec_i::ccm_activate - "
- "Error: Attribute values didin't initialize correctly!\n"));
- }
- else
- {
- CIAO_DEBUG ((LM_EMERGENCY, "SimpleAttributeHome_exec_i::create - "
- "Test passed! String attribute is %s\n",
- this->str_.c_str ()));
- }
::Components::EnterpriseComponent_ptr retval =
::Components::EnterpriseComponent::_nil ();
-
+
ACE_NEW_THROW_EX (
retval,
SimpleAttribute_exec_i,
::CORBA::NO_MEMORY ());
-
+
return retval;
}
-
+
extern "C" SIMPLEATTRIBUTE_EXEC_Export ::Components::HomeExecutorBase_ptr
create_Simple_SimpleAttributeHome_Impl (void)
{
::Components::HomeExecutorBase_ptr retval =
::Components::HomeExecutorBase::_nil ();
-
+
ACE_NEW_RETURN (
retval,
SimpleAttributeHome_exec_i,
::Components::HomeExecutorBase::_nil ());
-
+
return retval;
}
}
diff --git a/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleAttribute_exec.h b/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleAttribute_exec.h
index 3a7b3eff867..7816da4b66e 100644
--- a/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleAttribute_exec.h
+++ b/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleAttribute_exec.h
@@ -1,25 +1,35 @@
-// $Id$
+// -*- C++ -*-
//
-// **** Code generated by the ****
-// **** Component Integrated ACE ORB (CIAO) CIDL Compiler ****
-// CIAO has been developed by:
+// $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
-// CIDL Compiler has been developed by:
+// 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 CIAO is available at:
-// http://www.dre.vanderbilt.edu/CIAO
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+// TAO_IDL - Generated from
+// be/be_codegen.cpp:1301
-#ifndef CIAO_SIMPLEATTRIBUTE_EXEC_H
-#define CIAO_SIMPLEATTRIBUTE_EXEC_H
+#ifndef CIAO_SIMPLEATTRIBUTE_EXEC_H_
+#define CIAO_SIMPLEATTRIBUTE_EXEC_H_
#include /**/ "ace/pre.h"
@@ -29,7 +39,7 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#include "SimpleAttribute_exec_export.h"
+#include /**/ "SimpleAttribute_exec_export.h"
#include "tao/LocalObject.h"
namespace CIAO_Simple_SimpleAttribute_Impl
@@ -38,104 +48,142 @@ namespace CIAO_Simple_SimpleAttribute_Impl
: public virtual SimpleAttribute_Exec,
public virtual ::CORBA::LocalObject
{
- public:
+ public:
SimpleAttribute_exec_i (void);
virtual ~SimpleAttribute_exec_i (void);
-
- // Supported or inherited operations.
-
- // Attribute operations.
-
+
+ // Supported operations and attributes.
+
+ // Component attributes.
+
+ // TAO_IDL - Generated from
+ // be/be_visitor_operation/operation_ch.cpp:46
+
virtual char *
- str_attr ();
-
+ str_attr (void);
+
+ // TAO_IDL - Generated from
+ // be/be_visitor_operation/operation_ch.cpp:46
+
virtual void
- str_attr (const char * str_attr);
-
+ str_attr (
+ const char * str_attr);
+
+ // TAO_IDL - Generated from
+ // be/be_visitor_operation/operation_ch.cpp:46
+
virtual ::CORBA::Long
- long_attr ();
-
+ long_attr (void);
+
+ // TAO_IDL - Generated from
+ // be/be_visitor_operation/operation_ch.cpp:46
+
virtual void
- long_attr (::CORBA::Long long_attr);
-
+ long_attr (
+ ::CORBA::Long long_attr);
+
+ // TAO_IDL - Generated from
+ // be/be_visitor_operation/operation_ch.cpp:46
+
virtual ::CORBA::Short
- short_attr ();
-
+ short_attr (void);
+
+ // TAO_IDL - Generated from
+ // be/be_visitor_operation/operation_ch.cpp:46
+
virtual void
- short_attr (::CORBA::Short short_attr);
-
+ short_attr (
+ ::CORBA::Short short_attr);
+
// Port operations.
-
- // Operations from Components::SessionComponent
-
+
+ // Operations from Components::SessionComponent.
+
virtual void
set_session_context (
::Components::SessionContext_ptr ctx);
-
- virtual void configuration_complete ();
-
- virtual void ccm_activate ();
-
- virtual void ccm_passivate ();
-
- virtual void ccm_remove ();
-
- private:
+
+ virtual void configuration_complete (void);
+
+ virtual void ccm_activate (void);
+ virtual void ccm_passivate (void);
+ virtual void ccm_remove (void);
+
+ private:
::Simple::CCM_SimpleAttribute_Context_var context_;
- ACE_CString str_;
- ::CORBA::Long long_;
- ::CORBA::Short short_;
};
+
+ extern "C" SIMPLEATTRIBUTE_EXEC_Export ::Components::EnterpriseComponent_ptr
+ create_Simple_SimpleAttribute_Impl (void);
+}
+namespace CIAO_Simple_SimpleAttribute_Impl
+{
class SIMPLEATTRIBUTE_EXEC_Export SimpleAttributeHome_exec_i
: public virtual SimpleAttributeHome_Exec,
public virtual ::CORBA::LocalObject
{
- public:
+ public:
SimpleAttributeHome_exec_i (void);
+
virtual ~SimpleAttributeHome_exec_i (void);
-
- // Supported or inherited operations.
-
- // Home operations.
-
- // Factory and finder operations.
-
- // Attribute operations.
-
+
+ // All operations and attributes.
+
+ // TAO_IDL - Generated from
+ // be/be_visitor_operation/operation_ch.cpp:46
+
virtual char *
- str_attr ();
-
+ str_attr (void);
+
+ // TAO_IDL - Generated from
+ // be/be_visitor_operation/operation_ch.cpp:46
+
virtual void
- str_attr (const char * str_attr);
-
+ str_attr (
+ const char * str_attr);
+
+ // TAO_IDL - Generated from
+ // be/be_visitor_operation/operation_ch.cpp:46
+
virtual ::CORBA::Long
- long_attr ();
-
+ long_attr (void);
+
+ // TAO_IDL - Generated from
+ // be/be_visitor_operation/operation_ch.cpp:46
+
virtual void
- long_attr (::CORBA::Long long_attr);
-
+ long_attr (
+ ::CORBA::Long long_attr);
+
+ // TAO_IDL - Generated from
+ // be/be_visitor_operation/operation_ch.cpp:46
+
virtual ::CORBA::Short
- short_attr ();
-
+ short_attr (void);
+
+ // TAO_IDL - Generated from
+ // be/be_visitor_operation/operation_ch.cpp:46
+
virtual void
- short_attr (::CORBA::Short short_attr);
-
+ short_attr (
+ ::CORBA::Short short_attr);
+
+ // Factory operations.
+
+ // Finder operations.
+
// Implicit operations.
-
+
virtual ::Components::EnterpriseComponent_ptr
- create ();
- private:
- ACE_CString str_;
- ::CORBA::Long long_;
- ::CORBA::Short short_;
+ create (void);
};
-
+
extern "C" SIMPLEATTRIBUTE_EXEC_Export ::Components::HomeExecutorBase_ptr
create_Simple_SimpleAttributeHome_Impl (void);
}
#include /**/ "ace/post.h"
-#endif /* CIAO_SIMPLEATTRIBUTE_EXEC_H */
+#endif /* ifndef */
diff --git a/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleConsumer_exec.cpp b/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleConsumer_exec.cpp
index 499d216e7ae..4526ed6eef8 100644
--- a/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleConsumer_exec.cpp
+++ b/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleConsumer_exec.cpp
@@ -1,155 +1,164 @@
-// $Id$
+// -*- C++ -*-
//
-// **** Code generated by the ****
-// **** Component Integrated ACE ORB (CIAO) CIDL Compiler ****
-// CIAO has been developed by:
+// $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
-// CIDL Compiler has been developed by:
+// 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 CIAO is available at:
-// http://www.dre.vanderbilt.edu/CIAO
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+// TAO_IDL - Generated from
+// be/be_codegen.cpp:1372
#include "SimpleConsumer_exec.h"
#include "ciao/CIAO_common.h"
namespace CIAO_Simple_SimpleConsumer_Impl
{
- //==================================================================
- // Component Executor Implementation Class: SimpleConsumer_exec_i
- //==================================================================
-
+ //============================================================
+ // Component Executor Implementation Class: SimpleConsumer_exec_i
+ //============================================================
+
SimpleConsumer_exec_i::SimpleConsumer_exec_i (void)
{
- CIAO_TRACE ("SimpleConsumer_exec_i::SimpleConsumer_exec_i (void)");
}
-
+
SimpleConsumer_exec_i::~SimpleConsumer_exec_i (void)
{
- CIAO_TRACE ("SimpleConsumer_exec_i::~SimpleConsumer_exec_i (void)");
}
-
- // Supported or inherited operations.
-
- // Attribute operations.
-
+
+ // Supported operations and attributes.
+
+ // Component attributes.
+
// Port operations.
-
+
void
SimpleConsumer_exec_i::push_hello_ (
- ::Simple::Hello * ev )
+ ::Simple::Hello * /* ev */)
{
- CIAO_TRACE ("SimpleConsumer_exec_i::push_hello_ ()");
- // Your code here.
-
- CIAO_DEBUG ((LM_EMERGENCY, "SimpleConsumer_exec_i::push_hello_ - "
- "Received hello event, value is %s\n", ev->hello_ ()));
+ /* Your code here. */
}
-
- // Operations from Components::SessionComponent
-
+
+ // Operations from Components::SessionComponent.
+
void
SimpleConsumer_exec_i::set_session_context (
::Components::SessionContext_ptr ctx)
{
- CIAO_TRACE ("SimpleConsumer_exec_i::set_session_context ()");
-
this->context_ =
::Simple::CCM_SimpleConsumer_Context::_narrow (ctx);
-
- if (CORBA::is_nil (this->context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
+
+ if ( ::CORBA::is_nil (this->context_.in ()))
+ {
+ throw ::CORBA::INTERNAL ();
+ }
}
-
+
void
- SimpleConsumer_exec_i::configuration_complete ()
+ SimpleConsumer_exec_i::configuration_complete (void)
{
- CIAO_TRACE ("SimpleConsumer_exec_i::configuration_complete ()");
- // Your code here.
+ /* Your code here. */
}
-
+
void
- SimpleConsumer_exec_i::ccm_activate ()
+ SimpleConsumer_exec_i::ccm_activate (void)
{
- CIAO_TRACE ("SimpleConsumer_exec_i::ccm_activate ()");
- // Your code here.
+ /* Your code here. */
}
-
+
void
- SimpleConsumer_exec_i::ccm_passivate ()
+ SimpleConsumer_exec_i::ccm_passivate (void)
{
- CIAO_TRACE ("SimpleConsumer_exec_i::ccm_passivate ()");
- // Your code here.
+ /* Your code here. */
}
-
+
void
- SimpleConsumer_exec_i::ccm_remove ()
+ SimpleConsumer_exec_i::ccm_remove (void)
{
- CIAO_TRACE ("SimpleConsumer_exec_i::ccm_remove ()");
- // Your code here.
+ /* Your code here. */
}
+
+ extern "C" SIMPLECONSUMER_EXEC_Export ::Components::EnterpriseComponent_ptr
+ create_Simple_SimpleConsumer_Impl (void)
+ {
+ ::Components::EnterpriseComponent_ptr retval =
+ ::Components::EnterpriseComponent::_nil ();
+
+ ACE_NEW_RETURN (
+ retval,
+ SimpleConsumer_exec_i,
+ ::Components::EnterpriseComponent::_nil ());
+
+ return retval;
+ }
+}
- //==================================================================
- // Home Executor Implementation Class: SimpleConsumerHome_exec_i
- //==================================================================
-
+namespace CIAO_Simple_SimpleConsumer_Impl
+{
+ //============================================================
+ // Home Executor Implementation Class: SimpleConsumerHome_exec_i
+ //============================================================
+
SimpleConsumerHome_exec_i::SimpleConsumerHome_exec_i (void)
{
- CIAO_TRACE ("SimpleConsumerHome_exec_i::SimpleConsumerHome_exec_i (void)");
}
-
+
SimpleConsumerHome_exec_i::~SimpleConsumerHome_exec_i (void)
{
- CIAO_TRACE ("SimpleConsumerHome_exec_i::~SimpleConsumerHome_exec_i (void)");
}
-
- // Supported or inherited operations.
-
- // Home operations.
-
- // Factory and finder operations.
-
- // Attribute operations.
-
+
+ // All operations and attributes.
+
+ // Factory operations.
+
+ // Finder operations.
+
// Implicit operations.
-
+
::Components::EnterpriseComponent_ptr
- SimpleConsumerHome_exec_i::create ()
+ SimpleConsumerHome_exec_i::create (void)
{
- CIAO_TRACE ("SimpleConsumerHome_exec_i::create ()");
::Components::EnterpriseComponent_ptr retval =
::Components::EnterpriseComponent::_nil ();
-
+
ACE_NEW_THROW_EX (
retval,
SimpleConsumer_exec_i,
::CORBA::NO_MEMORY ());
-
+
return retval;
}
-
+
extern "C" SIMPLECONSUMER_EXEC_Export ::Components::HomeExecutorBase_ptr
create_Simple_SimpleConsumerHome_Impl (void)
{
- CIAO_TRACE ("create_Simple_SimpleConsumerHome_Impl (void)");
::Components::HomeExecutorBase_ptr retval =
::Components::HomeExecutorBase::_nil ();
-
+
ACE_NEW_RETURN (
retval,
SimpleConsumerHome_exec_i,
::Components::HomeExecutorBase::_nil ());
-
+
return retval;
}
}
diff --git a/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleConsumer_exec.h b/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleConsumer_exec.h
index fa2e39d384a..acb564e2f34 100644
--- a/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleConsumer_exec.h
+++ b/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleConsumer_exec.h
@@ -1,25 +1,35 @@
-// $Id$
+// -*- C++ -*-
//
-// **** Code generated by the ****
-// **** Component Integrated ACE ORB (CIAO) CIDL Compiler ****
-// CIAO has been developed by:
+// $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
-// CIDL Compiler has been developed by:
+// 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 CIAO is available at:
-// http://www.dre.vanderbilt.edu/CIAO
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
-#ifndef CIAO_SIMPLECONSUMER_EXEC_H
-#define CIAO_SIMPLECONSUMER_EXEC_H
+// TAO_IDL - Generated from
+// be/be_codegen.cpp:1301
+
+#ifndef CIAO_SIMPLECONSUMER_EXEC_H_
+#define CIAO_SIMPLECONSUMER_EXEC_H_
#include /**/ "ace/pre.h"
@@ -29,7 +39,7 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#include "SimpleConsumer_exec_export.h"
+#include /**/ "SimpleConsumer_exec_export.h"
#include "tao/LocalObject.h"
namespace CIAO_Simple_SimpleConsumer_Impl
@@ -38,65 +48,68 @@ namespace CIAO_Simple_SimpleConsumer_Impl
: public virtual SimpleConsumer_Exec,
public virtual ::CORBA::LocalObject
{
- public:
+ public:
SimpleConsumer_exec_i (void);
virtual ~SimpleConsumer_exec_i (void);
-
- // Supported or inherited operations.
-
- // Attribute operations.
-
+
+ // Supported operations and attributes.
+
+ // Component attributes.
+
// Port operations.
-
+
virtual void
push_hello_ (
- ::Simple::Hello *ev);
-
- // Operations from Components::SessionComponent
-
+ ::Simple::Hello * ev);
+
+ // Operations from Components::SessionComponent.
+
virtual void
set_session_context (
::Components::SessionContext_ptr ctx);
-
- virtual void configuration_complete ();
-
- virtual void ccm_activate ();
-
- virtual void ccm_passivate ();
-
- virtual void ccm_remove ();
-
- private:
+
+ virtual void configuration_complete (void);
+
+ virtual void ccm_activate (void);
+ virtual void ccm_passivate (void);
+ virtual void ccm_remove (void);
+
+ private:
::Simple::CCM_SimpleConsumer_Context_var context_;
};
+
+ extern "C" SIMPLECONSUMER_EXEC_Export ::Components::EnterpriseComponent_ptr
+ create_Simple_SimpleConsumer_Impl (void);
+}
+namespace CIAO_Simple_SimpleConsumer_Impl
+{
class SIMPLECONSUMER_EXEC_Export SimpleConsumerHome_exec_i
: public virtual SimpleConsumerHome_Exec,
public virtual ::CORBA::LocalObject
{
- public:
+ public:
SimpleConsumerHome_exec_i (void);
+
virtual ~SimpleConsumerHome_exec_i (void);
-
- // Supported or inherited operations.
-
- // Home operations.
-
- // Factory and finder operations.
-
- // Attribute operations.
-
+
+ // All operations and attributes.
+
+ // Factory operations.
+
+ // Finder operations.
+
// Implicit operations.
-
+
virtual ::Components::EnterpriseComponent_ptr
- create ();
+ create (void);
};
-
+
extern "C" SIMPLECONSUMER_EXEC_Export ::Components::HomeExecutorBase_ptr
create_Simple_SimpleConsumerHome_Impl (void);
}
#include /**/ "ace/post.h"
-#endif /* CIAO_SIMPLECONSUMER_EXEC_H */
+#endif /* ifndef */
diff --git a/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleEmitter_exec.cpp b/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleEmitter_exec.cpp
index 436118242de..17057332e4f 100644
--- a/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleEmitter_exec.cpp
+++ b/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleEmitter_exec.cpp
@@ -1,148 +1,157 @@
-// $Id$
+// -*- C++ -*-
//
-// **** Code generated by the ****
-// **** Component Integrated ACE ORB (CIAO) CIDL Compiler ****
-// CIAO has been developed by:
+// $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
-// CIDL Compiler has been developed by:
+// 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 CIAO is available at:
-// http://www.dre.vanderbilt.edu/CIAO
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+// TAO_IDL - Generated from
+// be/be_codegen.cpp:1372
#include "SimpleEmitter_exec.h"
#include "ciao/CIAO_common.h"
namespace CIAO_Simple_SimpleEmitter_Impl
{
- //==================================================================
- // Component Executor Implementation Class: SimpleEmitter_exec_i
- //==================================================================
-
+ //============================================================
+ // Component Executor Implementation Class: SimpleEmitter_exec_i
+ //============================================================
+
SimpleEmitter_exec_i::SimpleEmitter_exec_i (void)
{
- CIAO_TRACE ("SimpleEmitter_exec_i::SimpleEmitter_exec_i (void)");
}
-
+
SimpleEmitter_exec_i::~SimpleEmitter_exec_i (void)
{
- CIAO_TRACE ("SimpleEmitter_exec_i::~SimpleEmitter_exec_i (void)");
}
-
- // Supported or inherited operations.
-
- // Attribute operations.
-
+
+ // Supported operations and attributes.
+
+ // Component attributes.
+
// Port operations.
-
- // Operations from Components::SessionComponent
-
+
+ // Operations from Components::SessionComponent.
+
void
SimpleEmitter_exec_i::set_session_context (
::Components::SessionContext_ptr ctx)
{
- CIAO_TRACE ("SimpleEmitter_exec_i::set_session_context ()");
this->context_ =
::Simple::CCM_SimpleEmitter_Context::_narrow (ctx);
-
- if (CORBA::is_nil (this->context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
+
+ if ( ::CORBA::is_nil (this->context_.in ()))
+ {
+ throw ::CORBA::INTERNAL ();
+ }
}
-
+
void
- SimpleEmitter_exec_i::configuration_complete ()
+ SimpleEmitter_exec_i::configuration_complete (void)
{
- CIAO_TRACE ("SimpleEmitter_exec_i::configuration_complete ()");
- // Your code here.
+ /* Your code here. */
}
-
+
void
- SimpleEmitter_exec_i::ccm_activate ()
+ SimpleEmitter_exec_i::ccm_activate (void)
{
- CIAO_TRACE ("SimpleEmitter_exec_i::ccm_activate ()");
- // Your code here.
-
- ::Simple::Hello_var hello = new OBV_Simple::Hello ("Test successful, hello from SimpleEmitter_exec_i");
-
- this->context_->push_hello (hello._retn ());
+ /* Your code here. */
}
-
+
void
- SimpleEmitter_exec_i::ccm_passivate ()
+ SimpleEmitter_exec_i::ccm_passivate (void)
{
- CIAO_TRACE ("SimpleEmitter_exec_i::ccm_passivate ()");
- // Your code here.
+ /* Your code here. */
}
-
+
void
- SimpleEmitter_exec_i::ccm_remove ()
+ SimpleEmitter_exec_i::ccm_remove (void)
{
- CIAO_TRACE ("SimpleEmitter_exec_i::ccm_remove ()");
- // Your code here.
+ /* Your code here. */
}
+
+ extern "C" SIMPLEEMITTER_EXEC_Export ::Components::EnterpriseComponent_ptr
+ create_Simple_SimpleEmitter_Impl (void)
+ {
+ ::Components::EnterpriseComponent_ptr retval =
+ ::Components::EnterpriseComponent::_nil ();
+
+ ACE_NEW_RETURN (
+ retval,
+ SimpleEmitter_exec_i,
+ ::Components::EnterpriseComponent::_nil ());
+
+ return retval;
+ }
+}
- //==================================================================
- // Home Executor Implementation Class: SimpleEmitterHome_exec_i
- //==================================================================
-
+namespace CIAO_Simple_SimpleEmitter_Impl
+{
+ //============================================================
+ // Home Executor Implementation Class: SimpleEmitterHome_exec_i
+ //============================================================
+
SimpleEmitterHome_exec_i::SimpleEmitterHome_exec_i (void)
{
- CIAO_TRACE ("SimpleEmitterHome_exec_i::SimpleEmitterHome_exec_i (void)");
}
-
+
SimpleEmitterHome_exec_i::~SimpleEmitterHome_exec_i (void)
{
- CIAO_TRACE ("SimpleEmitterHome_exec_i::~SimpleEmitterHome_exec_i (void)");
}
-
- // Supported or inherited operations.
-
- // Home operations.
-
- // Factory and finder operations.
-
- // Attribute operations.
-
+
+ // All operations and attributes.
+
+ // Factory operations.
+
+ // Finder operations.
+
// Implicit operations.
-
+
::Components::EnterpriseComponent_ptr
- SimpleEmitterHome_exec_i::create ()
+ SimpleEmitterHome_exec_i::create (void)
{
- CIAO_TRACE ("SimpleEmitterHome_exec_i::create ()");
-
::Components::EnterpriseComponent_ptr retval =
::Components::EnterpriseComponent::_nil ();
-
+
ACE_NEW_THROW_EX (
retval,
SimpleEmitter_exec_i,
::CORBA::NO_MEMORY ());
-
+
return retval;
}
-
+
extern "C" SIMPLEEMITTER_EXEC_Export ::Components::HomeExecutorBase_ptr
create_Simple_SimpleEmitterHome_Impl (void)
{
- CIAO_TRACE ("create_Simple_SimpleEmitterHome_Impl (void)");
::Components::HomeExecutorBase_ptr retval =
::Components::HomeExecutorBase::_nil ();
-
+
ACE_NEW_RETURN (
retval,
SimpleEmitterHome_exec_i,
::Components::HomeExecutorBase::_nil ());
-
+
return retval;
}
}
diff --git a/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleEmitter_exec.h b/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleEmitter_exec.h
index 32bf579f4c7..b0646d346d2 100644
--- a/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleEmitter_exec.h
+++ b/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleEmitter_exec.h
@@ -1,25 +1,35 @@
-// $Id$
+// -*- C++ -*-
//
-// **** Code generated by the ****
-// **** Component Integrated ACE ORB (CIAO) CIDL Compiler ****
-// CIAO has been developed by:
+// $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
-// CIDL Compiler has been developed by:
+// 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 CIAO is available at:
-// http://www.dre.vanderbilt.edu/CIAO
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
-#ifndef CIAO_SIMPLEEMITTER_EXEC_H
-#define CIAO_SIMPLEEMITTER_EXEC_H
+// TAO_IDL - Generated from
+// be/be_codegen.cpp:1301
+
+#ifndef CIAO_SIMPLEEMITTER_EXEC_H_
+#define CIAO_SIMPLEEMITTER_EXEC_H_
#include /**/ "ace/pre.h"
@@ -29,7 +39,7 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#include "SimpleEmitter_exec_export.h"
+#include /**/ "SimpleEmitter_exec_export.h"
#include "tao/LocalObject.h"
namespace CIAO_Simple_SimpleEmitter_Impl
@@ -38,61 +48,64 @@ namespace CIAO_Simple_SimpleEmitter_Impl
: public virtual SimpleEmitter_Exec,
public virtual ::CORBA::LocalObject
{
- public:
+ public:
SimpleEmitter_exec_i (void);
virtual ~SimpleEmitter_exec_i (void);
-
- // Supported or inherited operations.
-
- // Attribute operations.
-
+
+ // Supported operations and attributes.
+
+ // Component attributes.
+
// Port operations.
-
- // Operations from Components::SessionComponent
-
+
+ // Operations from Components::SessionComponent.
+
virtual void
set_session_context (
::Components::SessionContext_ptr ctx);
-
- virtual void configuration_complete ();
-
- virtual void ccm_activate ();
-
- virtual void ccm_passivate ();
-
- virtual void ccm_remove ();
-
- private:
+
+ virtual void configuration_complete (void);
+
+ virtual void ccm_activate (void);
+ virtual void ccm_passivate (void);
+ virtual void ccm_remove (void);
+
+ private:
::Simple::CCM_SimpleEmitter_Context_var context_;
};
+
+ extern "C" SIMPLEEMITTER_EXEC_Export ::Components::EnterpriseComponent_ptr
+ create_Simple_SimpleEmitter_Impl (void);
+}
+namespace CIAO_Simple_SimpleEmitter_Impl
+{
class SIMPLEEMITTER_EXEC_Export SimpleEmitterHome_exec_i
: public virtual SimpleEmitterHome_Exec,
public virtual ::CORBA::LocalObject
{
- public:
+ public:
SimpleEmitterHome_exec_i (void);
+
virtual ~SimpleEmitterHome_exec_i (void);
-
- // Supported or inherited operations.
-
- // Home operations.
-
- // Factory and finder operations.
-
- // Attribute operations.
-
+
+ // All operations and attributes.
+
+ // Factory operations.
+
+ // Finder operations.
+
// Implicit operations.
-
+
virtual ::Components::EnterpriseComponent_ptr
- create ();
+ create (void);
};
-
+
extern "C" SIMPLEEMITTER_EXEC_Export ::Components::HomeExecutorBase_ptr
create_Simple_SimpleEmitterHome_Impl (void);
}
#include /**/ "ace/post.h"
-#endif /* CIAO_SIMPLEEMITTER_EXEC_H */
+#endif /* ifndef */
diff --git a/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleMultipleUser_exec.cpp b/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleMultipleUser_exec.cpp
index 5d554a1a656..ecbcee607bf 100644
--- a/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleMultipleUser_exec.cpp
+++ b/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleMultipleUser_exec.cpp
@@ -1,175 +1,157 @@
-// $Id$
+// -*- C++ -*-
//
-// **** Code generated by the ****
-// **** Component Integrated ACE ORB (CIAO) CIDL Compiler ****
-// CIAO has been developed by:
+// $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
-// CIDL Compiler has been developed by:
+// 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 CIAO is available at:
-// http://www.dre.vanderbilt.edu/CIAO
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+// TAO_IDL - Generated from
+// be/be_codegen.cpp:1372
#include "SimpleMultipleUser_exec.h"
#include "ciao/CIAO_common.h"
namespace CIAO_Simple_SimpleMultipleUser_Impl
{
- //==================================================================
- // Component Executor Implementation Class: SimpleMultipleUser_exec_i
- //==================================================================
-
+ //============================================================
+ // Component Executor Implementation Class: SimpleMultipleUser_exec_i
+ //============================================================
+
SimpleMultipleUser_exec_i::SimpleMultipleUser_exec_i (void)
{
- CIAO_TRACE ("SimpleMultipleUser_exec_i::SimpleMultipleUser_exec_i (void)");
}
-
+
SimpleMultipleUser_exec_i::~SimpleMultipleUser_exec_i (void)
{
- CIAO_TRACE ("SimpleMultipleUser_exec_i::~SimpleMultipleUser_exec_i (void)");
}
-
- // Supported or inherited operations.
-
- // Attribute operations.
-
+
+ // Supported operations and attributes.
+
+ // Component attributes.
+
// Port operations.
-
- // Operations from Components::SessionComponent
-
+
+ // Operations from Components::SessionComponent.
+
void
SimpleMultipleUser_exec_i::set_session_context (
::Components::SessionContext_ptr ctx)
{
- CIAO_TRACE ("SimpleMultipleUser_exec_i::set_session_context ()");
this->context_ =
::Simple::CCM_SimpleMultipleUser_Context::_narrow (ctx);
-
- if (CORBA::is_nil (this->context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
+
+ if ( ::CORBA::is_nil (this->context_.in ()))
+ {
+ throw ::CORBA::INTERNAL ();
+ }
}
-
+
void
- SimpleMultipleUser_exec_i::configuration_complete ()
+ SimpleMultipleUser_exec_i::configuration_complete (void)
{
- CIAO_TRACE ("SimpleMultipleUser_exec_i::configuration_complete ()");
- // Your code here.
+ /* Your code here. */
}
-
+
void
- SimpleMultipleUser_exec_i::ccm_activate ()
+ SimpleMultipleUser_exec_i::ccm_activate (void)
{
- CIAO_TRACE ("SimpleMultipleUser_exec_i::ccm_activate ()");
-
- ::Simple::SimpleMultipleUser::trigConnections_var conns =
- this->context_->get_connections_trig ();
-
- CIAO_DEBUG ((LM_NOTICE, "SimpleMultipleUser_exec_i::ccm_activate - "
- "Got %u connections to my receptacle\n",
- conns->length ()));
-
- for (CORBA::ULong i = 0; i < conns->length (); ++i)
- {
- try
- {
- CIAO_DEBUG ((LM_NOTICE, "SimpleMultipleUser_exec_i::ccm_activate - "
- "Invoking %u'th connection\n", i));
- ::Simple::Trigger_var trig (conns[i].objref);
-
- trig->hello ("Test succeeded, hello from SimpleMultipleUser_exec");
- }
- catch (CORBA::Exception &ex)
- {
- CIAO_ERROR ((LM_ERROR, "SimpleMultipleUser_exec_i::ccm_activate () - "
- "Caught CORBA exception on %u'th reference, details follow:\n",
- i));
- ex._tao_print_exception ("SimpleUser_exec_i::ccm_activate () - ");
- }
- catch (...)
- {
- CIAO_ERROR ((LM_ERROR, "SimpleMultipleUser_exec_i::ccm_activate () - "
- "Error: Caught unknown exception whilst invoking reference for port trig.\n"));
- }
- }
-
- // Your code here.
+ /* Your code here. */
}
-
+
void
- SimpleMultipleUser_exec_i::ccm_passivate ()
+ SimpleMultipleUser_exec_i::ccm_passivate (void)
{
- CIAO_TRACE ("SimpleMultipleUser_exec_i::ccm_passivate ()");
- // Your code here.
+ /* Your code here. */
}
-
+
void
- SimpleMultipleUser_exec_i::ccm_remove ()
+ SimpleMultipleUser_exec_i::ccm_remove (void)
{
- CIAO_TRACE ("SimpleMultipleUser_exec_i::ccm_remove ()");
- // Your code here.
+ /* Your code here. */
}
+
+ extern "C" SIMPLEMULTIPLEUSER_EXEC_Export ::Components::EnterpriseComponent_ptr
+ create_Simple_SimpleMultipleUser_Impl (void)
+ {
+ ::Components::EnterpriseComponent_ptr retval =
+ ::Components::EnterpriseComponent::_nil ();
+
+ ACE_NEW_RETURN (
+ retval,
+ SimpleMultipleUser_exec_i,
+ ::Components::EnterpriseComponent::_nil ());
+
+ return retval;
+ }
+}
- //==================================================================
- // Home Executor Implementation Class: SimpleMultipleUserHome_exec_i
- //==================================================================
-
+namespace CIAO_Simple_SimpleMultipleUser_Impl
+{
+ //============================================================
+ // Home Executor Implementation Class: SimpleMultipleUserHome_exec_i
+ //============================================================
+
SimpleMultipleUserHome_exec_i::SimpleMultipleUserHome_exec_i (void)
{
- CIAO_TRACE ("SimpleMultipleUserHome_exec_i::SimpleMultipleUserHome_exec_i (void)");
}
-
+
SimpleMultipleUserHome_exec_i::~SimpleMultipleUserHome_exec_i (void)
{
- CIAO_TRACE ("SimpleMultipleUserHome_exec_i::~SimpleMultipleUserHome_exec_i (void)");
}
-
- // Supported or inherited operations.
-
- // Home operations.
-
- // Factory and finder operations.
-
- // Attribute operations.
-
+
+ // All operations and attributes.
+
+ // Factory operations.
+
+ // Finder operations.
+
// Implicit operations.
-
+
::Components::EnterpriseComponent_ptr
- SimpleMultipleUserHome_exec_i::create ()
+ SimpleMultipleUserHome_exec_i::create (void)
{
- CIAO_TRACE ("SimpleMultipleUserHome_exec_i::create ()");
::Components::EnterpriseComponent_ptr retval =
::Components::EnterpriseComponent::_nil ();
-
+
ACE_NEW_THROW_EX (
retval,
SimpleMultipleUser_exec_i,
::CORBA::NO_MEMORY ());
-
+
return retval;
}
-
+
extern "C" SIMPLEMULTIPLEUSER_EXEC_Export ::Components::HomeExecutorBase_ptr
create_Simple_SimpleMultipleUserHome_Impl (void)
{
- CIAO_TRACE ("create_Simple_SimpleMultipleUserHome_Impl (void)");
::Components::HomeExecutorBase_ptr retval =
::Components::HomeExecutorBase::_nil ();
-
+
ACE_NEW_RETURN (
retval,
SimpleMultipleUserHome_exec_i,
::Components::HomeExecutorBase::_nil ());
-
+
return retval;
}
}
diff --git a/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleMultipleUser_exec.h b/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleMultipleUser_exec.h
index 9313dd2c074..5a42e16b8b6 100644
--- a/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleMultipleUser_exec.h
+++ b/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleMultipleUser_exec.h
@@ -1,25 +1,35 @@
-// $Id$
+// -*- C++ -*-
//
-// **** Code generated by the ****
-// **** Component Integrated ACE ORB (CIAO) CIDL Compiler ****
-// CIAO has been developed by:
+// $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
-// CIDL Compiler has been developed by:
+// 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 CIAO is available at:
-// http://www.dre.vanderbilt.edu/CIAO
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
-#ifndef CIAO_SIMPLEMULTIPLEUSER_EXEC_H
-#define CIAO_SIMPLEMULTIPLEUSER_EXEC_H
+// TAO_IDL - Generated from
+// be/be_codegen.cpp:1301
+
+#ifndef CIAO_SIMPLEMULTIPLEUSER_EXEC_H_
+#define CIAO_SIMPLEMULTIPLEUSER_EXEC_H_
#include /**/ "ace/pre.h"
@@ -29,7 +39,7 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#include "SimpleMultipleUser_exec_export.h"
+#include /**/ "SimpleMultipleUser_exec_export.h"
#include "tao/LocalObject.h"
namespace CIAO_Simple_SimpleMultipleUser_Impl
@@ -38,61 +48,64 @@ namespace CIAO_Simple_SimpleMultipleUser_Impl
: public virtual SimpleMultipleUser_Exec,
public virtual ::CORBA::LocalObject
{
- public:
+ public:
SimpleMultipleUser_exec_i (void);
virtual ~SimpleMultipleUser_exec_i (void);
-
- // Supported or inherited operations.
-
- // Attribute operations.
-
+
+ // Supported operations and attributes.
+
+ // Component attributes.
+
// Port operations.
-
- // Operations from Components::SessionComponent
-
+
+ // Operations from Components::SessionComponent.
+
virtual void
set_session_context (
::Components::SessionContext_ptr ctx);
-
- virtual void configuration_complete ();
-
- virtual void ccm_activate ();
-
- virtual void ccm_passivate ();
-
- virtual void ccm_remove ();
-
- private:
+
+ virtual void configuration_complete (void);
+
+ virtual void ccm_activate (void);
+ virtual void ccm_passivate (void);
+ virtual void ccm_remove (void);
+
+ private:
::Simple::CCM_SimpleMultipleUser_Context_var context_;
};
+
+ extern "C" SIMPLEMULTIPLEUSER_EXEC_Export ::Components::EnterpriseComponent_ptr
+ create_Simple_SimpleMultipleUser_Impl (void);
+}
+namespace CIAO_Simple_SimpleMultipleUser_Impl
+{
class SIMPLEMULTIPLEUSER_EXEC_Export SimpleMultipleUserHome_exec_i
: public virtual SimpleMultipleUserHome_Exec,
public virtual ::CORBA::LocalObject
{
- public:
+ public:
SimpleMultipleUserHome_exec_i (void);
+
virtual ~SimpleMultipleUserHome_exec_i (void);
-
- // Supported or inherited operations.
-
- // Home operations.
-
- // Factory and finder operations.
-
- // Attribute operations.
-
+
+ // All operations and attributes.
+
+ // Factory operations.
+
+ // Finder operations.
+
// Implicit operations.
-
+
virtual ::Components::EnterpriseComponent_ptr
- create ();
+ create (void);
};
-
+
extern "C" SIMPLEMULTIPLEUSER_EXEC_Export ::Components::HomeExecutorBase_ptr
create_Simple_SimpleMultipleUserHome_Impl (void);
}
#include /**/ "ace/post.h"
-#endif /* CIAO_SIMPLEMULTIPLEUSER_EXEC_H */
+#endif /* ifndef */
diff --git a/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleNull_exec.cpp b/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleNull_exec.cpp
index 7cb11fb2bfe..783beed3560 100644
--- a/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleNull_exec.cpp
+++ b/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleNull_exec.cpp
@@ -1,167 +1,157 @@
-// $Id$
+// -*- C++ -*-
//
-// **** Code generated by the ****
-// **** Component Integrated ACE ORB (CIAO) CIDL Compiler ****
-// CIAO has been developed by:
+// $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
-// CIDL Compiler has been developed by:
+// 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 CIAO is available at:
-// http://www.dre.vanderbilt.edu/CIAO
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+// TAO_IDL - Generated from
+// be/be_codegen.cpp:1372
#include "SimpleNull_exec.h"
#include "ciao/CIAO_common.h"
namespace CIAO_Simple_SimpleNull_Impl
{
- //==================================================================
- // Component Executor Implementation Class: SimpleNull_exec_i
- //==================================================================
-
+ //============================================================
+ // Component Executor Implementation Class: SimpleNull_exec_i
+ //============================================================
+
SimpleNull_exec_i::SimpleNull_exec_i (void)
{
- CIAO_TRACE ("SimpleNull_exec_i::SimpleNull_exec_i (void)");
- CIAO_DEBUG ((LM_EMERGENCY, "SimpleNull - Test - Lifecycle event - SimpleNull_exec_i::SimpleNull_exec_i (void)\n"));
}
-
+
SimpleNull_exec_i::~SimpleNull_exec_i (void)
{
- CIAO_TRACE ("SimpleNull_exec_i::~SimpleNull_exec_i");
- CIAO_DEBUG ((LM_EMERGENCY, "SimpleNull - Test - Lifecycle event - SimpleNull_exec_i::~SimpleNull_exec_i\n"));
}
-
- // Supported or inherited operations.
-
- // Attribute operations.
-
+
+ // Supported operations and attributes.
+
+ // Component attributes.
+
// Port operations.
-
- // Operations from Components::SessionComponent
-
+
+ // Operations from Components::SessionComponent.
+
void
SimpleNull_exec_i::set_session_context (
::Components::SessionContext_ptr ctx)
{
- CIAO_TRACE ("SimpleNull_exec_i::set_session_context");
- CIAO_DEBUG ((LM_EMERGENCY, "SimpleNull - Test - Lifecycle event - SimpleNull_exec_i::set_session_context\n"));
this->context_ =
::Simple::CCM_SimpleNull_Context::_narrow (ctx);
-
- if (CORBA::is_nil (this->context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
+
+ if ( ::CORBA::is_nil (this->context_.in ()))
+ {
+ throw ::CORBA::INTERNAL ();
+ }
}
-
+
void
- SimpleNull_exec_i::configuration_complete ()
+ SimpleNull_exec_i::configuration_complete (void)
{
- CIAO_TRACE ("SimpleNull_exec_i::configuration_complete\n");
- CIAO_DEBUG ((LM_EMERGENCY, "SimpleNull - Test - Lifecycle event - SimpleNull_exec_i::configuration_complete\n"));
- // Your code here.
+ /* Your code here. */
}
-
+
void
- SimpleNull_exec_i::ccm_activate ()
+ SimpleNull_exec_i::ccm_activate (void)
{
- CIAO_TRACE ("SimpleNull_exec_i::ccm_activate");
- CIAO_DEBUG ((LM_EMERGENCY, "SimpleNull - Test - Lifecycle event - SimpleNull_exec_i::ccm_activate\n"));
- // Your code here.
+ /* Your code here. */
}
-
+
void
- SimpleNull_exec_i::ccm_passivate ()
+ SimpleNull_exec_i::ccm_passivate (void)
{
- CIAO_TRACE ("SimpleNull_exec_i::ccm_passivate");
- CIAO_DEBUG ((LM_EMERGENCY, "SimpleNull - Test - Lifecycle event - SimpleNull_exec_i::ccm_passivate\n"));
- // Your code here.
+ /* Your code here. */
}
-
+
void
- SimpleNull_exec_i::ccm_remove ()
+ SimpleNull_exec_i::ccm_remove (void)
{
- CIAO_TRACE ("SimpleNull_exec_i::ccm_remove");
- CIAO_DEBUG ((LM_EMERGENCY, "SimpleNull - Test - Lifecycle event - SimpleNull_exec_i::ccm_remove\n"));
- // Your code here.
+ /* Your code here. */
}
-
+
extern "C" SIMPLENULL_EXEC_Export ::Components::EnterpriseComponent_ptr
create_Simple_SimpleNull_Impl (void)
{
::Components::EnterpriseComponent_ptr retval =
::Components::EnterpriseComponent::_nil ();
- ACE_NEW_RETURN (retval,
- SimpleNull_exec_i,
- ::Components::EnterpriseComponent::_nil ());
+ ACE_NEW_RETURN (
+ retval,
+ SimpleNull_exec_i,
+ ::Components::EnterpriseComponent::_nil ());
return retval;
}
-
- //==================================================================
- // Home Executor Implementation Class: SimpleNullHome_exec_i
- //==================================================================
+}
+namespace CIAO_Simple_SimpleNull_Impl
+{
+ //============================================================
+ // Home Executor Implementation Class: SimpleNullHome_exec_i
+ //============================================================
+
SimpleNullHome_exec_i::SimpleNullHome_exec_i (void)
{
- CIAO_TRACE ("SimpleNullHome_exec_i::SimpleNullHome_exec_i");
- CIAO_DEBUG ((LM_EMERGENCY, "SimpleNull - Test - Lifecycle event - SimpleNullHome_exec_i::SimpleNullHome_exec_i\n"));
}
-
+
SimpleNullHome_exec_i::~SimpleNullHome_exec_i (void)
{
- CIAO_TRACE ("SimpleNullHome_exec_i::~SimpleNullHome_exec_i");
- CIAO_DEBUG ((LM_EMERGENCY, "SimpleNull - Test - Lifecycle event - SimpleNullHome_exec_i::~SimpleNullHome_exec_i\n"));
}
-
- // Supported or inherited operations.
-
- // Home operations.
-
- // Factory and finder operations.
-
- // Attribute operations.
-
+
+ // All operations and attributes.
+
+ // Factory operations.
+
+ // Finder operations.
+
// Implicit operations.
-
+
::Components::EnterpriseComponent_ptr
- SimpleNullHome_exec_i::create ()
+ SimpleNullHome_exec_i::create (void)
{
- CIAO_TRACE ("SimpleNullHome_exec_i::create");
- CIAO_DEBUG ((LM_EMERGENCY, "SimpleNull - Test - Lifecycle event - SimpleNullHome_exec_i::create\n"));
::Components::EnterpriseComponent_ptr retval =
::Components::EnterpriseComponent::_nil ();
-
+
ACE_NEW_THROW_EX (
retval,
SimpleNull_exec_i,
::CORBA::NO_MEMORY ());
-
+
return retval;
}
-
+
extern "C" SIMPLENULL_EXEC_Export ::Components::HomeExecutorBase_ptr
create_Simple_SimpleNullHome_Impl (void)
{
- CIAO_TRACE ("create_Simple_SimpleNullHome_Impl");
- CIAO_DEBUG ((LM_EMERGENCY, "SimpleNull - Test - Lifecycle event - create_Simple_SimpleNullHome_Impl\n"));
::Components::HomeExecutorBase_ptr retval =
::Components::HomeExecutorBase::_nil ();
-
+
ACE_NEW_RETURN (
retval,
SimpleNullHome_exec_i,
::Components::HomeExecutorBase::_nil ());
-
+
return retval;
}
}
diff --git a/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleNull_exec.h b/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleNull_exec.h
index 057981b9711..52738ebefca 100644
--- a/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleNull_exec.h
+++ b/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleNull_exec.h
@@ -1,25 +1,35 @@
-// $Id$
+// -*- C++ -*-
//
-// **** Code generated by the ****
-// **** Component Integrated ACE ORB (CIAO) CIDL Compiler ****
-// CIAO has been developed by:
+// $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
-// CIDL Compiler has been developed by:
+// 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 CIAO is available at:
-// http://www.dre.vanderbilt.edu/CIAO
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
-#ifndef CIAO_SIMPLENULL_EXEC_H
-#define CIAO_SIMPLENULL_EXEC_H
+// TAO_IDL - Generated from
+// be/be_codegen.cpp:1301
+
+#ifndef CIAO_SIMPLENULL_EXEC_H_
+#define CIAO_SIMPLENULL_EXEC_H_
#include /**/ "ace/pre.h"
@@ -29,7 +39,7 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#include "SimpleNull_exec_export.h"
+#include /**/ "SimpleNull_exec_export.h"
#include "tao/LocalObject.h"
namespace CIAO_Simple_SimpleNull_Impl
@@ -38,64 +48,64 @@ namespace CIAO_Simple_SimpleNull_Impl
: public virtual SimpleNull_Exec,
public virtual ::CORBA::LocalObject
{
- public:
+ public:
SimpleNull_exec_i (void);
virtual ~SimpleNull_exec_i (void);
-
- // Supported or inherited operations.
-
- // Attribute operations.
-
+
+ // Supported operations and attributes.
+
+ // Component attributes.
+
// Port operations.
-
- // Operations from Components::SessionComponent
-
+
+ // Operations from Components::SessionComponent.
+
virtual void
set_session_context (
::Components::SessionContext_ptr ctx);
-
- virtual void configuration_complete ();
-
- virtual void ccm_activate ();
-
- virtual void ccm_passivate ();
-
- virtual void ccm_remove ();
-
- private:
+
+ virtual void configuration_complete (void);
+
+ virtual void ccm_activate (void);
+ virtual void ccm_passivate (void);
+ virtual void ccm_remove (void);
+
+ private:
::Simple::CCM_SimpleNull_Context_var context_;
};
extern "C" SIMPLENULL_EXEC_Export ::Components::EnterpriseComponent_ptr
create_Simple_SimpleNull_Impl (void);
-
+}
+
+namespace CIAO_Simple_SimpleNull_Impl
+{
class SIMPLENULL_EXEC_Export SimpleNullHome_exec_i
: public virtual SimpleNullHome_Exec,
public virtual ::CORBA::LocalObject
{
- public:
+ public:
SimpleNullHome_exec_i (void);
+
virtual ~SimpleNullHome_exec_i (void);
-
- // Supported or inherited operations.
-
- // Home operations.
-
- // Factory and finder operations.
-
- // Attribute operations.
-
+
+ // All operations and attributes.
+
+ // Factory operations.
+
+ // Finder operations.
+
// Implicit operations.
-
+
virtual ::Components::EnterpriseComponent_ptr
- create ();
+ create (void);
};
-
+
extern "C" SIMPLENULL_EXEC_Export ::Components::HomeExecutorBase_ptr
create_Simple_SimpleNullHome_Impl (void);
}
#include /**/ "ace/post.h"
-#endif /* CIAO_SIMPLENULL_EXEC_H */
+#endif /* ifndef */
diff --git a/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleProvider_exec.cpp b/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleProvider_exec.cpp
index 38025d9b97f..65d4a685ce0 100644
--- a/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleProvider_exec.cpp
+++ b/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleProvider_exec.cpp
@@ -1,177 +1,185 @@
-// $Id$
+// -*- C++ -*-
//
-// **** Code generated by the ****
-// **** Component Integrated ACE ORB (CIAO) CIDL Compiler ****
-// CIAO has been developed by:
+// $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
-// CIDL Compiler has been developed by:
+// 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 CIAO is available at:
-// http://www.dre.vanderbilt.edu/CIAO
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+// TAO_IDL - Generated from
+// be/be_codegen.cpp:1372
#include "SimpleProvider_exec.h"
#include "ciao/CIAO_common.h"
namespace CIAO_Simple_SimpleProvider_Impl
{
- //==================================================================
- // Facet Executor Implementation Class: Trigger_exec_i
- //==================================================================
-
+ //============================================================
+ // Facet Executor Implementation Class: Trigger_exec_i
+ //============================================================
+
Trigger_exec_i::Trigger_exec_i (void)
{
- CIAO_TRACE ("Trigger_exec_i::Trigger_exec_i (void)");
}
-
+
Trigger_exec_i::~Trigger_exec_i (void)
{
- CIAO_TRACE ("Trigger_exec_i::~Trigger_exec_i (void)");
}
-
+
// Operations from ::Simple::Trigger
-
+
void
Trigger_exec_i::hello (
- const char * hello )
+ const char * /* hello */)
{
- CIAO_TRACE ("Trigger_exec_i::hello ()");
- // Your code here.
- CIAO_DEBUG ((LM_EMERGENCY, "Trigger_exec_i::hello - "
- "Got the following intofrmation from trig port: %s\n",
- hello));
+ /* Your code here. */
}
-
- //==================================================================
- // Component Executor Implementation Class: SimpleProvider_exec_i
- //==================================================================
-
+
+ //============================================================
+ // Component Executor Implementation Class: SimpleProvider_exec_i
+ //============================================================
+
SimpleProvider_exec_i::SimpleProvider_exec_i (void)
{
- CIAO_TRACE ("SimpleProvider_exec_i::SimpleProvider_exec_i (void)");
}
-
+
SimpleProvider_exec_i::~SimpleProvider_exec_i (void)
{
- CIAO_TRACE ("SimpleProvider_exec_i::~SimpleProvider_exec_i (void)");
}
-
- // Supported or inherited operations.
-
- // Attribute operations.
-
+
+ // Supported operations and attributes.
+
+ // Component attributes.
+
// Port operations.
-
+
::Simple::CCM_Trigger_ptr
- SimpleProvider_exec_i::get_trig ()
+ SimpleProvider_exec_i::get_trig (void)
{
- CIAO_TRACE ("SimpleProvider_exec_i::get_trig ()");
- return new Trigger_exec_i ();
+ /* Your code here. */
+ return ::Simple::CCM_Trigger::_nil ();
}
-
- // Operations from Components::SessionComponent
-
+
+ // Operations from Components::SessionComponent.
+
void
SimpleProvider_exec_i::set_session_context (
::Components::SessionContext_ptr ctx)
{
- CIAO_TRACE ("SimpleProvider_exec_i::set_session_context ()");
this->context_ =
::Simple::CCM_SimpleProvider_Context::_narrow (ctx);
-
- if (CORBA::is_nil (this->context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
+
+ if ( ::CORBA::is_nil (this->context_.in ()))
+ {
+ throw ::CORBA::INTERNAL ();
+ }
}
-
+
void
- SimpleProvider_exec_i::configuration_complete ()
+ SimpleProvider_exec_i::configuration_complete (void)
{
- CIAO_TRACE ("SimpleProvider_exec_i::configuration_complete ()");
- // Your code here.
+ /* Your code here. */
}
-
+
void
- SimpleProvider_exec_i::ccm_activate ()
+ SimpleProvider_exec_i::ccm_activate (void)
{
- CIAO_TRACE ("SimpleProvider_exec_i::ccm_activate ()");
- // Your code here.
+ /* Your code here. */
}
-
+
void
- SimpleProvider_exec_i::ccm_passivate ()
+ SimpleProvider_exec_i::ccm_passivate (void)
{
- CIAO_TRACE ("SimpleProvider_exec_i::ccm_passivate ()");
- // Your code here.
+ /* Your code here. */
}
-
+
void
- SimpleProvider_exec_i::ccm_remove ()
+ SimpleProvider_exec_i::ccm_remove (void)
{
- CIAO_TRACE ("SimpleProvider_exec_i::ccm_remove ()");
- // Your code here.
+ /* Your code here. */
}
+
+ extern "C" SIMPLEPROVIDER_EXEC_Export ::Components::EnterpriseComponent_ptr
+ create_Simple_SimpleProvider_Impl (void)
+ {
+ ::Components::EnterpriseComponent_ptr retval =
+ ::Components::EnterpriseComponent::_nil ();
+
+ ACE_NEW_RETURN (
+ retval,
+ SimpleProvider_exec_i,
+ ::Components::EnterpriseComponent::_nil ());
+
+ return retval;
+ }
+}
- //==================================================================
- // Home Executor Implementation Class: SimpleProviderHome_exec_i
- //==================================================================
-
+namespace CIAO_Simple_SimpleProvider_Impl
+{
+ //============================================================
+ // Home Executor Implementation Class: SimpleProviderHome_exec_i
+ //============================================================
+
SimpleProviderHome_exec_i::SimpleProviderHome_exec_i (void)
{
- CIAO_TRACE ("SimpleProviderHome_exec_i::SimpleProviderHome_exec_i (void)");
}
-
+
SimpleProviderHome_exec_i::~SimpleProviderHome_exec_i (void)
{
- CIAO_TRACE ("SimpleProviderHome_exec_i::~SimpleProviderHome_exec_i (void)");
}
-
- // Supported or inherited operations.
-
- // Home operations.
-
- // Factory and finder operations.
-
- // Attribute operations.
-
+
+ // All operations and attributes.
+
+ // Factory operations.
+
+ // Finder operations.
+
// Implicit operations.
-
+
::Components::EnterpriseComponent_ptr
- SimpleProviderHome_exec_i::create ()
+ SimpleProviderHome_exec_i::create (void)
{
- CIAO_TRACE ("SimpleProviderHome_exec_i::create ()");
::Components::EnterpriseComponent_ptr retval =
::Components::EnterpriseComponent::_nil ();
-
+
ACE_NEW_THROW_EX (
retval,
SimpleProvider_exec_i,
::CORBA::NO_MEMORY ());
-
+
return retval;
}
-
+
extern "C" SIMPLEPROVIDER_EXEC_Export ::Components::HomeExecutorBase_ptr
create_Simple_SimpleProviderHome_Impl (void)
{
- CIAO_TRACE ("create_Simple_SimpleProviderHome_Impl (void)");
::Components::HomeExecutorBase_ptr retval =
::Components::HomeExecutorBase::_nil ();
-
+
ACE_NEW_RETURN (
retval,
SimpleProviderHome_exec_i,
::Components::HomeExecutorBase::_nil ());
-
+
return retval;
}
}
diff --git a/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleProvider_exec.h b/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleProvider_exec.h
index 183d94a8ab8..1e4fc94e203 100644
--- a/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleProvider_exec.h
+++ b/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleProvider_exec.h
@@ -1,25 +1,35 @@
-// $Id$
+// -*- C++ -*-
//
-// **** Code generated by the ****
-// **** Component Integrated ACE ORB (CIAO) CIDL Compiler ****
-// CIAO has been developed by:
+// $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
-// CIDL Compiler has been developed by:
+// 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 CIAO is available at:
-// http://www.dre.vanderbilt.edu/CIAO
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
-#ifndef CIAO_SIMPLEPROVIDER_EXEC_H
-#define CIAO_SIMPLEPROVIDER_EXEC_H
+// TAO_IDL - Generated from
+// be/be_codegen.cpp:1301
+
+#ifndef CIAO_SIMPLEPROVIDER_EXEC_H_
+#define CIAO_SIMPLEPROVIDER_EXEC_H_
#include /**/ "ace/pre.h"
@@ -29,7 +39,7 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#include "SimpleProvider_exec_export.h"
+#include /**/ "SimpleProvider_exec_export.h"
#include "tao/LocalObject.h"
namespace CIAO_Simple_SimpleProvider_Impl
@@ -38,79 +48,85 @@ namespace CIAO_Simple_SimpleProvider_Impl
: public virtual ::Simple::CCM_Trigger,
public virtual ::CORBA::LocalObject
{
- public:
+ public:
Trigger_exec_i (void);
virtual ~Trigger_exec_i (void);
-
- // Operations from ::Simple::Trigger
-
+
+ // Operations and attributes from ::Simple::Trigger
+
+ // TAO_IDL - Generated from
+ // be/be_visitor_operation/operation_ch.cpp:46
+
virtual void
hello (
const char * hello);
};
-
+
class SIMPLEPROVIDER_EXEC_Export SimpleProvider_exec_i
: public virtual SimpleProvider_Exec,
public virtual ::CORBA::LocalObject
{
- public:
+ public:
SimpleProvider_exec_i (void);
virtual ~SimpleProvider_exec_i (void);
-
- // Supported or inherited operations.
-
- // Attribute operations.
-
+
+ // Supported operations and attributes.
+
+ // Component attributes.
+
// Port operations.
-
+
virtual ::Simple::CCM_Trigger_ptr
- get_trig ();
-
- // Operations from Components::SessionComponent
-
+ get_trig (void);
+
+ // Operations from Components::SessionComponent.
+
virtual void
set_session_context (
::Components::SessionContext_ptr ctx);
-
- virtual void configuration_complete ();
-
- virtual void ccm_activate ();
-
- virtual void ccm_passivate ();
-
- virtual void ccm_remove ();
-
- private:
+
+ virtual void configuration_complete (void);
+
+ virtual void ccm_activate (void);
+ virtual void ccm_passivate (void);
+ virtual void ccm_remove (void);
+
+ private:
::Simple::CCM_SimpleProvider_Context_var context_;
};
+
+ extern "C" SIMPLEPROVIDER_EXEC_Export ::Components::EnterpriseComponent_ptr
+ create_Simple_SimpleProvider_Impl (void);
+}
+namespace CIAO_Simple_SimpleProvider_Impl
+{
class SIMPLEPROVIDER_EXEC_Export SimpleProviderHome_exec_i
: public virtual SimpleProviderHome_Exec,
public virtual ::CORBA::LocalObject
{
- public:
+ public:
SimpleProviderHome_exec_i (void);
+
virtual ~SimpleProviderHome_exec_i (void);
-
- // Supported or inherited operations.
-
- // Home operations.
-
- // Factory and finder operations.
-
- // Attribute operations.
-
+
+ // All operations and attributes.
+
+ // Factory operations.
+
+ // Finder operations.
+
// Implicit operations.
-
+
virtual ::Components::EnterpriseComponent_ptr
- create ();
+ create (void);
};
-
+
extern "C" SIMPLEPROVIDER_EXEC_Export ::Components::HomeExecutorBase_ptr
create_Simple_SimpleProviderHome_Impl (void);
}
#include /**/ "ace/post.h"
-#endif /* CIAO_SIMPLEPROVIDER_EXEC_H */
+#endif /* ifndef */
diff --git a/modules/CIAO/DAnCE/tests/CIAO/Components/SimplePublisher_exec.cpp b/modules/CIAO/DAnCE/tests/CIAO/Components/SimplePublisher_exec.cpp
index 2535d5012a4..25651670a64 100644
--- a/modules/CIAO/DAnCE/tests/CIAO/Components/SimplePublisher_exec.cpp
+++ b/modules/CIAO/DAnCE/tests/CIAO/Components/SimplePublisher_exec.cpp
@@ -1,147 +1,157 @@
-// $Id$
+// -*- C++ -*-
//
-// **** Code generated by the ****
-// **** Component Integrated ACE ORB (CIAO) CIDL Compiler ****
-// CIAO has been developed by:
+// $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
-// CIDL Compiler has been developed by:
+// 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 CIAO is available at:
-// http://www.dre.vanderbilt.edu/CIAO
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+// TAO_IDL - Generated from
+// be/be_codegen.cpp:1372
#include "SimplePublisher_exec.h"
#include "ciao/CIAO_common.h"
namespace CIAO_Simple_SimplePublisher_Impl
{
- //==================================================================
- // Component Executor Implementation Class: SimplePublisher_exec_i
- //==================================================================
-
+ //============================================================
+ // Component Executor Implementation Class: SimplePublisher_exec_i
+ //============================================================
+
SimplePublisher_exec_i::SimplePublisher_exec_i (void)
{
- CIAO_TRACE ("SimplePublisher_exec_i::SimplePublisher_exec_i (void)");
}
-
+
SimplePublisher_exec_i::~SimplePublisher_exec_i (void)
{
- CIAO_TRACE ("SimplePublisher_exec_i::~SimplePublisher_exec_i (void)");
}
-
- // Supported or inherited operations.
-
- // Attribute operations.
-
+
+ // Supported operations and attributes.
+
+ // Component attributes.
+
// Port operations.
-
- // Operations from Components::SessionComponent
-
+
+ // Operations from Components::SessionComponent.
+
void
SimplePublisher_exec_i::set_session_context (
::Components::SessionContext_ptr ctx)
{
- CIAO_TRACE ("SimplePublisher_exec_i::set_session_context ()");
this->context_ =
::Simple::CCM_SimplePublisher_Context::_narrow (ctx);
-
- if (CORBA::is_nil (this->context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
+
+ if ( ::CORBA::is_nil (this->context_.in ()))
+ {
+ throw ::CORBA::INTERNAL ();
+ }
}
-
+
void
- SimplePublisher_exec_i::configuration_complete ()
+ SimplePublisher_exec_i::configuration_complete (void)
{
- CIAO_TRACE ("SimplePublisher_exec_i::configuration_complete ()");
- // Your code here.
+ /* Your code here. */
}
-
+
void
- SimplePublisher_exec_i::ccm_activate ()
+ SimplePublisher_exec_i::ccm_activate (void)
{
- CIAO_TRACE ("SimplePublisher_exec_i::ccm_activate ()");
- ::Simple::Hello_var hello = new OBV_Simple::Hello ("Test successful, hello from SimplePublisher_exec_i");
-
- this->context_->push_hello (hello._retn ());
- // Your code here.
+ /* Your code here. */
}
-
+
void
- SimplePublisher_exec_i::ccm_passivate ()
+ SimplePublisher_exec_i::ccm_passivate (void)
{
- CIAO_TRACE ("SimplePublisher_exec_i::ccm_passivate ()");
- // Your code here.
+ /* Your code here. */
}
-
+
void
- SimplePublisher_exec_i::ccm_remove ()
+ SimplePublisher_exec_i::ccm_remove (void)
{
- CIAO_TRACE ("SimplePublisher_exec_i::ccm_remove ()");
- // Your code here.
+ /* Your code here. */
}
+
+ extern "C" SIMPLEPUBLISHER_EXEC_Export ::Components::EnterpriseComponent_ptr
+ create_Simple_SimplePublisher_Impl (void)
+ {
+ ::Components::EnterpriseComponent_ptr retval =
+ ::Components::EnterpriseComponent::_nil ();
+
+ ACE_NEW_RETURN (
+ retval,
+ SimplePublisher_exec_i,
+ ::Components::EnterpriseComponent::_nil ());
+
+ return retval;
+ }
+}
- //==================================================================
- // Home Executor Implementation Class: SimplePublisherHome_exec_i
- //==================================================================
-
+namespace CIAO_Simple_SimplePublisher_Impl
+{
+ //============================================================
+ // Home Executor Implementation Class: SimplePublisherHome_exec_i
+ //============================================================
+
SimplePublisherHome_exec_i::SimplePublisherHome_exec_i (void)
{
- CIAO_TRACE ("SimplePublisherHome_exec_i::SimplePublisherHome_exec_i (void)");
}
-
+
SimplePublisherHome_exec_i::~SimplePublisherHome_exec_i (void)
{
- CIAO_TRACE ("SimplePublisherHome_exec_i::~SimplePublisherHome_exec_i (void)");
}
-
- // Supported or inherited operations.
-
- // Home operations.
-
- // Factory and finder operations.
-
- // Attribute operations.
-
+
+ // All operations and attributes.
+
+ // Factory operations.
+
+ // Finder operations.
+
// Implicit operations.
-
+
::Components::EnterpriseComponent_ptr
- SimplePublisherHome_exec_i::create ()
+ SimplePublisherHome_exec_i::create (void)
{
- CIAO_TRACE ("SimplePublisherHome_exec_i::create ()");
::Components::EnterpriseComponent_ptr retval =
::Components::EnterpriseComponent::_nil ();
-
+
ACE_NEW_THROW_EX (
retval,
SimplePublisher_exec_i,
::CORBA::NO_MEMORY ());
-
+
return retval;
}
-
+
extern "C" SIMPLEPUBLISHER_EXEC_Export ::Components::HomeExecutorBase_ptr
create_Simple_SimplePublisherHome_Impl (void)
{
- CIAO_TRACE ("create_Simple_SimplePublisherHome_Impl (void)");
-
::Components::HomeExecutorBase_ptr retval =
::Components::HomeExecutorBase::_nil ();
-
+
ACE_NEW_RETURN (
retval,
SimplePublisherHome_exec_i,
::Components::HomeExecutorBase::_nil ());
-
+
return retval;
}
}
diff --git a/modules/CIAO/DAnCE/tests/CIAO/Components/SimplePublisher_exec.h b/modules/CIAO/DAnCE/tests/CIAO/Components/SimplePublisher_exec.h
index a0b187014ee..66ec39a1ae7 100644
--- a/modules/CIAO/DAnCE/tests/CIAO/Components/SimplePublisher_exec.h
+++ b/modules/CIAO/DAnCE/tests/CIAO/Components/SimplePublisher_exec.h
@@ -1,25 +1,35 @@
-// $Id$
+// -*- C++ -*-
//
-// **** Code generated by the ****
-// **** Component Integrated ACE ORB (CIAO) CIDL Compiler ****
-// CIAO has been developed by:
+// $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
-// CIDL Compiler has been developed by:
+// 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 CIAO is available at:
-// http://www.dre.vanderbilt.edu/CIAO
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
-#ifndef CIAO_SIMPLEPUBLISHER_EXEC_H
-#define CIAO_SIMPLEPUBLISHER_EXEC_H
+// TAO_IDL - Generated from
+// be/be_codegen.cpp:1301
+
+#ifndef CIAO_SIMPLEPUBLISHER_EXEC_H_
+#define CIAO_SIMPLEPUBLISHER_EXEC_H_
#include /**/ "ace/pre.h"
@@ -29,7 +39,7 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#include "SimplePublisher_exec_export.h"
+#include /**/ "SimplePublisher_exec_export.h"
#include "tao/LocalObject.h"
namespace CIAO_Simple_SimplePublisher_Impl
@@ -38,61 +48,64 @@ namespace CIAO_Simple_SimplePublisher_Impl
: public virtual SimplePublisher_Exec,
public virtual ::CORBA::LocalObject
{
- public:
+ public:
SimplePublisher_exec_i (void);
virtual ~SimplePublisher_exec_i (void);
-
- // Supported or inherited operations.
-
- // Attribute operations.
-
+
+ // Supported operations and attributes.
+
+ // Component attributes.
+
// Port operations.
-
- // Operations from Components::SessionComponent
-
+
+ // Operations from Components::SessionComponent.
+
virtual void
set_session_context (
::Components::SessionContext_ptr ctx);
-
- virtual void configuration_complete ();
-
- virtual void ccm_activate ();
-
- virtual void ccm_passivate ();
-
- virtual void ccm_remove ();
-
- private:
+
+ virtual void configuration_complete (void);
+
+ virtual void ccm_activate (void);
+ virtual void ccm_passivate (void);
+ virtual void ccm_remove (void);
+
+ private:
::Simple::CCM_SimplePublisher_Context_var context_;
};
+
+ extern "C" SIMPLEPUBLISHER_EXEC_Export ::Components::EnterpriseComponent_ptr
+ create_Simple_SimplePublisher_Impl (void);
+}
+namespace CIAO_Simple_SimplePublisher_Impl
+{
class SIMPLEPUBLISHER_EXEC_Export SimplePublisherHome_exec_i
: public virtual SimplePublisherHome_Exec,
public virtual ::CORBA::LocalObject
{
- public:
+ public:
SimplePublisherHome_exec_i (void);
+
virtual ~SimplePublisherHome_exec_i (void);
-
- // Supported or inherited operations.
-
- // Home operations.
-
- // Factory and finder operations.
-
- // Attribute operations.
-
+
+ // All operations and attributes.
+
+ // Factory operations.
+
+ // Finder operations.
+
// Implicit operations.
-
+
virtual ::Components::EnterpriseComponent_ptr
- create ();
+ create (void);
};
-
+
extern "C" SIMPLEPUBLISHER_EXEC_Export ::Components::HomeExecutorBase_ptr
create_Simple_SimplePublisherHome_Impl (void);
}
#include /**/ "ace/post.h"
-#endif /* CIAO_SIMPLEPUBLISHER_EXEC_H */
+#endif /* ifndef */
diff --git a/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleUser_exec.cpp b/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleUser_exec.cpp
index 8374b5a0d7e..7215b38fb2b 100644
--- a/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleUser_exec.cpp
+++ b/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleUser_exec.cpp
@@ -1,168 +1,157 @@
-// $Id$
+// -*- C++ -*-
//
-// **** Code generated by the ****
-// **** Component Integrated ACE ORB (CIAO) CIDL Compiler ****
-// CIAO has been developed by:
+// $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
-// CIDL Compiler has been developed by:
+// 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 CIAO is available at:
-// http://www.dre.vanderbilt.edu/CIAO
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+// TAO_IDL - Generated from
+// be/be_codegen.cpp:1372
#include "SimpleUser_exec.h"
#include "ciao/CIAO_common.h"
namespace CIAO_Simple_SimpleUser_Impl
{
- //==================================================================
- // Component Executor Implementation Class: SimpleUser_exec_i
- //==================================================================
-
+ //============================================================
+ // Component Executor Implementation Class: SimpleUser_exec_i
+ //============================================================
+
SimpleUser_exec_i::SimpleUser_exec_i (void)
{
- CIAO_TRACE ("SimpleUser_exec_i::SimpleUser_exec_i (void)");
}
-
+
SimpleUser_exec_i::~SimpleUser_exec_i (void)
{
- CIAO_TRACE ("SimpleUser_exec_i::~SimpleUser_exec_i (void)");
}
-
- // Supported or inherited operations.
-
- // Attribute operations.
-
+
+ // Supported operations and attributes.
+
+ // Component attributes.
+
// Port operations.
-
- // Operations from Components::SessionComponent
-
+
+ // Operations from Components::SessionComponent.
+
void
SimpleUser_exec_i::set_session_context (
::Components::SessionContext_ptr ctx)
{
- CIAO_TRACE ("SimpleUser_exec_i::set_session_context ()");
this->context_ =
::Simple::CCM_SimpleUser_Context::_narrow (ctx);
-
- if (CORBA::is_nil (this->context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
+
+ if ( ::CORBA::is_nil (this->context_.in ()))
+ {
+ throw ::CORBA::INTERNAL ();
+ }
}
-
+
void
- SimpleUser_exec_i::configuration_complete ()
+ SimpleUser_exec_i::configuration_complete (void)
{
- CIAO_TRACE ("SimpleUser_exec_i::configuration_complete ()");
- // Your code here.
+ /* Your code here. */
}
-
+
void
- SimpleUser_exec_i::ccm_activate ()
+ SimpleUser_exec_i::ccm_activate (void)
{
- CIAO_TRACE ("SimpleUser_exec_i::ccm_activate ()");
-
- ::Simple::Trigger_var trig (this->context_->get_connection_trig ());
-
- if (CORBA::is_nil (trig.in ()))
- {
- CIAO_ERROR ((LM_ERROR, "SimpleUser_exec_i::ccm_activate () - "
- "Error: Reference nil for port trig\n"));
- return;
- }
-
- // Your code here.
- try
- {
- trig->hello ("Test successful; hello from SimpleUser.");
- }
- catch (CORBA::Exception &ex)
- {
- CIAO_ERROR ((LM_ERROR, "SimpleUser_exec_i::ccm_activate () - "
- "Caught CORBA exception, details follow:\n"));
- ex._tao_print_exception ("SimpleUser_exec_i::ccm_activate () - ");
- }
- catch (...)
- {
- CIAO_ERROR ((LM_ERROR, "SimpleUser_exec_i::ccm_activate () - "
- "Error: Caught unknown exception whilst invoking reference for port trig.\n"));
- }
+ /* Your code here. */
}
-
+
void
- SimpleUser_exec_i::ccm_passivate ()
+ SimpleUser_exec_i::ccm_passivate (void)
{
- CIAO_TRACE ("SimpleUser_exec_i::ccm_passivate ()");
- // Your code here.
+ /* Your code here. */
}
-
+
void
- SimpleUser_exec_i::ccm_remove ()
+ SimpleUser_exec_i::ccm_remove (void)
{
- CIAO_TRACE ("SimpleUser_exec_i::ccm_remove ()");
- // Your code here.
+ /* Your code here. */
}
+
+ extern "C" SIMPLEUSER_EXEC_Export ::Components::EnterpriseComponent_ptr
+ create_Simple_SimpleUser_Impl (void)
+ {
+ ::Components::EnterpriseComponent_ptr retval =
+ ::Components::EnterpriseComponent::_nil ();
+
+ ACE_NEW_RETURN (
+ retval,
+ SimpleUser_exec_i,
+ ::Components::EnterpriseComponent::_nil ());
+
+ return retval;
+ }
+}
- //==================================================================
- // Home Executor Implementation Class: SimpleUserHome_exec_i
- //==================================================================
-
+namespace CIAO_Simple_SimpleUser_Impl
+{
+ //============================================================
+ // Home Executor Implementation Class: SimpleUserHome_exec_i
+ //============================================================
+
SimpleUserHome_exec_i::SimpleUserHome_exec_i (void)
{
- CIAO_TRACE ("SimpleUserHome_exec_i::SimpleUserHome_exec_i (void)");
}
-
+
SimpleUserHome_exec_i::~SimpleUserHome_exec_i (void)
{
- CIAO_TRACE ("SimpleUserHome_exec_i::~SimpleUserHome_exec_i (void)");
}
-
- // Supported or inherited operations.
-
- // Home operations.
-
- // Factory and finder operations.
-
- // Attribute operations.
-
+
+ // All operations and attributes.
+
+ // Factory operations.
+
+ // Finder operations.
+
// Implicit operations.
-
+
::Components::EnterpriseComponent_ptr
- SimpleUserHome_exec_i::create ()
+ SimpleUserHome_exec_i::create (void)
{
- CIAO_TRACE ("SimpleUserHome_exec_i::create ()");
::Components::EnterpriseComponent_ptr retval =
::Components::EnterpriseComponent::_nil ();
-
+
ACE_NEW_THROW_EX (
retval,
SimpleUser_exec_i,
::CORBA::NO_MEMORY ());
-
+
return retval;
}
-
+
extern "C" SIMPLEUSER_EXEC_Export ::Components::HomeExecutorBase_ptr
create_Simple_SimpleUserHome_Impl (void)
{
- CIAO_TRACE ("create_Simple_SimpleUserHome_Impl (void)");
::Components::HomeExecutorBase_ptr retval =
::Components::HomeExecutorBase::_nil ();
-
+
ACE_NEW_RETURN (
retval,
SimpleUserHome_exec_i,
::Components::HomeExecutorBase::_nil ());
-
+
return retval;
}
}
diff --git a/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleUser_exec.h b/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleUser_exec.h
index 0e5627cca4f..48b2ad788f8 100644
--- a/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleUser_exec.h
+++ b/modules/CIAO/DAnCE/tests/CIAO/Components/SimpleUser_exec.h
@@ -1,25 +1,35 @@
-// $Id$
+// -*- C++ -*-
//
-// **** Code generated by the ****
-// **** Component Integrated ACE ORB (CIAO) CIDL Compiler ****
-// CIAO has been developed by:
+// $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
-// CIDL Compiler has been developed by:
+// 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 CIAO is available at:
-// http://www.dre.vanderbilt.edu/CIAO
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
-#ifndef CIAO_SIMPLEUSER_EXEC_H
-#define CIAO_SIMPLEUSER_EXEC_H
+// TAO_IDL - Generated from
+// be/be_codegen.cpp:1301
+
+#ifndef CIAO_SIMPLEUSER_EXEC_H_
+#define CIAO_SIMPLEUSER_EXEC_H_
#include /**/ "ace/pre.h"
@@ -29,7 +39,7 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#include "SimpleUser_exec_export.h"
+#include /**/ "SimpleUser_exec_export.h"
#include "tao/LocalObject.h"
namespace CIAO_Simple_SimpleUser_Impl
@@ -38,61 +48,64 @@ namespace CIAO_Simple_SimpleUser_Impl
: public virtual SimpleUser_Exec,
public virtual ::CORBA::LocalObject
{
- public:
+ public:
SimpleUser_exec_i (void);
virtual ~SimpleUser_exec_i (void);
-
- // Supported or inherited operations.
-
- // Attribute operations.
-
+
+ // Supported operations and attributes.
+
+ // Component attributes.
+
// Port operations.
-
- // Operations from Components::SessionComponent
-
+
+ // Operations from Components::SessionComponent.
+
virtual void
set_session_context (
::Components::SessionContext_ptr ctx);
-
- virtual void configuration_complete ();
-
- virtual void ccm_activate ();
-
- virtual void ccm_passivate ();
-
- virtual void ccm_remove ();
-
- private:
+
+ virtual void configuration_complete (void);
+
+ virtual void ccm_activate (void);
+ virtual void ccm_passivate (void);
+ virtual void ccm_remove (void);
+
+ private:
::Simple::CCM_SimpleUser_Context_var context_;
};
+
+ extern "C" SIMPLEUSER_EXEC_Export ::Components::EnterpriseComponent_ptr
+ create_Simple_SimpleUser_Impl (void);
+}
+namespace CIAO_Simple_SimpleUser_Impl
+{
class SIMPLEUSER_EXEC_Export SimpleUserHome_exec_i
: public virtual SimpleUserHome_Exec,
public virtual ::CORBA::LocalObject
{
- public:
+ public:
SimpleUserHome_exec_i (void);
+
virtual ~SimpleUserHome_exec_i (void);
-
- // Supported or inherited operations.
-
- // Home operations.
-
- // Factory and finder operations.
-
- // Attribute operations.
-
+
+ // All operations and attributes.
+
+ // Factory operations.
+
+ // Finder operations.
+
// Implicit operations.
-
+
virtual ::Components::EnterpriseComponent_ptr
- create ();
+ create (void);
};
-
+
extern "C" SIMPLEUSER_EXEC_Export ::Components::HomeExecutorBase_ptr
create_Simple_SimpleUserHome_Impl (void);
}
#include /**/ "ace/post.h"
-#endif /* CIAO_SIMPLEUSER_EXEC_H */
+#endif /* ifndef */