diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2005-08-22 16:01:38 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2005-08-22 16:01:38 +0000 |
commit | 547192a698a374c23b1ee4ecc6d7b14e9cc5f790 (patch) | |
tree | cd03219ce2dac893e0a635bb41731a7070b07449 | |
parent | 5b37481469437ba8db93f08c043b3b8def328306 (diff) | |
download | ATCD-547192a698a374c23b1ee4ecc6d7b14e9cc5f790.tar.gz |
Mon Aug 22 10:59:18 2005 William Otte <wotte@dre.vanderbilt.edu>
9 files changed, 652 insertions, 0 deletions
diff --git a/TAO/CIAO/ChangeLog b/TAO/CIAO/ChangeLog index 70a61343f1b..8f117732d2c 100644 --- a/TAO/CIAO/ChangeLog +++ b/TAO/CIAO/ChangeLog @@ -1,3 +1,16 @@ +Mon Aug 22 10:59:18 2005 William Otte <wotte@dre.vanderbilt.edu> + + * DAnCE/DeploymentManager/DeploymentManager.cidl + * DAnCE/DeploymentManager/DeploymentManager.idl + * DAnCE/DeploymentManager/DeploymentManager.mpc + * DAnCE/DeploymentManager/DeploymentManager_Impl.cpp + * DAnCE/DeploymentManager/DeploymentManager_Impl.h + * DAnCE/DeploymentManager/DeploymentManager_exec_export.h + * DAnCE/DeploymentManager/DeploymentManager_stub_export.h + * DAnCE/DeploymentManager/DeploymentManager_svnt_export.h + + Preliminary skeleton for the DeploymentManager. + Fri Aug 19 07:56:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl> * DAnCE/Config_Handlers/Any_Handler.cpp: diff --git a/TAO/CIAO/DAnCE/DeploymentManager/DeploymentManager.cidl b/TAO/CIAO/DAnCE/DeploymentManager/DeploymentManager.cidl new file mode 100644 index 00000000000..112ee53ffa9 --- /dev/null +++ b/TAO/CIAO/DAnCE/DeploymentManager/DeploymentManager.cidl @@ -0,0 +1,25 @@ +/** + * @file DeploymentManager.cidl + * @author Will Otte <wotte@dre.vanderbilt.edu> + * @author Jaiganesh Balasubramanian <jai@dre.vanderbilt.edu> + * + * $Id$ + */ + +#include "DeploymentManager.idl" + +module CIAO +{ + module RACE + { + composition session AllocationManager_Impl + { + home executor AllocationManager + { + implements AllocationManagerHome; + manages AllocationManager_Exec; + + }; + }; + }; +}; diff --git a/TAO/CIAO/DAnCE/DeploymentManager/DeploymentManager.idl b/TAO/CIAO/DAnCE/DeploymentManager/DeploymentManager.idl new file mode 100644 index 00000000000..ecf40f8f843 --- /dev/null +++ b/TAO/CIAO/DAnCE/DeploymentManager/DeploymentManager.idl @@ -0,0 +1,30 @@ +/** + * @file DeploymentManager.idl + * @author Will Otte <wotte@dre.vanderbilt.edu> + * @author Jaiganesh Balasubramanian <jai@dre.vanderbilt.edu> + * + * $Id$ + */ + +#include "Components.idl" +#include "Deployment_Data.idl" + +module CIAO +{ + module RACE + { + interface Dynamic_Deployment + { + void generate_deployment (in ::Deployment::DeploymentPlan plan); + }; + + component AllocationManager supports Dynamic_Deployment + { + attribute string em_ior; + }; + + home AllocationManagerHome manages AllocationManager + { + }; + }; +}; diff --git a/TAO/CIAO/DAnCE/DeploymentManager/DeploymentManager.mpc b/TAO/CIAO/DAnCE/DeploymentManager/DeploymentManager.mpc new file mode 100644 index 00000000000..ea44dda6231 --- /dev/null +++ b/TAO/CIAO/DAnCE/DeploymentManager/DeploymentManager.mpc @@ -0,0 +1,62 @@ +// $Id$ +// This file is generated with "generate_component_mpc.pl DeploymentManager" + +project(DeploymentManager_stub): ciao_client_dnc { + + sharedname = DeploymentManager_stub + idlflags += -Wb,stub_export_macro=DEPLOYMENTMANAGER_STUB_Export -Wb,stub_export_include=DeploymentManager_stub_export.h -Wb,skel_export_macro=DEPLOYMENTMANAGER_SVNT_Export -Wb,skel_export_include=DeploymentManager_svnt_export.h + dynamicflags = DEPLOYMENTMANAGER_STUB_BUILD_DLL + + IDL_Files { + DeploymentManager.idl + } + + Source_Files { + DeploymentManagerC.cpp + } +} + +project(DeploymentManager_svnt) : ciao_servant_dnc { + after += DeploymentManager_stub + sharedname = DeploymentManager_svnt + libs += DeploymentManager_stub + + idlflags += -Wb,export_macro=DEPLOYMENTMANAGER_SVNT_Export -Wb,export_include=DeploymentManager_svnt_export.h + dynamicflags = DEPLOYMENTMANAGER_SVNT_BUILD_DLL + + CIDL_Files { + DeploymentManager.cidl + } + + IDL_Files { + DeploymentManagerE.idl + } + + Source_Files { + DeploymentManagerEC.cpp + DeploymentManagerS.cpp + DeploymentManager_svnt.cpp + } +} + + +project(DeploymentManager_exec) : ciao_component_dnc { + after += DeploymentManager_svnt + sharedname = DeploymentManager_exec + libs += DeploymentManager_stub DeploymentManager_svnt + + idlflags += -Wb,export_macro=DEPLOYMENTMANAGER_EXEC_Export -Wb,export_include=DeploymentManager_exec_export.h + dynamicflags = DEPLOYMENTMANAGER_EXEC_BUILD_DLL + + IDL_Files { + + } + + Source_Files { + + DeploymentManager_Impl.cpp + } +} + + + diff --git a/TAO/CIAO/DAnCE/DeploymentManager/DeploymentManager_Impl.cpp b/TAO/CIAO/DAnCE/DeploymentManager/DeploymentManager_Impl.cpp new file mode 100644 index 00000000000..b48541d31bd --- /dev/null +++ b/TAO/CIAO/DAnCE/DeploymentManager/DeploymentManager_Impl.cpp @@ -0,0 +1,204 @@ +// $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 "DeploymentManager_Impl.h" +#include "ciao/CIAO_common.h" + +namespace CIAO +{ + namespace RACE + { + namespace CIDL_AllocationManager_Impl + { + //================================================================== + // Component Executor Implementation Class: AllocationManager_exec_i + //================================================================== + + AllocationManager_exec_i::AllocationManager_exec_i (void) + { + } + + AllocationManager_exec_i::~AllocationManager_exec_i (void) + { + } + + // Supported or inherited operations. + + void + AllocationManager_exec_i::generate_deployment ( + const ::Deployment::DeploymentPlan & /* plan */ + ACE_ENV_ARG_DECL_NOT_USED) + ACE_THROW_SPEC ((CORBA::SystemException)) + { + // Your code here. + } + + // Attribute operations. + + char * + AllocationManager_exec_i::em_ior ( + ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_THROW_SPEC ((CORBA::SystemException)) + { + // Your code here. + return 0; + } + + void + AllocationManager_exec_i::em_ior ( + const char * /* em_ior */ + ACE_ENV_ARG_DECL_NOT_USED) + ACE_THROW_SPEC ((CORBA::SystemException)) + { + // Your code here. + } + + // Port operations. + + // Operations from Components::SessionComponent + + void + AllocationManager_exec_i::set_session_context ( + ::Components::SessionContext_ptr ctx + ACE_ENV_ARG_DECL) + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)) + { + this->context_ = + AllocationManager_Context::_narrow ( + ctx + ACE_ENV_ARG_PARAMETER); + ACE_CHECK; + + if (this->context_ == 0) + { + ACE_THROW (CORBA::INTERNAL ()); + } + } + + void + AllocationManager_exec_i::ciao_preactivate ( + ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)) + { + // Your code here. + } + + void + AllocationManager_exec_i::ciao_postactivate ( + ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)) + { + // Your code here. + } + + void + AllocationManager_exec_i::ccm_activate ( + ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)) + { + // Your code here. + } + + void + AllocationManager_exec_i::ccm_passivate ( + ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)) + { + // Your code here. + } + + void + AllocationManager_exec_i::ccm_remove ( + ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)) + { + // Your code here. + } + + //================================================================== + // Home Executor Implementation Class: AllocationManagerHome_exec_i + //================================================================== + + AllocationManagerHome_exec_i::AllocationManagerHome_exec_i (void) + { + } + + AllocationManagerHome_exec_i::~AllocationManagerHome_exec_i (void) + { + } + + // Supported or inherited operations. + + // Home operations. + + // Factory and finder operations. + + // Attribute operations. + + // Implicit operations. + + ::Components::EnterpriseComponent_ptr + AllocationManagerHome_exec_i::create ( + ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)) + { + ::Components::EnterpriseComponent_ptr retval = + ::Components::EnterpriseComponent::_nil (); + + ACE_NEW_THROW_EX ( + retval, + AllocationManager_exec_i, + CORBA::NO_MEMORY ()); + ACE_CHECK_RETURN (::Components::EnterpriseComponent::_nil ()); + + return retval; + } + + extern "C" DEPLOYMENTMANAGER_EXEC_Export ::Components::HomeExecutorBase_ptr + createAllocationManagerHome_Impl (void) + { + ::Components::HomeExecutorBase_ptr retval = + ::Components::HomeExecutorBase::_nil (); + + ACE_NEW_RETURN ( + retval, + AllocationManagerHome_exec_i, + ::Components::HomeExecutorBase::_nil ()); + + return retval; + } + } + } +} + diff --git a/TAO/CIAO/DAnCE/DeploymentManager/DeploymentManager_Impl.h b/TAO/CIAO/DAnCE/DeploymentManager/DeploymentManager_Impl.h new file mode 100644 index 00000000000..805ec935545 --- /dev/null +++ b/TAO/CIAO/DAnCE/DeploymentManager/DeploymentManager_Impl.h @@ -0,0 +1,156 @@ +// $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_DEPLOYMENTMANAGER_EXEC_H +#define CIAO_DEPLOYMENTMANAGER_EXEC_H + +#include /**/ "ace/pre.h" + +#include "DeploymentManager_svnt.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "DeploymentManager_exec_export.h" +#include "tao/LocalObject.h" + +namespace CIAO +{ + namespace RACE + { + namespace CIDL_AllocationManager_Impl + { + class DEPLOYMENTMANAGER_EXEC_Export AllocationManager_exec_i + : public virtual AllocationManager_Exec, + public virtual TAO_Local_RefCounted_Object + { + public: + AllocationManager_exec_i (void); + virtual ~AllocationManager_exec_i (void); + + // Supported or inherited operations. + + virtual void + generate_deployment ( + const ::Deployment::DeploymentPlan & plan + ACE_ENV_ARG_DECL_WITH_DEFAULTS) + ACE_THROW_SPEC ((CORBA::SystemException)); + + // Attribute operations. + + virtual char * + em_ior ( + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual void + em_ior ( + const char * + ACE_ENV_ARG_DECL_WITH_DEFAULTS) + ACE_THROW_SPEC ((CORBA::SystemException)); + + // Port operations. + + // Operations from Components::SessionComponent + + virtual void + set_session_context ( + ::Components::SessionContext_ptr ctx + ACE_ENV_ARG_DECL_WITH_DEFAULTS) + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)); + + virtual void + ciao_preactivate ( + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)); + + virtual void + ciao_postactivate ( + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)); + + virtual void + ccm_activate ( + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)); + + virtual void + ccm_passivate ( + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)); + + virtual void + ccm_remove ( + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)); + + protected: + AllocationManager_Context *context_; + }; + + class DEPLOYMENTMANAGER_EXEC_Export AllocationManagerHome_exec_i + : public virtual AllocationManager, + public virtual TAO_Local_RefCounted_Object + { + public: + AllocationManagerHome_exec_i (void); + virtual ~AllocationManagerHome_exec_i (void); + + // Supported or inherited operations. + + // Home operations. + + // Factory and finder operations. + + // Attribute operations. + + // Implicit operations. + + virtual ::Components::EnterpriseComponent_ptr + create ( + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)); + }; + + extern "C" DEPLOYMENTMANAGER_EXEC_Export ::Components::HomeExecutorBase_ptr + createAllocationManagerHome_Impl (void); + } + } +} + +#include /**/ "ace/post.h" + +#endif /* CIAO_DEPLOYMENTMANAGER_EXEC_H */ + diff --git a/TAO/CIAO/DAnCE/DeploymentManager/DeploymentManager_exec_export.h b/TAO/CIAO/DAnCE/DeploymentManager/DeploymentManager_exec_export.h new file mode 100644 index 00000000000..df9b24de3d4 --- /dev/null +++ b/TAO/CIAO/DAnCE/DeploymentManager/DeploymentManager_exec_export.h @@ -0,0 +1,54 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl DEPLOYMENTMANAGER_EXEC +// ------------------------------ +#ifndef DEPLOYMENTMANAGER_EXEC_EXPORT_H +#define DEPLOYMENTMANAGER_EXEC_EXPORT_H + +#include "ace/config-all.h" + +#if !defined (DEPLOYMENTMANAGER_EXEC_HAS_DLL) +# define DEPLOYMENTMANAGER_EXEC_HAS_DLL 1 +#endif /* ! DEPLOYMENTMANAGER_EXEC_HAS_DLL */ + +#if defined (DEPLOYMENTMANAGER_EXEC_HAS_DLL) && (DEPLOYMENTMANAGER_EXEC_HAS_DLL == 1) +# if defined (DEPLOYMENTMANAGER_EXEC_BUILD_DLL) +# define DEPLOYMENTMANAGER_EXEC_Export ACE_Proper_Export_Flag +# define DEPLOYMENTMANAGER_EXEC_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define DEPLOYMENTMANAGER_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* DEPLOYMENTMANAGER_EXEC_BUILD_DLL */ +# define DEPLOYMENTMANAGER_EXEC_Export ACE_Proper_Import_Flag +# define DEPLOYMENTMANAGER_EXEC_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define DEPLOYMENTMANAGER_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* DEPLOYMENTMANAGER_EXEC_BUILD_DLL */ +#else /* DEPLOYMENTMANAGER_EXEC_HAS_DLL == 1 */ +# define DEPLOYMENTMANAGER_EXEC_Export +# define DEPLOYMENTMANAGER_EXEC_SINGLETON_DECLARATION(T) +# define DEPLOYMENTMANAGER_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* DEPLOYMENTMANAGER_EXEC_HAS_DLL == 1 */ + +// Set DEPLOYMENTMANAGER_EXEC_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (DEPLOYMENTMANAGER_EXEC_NTRACE) +# if (ACE_NTRACE == 1) +# define DEPLOYMENTMANAGER_EXEC_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define DEPLOYMENTMANAGER_EXEC_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !DEPLOYMENTMANAGER_EXEC_NTRACE */ + +#if (DEPLOYMENTMANAGER_EXEC_NTRACE == 1) +# define DEPLOYMENTMANAGER_EXEC_TRACE(X) +#else /* (DEPLOYMENTMANAGER_EXEC_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define DEPLOYMENTMANAGER_EXEC_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (DEPLOYMENTMANAGER_EXEC_NTRACE == 1) */ + +#endif /* DEPLOYMENTMANAGER_EXEC_EXPORT_H */ + +// End of auto generated file. diff --git a/TAO/CIAO/DAnCE/DeploymentManager/DeploymentManager_stub_export.h b/TAO/CIAO/DAnCE/DeploymentManager/DeploymentManager_stub_export.h new file mode 100644 index 00000000000..00fa491dea2 --- /dev/null +++ b/TAO/CIAO/DAnCE/DeploymentManager/DeploymentManager_stub_export.h @@ -0,0 +1,54 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl DEPLOYMENTMANAGER_STUB +// ------------------------------ +#ifndef DEPLOYMENTMANAGER_STUB_EXPORT_H +#define DEPLOYMENTMANAGER_STUB_EXPORT_H + +#include "ace/config-all.h" + +#if !defined (DEPLOYMENTMANAGER_STUB_HAS_DLL) +# define DEPLOYMENTMANAGER_STUB_HAS_DLL 1 +#endif /* ! DEPLOYMENTMANAGER_STUB_HAS_DLL */ + +#if defined (DEPLOYMENTMANAGER_STUB_HAS_DLL) && (DEPLOYMENTMANAGER_STUB_HAS_DLL == 1) +# if defined (DEPLOYMENTMANAGER_STUB_BUILD_DLL) +# define DEPLOYMENTMANAGER_STUB_Export ACE_Proper_Export_Flag +# define DEPLOYMENTMANAGER_STUB_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define DEPLOYMENTMANAGER_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* DEPLOYMENTMANAGER_STUB_BUILD_DLL */ +# define DEPLOYMENTMANAGER_STUB_Export ACE_Proper_Import_Flag +# define DEPLOYMENTMANAGER_STUB_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define DEPLOYMENTMANAGER_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* DEPLOYMENTMANAGER_STUB_BUILD_DLL */ +#else /* DEPLOYMENTMANAGER_STUB_HAS_DLL == 1 */ +# define DEPLOYMENTMANAGER_STUB_Export +# define DEPLOYMENTMANAGER_STUB_SINGLETON_DECLARATION(T) +# define DEPLOYMENTMANAGER_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* DEPLOYMENTMANAGER_STUB_HAS_DLL == 1 */ + +// Set DEPLOYMENTMANAGER_STUB_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (DEPLOYMENTMANAGER_STUB_NTRACE) +# if (ACE_NTRACE == 1) +# define DEPLOYMENTMANAGER_STUB_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define DEPLOYMENTMANAGER_STUB_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !DEPLOYMENTMANAGER_STUB_NTRACE */ + +#if (DEPLOYMENTMANAGER_STUB_NTRACE == 1) +# define DEPLOYMENTMANAGER_STUB_TRACE(X) +#else /* (DEPLOYMENTMANAGER_STUB_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define DEPLOYMENTMANAGER_STUB_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (DEPLOYMENTMANAGER_STUB_NTRACE == 1) */ + +#endif /* DEPLOYMENTMANAGER_STUB_EXPORT_H */ + +// End of auto generated file. diff --git a/TAO/CIAO/DAnCE/DeploymentManager/DeploymentManager_svnt_export.h b/TAO/CIAO/DAnCE/DeploymentManager/DeploymentManager_svnt_export.h new file mode 100644 index 00000000000..cc0579e9aab --- /dev/null +++ b/TAO/CIAO/DAnCE/DeploymentManager/DeploymentManager_svnt_export.h @@ -0,0 +1,54 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl DEPLOYMENTMANAGER_SVNT +// ------------------------------ +#ifndef DEPLOYMENTMANAGER_SVNT_EXPORT_H +#define DEPLOYMENTMANAGER_SVNT_EXPORT_H + +#include "ace/config-all.h" + +#if !defined (DEPLOYMENTMANAGER_SVNT_HAS_DLL) +# define DEPLOYMENTMANAGER_SVNT_HAS_DLL 1 +#endif /* ! DEPLOYMENTMANAGER_SVNT_HAS_DLL */ + +#if defined (DEPLOYMENTMANAGER_SVNT_HAS_DLL) && (DEPLOYMENTMANAGER_SVNT_HAS_DLL == 1) +# if defined (DEPLOYMENTMANAGER_SVNT_BUILD_DLL) +# define DEPLOYMENTMANAGER_SVNT_Export ACE_Proper_Export_Flag +# define DEPLOYMENTMANAGER_SVNT_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define DEPLOYMENTMANAGER_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* DEPLOYMENTMANAGER_SVNT_BUILD_DLL */ +# define DEPLOYMENTMANAGER_SVNT_Export ACE_Proper_Import_Flag +# define DEPLOYMENTMANAGER_SVNT_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define DEPLOYMENTMANAGER_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* DEPLOYMENTMANAGER_SVNT_BUILD_DLL */ +#else /* DEPLOYMENTMANAGER_SVNT_HAS_DLL == 1 */ +# define DEPLOYMENTMANAGER_SVNT_Export +# define DEPLOYMENTMANAGER_SVNT_SINGLETON_DECLARATION(T) +# define DEPLOYMENTMANAGER_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* DEPLOYMENTMANAGER_SVNT_HAS_DLL == 1 */ + +// Set DEPLOYMENTMANAGER_SVNT_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (DEPLOYMENTMANAGER_SVNT_NTRACE) +# if (ACE_NTRACE == 1) +# define DEPLOYMENTMANAGER_SVNT_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define DEPLOYMENTMANAGER_SVNT_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !DEPLOYMENTMANAGER_SVNT_NTRACE */ + +#if (DEPLOYMENTMANAGER_SVNT_NTRACE == 1) +# define DEPLOYMENTMANAGER_SVNT_TRACE(X) +#else /* (DEPLOYMENTMANAGER_SVNT_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define DEPLOYMENTMANAGER_SVNT_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (DEPLOYMENTMANAGER_SVNT_NTRACE == 1) */ + +#endif /* DEPLOYMENTMANAGER_SVNT_EXPORT_H */ + +// End of auto generated file. |