diff options
Diffstat (limited to 'modules/CIAO/RACE/Output_Adapters/XML_Output_Adapter')
8 files changed, 634 insertions, 0 deletions
diff --git a/modules/CIAO/RACE/Output_Adapters/XML_Output_Adapter/XML_Output_Adapter.cidl b/modules/CIAO/RACE/Output_Adapters/XML_Output_Adapter/XML_Output_Adapter.cidl new file mode 100644 index 00000000000..bfd889a8dd3 --- /dev/null +++ b/modules/CIAO/RACE/Output_Adapters/XML_Output_Adapter/XML_Output_Adapter.cidl @@ -0,0 +1,25 @@ +//$Id$ +//XML_Output_Adapter.cidl + +#ifndef RACE_XML_OUTPUT_ADAPTER_CIDL +#define RACE_XML_OUTPUT_ADAPTER_CIDL + +#include "XML_Output_Adapter.idl" + +module CIAO +{ + module RACE + { + composition session XML_Output_Adapter_Impl + { + home executor XML_Output_Adapter_Home_Exec + { + implements RACE::XML_Output_Adapter_Home; + manages XML_Output_Adapter_Exec; + }; + }; + }; +}; + + +#endif /* RACE_XML_OUTPUT_ADAPTER_CIDL */ diff --git a/modules/CIAO/RACE/Output_Adapters/XML_Output_Adapter/XML_Output_Adapter.idl b/modules/CIAO/RACE/Output_Adapters/XML_Output_Adapter/XML_Output_Adapter.idl new file mode 100644 index 00000000000..818e1626111 --- /dev/null +++ b/modules/CIAO/RACE/Output_Adapters/XML_Output_Adapter/XML_Output_Adapter.idl @@ -0,0 +1,21 @@ +//$Id$ +#ifndef RACE_XML_OUTPUT_ADAPTER_IDL +#define RACE_XML_OUTPUT_ADAPTER_IDL + +#include "../Base/Output_Adapter.idl" + +module CIAO +{ + module RACE + { + component XML_Output_Adapter : Output_Adapter + { + }; + + home XML_Output_Adapter_Home manages XML_Output_Adapter + { + }; + }; +}; + +#endif /* RACE_XML_OUTPUT_ADAPTER_IDL */ diff --git a/modules/CIAO/RACE/Output_Adapters/XML_Output_Adapter/XML_Output_Adapter.mpc b/modules/CIAO/RACE/Output_Adapters/XML_Output_Adapter/XML_Output_Adapter.mpc new file mode 100644 index 00000000000..fca465a75fd --- /dev/null +++ b/modules/CIAO/RACE/Output_Adapters/XML_Output_Adapter/XML_Output_Adapter.mpc @@ -0,0 +1,76 @@ +// generate_component_mpc.pl,v 1.9 2003/12/22 21:56:27 boris Exp +//$Id$ +// This file is generated with "generate_component_mpc.pl -p Output_Adapter XML_Output_Adapter" + +project(XML_Output_Adapter_stub): ciao_deployment_stub { + after += Output_Adapter_stub + sharedname = XML_Output_Adapter_stub + idlflags += -Wb,stub_export_macro=XML_OUTPUT_ADAPTER_STUB_Export \ + -Wb,stub_export_include=XML_Output_Adapter_stub_export.h \ + -Wb,skel_export_macro=XML_OUTPUT_ADAPTER_SVNT_Export \ + -Wb,skel_export_include=XML_Output_Adapter_svnt_export.h + dynamicflags = XML_OUTPUT_ADAPTER_STUB_BUILD_DLL + libs += Output_Adapter_stub \ + Output_Adapter_Interface_stub + + IDL_Files { + XML_Output_Adapter.idl + } + + Source_Files { + XML_Output_AdapterC.cpp + } +} + +project(XML_Output_Adapter_svnt) : ciao_servant_dnc { + after += Output_Adapter_svnt XML_Output_Adapter_stub + sharedname = XML_Output_Adapter_svnt + libs += XML_Output_Adapter_stub \ + Output_Adapter_stub \ + Output_Adapter_svnt \ + Output_Adapter_Interface_stub \ + Output_Adapter_Interface_svnt + + idlflags += -Wb,export_macro=XML_OUTPUT_ADAPTER_SVNT_Export \ + -Wb,export_include=XML_Output_Adapter_svnt_export.h + dynamicflags = XML_OUTPUT_ADAPTER_SVNT_BUILD_DLL + + CIDL_Files { + XML_Output_Adapter.cidl + } + + IDL_Files { + XML_Output_AdapterE.idl + } + + Source_Files { + XML_Output_AdapterEC.cpp + XML_Output_AdapterS.cpp + XML_Output_Adapter_svnt.cpp + } +} + + +project(XML_Output_Adapter_exec) : ciao_component_dnc { + after += XML_Output_Adapter_svnt + sharedname = XML_Output_Adapter_exec + libs += XML_Output_Adapter_stub \ + XML_Output_Adapter_svnt \ + Output_Adapter_stub \ + Output_Adapter_svnt \ + Output_Adapter_Interface_stub \ + Output_Adapter_Interface_svnt + + idlflags += -Wb,export_macro=XML_OUTPUT_ADAPTER_EXEC_Export \ + -Wb,export_include=XML_Output_Adapter_exec_export.h + dynamicflags = XML_OUTPUT_ADAPTER_EXEC_BUILD_DLL + + IDL_Files { + + } + + Source_Files { + + XML_Output_Adapter_exec.cpp + } +} diff --git a/modules/CIAO/RACE/Output_Adapters/XML_Output_Adapter/XML_Output_Adapter_exec.cpp b/modules/CIAO/RACE/Output_Adapters/XML_Output_Adapter/XML_Output_Adapter_exec.cpp new file mode 100644 index 00000000000..26288a3b96c --- /dev/null +++ b/modules/CIAO/RACE/Output_Adapters/XML_Output_Adapter/XML_Output_Adapter_exec.cpp @@ -0,0 +1,198 @@ +// $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 "XML_Output_Adapter_exec.h" +#include "ciao/CIAO_common.h" + +namespace CIAO +{ + namespace RACE + { + namespace CIDL_XML_Output_Adapter_Impl + { + //================================================================== + // Facet Executor Implementation Class: PlanEgress_exec_i + //================================================================== + + PlanEgress_exec_i::PlanEgress_exec_i (void) + { + } + + PlanEgress_exec_i::~PlanEgress_exec_i (void) + { + } + + // Operations from ::CIAO::RACE::PlanEgress + + ::CORBA::Boolean + PlanEgress_exec_i::output_plan ( + const ::Deployment::DeploymentPlan & /* plan */) + ACE_THROW_SPEC ((CORBA::SystemException)) + { + // Your code here. + return false; + } + + //================================================================== + // Component Executor Implementation Class: XML_Output_Adapter_exec_i + //================================================================== + + XML_Output_Adapter_exec_i::XML_Output_Adapter_exec_i (void) + { + } + + XML_Output_Adapter_exec_i::~XML_Output_Adapter_exec_i (void) + { + } + + // Supported or inherited operations. + + // Attribute operations. + + // Port operations. + + ::CIAO::RACE::CCM_PlanEgress_ptr + XML_Output_Adapter_exec_i::get_plan_egress () + ACE_THROW_SPEC ((CORBA::SystemException)) + { + // Your code here. + return ::CIAO::RACE::CCM_PlanEgress::_nil (); + } + + // Operations from Components::SessionComponent + + void + XML_Output_Adapter_exec_i::set_session_context ( + ::Components::SessionContext_ptr ctx) + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)) + { + this->context_ = + XML_Output_Adapter_Context::_narrow ( + ctx); + + if (this->context_ == 0) + { + throw CORBA::INTERNAL (); + } + } + + void + XML_Output_Adapter_exec_i::ciao_preactivate () + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)) + { + // Your code here. + } + + void + XML_Output_Adapter_exec_i::ciao_postactivate () + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)) + { + // Your code here. + } + + void + XML_Output_Adapter_exec_i::ccm_activate () + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)) + { + // Your code here. + } + + void + XML_Output_Adapter_exec_i::ccm_passivate () + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)) + { + // Your code here. + } + + void + XML_Output_Adapter_exec_i::ccm_remove () + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)) + { + // Your code here. + } + + //================================================================== + // Home Executor Implementation Class: XML_Output_Adapter_Home_exec_i + //================================================================== + + XML_Output_Adapter_Home_exec_i::XML_Output_Adapter_Home_exec_i (void) + { + } + + XML_Output_Adapter_Home_exec_i::~XML_Output_Adapter_Home_exec_i (void) + { + } + + // Supported or inherited operations. + + // Home operations. + + // Factory and finder operations. + + // Attribute operations. + + // Implicit operations. + + ::Components::EnterpriseComponent_ptr + XML_Output_Adapter_Home_exec_i::create () + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)) + { + ::Components::EnterpriseComponent_ptr retval = + ::Components::EnterpriseComponent::_nil (); + + ACE_NEW_THROW_EX ( + retval, + XML_Output_Adapter_exec_i, + CORBA::NO_MEMORY ()); + + return retval; + } + + extern "C" XML_OUTPUT_ADAPTER_EXEC_Export ::Components::HomeExecutorBase_ptr + createXML_Output_Adapter_Home_Impl (void) + { + ::Components::HomeExecutorBase_ptr retval = + ::Components::HomeExecutorBase::_nil (); + + ACE_NEW_RETURN ( + retval, + XML_Output_Adapter_Home_exec_i, + ::Components::HomeExecutorBase::_nil ()); + + return retval; + } + } + } +} + diff --git a/modules/CIAO/RACE/Output_Adapters/XML_Output_Adapter/XML_Output_Adapter_exec.h b/modules/CIAO/RACE/Output_Adapters/XML_Output_Adapter/XML_Output_Adapter_exec.h new file mode 100644 index 00000000000..2dc45207a3e --- /dev/null +++ b/modules/CIAO/RACE/Output_Adapters/XML_Output_Adapter/XML_Output_Adapter_exec.h @@ -0,0 +1,152 @@ +// $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_XML_OUTPUT_ADAPTER_EXEC_H +#define CIAO_XML_OUTPUT_ADAPTER_EXEC_H + +#include /**/ "ace/pre.h" + +#include "XML_Output_Adapter_svnt.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "XML_Output_Adapter_exec_export.h" +#include "tao/LocalObject.h" + +namespace CIAO +{ + namespace RACE + { + namespace CIDL_XML_Output_Adapter_Impl + { + class XML_OUTPUT_ADAPTER_EXEC_Export PlanEgress_exec_i + : public virtual ::CIAO::RACE::CCM_PlanEgress, + public virtual TAO_Local_RefCounted_Object + { + public: + PlanEgress_exec_i (void); + virtual ~PlanEgress_exec_i (void); + + // Operations from ::CIAO::RACE::PlanEgress + + virtual ::CORBA::Boolean + output_plan ( + const ::Deployment::DeploymentPlan & plan) + ACE_THROW_SPEC ((CORBA::SystemException)); + }; + + class XML_OUTPUT_ADAPTER_EXEC_Export XML_Output_Adapter_exec_i + : public virtual XML_Output_Adapter_Exec, + public virtual TAO_Local_RefCounted_Object + { + public: + XML_Output_Adapter_exec_i (void); + virtual ~XML_Output_Adapter_exec_i (void); + + // Supported or inherited operations. + + // Attribute operations. + + // Port operations. + + virtual ::CIAO::RACE::CCM_PlanEgress_ptr + get_plan_egress () + ACE_THROW_SPEC ((CORBA::SystemException)); + + // Operations from Components::SessionComponent + + virtual void + set_session_context ( + ::Components::SessionContext_ptr ctx) + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)); + + virtual void + ciao_preactivate () + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)); + + virtual void + ciao_postactivate () + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)); + + virtual void + ccm_activate () + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)); + + virtual void + ccm_passivate () + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)); + + virtual void + ccm_remove () + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)); + + protected: + XML_Output_Adapter_Context *context_; + }; + + class XML_OUTPUT_ADAPTER_EXEC_Export XML_Output_Adapter_Home_exec_i + : public virtual XML_Output_Adapter_Home_Exec, + public virtual TAO_Local_RefCounted_Object + { + public: + XML_Output_Adapter_Home_exec_i (void); + virtual ~XML_Output_Adapter_Home_exec_i (void); + + // Supported or inherited operations. + + // Home operations. + + // Factory and finder operations. + + // Attribute operations. + + // Implicit operations. + + virtual ::Components::EnterpriseComponent_ptr + create () + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)); + }; + + extern "C" XML_OUTPUT_ADAPTER_EXEC_Export ::Components::HomeExecutorBase_ptr + createXML_Output_Adapter_Home_Impl (void); + } + } +} + +#include /**/ "ace/post.h" + +#endif /* CIAO_XML_OUTPUT_ADAPTER_EXEC_H */ + diff --git a/modules/CIAO/RACE/Output_Adapters/XML_Output_Adapter/XML_Output_Adapter_exec_export.h b/modules/CIAO/RACE/Output_Adapters/XML_Output_Adapter/XML_Output_Adapter_exec_export.h new file mode 100644 index 00000000000..6fdbd02c910 --- /dev/null +++ b/modules/CIAO/RACE/Output_Adapters/XML_Output_Adapter/XML_Output_Adapter_exec_export.h @@ -0,0 +1,54 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl XML_OUTPUT_ADAPTER_EXEC +// ------------------------------ +#ifndef XML_OUTPUT_ADAPTER_EXEC_EXPORT_H +#define XML_OUTPUT_ADAPTER_EXEC_EXPORT_H + +#include "ace/config-all.h" + +#if !defined (XML_OUTPUT_ADAPTER_EXEC_HAS_DLL) +# define XML_OUTPUT_ADAPTER_EXEC_HAS_DLL 1 +#endif /* ! XML_OUTPUT_ADAPTER_EXEC_HAS_DLL */ + +#if defined (XML_OUTPUT_ADAPTER_EXEC_HAS_DLL) && (XML_OUTPUT_ADAPTER_EXEC_HAS_DLL == 1) +# if defined (XML_OUTPUT_ADAPTER_EXEC_BUILD_DLL) +# define XML_OUTPUT_ADAPTER_EXEC_Export ACE_Proper_Export_Flag +# define XML_OUTPUT_ADAPTER_EXEC_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define XML_OUTPUT_ADAPTER_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* XML_OUTPUT_ADAPTER_EXEC_BUILD_DLL */ +# define XML_OUTPUT_ADAPTER_EXEC_Export ACE_Proper_Import_Flag +# define XML_OUTPUT_ADAPTER_EXEC_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define XML_OUTPUT_ADAPTER_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* XML_OUTPUT_ADAPTER_EXEC_BUILD_DLL */ +#else /* XML_OUTPUT_ADAPTER_EXEC_HAS_DLL == 1 */ +# define XML_OUTPUT_ADAPTER_EXEC_Export +# define XML_OUTPUT_ADAPTER_EXEC_SINGLETON_DECLARATION(T) +# define XML_OUTPUT_ADAPTER_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* XML_OUTPUT_ADAPTER_EXEC_HAS_DLL == 1 */ + +// Set XML_OUTPUT_ADAPTER_EXEC_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (XML_OUTPUT_ADAPTER_EXEC_NTRACE) +# if (ACE_NTRACE == 1) +# define XML_OUTPUT_ADAPTER_EXEC_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define XML_OUTPUT_ADAPTER_EXEC_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !XML_OUTPUT_ADAPTER_EXEC_NTRACE */ + +#if (XML_OUTPUT_ADAPTER_EXEC_NTRACE == 1) +# define XML_OUTPUT_ADAPTER_EXEC_TRACE(X) +#else /* (XML_OUTPUT_ADAPTER_EXEC_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define XML_OUTPUT_ADAPTER_EXEC_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (XML_OUTPUT_ADAPTER_EXEC_NTRACE == 1) */ + +#endif /* XML_OUTPUT_ADAPTER_EXEC_EXPORT_H */ + +// End of auto generated file. diff --git a/modules/CIAO/RACE/Output_Adapters/XML_Output_Adapter/XML_Output_Adapter_stub_export.h b/modules/CIAO/RACE/Output_Adapters/XML_Output_Adapter/XML_Output_Adapter_stub_export.h new file mode 100644 index 00000000000..40bf6add478 --- /dev/null +++ b/modules/CIAO/RACE/Output_Adapters/XML_Output_Adapter/XML_Output_Adapter_stub_export.h @@ -0,0 +1,54 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl XML_OUTPUT_ADAPTER_STUB +// ------------------------------ +#ifndef XML_OUTPUT_ADAPTER_STUB_EXPORT_H +#define XML_OUTPUT_ADAPTER_STUB_EXPORT_H + +#include "ace/config-all.h" + +#if !defined (XML_OUTPUT_ADAPTER_STUB_HAS_DLL) +# define XML_OUTPUT_ADAPTER_STUB_HAS_DLL 1 +#endif /* ! XML_OUTPUT_ADAPTER_STUB_HAS_DLL */ + +#if defined (XML_OUTPUT_ADAPTER_STUB_HAS_DLL) && (XML_OUTPUT_ADAPTER_STUB_HAS_DLL == 1) +# if defined (XML_OUTPUT_ADAPTER_STUB_BUILD_DLL) +# define XML_OUTPUT_ADAPTER_STUB_Export ACE_Proper_Export_Flag +# define XML_OUTPUT_ADAPTER_STUB_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define XML_OUTPUT_ADAPTER_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* XML_OUTPUT_ADAPTER_STUB_BUILD_DLL */ +# define XML_OUTPUT_ADAPTER_STUB_Export ACE_Proper_Import_Flag +# define XML_OUTPUT_ADAPTER_STUB_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define XML_OUTPUT_ADAPTER_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* XML_OUTPUT_ADAPTER_STUB_BUILD_DLL */ +#else /* XML_OUTPUT_ADAPTER_STUB_HAS_DLL == 1 */ +# define XML_OUTPUT_ADAPTER_STUB_Export +# define XML_OUTPUT_ADAPTER_STUB_SINGLETON_DECLARATION(T) +# define XML_OUTPUT_ADAPTER_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* XML_OUTPUT_ADAPTER_STUB_HAS_DLL == 1 */ + +// Set XML_OUTPUT_ADAPTER_STUB_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (XML_OUTPUT_ADAPTER_STUB_NTRACE) +# if (ACE_NTRACE == 1) +# define XML_OUTPUT_ADAPTER_STUB_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define XML_OUTPUT_ADAPTER_STUB_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !XML_OUTPUT_ADAPTER_STUB_NTRACE */ + +#if (XML_OUTPUT_ADAPTER_STUB_NTRACE == 1) +# define XML_OUTPUT_ADAPTER_STUB_TRACE(X) +#else /* (XML_OUTPUT_ADAPTER_STUB_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define XML_OUTPUT_ADAPTER_STUB_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (XML_OUTPUT_ADAPTER_STUB_NTRACE == 1) */ + +#endif /* XML_OUTPUT_ADAPTER_STUB_EXPORT_H */ + +// End of auto generated file. diff --git a/modules/CIAO/RACE/Output_Adapters/XML_Output_Adapter/XML_Output_Adapter_svnt_export.h b/modules/CIAO/RACE/Output_Adapters/XML_Output_Adapter/XML_Output_Adapter_svnt_export.h new file mode 100644 index 00000000000..7c563fadf8a --- /dev/null +++ b/modules/CIAO/RACE/Output_Adapters/XML_Output_Adapter/XML_Output_Adapter_svnt_export.h @@ -0,0 +1,54 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl XML_OUTPUT_ADAPTER_SVNT +// ------------------------------ +#ifndef XML_OUTPUT_ADAPTER_SVNT_EXPORT_H +#define XML_OUTPUT_ADAPTER_SVNT_EXPORT_H + +#include "ace/config-all.h" + +#if !defined (XML_OUTPUT_ADAPTER_SVNT_HAS_DLL) +# define XML_OUTPUT_ADAPTER_SVNT_HAS_DLL 1 +#endif /* ! XML_OUTPUT_ADAPTER_SVNT_HAS_DLL */ + +#if defined (XML_OUTPUT_ADAPTER_SVNT_HAS_DLL) && (XML_OUTPUT_ADAPTER_SVNT_HAS_DLL == 1) +# if defined (XML_OUTPUT_ADAPTER_SVNT_BUILD_DLL) +# define XML_OUTPUT_ADAPTER_SVNT_Export ACE_Proper_Export_Flag +# define XML_OUTPUT_ADAPTER_SVNT_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define XML_OUTPUT_ADAPTER_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* XML_OUTPUT_ADAPTER_SVNT_BUILD_DLL */ +# define XML_OUTPUT_ADAPTER_SVNT_Export ACE_Proper_Import_Flag +# define XML_OUTPUT_ADAPTER_SVNT_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define XML_OUTPUT_ADAPTER_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* XML_OUTPUT_ADAPTER_SVNT_BUILD_DLL */ +#else /* XML_OUTPUT_ADAPTER_SVNT_HAS_DLL == 1 */ +# define XML_OUTPUT_ADAPTER_SVNT_Export +# define XML_OUTPUT_ADAPTER_SVNT_SINGLETON_DECLARATION(T) +# define XML_OUTPUT_ADAPTER_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* XML_OUTPUT_ADAPTER_SVNT_HAS_DLL == 1 */ + +// Set XML_OUTPUT_ADAPTER_SVNT_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (XML_OUTPUT_ADAPTER_SVNT_NTRACE) +# if (ACE_NTRACE == 1) +# define XML_OUTPUT_ADAPTER_SVNT_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define XML_OUTPUT_ADAPTER_SVNT_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !XML_OUTPUT_ADAPTER_SVNT_NTRACE */ + +#if (XML_OUTPUT_ADAPTER_SVNT_NTRACE == 1) +# define XML_OUTPUT_ADAPTER_SVNT_TRACE(X) +#else /* (XML_OUTPUT_ADAPTER_SVNT_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define XML_OUTPUT_ADAPTER_SVNT_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (XML_OUTPUT_ADAPTER_SVNT_NTRACE == 1) */ + +#endif /* XML_OUTPUT_ADAPTER_SVNT_EXPORT_H */ + +// End of auto generated file. |