Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

FluxSvc_dll.cxx

Go to the documentation of this file.
00001 //====================================================================
00002 //  FluxSvc_dll.cpp
00003 //--------------------------------------------------------------------
00004 //
00005 //  Package    : Gaudi/System
00006 //
00007 //  Description: Implementation of DllMain routine.
00008 //               The DLL initialisation must be done seperately for 
00009 //               each DLL. 
00010 //
00011 //  Author     : Toby Burnett
00012 //
00013 //====================================================================
00014 
00015 // DllMain entry point
00016 #include "GaudiKernel/DllMain.icpp"
00017 
00018 void GaudiDll::initialize(void* /* hinstDLL */ )    {
00019 }
00020 
00021 void GaudiDll::finalize(void* /* hinstDLL */ )      {
00022 }
00023 
00024 extern void FluxSvc_load();
00025 
00026 #include "GaudiKernel/FactoryTable.h"
00027 
00028 extern "C" FactoryTable::EntryList* getFactoryEntries() {
00029     static bool first = true;
00030     if ( first ) {
00031         FluxSvc_load();
00032         first = false;
00033     }
00034     return FactoryTable::instance()->getEntries();
00035 } 
00036 
00037 

Generated on Wed Oct 16 14:01:29 2002 by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001