diff options
author | jai <jai@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-01-29 21:15:18 +0000 |
---|---|---|
committer | jai <jai@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-01-29 21:15:18 +0000 |
commit | b71531b42b3325fd6079a7039aae8641262c8adf (patch) | |
tree | a5b9aa16924c541fcb424ee9460b1ac7f5a89352 /modules/CIAO/RACE/Plan_Analyzer/Component | |
parent | a0f67cc97c0050d907145e312135b60c0125e56e (diff) | |
download | ATCD-DS-main.tar.gz |
branching/taggingDS-main
Diffstat (limited to 'modules/CIAO/RACE/Plan_Analyzer/Component')
8 files changed, 680 insertions, 0 deletions
diff --git a/modules/CIAO/RACE/Plan_Analyzer/Component/Plan_Analyzer.cidl b/modules/CIAO/RACE/Plan_Analyzer/Component/Plan_Analyzer.cidl new file mode 100644 index 00000000000..abb90746baa --- /dev/null +++ b/modules/CIAO/RACE/Plan_Analyzer/Component/Plan_Analyzer.cidl @@ -0,0 +1,25 @@ +//$Id$ +//Plan_Analyzer.cidl + +#ifndef RACE_PLAN_ANALYZER_CIDL +#define RACE_PLAN_ANALYZER_CIDL + +#include "Plan_Analyzer.idl" + +module CIAO +{ + module RACE + { + composition session Plan_Analyzer_Impl + { + home executor Plan_Analyzer_Home_Exec + { + implements RACE::Plan_Analyzer_Home; + manages Plan_Analyzer_Exec; + }; + }; + }; +}; + + +#endif /* RACE_PLAN_ANALYZER_CIDL */ diff --git a/modules/CIAO/RACE/Plan_Analyzer/Component/Plan_Analyzer.idl b/modules/CIAO/RACE/Plan_Analyzer/Component/Plan_Analyzer.idl new file mode 100644 index 00000000000..9f4fdd4668d --- /dev/null +++ b/modules/CIAO/RACE/Plan_Analyzer/Component/Plan_Analyzer.idl @@ -0,0 +1,32 @@ +//$Id$ +#ifndef RACE_PLAN_ANALYZER_IDL +#define RACE_PLAN_ANALYZER_IDL + +#include <Components.idl> +#include "../Interface/PlanIngress.idl" +#include "../../Planner_Manager/Interface/Planner_Manager_I.idl" + +module CIAO +{ + + module RACE + { + component Plan_Analyzer + { + provides PlanIngress plan_ingress; + uses Planner_Manager_I planner_manager_i; + + readonly attribute RACE_Classifications classes; + + // provides PlannerInfo pinfo; + // uses multiple Analyzer plugins; + }; + + home Plan_Analyzer_Home manages Plan_Analyzer + { + }; + }; +}; + + +#endif /* RACE_PLAN_ANALYZER_IDL */ diff --git a/modules/CIAO/RACE/Plan_Analyzer/Component/Plan_Analyzer.mpc b/modules/CIAO/RACE/Plan_Analyzer/Component/Plan_Analyzer.mpc new file mode 100644 index 00000000000..ccf3d9dae17 --- /dev/null +++ b/modules/CIAO/RACE/Plan_Analyzer/Component/Plan_Analyzer.mpc @@ -0,0 +1,100 @@ +// 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 Plan_Analyzer" + +project(Plan_Analyzer_stub): ciao_deployment_stub { + after += Plan_Analyzer_Interface_stub \ + RACE_common_stub \ + Planner_Manager_Interface_stub + sharedname = Plan_Analyzer_stub + idlflags += -Wb,stub_export_macro=PLAN_ANALYZER_STUB_Export \ + -Wb,stub_export_include=Plan_Analyzer_stub_export.h \ + -Wb,skel_export_macro=PLAN_ANALYZER_SVNT_Export \ + -Wb,skel_export_include=Plan_Analyzer_svnt_export.h + dynamicflags = PLAN_ANALYZER_STUB_BUILD_DLL + libs += Plan_Analyzer_Interface_stub \ + RACE_common_stub \ + Planner_Manager_Interface_stub + + IDL_Files { + Plan_Analyzer.idl + } + + Source_Files { + Plan_AnalyzerC.cpp + } + + Header_Files { + Plan_AnalyzerC.h + } + + Inline_Files { + Plan_AnalyzerC.inl + } +} + +project(Plan_Analyzer_svnt) : ciao_servant_dnc { + after += Plan_Analyzer_stub \ + Plan_Analyzer_Interface_svnt + sharedname = Plan_Analyzer_svnt + libs += Plan_Analyzer_stub \ + RACE_common_stub \ + Plan_Analyzer_Interface_stub \ + Plan_Analyzer_Interface_svnt \ + Planner_Manager_Interface_stub + + idlflags += -Wb,export_macro=PLAN_ANALYZER_SVNT_Export \ + -Wb,export_include=Plan_Analyzer_svnt_export.h + + dynamicflags = PLAN_ANALYZER_SVNT_BUILD_DLL + + CIDL_Files { + Plan_Analyzer.cidl + } + + IDL_Files { + Plan_AnalyzerE.idl + } + + Source_Files { + Plan_AnalyzerEC.cpp + Plan_AnalyzerS.cpp + Plan_Analyzer_svnt.cpp + } + + Header_Files { + Plan_AnalyzerEC.h + Plan_AnalyzerS.h + Plan_Analyzer_svnt.h + } + + Inline_Files { + Plan_AnalyzerEC.inl + Plan_AnalyzerS.inl + Plan_Analyzer_svnt.inl + } +} + + +project(Plan_Analyzer_exec) : ciao_component_dnc { + after += Plan_Analyzer_svnt + sharedname = Plan_Analyzer_exec + libs += Plan_Analyzer_stub \ + Plan_Analyzer_svnt \ + RACE_common_stub \ + Plan_Analyzer_Interface_stub \ + Plan_Analyzer_Interface_svnt \ + Planner_Manager_Interface_stub + + idlflags += -Wb,export_macro=PLAN_ANALYZER_EXEC_Export \ + -Wb,export_include=Plan_Analyzer_exec_export.h + dynamicflags = PLAN_ANALYZER_EXEC_BUILD_DLL + + IDL_Files { + + } + + Source_Files { + Plan_Analyzer_exec.cpp + } +} diff --git a/modules/CIAO/RACE/Plan_Analyzer/Component/Plan_Analyzer_exec.cpp b/modules/CIAO/RACE/Plan_Analyzer/Component/Plan_Analyzer_exec.cpp new file mode 100644 index 00000000000..09e976afbbe --- /dev/null +++ b/modules/CIAO/RACE/Plan_Analyzer/Component/Plan_Analyzer_exec.cpp @@ -0,0 +1,205 @@ +// $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 "Plan_Analyzer_exec.h" +#include "ciao/CIAO_common.h" + +namespace CIAO +{ + namespace RACE + { + namespace CIDL_Plan_Analyzer_Impl + { + //================================================================== + // Facet Executor Implementation Class: PlanIngress_exec_i + //================================================================== + + PlanIngress_exec_i::PlanIngress_exec_i (void) + { + } + + PlanIngress_exec_i::~PlanIngress_exec_i (void) + { + } + + // Operations from ::CIAO::RACE::PlanIngress + + void + PlanIngress_exec_i::analyze_plan ( + const ::Deployment::DeploymentPlan & /* plan */) + ACE_THROW_SPEC ((CORBA::SystemException)) + { + // Your code here. + } + + //================================================================== + // Component Executor Implementation Class: Plan_Analyzer_exec_i + //================================================================== + + Plan_Analyzer_exec_i::Plan_Analyzer_exec_i (void) + { + } + + Plan_Analyzer_exec_i::~Plan_Analyzer_exec_i (void) + { + } + + // Supported or inherited operations. + + // Attribute operations. + + ::CIAO::RACE::RACE_Classifications * + Plan_Analyzer_exec_i::classes () + ACE_THROW_SPEC ((CORBA::SystemException)) + { + // Your code here. + return 0; + } + + // Port operations. + + ::CIAO::RACE::CCM_PlanIngress_ptr + Plan_Analyzer_exec_i::get_plan_ingress () + ACE_THROW_SPEC ((CORBA::SystemException)) + { + // Your code here. + return ::CIAO::RACE::CCM_PlanIngress::_nil (); + } + + // Operations from Components::SessionComponent + + void + Plan_Analyzer_exec_i::set_session_context ( + ::Components::SessionContext_ptr ctx) + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)) + { + this->context_ = + Plan_Analyzer_Context::_narrow ( + ctx); + + if (this->context_ == 0) + { + throw CORBA::INTERNAL (); + } + } + + void + Plan_Analyzer_exec_i::ciao_preactivate () + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)) + { + // Your code here. + } + + void + Plan_Analyzer_exec_i::ciao_postactivate () + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)) + { + // Your code here. + } + + void + Plan_Analyzer_exec_i::ccm_activate () + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)) + { + // Your code here. + } + + void + Plan_Analyzer_exec_i::ccm_passivate () + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)) + { + // Your code here. + } + + void + Plan_Analyzer_exec_i::ccm_remove () + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)) + { + // Your code here. + } + + //================================================================== + // Home Executor Implementation Class: Plan_Analyzer_Home_exec_i + //================================================================== + + Plan_Analyzer_Home_exec_i::Plan_Analyzer_Home_exec_i (void) + { + } + + Plan_Analyzer_Home_exec_i::~Plan_Analyzer_Home_exec_i (void) + { + } + + // Supported or inherited operations. + + // Home operations. + + // Factory and finder operations. + + // Attribute operations. + + // Implicit operations. + + ::Components::EnterpriseComponent_ptr + Plan_Analyzer_Home_exec_i::create () + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)) + { + ::Components::EnterpriseComponent_ptr retval = + ::Components::EnterpriseComponent::_nil (); + + ACE_NEW_THROW_EX ( + retval, + Plan_Analyzer_exec_i, + CORBA::NO_MEMORY ()); + + return retval; + } + + extern "C" PLAN_ANALYZER_EXEC_Export ::Components::HomeExecutorBase_ptr + createPlan_Analyzer_Home_Impl (void) + { + ::Components::HomeExecutorBase_ptr retval = + ::Components::HomeExecutorBase::_nil (); + + ACE_NEW_RETURN ( + retval, + Plan_Analyzer_Home_exec_i, + ::Components::HomeExecutorBase::_nil ()); + + return retval; + } + } + } +} + diff --git a/modules/CIAO/RACE/Plan_Analyzer/Component/Plan_Analyzer_exec.h b/modules/CIAO/RACE/Plan_Analyzer/Component/Plan_Analyzer_exec.h new file mode 100644 index 00000000000..93318713481 --- /dev/null +++ b/modules/CIAO/RACE/Plan_Analyzer/Component/Plan_Analyzer_exec.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_PLAN_ANALYZER_EXEC_H +#define CIAO_PLAN_ANALYZER_EXEC_H + +#include /**/ "ace/pre.h" + +#include "Plan_Analyzer_svnt.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "Plan_Analyzer_exec_export.h" +#include "tao/LocalObject.h" + +namespace CIAO +{ + namespace RACE + { + namespace CIDL_Plan_Analyzer_Impl + { + class PLAN_ANALYZER_EXEC_Export PlanIngress_exec_i + : public virtual ::CIAO::RACE::CCM_PlanIngress, + public virtual TAO_Local_RefCounted_Object + { + public: + PlanIngress_exec_i (void); + virtual ~PlanIngress_exec_i (void); + + // Operations from ::CIAO::RACE::PlanIngress + + virtual void + analyze_plan ( + const ::Deployment::DeploymentPlan & plan) + ACE_THROW_SPEC ((CORBA::SystemException)); + }; + + class PLAN_ANALYZER_EXEC_Export Plan_Analyzer_exec_i + : public virtual Plan_Analyzer_Exec, + public virtual TAO_Local_RefCounted_Object + { + public: + Plan_Analyzer_exec_i (void); + virtual ~Plan_Analyzer_exec_i (void); + + // Supported or inherited operations. + + // Attribute operations. + + virtual ::CIAO::RACE::RACE_Classifications * + classes () + ACE_THROW_SPEC ((CORBA::SystemException)); + + // Port operations. + + virtual ::CIAO::RACE::CCM_PlanIngress_ptr + get_plan_ingress () + 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: + Plan_Analyzer_Context *context_; + }; + + class PLAN_ANALYZER_EXEC_Export Plan_Analyzer_Home_exec_i + : public virtual Plan_Analyzer_Home_Exec, + public virtual TAO_Local_RefCounted_Object + { + public: + Plan_Analyzer_Home_exec_i (void); + virtual ~Plan_Analyzer_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" PLAN_ANALYZER_EXEC_Export ::Components::HomeExecutorBase_ptr + createPlan_Analyzer_Home_Impl (void); + } + } +} + +#include /**/ "ace/post.h" + +#endif /* CIAO_PLAN_ANALYZER_EXEC_H */ + diff --git a/modules/CIAO/RACE/Plan_Analyzer/Component/Plan_Analyzer_exec_export.h b/modules/CIAO/RACE/Plan_Analyzer/Component/Plan_Analyzer_exec_export.h new file mode 100644 index 00000000000..d2449edd9e7 --- /dev/null +++ b/modules/CIAO/RACE/Plan_Analyzer/Component/Plan_Analyzer_exec_export.h @@ -0,0 +1,54 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl PLAN_ANALYZER_EXEC +// ------------------------------ +#ifndef PLAN_ANALYZER_EXEC_EXPORT_H +#define PLAN_ANALYZER_EXEC_EXPORT_H + +#include "ace/config-all.h" + +#if !defined (PLAN_ANALYZER_EXEC_HAS_DLL) +# define PLAN_ANALYZER_EXEC_HAS_DLL 1 +#endif /* ! PLAN_ANALYZER_EXEC_HAS_DLL */ + +#if defined (PLAN_ANALYZER_EXEC_HAS_DLL) && (PLAN_ANALYZER_EXEC_HAS_DLL == 1) +# if defined (PLAN_ANALYZER_EXEC_BUILD_DLL) +# define PLAN_ANALYZER_EXEC_Export ACE_Proper_Export_Flag +# define PLAN_ANALYZER_EXEC_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define PLAN_ANALYZER_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* PLAN_ANALYZER_EXEC_BUILD_DLL */ +# define PLAN_ANALYZER_EXEC_Export ACE_Proper_Import_Flag +# define PLAN_ANALYZER_EXEC_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define PLAN_ANALYZER_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* PLAN_ANALYZER_EXEC_BUILD_DLL */ +#else /* PLAN_ANALYZER_EXEC_HAS_DLL == 1 */ +# define PLAN_ANALYZER_EXEC_Export +# define PLAN_ANALYZER_EXEC_SINGLETON_DECLARATION(T) +# define PLAN_ANALYZER_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* PLAN_ANALYZER_EXEC_HAS_DLL == 1 */ + +// Set PLAN_ANALYZER_EXEC_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (PLAN_ANALYZER_EXEC_NTRACE) +# if (ACE_NTRACE == 1) +# define PLAN_ANALYZER_EXEC_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define PLAN_ANALYZER_EXEC_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !PLAN_ANALYZER_EXEC_NTRACE */ + +#if (PLAN_ANALYZER_EXEC_NTRACE == 1) +# define PLAN_ANALYZER_EXEC_TRACE(X) +#else /* (PLAN_ANALYZER_EXEC_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define PLAN_ANALYZER_EXEC_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (PLAN_ANALYZER_EXEC_NTRACE == 1) */ + +#endif /* PLAN_ANALYZER_EXEC_EXPORT_H */ + +// End of auto generated file. diff --git a/modules/CIAO/RACE/Plan_Analyzer/Component/Plan_Analyzer_stub_export.h b/modules/CIAO/RACE/Plan_Analyzer/Component/Plan_Analyzer_stub_export.h new file mode 100644 index 00000000000..90b041f89a8 --- /dev/null +++ b/modules/CIAO/RACE/Plan_Analyzer/Component/Plan_Analyzer_stub_export.h @@ -0,0 +1,54 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl PLAN_ANALYZER_STUB +// ------------------------------ +#ifndef PLAN_ANALYZER_STUB_EXPORT_H +#define PLAN_ANALYZER_STUB_EXPORT_H + +#include "ace/config-all.h" + +#if !defined (PLAN_ANALYZER_STUB_HAS_DLL) +# define PLAN_ANALYZER_STUB_HAS_DLL 1 +#endif /* ! PLAN_ANALYZER_STUB_HAS_DLL */ + +#if defined (PLAN_ANALYZER_STUB_HAS_DLL) && (PLAN_ANALYZER_STUB_HAS_DLL == 1) +# if defined (PLAN_ANALYZER_STUB_BUILD_DLL) +# define PLAN_ANALYZER_STUB_Export ACE_Proper_Export_Flag +# define PLAN_ANALYZER_STUB_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define PLAN_ANALYZER_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* PLAN_ANALYZER_STUB_BUILD_DLL */ +# define PLAN_ANALYZER_STUB_Export ACE_Proper_Import_Flag +# define PLAN_ANALYZER_STUB_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define PLAN_ANALYZER_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* PLAN_ANALYZER_STUB_BUILD_DLL */ +#else /* PLAN_ANALYZER_STUB_HAS_DLL == 1 */ +# define PLAN_ANALYZER_STUB_Export +# define PLAN_ANALYZER_STUB_SINGLETON_DECLARATION(T) +# define PLAN_ANALYZER_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* PLAN_ANALYZER_STUB_HAS_DLL == 1 */ + +// Set PLAN_ANALYZER_STUB_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (PLAN_ANALYZER_STUB_NTRACE) +# if (ACE_NTRACE == 1) +# define PLAN_ANALYZER_STUB_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define PLAN_ANALYZER_STUB_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !PLAN_ANALYZER_STUB_NTRACE */ + +#if (PLAN_ANALYZER_STUB_NTRACE == 1) +# define PLAN_ANALYZER_STUB_TRACE(X) +#else /* (PLAN_ANALYZER_STUB_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define PLAN_ANALYZER_STUB_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (PLAN_ANALYZER_STUB_NTRACE == 1) */ + +#endif /* PLAN_ANALYZER_STUB_EXPORT_H */ + +// End of auto generated file. diff --git a/modules/CIAO/RACE/Plan_Analyzer/Component/Plan_Analyzer_svnt_export.h b/modules/CIAO/RACE/Plan_Analyzer/Component/Plan_Analyzer_svnt_export.h new file mode 100644 index 00000000000..13f0c025860 --- /dev/null +++ b/modules/CIAO/RACE/Plan_Analyzer/Component/Plan_Analyzer_svnt_export.h @@ -0,0 +1,54 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl PLAN_ANALYZER_SVNT +// ------------------------------ +#ifndef PLAN_ANALYZER_SVNT_EXPORT_H +#define PLAN_ANALYZER_SVNT_EXPORT_H + +#include "ace/config-all.h" + +#if !defined (PLAN_ANALYZER_SVNT_HAS_DLL) +# define PLAN_ANALYZER_SVNT_HAS_DLL 1 +#endif /* ! PLAN_ANALYZER_SVNT_HAS_DLL */ + +#if defined (PLAN_ANALYZER_SVNT_HAS_DLL) && (PLAN_ANALYZER_SVNT_HAS_DLL == 1) +# if defined (PLAN_ANALYZER_SVNT_BUILD_DLL) +# define PLAN_ANALYZER_SVNT_Export ACE_Proper_Export_Flag +# define PLAN_ANALYZER_SVNT_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define PLAN_ANALYZER_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* PLAN_ANALYZER_SVNT_BUILD_DLL */ +# define PLAN_ANALYZER_SVNT_Export ACE_Proper_Import_Flag +# define PLAN_ANALYZER_SVNT_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define PLAN_ANALYZER_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* PLAN_ANALYZER_SVNT_BUILD_DLL */ +#else /* PLAN_ANALYZER_SVNT_HAS_DLL == 1 */ +# define PLAN_ANALYZER_SVNT_Export +# define PLAN_ANALYZER_SVNT_SINGLETON_DECLARATION(T) +# define PLAN_ANALYZER_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* PLAN_ANALYZER_SVNT_HAS_DLL == 1 */ + +// Set PLAN_ANALYZER_SVNT_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (PLAN_ANALYZER_SVNT_NTRACE) +# if (ACE_NTRACE == 1) +# define PLAN_ANALYZER_SVNT_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define PLAN_ANALYZER_SVNT_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !PLAN_ANALYZER_SVNT_NTRACE */ + +#if (PLAN_ANALYZER_SVNT_NTRACE == 1) +# define PLAN_ANALYZER_SVNT_TRACE(X) +#else /* (PLAN_ANALYZER_SVNT_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define PLAN_ANALYZER_SVNT_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (PLAN_ANALYZER_SVNT_NTRACE == 1) */ + +#endif /* PLAN_ANALYZER_SVNT_EXPORT_H */ + +// End of auto generated file. |