diff options
Diffstat (limited to 'modules/CIAO/examples/BasicSP/BMDisplay')
9 files changed, 587 insertions, 0 deletions
diff --git a/modules/CIAO/examples/BasicSP/BMDisplay/BMDisplay.cidl b/modules/CIAO/examples/BasicSP/BMDisplay/BMDisplay.cidl new file mode 100644 index 00000000000..4342aa753c8 --- /dev/null +++ b/modules/CIAO/examples/BasicSP/BMDisplay/BMDisplay.cidl @@ -0,0 +1,18 @@ +//$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/modules/CIAO/examples/BasicSP/BMDisplay/BMDisplay.idl b/modules/CIAO/examples/BasicSP/BMDisplay/BMDisplay.idl new file mode 100644 index 00000000000..cbeed950b07 --- /dev/null +++ b/modules/CIAO/examples/BasicSP/BMDisplay/BMDisplay.idl @@ -0,0 +1,15 @@ +//$Id$ +#include "../BasicSP.idl" + +module BasicSP +{ + component BMDisplay + { + consumes DataAvailable data_ready; + uses ReadData comp_data; + }; + + home BMDisplayHome manages BMDisplay + { + }; +}; diff --git a/modules/CIAO/examples/BasicSP/BMDisplay/BMDisplay.mpc b/modules/CIAO/examples/BasicSP/BMDisplay/BMDisplay.mpc new file mode 100644 index 00000000000..35e0c3196f0 --- /dev/null +++ b/modules/CIAO/examples/BasicSP/BMDisplay/BMDisplay.mpc @@ -0,0 +1,82 @@ +// $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/modules/CIAO/examples/BasicSP/BMDisplay/BMDisplayEI.idl b/modules/CIAO/examples/BasicSP/BMDisplay/BMDisplayEI.idl new file mode 100644 index 00000000000..8a218debab1 --- /dev/null +++ b/modules/CIAO/examples/BasicSP/BMDisplay/BMDisplayEI.idl @@ -0,0 +1,33 @@ +// $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/modules/CIAO/examples/BasicSP/BMDisplay/BMDisplay_exec.cpp b/modules/CIAO/examples/BasicSP/BMDisplay/BMDisplay_exec.cpp new file mode 100644 index 00000000000..227c26b41a4 --- /dev/null +++ b/modules/CIAO/examples/BasicSP/BMDisplay/BMDisplay_exec.cpp @@ -0,0 +1,154 @@ +// $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_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 (); + + if (CORBA::is_nil (dat.in ())) + throw CORBA::BAD_INV_ORDER (); + + CORBA::String_var str = + dat->get_data (); + + 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_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); + + if (CORBA::is_nil (this->context_.in ())) + throw CORBA::INTERNAL (); + // Urm, we actually discard exceptions thown from this operation. +} + +void +MyImpl::BMDisplay_exec_impl::ciao_preactivate ( + ) + ACE_THROW_SPEC ((CORBA::SystemException, + Components::CCMException)) +{ +} + +void +MyImpl::BMDisplay_exec_impl::ccm_activate () + 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_THROW_SPEC ((CORBA::SystemException, + Components::CCMException)) +{ +} + +void +MyImpl::BMDisplay_exec_impl::ccm_passivate ( + ) + 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_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_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/modules/CIAO/examples/BasicSP/BMDisplay/BMDisplay_exec.h b/modules/CIAO/examples/BasicSP/BMDisplay/BMDisplay_exec.h new file mode 100644 index 00000000000..4d1f1e9e1a0 --- /dev/null +++ b/modules/CIAO/examples/BasicSP/BMDisplay/BMDisplay_exec.h @@ -0,0 +1,111 @@ +// $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_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 + ccm_activate () + ACE_THROW_SPEC ((CORBA::SystemException, + Components::CCMException)); + + virtual void + ciao_postactivate () + 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: + /// 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_THROW_SPEC ((CORBA::SystemException, + Components::CCMException)); + }; + +} + +extern "C" BMDISPLAY_EXEC_Export ::Components::HomeExecutorBase_ptr +createBMDisplayHome_Impl (void); + +#endif /* BMDISPLAY_EXEC_H */ diff --git a/modules/CIAO/examples/BasicSP/BMDisplay/BMDisplay_exec_export.h b/modules/CIAO/examples/BasicSP/BMDisplay/BMDisplay_exec_export.h new file mode 100644 index 00000000000..f3c4fb92151 --- /dev/null +++ b/modules/CIAO/examples/BasicSP/BMDisplay/BMDisplay_exec_export.h @@ -0,0 +1,58 @@ + +// -*- 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/modules/CIAO/examples/BasicSP/BMDisplay/BMDisplay_stub_export.h b/modules/CIAO/examples/BasicSP/BMDisplay/BMDisplay_stub_export.h new file mode 100644 index 00000000000..4fe787f0b9c --- /dev/null +++ b/modules/CIAO/examples/BasicSP/BMDisplay/BMDisplay_stub_export.h @@ -0,0 +1,58 @@ + +// -*- 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/modules/CIAO/examples/BasicSP/BMDisplay/BMDisplay_svnt_export.h b/modules/CIAO/examples/BasicSP/BMDisplay/BMDisplay_svnt_export.h new file mode 100644 index 00000000000..b80de58508a --- /dev/null +++ b/modules/CIAO/examples/BasicSP/BMDisplay/BMDisplay_svnt_export.h @@ -0,0 +1,58 @@ + +// -*- 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. |