L:/channel/cvm/examples/cvm_instance/include/Cvm_export.h

Go to the documentation of this file.
00001 
00002 // -*- C++ -*-
00003 // $Id: Cvm_export.h,v 1.1.1.1 2006/02/06 05:33:21 yigongliu Exp $
00004 // Definition for Win32 Export directives.
00005 // This file is generated automatically by generate_export_file.pl Cvm
00006 // ------------------------------
00007 #ifndef CVM_EXPORT_H
00008 #define CVM_EXPORT_H
00009 
00010 #include "ace/config-all.h"
00011 
00012 #if !defined (CVM_HAS_DLL)
00013 #  define CVM_HAS_DLL 1
00014 #endif /* ! CVM_HAS_DLL */
00015 
00016 #if defined (CVM_HAS_DLL) && (CVM_HAS_DLL == 1)
00017 #  if defined (CVM_BUILD_DLL)
00018 #    define Cvm_Export ACE_Proper_Export_Flag
00019 #    define CVM_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
00020 #    define CVM_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
00021 #  else /* CVM_BUILD_DLL */
00022 #    define Cvm_Export ACE_Proper_Import_Flag
00023 #    define CVM_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
00024 #    define CVM_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
00025 #  endif /* CVM_BUILD_DLL */
00026 #else /* CVM_HAS_DLL == 1 */
00027 #  define Cvm_Export
00028 #  define CVM_SINGLETON_DECLARATION(T)
00029 #  define CVM_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
00030 #endif /* CVM_HAS_DLL == 1 */
00031 
00032 // Set CVM_NTRACE = 0 to turn on library specific tracing even if
00033 // tracing is turned off for ACE.
00034 #if !defined (CVM_NTRACE)
00035 #  if (ACE_NTRACE == 1)
00036 #    define CVM_NTRACE 1
00037 #  else /* (ACE_NTRACE == 1) */
00038 #    define CVM_NTRACE 0
00039 #  endif /* (ACE_NTRACE == 1) */
00040 #endif /* !CVM_NTRACE */
00041 
00042 #if (CVM_NTRACE == 1)
00043 #  define CVM_TRACE(X)
00044 #else /* (CVM_NTRACE == 1) */
00045 #  if !defined (ACE_HAS_TRACE)
00046 #    define ACE_HAS_TRACE
00047 #  endif /* ACE_HAS_TRACE */
00048 #  define CVM_TRACE(X) ACE_TRACE_IMPL(X)
00049 #  include "ace/Trace.h"
00050 #endif /* (CVM_NTRACE == 1) */
00051 
00052 #endif /* CVM_EXPORT_H */
00053 
00054 // End of auto generated file.

Generated on Mon Feb 27 19:59:21 2006 for channel by  doxygen 1.4.6-NO