diff options
Diffstat (limited to 'trunk/CIAO/tests/Minimum/Receiver')
| -rw-r--r-- | trunk/CIAO/tests/Minimum/Receiver/Receiver.cidl | 17 | ||||
| -rw-r--r-- | trunk/CIAO/tests/Minimum/Receiver/Receiver.idl | 18 | ||||
| -rw-r--r-- | trunk/CIAO/tests/Minimum/Receiver/Receiver.mpc | 97 | ||||
| -rw-r--r-- | trunk/CIAO/tests/Minimum/Receiver/Receiver_exec.cpp | 140 | ||||
| -rw-r--r-- | trunk/CIAO/tests/Minimum/Receiver/Receiver_exec.h | 105 | ||||
| -rw-r--r-- | trunk/CIAO/tests/Minimum/Receiver/Receiver_exec_export.h | 54 | ||||
| -rw-r--r-- | trunk/CIAO/tests/Minimum/Receiver/Receiver_stub_export.h | 54 | ||||
| -rw-r--r-- | trunk/CIAO/tests/Minimum/Receiver/Receiver_svnt_export.h | 54 |
8 files changed, 0 insertions, 539 deletions
diff --git a/trunk/CIAO/tests/Minimum/Receiver/Receiver.cidl b/trunk/CIAO/tests/Minimum/Receiver/Receiver.cidl deleted file mode 100644 index 89ae29a86e2..00000000000 --- a/trunk/CIAO/tests/Minimum/Receiver/Receiver.cidl +++ /dev/null @@ -1,17 +0,0 @@ -//$Id$ - -#ifndef SENDER_CIDL -#define SENDER_CIDL - -#include "Receiver.idl" - -composition session Receiver_Impl -{ - home executor ReceiverHome_Exec - { - implements Minimum::ReceiverHome; - manages Receiver_Exec; - }; -}; - -#endif /* SENDER_CIDL */ diff --git a/trunk/CIAO/tests/Minimum/Receiver/Receiver.idl b/trunk/CIAO/tests/Minimum/Receiver/Receiver.idl deleted file mode 100644 index 219baec17d0..00000000000 --- a/trunk/CIAO/tests/Minimum/Receiver/Receiver.idl +++ /dev/null @@ -1,18 +0,0 @@ -//$Id$: - -#ifndef RECEIVER_IDL -#define RECEIVER_IDL - -#include "../Minimum_Base/Minimum_Base.idl" - -module Minimum -{ - component Receiver - { - }; - - home ReceiverHome manages Receiver - { - }; -}; -#endif /*RECEIVER_IDL*/ diff --git a/trunk/CIAO/tests/Minimum/Receiver/Receiver.mpc b/trunk/CIAO/tests/Minimum/Receiver/Receiver.mpc deleted file mode 100644 index 268e8cca925..00000000000 --- a/trunk/CIAO/tests/Minimum/Receiver/Receiver.mpc +++ /dev/null @@ -1,97 +0,0 @@ -// $Id$ -// This file is generated with "generate_component_mpc_extra.pl -p Minimum_Base Receiver" - -project(Minimum_Base_Receiver_DnC_stub): ciao_client_dnc { - avoids += ace_for_tao - after += Minimum_Base_DnC_stub - sharedname = Minimum_Receiver_DnC_stub - idlflags += -Wb,stub_export_macro=RECEIVER_STUB_Export \ - -Wb,stub_export_include=Receiver_stub_export.h \ - -Wb,skel_export_macro=RECEIVER_SVNT_Export \ - -Wb,skel_export_include=Receiver_svnt_export.h - dynamicflags = RECEIVER_STUB_BUILD_DLL - libs += Minimum_Base_DnC_stub - - IDL_Files { - Receiver.idl - } - - Source_Files { - ReceiverC.cpp - } - - Header_Files { - ReceiverC.h - } - - Inline_Files { - ReceiverC.inl - } -} - -project(Minimum_Base_Receiver_DnC_svnt) : ciao_servant_dnc { - avoids += ace_for_tao - after += Minimum_Base_DnC_svnt \ - Minimum_Base_Receiver_DnC_stub - sharedname = Minimum_Receiver_DnC_svnt - libs += Minimum_Receiver_DnC_stub \ - Minimum_Base_DnC_stub \ - Minimum_Base_DnC_svnt - - idlflags += -Wb,export_macro=RECEIVER_SVNT_Export \ - -Wb,export_include=Receiver_svnt_export.h - dynamicflags = RECEIVER_SVNT_BUILD_DLL - - CIDL_Files { - Receiver.cidl - } - - IDL_Files { - ReceiverE.idl - } - - Source_Files { - ReceiverEC.cpp - ReceiverS.cpp - Receiver_svnt.cpp - } - - Header_Files { - ReceiverEC.h - ReceiverS.h - Receiver_svnt.h - } - - Inline_Files { - ReceiverEC.inl - ReceiverS.inl - } -} - - -project(Minimum_Base_Receiver_DnC_exec) : ciao_component_dnc { - avoids += ace_for_tao - after += Minimum_Base_Receiver_DnC_svnt - sharedname = Minimum_Receiver_DnC_exec - libs += Minimum_Receiver_DnC_stub \ - Minimum_Receiver_DnC_svnt \ - Minimum_Base_DnC_stub \ - Minimum_Base_DnC_svnt - - idlflags += -Wb,export_macro=RECEIVER_EXEC_Export \ - -Wb,export_include=Receiver_exec_export.h - dynamicflags = RECEIVER_EXEC_BUILD_DLL - - IDL_Files { - } - - Source_Files { - Receiver_exec.cpp - } - - Header_Files { - } - - Inline_Files { - } -} diff --git a/trunk/CIAO/tests/Minimum/Receiver/Receiver_exec.cpp b/trunk/CIAO/tests/Minimum/Receiver/Receiver_exec.cpp deleted file mode 100644 index 3c21751ba6d..00000000000 --- a/trunk/CIAO/tests/Minimum/Receiver/Receiver_exec.cpp +++ /dev/null @@ -1,140 +0,0 @@ -// $Id$ -// -// **** Code generated by the **** -// **** Component Integrated ACE ORB (CIAO) CIDL Compiler **** -// CIAO has 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: -// 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 - -#include "Receiver_exec.h" -#include "ciao/CIAO_common.h" - -namespace CIDL_Receiver_Impl -{ - //================================================================== - // Component Executor Implementation Class: Receiver_exec_i - //================================================================== - - Receiver_exec_i::Receiver_exec_i (void) - { - } - - Receiver_exec_i::~Receiver_exec_i (void) - { - } - - // Supported or inherited operations. - - // Attribute operations. - - // Port operations. - - // Operations from Components::SessionComponent - - void - Receiver_exec_i::set_session_context ( - ::Components::SessionContext_ptr ctx) - { - this->context_ = - Receiver_Context::_narrow ( - ctx); - - if (this->context_ == 0) - { - throw CORBA::INTERNAL (); - } - } - - void - Receiver_exec_i::ciao_preactivate () - { - // Your code here. - } - - void - Receiver_exec_i::ciao_postactivate () - { - // Your code here. - } - - void - Receiver_exec_i::ccm_activate () - { - // Your code here. - } - - void - Receiver_exec_i::ccm_passivate () - { - // Your code here. - } - - void - Receiver_exec_i::ccm_remove () - { - // Your code here. - } - - //================================================================== - // Home Executor Implementation Class: ReceiverHome_exec_i - //================================================================== - - ReceiverHome_exec_i::ReceiverHome_exec_i (void) - { - } - - ReceiverHome_exec_i::~ReceiverHome_exec_i (void) - { - } - - // Supported or inherited operations. - - // Home operations. - - // Factory and finder operations. - - // Attribute operations. - - // Implicit operations. - - ::Components::EnterpriseComponent_ptr - ReceiverHome_exec_i::create () - { - ::Components::EnterpriseComponent_ptr retval = - ::Components::EnterpriseComponent::_nil (); - - ACE_NEW_THROW_EX ( - retval, - Receiver_exec_i, - CORBA::NO_MEMORY ()); - - return retval; - } - - extern "C" RECEIVER_EXEC_Export ::Components::HomeExecutorBase_ptr - createReceiverHome_Impl (void) - { - ::Components::HomeExecutorBase_ptr retval = - ::Components::HomeExecutorBase::_nil (); - - ACE_NEW_RETURN ( - retval, - ReceiverHome_exec_i, - ::Components::HomeExecutorBase::_nil ()); - - return retval; - } -} - diff --git a/trunk/CIAO/tests/Minimum/Receiver/Receiver_exec.h b/trunk/CIAO/tests/Minimum/Receiver/Receiver_exec.h deleted file mode 100644 index b76d69f4f23..00000000000 --- a/trunk/CIAO/tests/Minimum/Receiver/Receiver_exec.h +++ /dev/null @@ -1,105 +0,0 @@ -// $Id$ -// -// **** Code generated by the **** -// **** Component Integrated ACE ORB (CIAO) CIDL Compiler **** -// CIAO has 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: -// 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 - -#ifndef CIAO_RECEIVER_EXEC_H -#define CIAO_RECEIVER_EXEC_H - -#include /**/ "ace/pre.h" - -#include "Receiver_svnt.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "Receiver_exec_export.h" -#include "tao/LocalObject.h" - -namespace CIDL_Receiver_Impl -{ - class RECEIVER_EXEC_Export Receiver_exec_i - : public virtual Receiver_Exec, - public virtual TAO_Local_RefCounted_Object - { - public: - Receiver_exec_i (void); - virtual ~Receiver_exec_i (void); - - // Supported or inherited operations. - - // Attribute operations. - - // Port operations. - - // Operations from Components::SessionComponent - - virtual void - set_session_context ( - ::Components::SessionContext_ptr ctx); - - virtual void - ciao_preactivate (); - - virtual void - ciao_postactivate (); - - virtual void - ccm_activate (); - - virtual void - ccm_passivate (); - - virtual void - ccm_remove (); - - protected: - Receiver_Context *context_; - }; - - class RECEIVER_EXEC_Export ReceiverHome_exec_i - : public virtual ReceiverHome_Exec, - public virtual TAO_Local_RefCounted_Object - { - public: - ReceiverHome_exec_i (void); - virtual ~ReceiverHome_exec_i (void); - - // Supported or inherited operations. - - // Home operations. - - // Factory and finder operations. - - // Attribute operations. - - // Implicit operations. - - virtual ::Components::EnterpriseComponent_ptr - create (); - }; - - extern "C" RECEIVER_EXEC_Export ::Components::HomeExecutorBase_ptr - createReceiverHome_Impl (void); -} - -#include /**/ "ace/post.h" - -#endif /* CIAO_RECEIVER_EXEC_H */ - diff --git a/trunk/CIAO/tests/Minimum/Receiver/Receiver_exec_export.h b/trunk/CIAO/tests/Minimum/Receiver/Receiver_exec_export.h deleted file mode 100644 index 8ad3640d130..00000000000 --- a/trunk/CIAO/tests/Minimum/Receiver/Receiver_exec_export.h +++ /dev/null @@ -1,54 +0,0 @@ - -// -*- C++ -*- -// $Id$ -// Definition for Win32 Export directives. -// This file is generated automatically by generate_export_file.pl RECEIVER_EXEC -// ------------------------------ -#ifndef RECEIVER_EXEC_EXPORT_H -#define RECEIVER_EXEC_EXPORT_H - -#include "ace/config-all.h" - -#if !defined (RECEIVER_EXEC_HAS_DLL) -# define RECEIVER_EXEC_HAS_DLL 1 -#endif /* ! RECEIVER_EXEC_HAS_DLL */ - -#if defined (RECEIVER_EXEC_HAS_DLL) && (RECEIVER_EXEC_HAS_DLL == 1) -# if defined (RECEIVER_EXEC_BUILD_DLL) -# define RECEIVER_EXEC_Export ACE_Proper_Export_Flag -# define RECEIVER_EXEC_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) -# define RECEIVER_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# else /* RECEIVER_EXEC_BUILD_DLL */ -# define RECEIVER_EXEC_Export ACE_Proper_Import_Flag -# define RECEIVER_EXEC_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) -# define RECEIVER_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# endif /* RECEIVER_EXEC_BUILD_DLL */ -#else /* RECEIVER_EXEC_HAS_DLL == 1 */ -# define RECEIVER_EXEC_Export -# define RECEIVER_EXEC_SINGLETON_DECLARATION(T) -# define RECEIVER_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -#endif /* RECEIVER_EXEC_HAS_DLL == 1 */ - -// Set RECEIVER_EXEC_NTRACE = 0 to turn on library specific tracing even if -// tracing is turned off for ACE. -#if !defined (RECEIVER_EXEC_NTRACE) -# if (ACE_NTRACE == 1) -# define RECEIVER_EXEC_NTRACE 1 -# else /* (ACE_NTRACE == 1) */ -# define RECEIVER_EXEC_NTRACE 0 -# endif /* (ACE_NTRACE == 1) */ -#endif /* !RECEIVER_EXEC_NTRACE */ - -#if (RECEIVER_EXEC_NTRACE == 1) -# define RECEIVER_EXEC_TRACE(X) -#else /* (RECEIVER_EXEC_NTRACE == 1) */ -# if !defined (ACE_HAS_TRACE) -# define ACE_HAS_TRACE -# endif /* ACE_HAS_TRACE */ -# define RECEIVER_EXEC_TRACE(X) ACE_TRACE_IMPL(X) -# include "ace/Trace.h" -#endif /* (RECEIVER_EXEC_NTRACE == 1) */ - -#endif /* RECEIVER_EXEC_EXPORT_H */ - -// End of auto generated file. diff --git a/trunk/CIAO/tests/Minimum/Receiver/Receiver_stub_export.h b/trunk/CIAO/tests/Minimum/Receiver/Receiver_stub_export.h deleted file mode 100644 index c457802854f..00000000000 --- a/trunk/CIAO/tests/Minimum/Receiver/Receiver_stub_export.h +++ /dev/null @@ -1,54 +0,0 @@ - -// -*- C++ -*- -// $Id$ -// Definition for Win32 Export directives. -// This file is generated automatically by generate_export_file.pl RECEIVER_STUB -// ------------------------------ -#ifndef RECEIVER_STUB_EXPORT_H -#define RECEIVER_STUB_EXPORT_H - -#include "ace/config-all.h" - -#if !defined (RECEIVER_STUB_HAS_DLL) -# define RECEIVER_STUB_HAS_DLL 1 -#endif /* ! RECEIVER_STUB_HAS_DLL */ - -#if defined (RECEIVER_STUB_HAS_DLL) && (RECEIVER_STUB_HAS_DLL == 1) -# if defined (RECEIVER_STUB_BUILD_DLL) -# define RECEIVER_STUB_Export ACE_Proper_Export_Flag -# define RECEIVER_STUB_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) -# define RECEIVER_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# else /* RECEIVER_STUB_BUILD_DLL */ -# define RECEIVER_STUB_Export ACE_Proper_Import_Flag -# define RECEIVER_STUB_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) -# define RECEIVER_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# endif /* RECEIVER_STUB_BUILD_DLL */ -#else /* RECEIVER_STUB_HAS_DLL == 1 */ -# define RECEIVER_STUB_Export -# define RECEIVER_STUB_SINGLETON_DECLARATION(T) -# define RECEIVER_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -#endif /* RECEIVER_STUB_HAS_DLL == 1 */ - -// Set RECEIVER_STUB_NTRACE = 0 to turn on library specific tracing even if -// tracing is turned off for ACE. -#if !defined (RECEIVER_STUB_NTRACE) -# if (ACE_NTRACE == 1) -# define RECEIVER_STUB_NTRACE 1 -# else /* (ACE_NTRACE == 1) */ -# define RECEIVER_STUB_NTRACE 0 -# endif /* (ACE_NTRACE == 1) */ -#endif /* !RECEIVER_STUB_NTRACE */ - -#if (RECEIVER_STUB_NTRACE == 1) -# define RECEIVER_STUB_TRACE(X) -#else /* (RECEIVER_STUB_NTRACE == 1) */ -# if !defined (ACE_HAS_TRACE) -# define ACE_HAS_TRACE -# endif /* ACE_HAS_TRACE */ -# define RECEIVER_STUB_TRACE(X) ACE_TRACE_IMPL(X) -# include "ace/Trace.h" -#endif /* (RECEIVER_STUB_NTRACE == 1) */ - -#endif /* RECEIVER_STUB_EXPORT_H */ - -// End of auto generated file. diff --git a/trunk/CIAO/tests/Minimum/Receiver/Receiver_svnt_export.h b/trunk/CIAO/tests/Minimum/Receiver/Receiver_svnt_export.h deleted file mode 100644 index 1c9eca2556d..00000000000 --- a/trunk/CIAO/tests/Minimum/Receiver/Receiver_svnt_export.h +++ /dev/null @@ -1,54 +0,0 @@ - -// -*- C++ -*- -// $Id$ -// Definition for Win32 Export directives. -// This file is generated automatically by generate_export_file.pl RECEIVER_SVNT -// ------------------------------ -#ifndef RECEIVER_SVNT_EXPORT_H -#define RECEIVER_SVNT_EXPORT_H - -#include "ace/config-all.h" - -#if !defined (RECEIVER_SVNT_HAS_DLL) -# define RECEIVER_SVNT_HAS_DLL 1 -#endif /* ! RECEIVER_SVNT_HAS_DLL */ - -#if defined (RECEIVER_SVNT_HAS_DLL) && (RECEIVER_SVNT_HAS_DLL == 1) -# if defined (RECEIVER_SVNT_BUILD_DLL) -# define RECEIVER_SVNT_Export ACE_Proper_Export_Flag -# define RECEIVER_SVNT_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) -# define RECEIVER_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# else /* RECEIVER_SVNT_BUILD_DLL */ -# define RECEIVER_SVNT_Export ACE_Proper_Import_Flag -# define RECEIVER_SVNT_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) -# define RECEIVER_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# endif /* RECEIVER_SVNT_BUILD_DLL */ -#else /* RECEIVER_SVNT_HAS_DLL == 1 */ -# define RECEIVER_SVNT_Export -# define RECEIVER_SVNT_SINGLETON_DECLARATION(T) -# define RECEIVER_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -#endif /* RECEIVER_SVNT_HAS_DLL == 1 */ - -// Set RECEIVER_SVNT_NTRACE = 0 to turn on library specific tracing even if -// tracing is turned off for ACE. -#if !defined (RECEIVER_SVNT_NTRACE) -# if (ACE_NTRACE == 1) -# define RECEIVER_SVNT_NTRACE 1 -# else /* (ACE_NTRACE == 1) */ -# define RECEIVER_SVNT_NTRACE 0 -# endif /* (ACE_NTRACE == 1) */ -#endif /* !RECEIVER_SVNT_NTRACE */ - -#if (RECEIVER_SVNT_NTRACE == 1) -# define RECEIVER_SVNT_TRACE(X) -#else /* (RECEIVER_SVNT_NTRACE == 1) */ -# if !defined (ACE_HAS_TRACE) -# define ACE_HAS_TRACE -# endif /* ACE_HAS_TRACE */ -# define RECEIVER_SVNT_TRACE(X) ACE_TRACE_IMPL(X) -# include "ace/Trace.h" -#endif /* (RECEIVER_SVNT_NTRACE == 1) */ - -#endif /* RECEIVER_SVNT_EXPORT_H */ - -// End of auto generated file. |
