| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

LoadFactoryEntries.h

Go to the documentation of this file.
00001 // $Header: /local/reps/Gaudi/GaudiKernel/GaudiKernel/LoadFactoryEntries.h,v 1.4 2006/11/30 14:43:13 mato Exp $
00002 #ifndef GAUDIKERNEL_LOADFACTORYENTRIES_H
00003 #define GAUDIKERNEL_LOADFACTORYENTRIES_H 1
00004 //====================================================================
00005 //  LoadFactoryEntries.h
00006 //--------------------------------------------------------------------
00007 //
00008 //  Package    : GaudiKernel
00009 //
00010 //  Description: Implementation of getFactoryEntries() routine.
00011 //               This routine is needed for forcing the linker
00012 //               to load all the components of the library. 
00013 //
00014 //====================================================================
00015 
00016 // DllMain entry point
00017 #include "GaudiKernel/DllMain.icpp"
00018 
00019 #if !defined(__APPLE__)
00020   void GaudiDll::initialize(void*) {}
00021   void GaudiDll::finalize(void*) {}
00022 #endif
00023 
00024 #define LOAD_FACTORY_ENTRIES(x) \
00025 extern "C" FACTORYTABLE_API void* x##_getFactoryEntries() {  \
00026   return 0; \
00027 }
00028 
00029 #endif // GAUDIKERNEL_LOADFACTORYENTRIES_H
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 19:56:58 2011 for GaudiKernel by doxygen 1.4.7