diff options
Diffstat (limited to 'CIAO/examples/BasicSP/BMDisplay')
-rw-r--r-- | CIAO/examples/BasicSP/BMDisplay/BMDisplay.cidl | 18 | ||||
-rw-r--r-- | CIAO/examples/BasicSP/BMDisplay/BMDisplay.idl | 15 | ||||
-rw-r--r-- | CIAO/examples/BasicSP/BMDisplay/BMDisplay.mpc | 82 | ||||
-rw-r--r-- | CIAO/examples/BasicSP/BMDisplay/BMDisplayEI.idl | 33 | ||||
-rw-r--r-- | CIAO/examples/BasicSP/BMDisplay/BMDisplay_exec.cpp | 163 | ||||
-rw-r--r-- | CIAO/examples/BasicSP/BMDisplay/BMDisplay_exec.h | 113 | ||||
-rw-r--r-- | CIAO/examples/BasicSP/BMDisplay/BMDisplay_exec_export.h | 58 | ||||
-rw-r--r-- | CIAO/examples/BasicSP/BMDisplay/BMDisplay_stub_export.h | 58 | ||||
-rw-r--r-- | CIAO/examples/BasicSP/BMDisplay/BMDisplay_svnt_export.h | 58 |
9 files changed, 0 insertions, 598 deletions
diff --git a/CIAO/examples/BasicSP/BMDisplay/BMDisplay.cidl b/CIAO/examples/BasicSP/BMDisplay/BMDisplay.cidl deleted file mode 100644 index 4342aa753c8..00000000000 --- a/CIAO/examples/BasicSP/BMDisplay/BMDisplay.cidl +++ /dev/null @@ -1,18 +0,0 @@ -//$Id$ - -#ifndef BMDISPLAY_CIDL -#define BMDISPLAY_CIDL - -#include "BMDisplay.idl" - -composition session BMDisplay_Impl -{ - home executor BMDisplayHome_Exec - { - implements BasicSP::BMDisplayHome; - manages BMDisplay_Exec; - }; -}; - -#endif /* BMDISPLAY_CIDL */ - diff --git a/CIAO/examples/BasicSP/BMDisplay/BMDisplay.idl b/CIAO/examples/BasicSP/BMDisplay/BMDisplay.idl deleted file mode 100644 index cbeed950b07..00000000000 --- a/CIAO/examples/BasicSP/BMDisplay/BMDisplay.idl +++ /dev/null @@ -1,15 +0,0 @@ -//$Id$ -#include "../BasicSP.idl" - -module BasicSP -{ - component BMDisplay - { - consumes DataAvailable data_ready; - uses ReadData comp_data; - }; - - home BMDisplayHome manages BMDisplay - { - }; -}; diff --git a/CIAO/examples/BasicSP/BMDisplay/BMDisplay.mpc b/CIAO/examples/BasicSP/BMDisplay/BMDisplay.mpc deleted file mode 100644 index 35e0c3196f0..00000000000 --- a/CIAO/examples/BasicSP/BMDisplay/BMDisplay.mpc +++ /dev/null @@ -1,82 +0,0 @@ -// $Id$ -// This file is generated with "generate_component_mpc.pl -l .. -p BasicSP -i BMDisplay" - -project(BMDisplay_DnC_stub): ciao_client_dnc { - avoids += ace_for_tao - after += BasicSP_DnC_stub - - sharedname = BMDisplay_stub - - idlflags += -Wb,stub_export_macro=BMDISPLAY_STUB_Export - idlflags += -Wb,stub_export_include=BMDisplay_stub_export.h - idlflags += -Wb,skel_export_macro=BMDISPLAY_SVNT_Export - idlflags += -Wb,skel_export_include=BMDisplay_svnt_export.h - dynamicflags = BMDISPLAY_STUB_BUILD_DLL - - libs += BasicSP_stub - - IDL_Files { - BMDisplay.idl - } - - Source_Files { - BMDisplayC.cpp - } -} - -project(BMDisplay_DnC_svnt) : ciao_servant_dnc { - avoids += ace_for_tao - after += BasicSP_DnC_svnt BMDisplay_DnC_stub - - sharedname = BMDisplay_svnt - - libs += BMDisplay_stub BasicSP_stub BasicSP_svnt - - libpaths += .. - - idlflags += -Wb,export_macro=BMDISPLAY_SVNT_Export - idlflags += -Wb,export_include=BMDisplay_svnt_export.h - - dynamicflags = BMDISPLAY_SVNT_BUILD_DLL - - CIDL_Files { - BMDisplay.cidl - } - - IDL_Files { - BMDisplayE.idl - } - - Source_Files { - BMDisplayEC.cpp - BMDisplayS.cpp - BMDisplay_svnt.cpp - } -} - - -project(BMDisplay_DnC_exec) : ciao_component_dnc { - avoids += ace_for_tao - after += BMDisplay_DnC_svnt - - sharedname = BMDisplay_exec - - libs += BMDisplay_stub BMDisplay_svnt - libs += BasicSP_stub BasicSP_svnt - - libpaths += .. - - idlflags += -Wb,export_macro=BMDISPLAY_EXEC_Export - idlflags += -Wb,export_include=BMDisplay_exec_export.h - - dynamicflags = BMDISPLAY_EXEC_BUILD_DLL - - IDL_Files { - BMDisplayEI.idl - } - - Source_Files { - BMDisplayEIC.cpp - BMDisplay_exec.cpp - } -} diff --git a/CIAO/examples/BasicSP/BMDisplay/BMDisplayEI.idl b/CIAO/examples/BasicSP/BMDisplay/BMDisplayEI.idl deleted file mode 100644 index 8a218debab1..00000000000 --- a/CIAO/examples/BasicSP/BMDisplay/BMDisplayEI.idl +++ /dev/null @@ -1,33 +0,0 @@ -// $Id$ -//=========================================================== -/** - * @file BMDisplayEI.idl - * - * Definition of the BMDisplay (navigation display) component - * implementation. - * - * @author Balachandran Natarajan <bala@dre.vanderbilt.edu> - */ -//=========================================================== -#ifndef CIAO_BMDISPLAYEI_IDL -#define CIAO_BMDISPLAYEI_IDL - -#include "BMDisplayE.idl" - -module BasicSP -{ - /** - * @interface BMDisplay_Exec - * - * The actually BMDisplay executor inherits from both CCM_BMDisplay - * and session_component interfaces as a monolithic implementation. - */ - local interface BMDisplay_Exec : - CCM_BMDisplay, - Components::SessionComponent - { - }; - -}; - -#endif /* CIAO_BMDISPLAYEI_IDL */ diff --git a/CIAO/examples/BasicSP/BMDisplay/BMDisplay_exec.cpp b/CIAO/examples/BasicSP/BMDisplay/BMDisplay_exec.cpp deleted file mode 100644 index f0fc61007d7..00000000000 --- a/CIAO/examples/BasicSP/BMDisplay/BMDisplay_exec.cpp +++ /dev/null @@ -1,163 +0,0 @@ -// $Id$ - -#include "ciao/CIAO_common.h" -#include "BMDisplay_exec.h" - -/// Default constructor. -MyImpl::BMDisplay_exec_impl::BMDisplay_exec_impl () -{ -} - -/// Default destructor. -MyImpl::BMDisplay_exec_impl::~BMDisplay_exec_impl () -{ -} - -// Operations from BasicSP::BMDisplay - -void -MyImpl::BMDisplay_exec_impl::push_data_ready ( - BasicSP::DataAvailable *ev - ACE_ENV_ARG_DECL - ) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - ACE_UNUSED_ARG (ev); - - if (CIAO::debug_level () > 0) - { - ACE_DEBUG ((LM_DEBUG, - "BMDisplay - Doing computations \n")); - - ACE_DEBUG ((LM_DEBUG, - "BMDisplay - Doing data fetch \n")); - } - - // Refresh position - BasicSP::ReadData_var dat - = this->context_->get_connection_comp_data (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK; - - if (CORBA::is_nil (dat.in ())) - ACE_THROW (CORBA::BAD_INV_ORDER ()); - - CORBA::String_var str = - dat->get_data (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK; - - ACE_DEBUG ((LM_DEBUG, - "BMDisplay - Display data is [%s] \n", - str.in ())); - -} - -// Operations from Components::SessionComponent -void -MyImpl::BMDisplay_exec_impl::set_session_context ( - Components::SessionContext_ptr ctx - ACE_ENV_ARG_DECL - ) - ACE_THROW_SPEC ((CORBA::SystemException, - Components::CCMException)) -{ - if (CIAO::debug_level () > 0) - { - ACE_DEBUG ((LM_DEBUG, - "MyImpl::BMDisplay_exec_impl::set_session_context\n")); - } - - this->context_ = - BasicSP::CCM_BMDisplay_Context::_narrow (ctx - ACE_ENV_ARG_PARAMETER); - ACE_CHECK; - - if (CORBA::is_nil (this->context_.in ())) - ACE_THROW (CORBA::INTERNAL ()); - // Urm, we actually discard exceptions thown from this operation. -} - -void -MyImpl::BMDisplay_exec_impl::ciao_preactivate ( - ACE_ENV_SINGLE_ARG_DECL_NOT_USED - ) - ACE_THROW_SPEC ((CORBA::SystemException, - Components::CCMException)) -{ -} - -void -MyImpl::BMDisplay_exec_impl::ccm_activate (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) - ACE_THROW_SPEC ((CORBA::SystemException, - Components::CCMException)) -{ - if (CIAO::debug_level () > 0) - { - ACE_DEBUG ((LM_DEBUG, - "MyImpl::BMDisplay_exec_impl::ccm_activate\n")); - } - -} - -void -MyImpl::BMDisplay_exec_impl::ciao_postactivate ( - ACE_ENV_SINGLE_ARG_DECL_NOT_USED - ) - ACE_THROW_SPEC ((CORBA::SystemException, - Components::CCMException)) -{ -} - -void -MyImpl::BMDisplay_exec_impl::ccm_passivate ( - ACE_ENV_SINGLE_ARG_DECL_NOT_USED - ) - ACE_THROW_SPEC ((CORBA::SystemException, - Components::CCMException)) -{ - if (CIAO::debug_level () > 0) - { - ACE_DEBUG ((LM_DEBUG, - "MyImpl::BMDisplay_exec_impl::ccm_passivate\n")); - } -} - -void -MyImpl::BMDisplay_exec_impl::ccm_remove (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) - ACE_THROW_SPEC ((CORBA::SystemException, - Components::CCMException)) -{ - if (CIAO::debug_level () > 0) - { - ACE_DEBUG ((LM_DEBUG, - "MyImpl::BMDisplay_exec_impl::ccm_remove\n")); - } -} - -/// Default ctor. -MyImpl::BMDisplayHome_exec_impl::BMDisplayHome_exec_impl () -{ -} - -/// Default dtor. -MyImpl::BMDisplayHome_exec_impl::~BMDisplayHome_exec_impl () -{ -} - -// Explicit home operations. - -// Implicit home operations. - -::Components::EnterpriseComponent_ptr -MyImpl::BMDisplayHome_exec_impl::create (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) - ACE_THROW_SPEC ((CORBA::SystemException, - Components::CCMException)) -{ - return new MyImpl::BMDisplay_exec_impl; -} - - -extern "C" BMDISPLAY_EXEC_Export ::Components::HomeExecutorBase_ptr -createBMDisplayHome_Impl (void) -{ - return new MyImpl::BMDisplayHome_exec_impl; -} diff --git a/CIAO/examples/BasicSP/BMDisplay/BMDisplay_exec.h b/CIAO/examples/BasicSP/BMDisplay/BMDisplay_exec.h deleted file mode 100644 index 95d5361b36b..00000000000 --- a/CIAO/examples/BasicSP/BMDisplay/BMDisplay_exec.h +++ /dev/null @@ -1,113 +0,0 @@ -// $Id$ - -//============================================================== -/** - * @file BMDisplay_exec.h - * - * Header file for the actual BMDisplay and BMDisplayHome component - * implementations. - * - * @author Balachandran Natarajan <bala@dre.vanderbilt.edu> - */ -//============================================================== -#ifndef CIAO_BMDISPLAY_EXEC_H -#define CIAO_BMDISPLAY_EXEC_H - -#include "BMDisplayEIC.h" -#include "tao/LocalObject.h" -#include "BMDisplay_exec_export.h" - -namespace MyImpl -{ - /** - * @class BMDisplay_exec_impl - * - * RateGen executor implementation class. - */ - class BMDISPLAY_EXEC_Export BMDisplay_exec_impl : - public virtual BasicSP::BMDisplay_Exec, - public virtual TAO_Local_RefCounted_Object - { - public: - /// Default constructor. - BMDisplay_exec_impl (); - - /// Default destructor. - ~BMDisplay_exec_impl (); - - // Operations from BasicSP::BMDisplay - - virtual void - push_data_ready (BasicSP::DataAvailable *ev - ACE_ENV_ARG_DECL_WITH_DEFAULTS) - ACE_THROW_SPEC ((CORBA::SystemException)); - - // 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 - ccm_activate (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_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: - /// Copmponent specific context - BasicSP::CCM_BMDisplay_Context_var context_; - }; - - /** - * @class BMDisplayHome_exec_impl - * - * BMDisplay home executor implementation class. - */ - class BMDISPLAY_EXEC_Export BMDisplayHome_exec_impl : - public virtual BasicSP::CCM_BMDisplayHome, - public virtual TAO_Local_RefCounted_Object - { - public: - /// Default ctor. - BMDisplayHome_exec_impl (); - - /// Default dtor. - ~BMDisplayHome_exec_impl (); - - // Explicit home operations. - - // Implicit home operations. - - virtual ::Components::EnterpriseComponent_ptr - create (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) - ACE_THROW_SPEC ((CORBA::SystemException, - Components::CCMException)); - }; - -} - -extern "C" BMDISPLAY_EXEC_Export ::Components::HomeExecutorBase_ptr -createBMDisplayHome_Impl (void); - -#endif /* BMDISPLAY_EXEC_H */ diff --git a/CIAO/examples/BasicSP/BMDisplay/BMDisplay_exec_export.h b/CIAO/examples/BasicSP/BMDisplay/BMDisplay_exec_export.h deleted file mode 100644 index f3c4fb92151..00000000000 --- a/CIAO/examples/BasicSP/BMDisplay/BMDisplay_exec_export.h +++ /dev/null @@ -1,58 +0,0 @@ - -// -*- C++ -*- -// $Id$ -// Definition for Win32 Export directives. -// This file is generated automatically by generate_export_file.pl -s BMDISPLAY_EXEC -// ------------------------------ -#ifndef BMDISPLAY_EXEC_EXPORT_H -#define BMDISPLAY_EXEC_EXPORT_H - -#include "ace/config-all.h" - -#if defined (ACE_AS_STATIC_LIBS) && !defined (BMDISPLAY_EXEC_HAS_DLL) -# define BMDISPLAY_EXEC_HAS_DLL 0 -#endif /* ACE_AS_STATIC_LIBS && BMDISPLAY_EXEC_HAS_DLL */ - -#if !defined (BMDISPLAY_EXEC_HAS_DLL) -# define BMDISPLAY_EXEC_HAS_DLL 1 -#endif /* ! BMDISPLAY_EXEC_HAS_DLL */ - -#if defined (BMDISPLAY_EXEC_HAS_DLL) && (BMDISPLAY_EXEC_HAS_DLL == 1) -# if defined (BMDISPLAY_EXEC_BUILD_DLL) -# define BMDISPLAY_EXEC_Export ACE_Proper_Export_Flag -# define BMDISPLAY_EXEC_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) -# define BMDISPLAY_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# else /* BMDISPLAY_EXEC_BUILD_DLL */ -# define BMDISPLAY_EXEC_Export ACE_Proper_Import_Flag -# define BMDISPLAY_EXEC_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) -# define BMDISPLAY_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# endif /* BMDISPLAY_EXEC_BUILD_DLL */ -#else /* BMDISPLAY_EXEC_HAS_DLL == 1 */ -# define BMDISPLAY_EXEC_Export -# define BMDISPLAY_EXEC_SINGLETON_DECLARATION(T) -# define BMDISPLAY_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -#endif /* BMDISPLAY_EXEC_HAS_DLL == 1 */ - -// Set BMDISPLAY_EXEC_NTRACE = 0 to turn on library specific tracing even if -// tracing is turned off for ACE. -#if !defined (BMDISPLAY_EXEC_NTRACE) -# if (ACE_NTRACE == 1) -# define BMDISPLAY_EXEC_NTRACE 1 -# else /* (ACE_NTRACE == 1) */ -# define BMDISPLAY_EXEC_NTRACE 0 -# endif /* (ACE_NTRACE == 1) */ -#endif /* !BMDISPLAY_EXEC_NTRACE */ - -#if (BMDISPLAY_EXEC_NTRACE == 1) -# define BMDISPLAY_EXEC_TRACE(X) -#else /* (BMDISPLAY_EXEC_NTRACE == 1) */ -# if !defined (ACE_HAS_TRACE) -# define ACE_HAS_TRACE -# endif /* ACE_HAS_TRACE */ -# define BMDISPLAY_EXEC_TRACE(X) ACE_TRACE_IMPL(X) -# include "ace/Trace.h" -#endif /* (BMDISPLAY_EXEC_NTRACE == 1) */ - -#endif /* BMDISPLAY_EXEC_EXPORT_H */ - -// End of auto generated file. diff --git a/CIAO/examples/BasicSP/BMDisplay/BMDisplay_stub_export.h b/CIAO/examples/BasicSP/BMDisplay/BMDisplay_stub_export.h deleted file mode 100644 index 4fe787f0b9c..00000000000 --- a/CIAO/examples/BasicSP/BMDisplay/BMDisplay_stub_export.h +++ /dev/null @@ -1,58 +0,0 @@ - -// -*- C++ -*- -// $Id$ -// Definition for Win32 Export directives. -// This file is generated automatically by generate_export_file.pl -s BMDISPLAY_STUB -// ------------------------------ -#ifndef BMDISPLAY_STUB_EXPORT_H -#define BMDISPLAY_STUB_EXPORT_H - -#include "ace/config-all.h" - -#if defined (ACE_AS_STATIC_LIBS) && !defined (BMDISPLAY_STUB_HAS_DLL) -# define BMDISPLAY_STUB_HAS_DLL 0 -#endif /* ACE_AS_STATIC_LIBS && BMDISPLAY_STUB_HAS_DLL */ - -#if !defined (BMDISPLAY_STUB_HAS_DLL) -# define BMDISPLAY_STUB_HAS_DLL 1 -#endif /* ! BMDISPLAY_STUB_HAS_DLL */ - -#if defined (BMDISPLAY_STUB_HAS_DLL) && (BMDISPLAY_STUB_HAS_DLL == 1) -# if defined (BMDISPLAY_STUB_BUILD_DLL) -# define BMDISPLAY_STUB_Export ACE_Proper_Export_Flag -# define BMDISPLAY_STUB_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) -# define BMDISPLAY_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# else /* BMDISPLAY_STUB_BUILD_DLL */ -# define BMDISPLAY_STUB_Export ACE_Proper_Import_Flag -# define BMDISPLAY_STUB_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) -# define BMDISPLAY_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# endif /* BMDISPLAY_STUB_BUILD_DLL */ -#else /* BMDISPLAY_STUB_HAS_DLL == 1 */ -# define BMDISPLAY_STUB_Export -# define BMDISPLAY_STUB_SINGLETON_DECLARATION(T) -# define BMDISPLAY_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -#endif /* BMDISPLAY_STUB_HAS_DLL == 1 */ - -// Set BMDISPLAY_STUB_NTRACE = 0 to turn on library specific tracing even if -// tracing is turned off for ACE. -#if !defined (BMDISPLAY_STUB_NTRACE) -# if (ACE_NTRACE == 1) -# define BMDISPLAY_STUB_NTRACE 1 -# else /* (ACE_NTRACE == 1) */ -# define BMDISPLAY_STUB_NTRACE 0 -# endif /* (ACE_NTRACE == 1) */ -#endif /* !BMDISPLAY_STUB_NTRACE */ - -#if (BMDISPLAY_STUB_NTRACE == 1) -# define BMDISPLAY_STUB_TRACE(X) -#else /* (BMDISPLAY_STUB_NTRACE == 1) */ -# if !defined (ACE_HAS_TRACE) -# define ACE_HAS_TRACE -# endif /* ACE_HAS_TRACE */ -# define BMDISPLAY_STUB_TRACE(X) ACE_TRACE_IMPL(X) -# include "ace/Trace.h" -#endif /* (BMDISPLAY_STUB_NTRACE == 1) */ - -#endif /* BMDISPLAY_STUB_EXPORT_H */ - -// End of auto generated file. diff --git a/CIAO/examples/BasicSP/BMDisplay/BMDisplay_svnt_export.h b/CIAO/examples/BasicSP/BMDisplay/BMDisplay_svnt_export.h deleted file mode 100644 index b80de58508a..00000000000 --- a/CIAO/examples/BasicSP/BMDisplay/BMDisplay_svnt_export.h +++ /dev/null @@ -1,58 +0,0 @@ - -// -*- C++ -*- -// $Id$ -// Definition for Win32 Export directives. -// This file is generated automatically by generate_export_file.pl -s BMDISPLAY_SVNT -// ------------------------------ -#ifndef BMDISPLAY_SVNT_EXPORT_H -#define BMDISPLAY_SVNT_EXPORT_H - -#include "ace/config-all.h" - -#if defined (ACE_AS_STATIC_LIBS) && !defined (BMDISPLAY_SVNT_HAS_DLL) -# define BMDISPLAY_SVNT_HAS_DLL 0 -#endif /* ACE_AS_STATIC_LIBS && BMDISPLAY_SVNT_HAS_DLL */ - -#if !defined (BMDISPLAY_SVNT_HAS_DLL) -# define BMDISPLAY_SVNT_HAS_DLL 1 -#endif /* ! BMDISPLAY_SVNT_HAS_DLL */ - -#if defined (BMDISPLAY_SVNT_HAS_DLL) && (BMDISPLAY_SVNT_HAS_DLL == 1) -# if defined (BMDISPLAY_SVNT_BUILD_DLL) -# define BMDISPLAY_SVNT_Export ACE_Proper_Export_Flag -# define BMDISPLAY_SVNT_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) -# define BMDISPLAY_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# else /* BMDISPLAY_SVNT_BUILD_DLL */ -# define BMDISPLAY_SVNT_Export ACE_Proper_Import_Flag -# define BMDISPLAY_SVNT_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) -# define BMDISPLAY_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# endif /* BMDISPLAY_SVNT_BUILD_DLL */ -#else /* BMDISPLAY_SVNT_HAS_DLL == 1 */ -# define BMDISPLAY_SVNT_Export -# define BMDISPLAY_SVNT_SINGLETON_DECLARATION(T) -# define BMDISPLAY_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -#endif /* BMDISPLAY_SVNT_HAS_DLL == 1 */ - -// Set BMDISPLAY_SVNT_NTRACE = 0 to turn on library specific tracing even if -// tracing is turned off for ACE. -#if !defined (BMDISPLAY_SVNT_NTRACE) -# if (ACE_NTRACE == 1) -# define BMDISPLAY_SVNT_NTRACE 1 -# else /* (ACE_NTRACE == 1) */ -# define BMDISPLAY_SVNT_NTRACE 0 -# endif /* (ACE_NTRACE == 1) */ -#endif /* !BMDISPLAY_SVNT_NTRACE */ - -#if (BMDISPLAY_SVNT_NTRACE == 1) -# define BMDISPLAY_SVNT_TRACE(X) -#else /* (BMDISPLAY_SVNT_NTRACE == 1) */ -# if !defined (ACE_HAS_TRACE) -# define ACE_HAS_TRACE -# endif /* ACE_HAS_TRACE */ -# define BMDISPLAY_SVNT_TRACE(X) ACE_TRACE_IMPL(X) -# include "ace/Trace.h" -#endif /* (BMDISPLAY_SVNT_NTRACE == 1) */ - -#endif /* BMDISPLAY_SVNT_EXPORT_H */ - -// End of auto generated file. |