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

CalRecon_load.cpp

Go to the documentation of this file.
00001 // $Header: /nfs/slac/g/glast/ground/cvs/CalRecon/src/Dll/CalRecon_load.cpp,v 1.5 2001/06/06 06:09:41 burnett Exp $
00002 //====================================================================
00003 //  GlastSvc_load.cpp
00004 //--------------------------------------------------------------------
00005 //
00006 //  Package    : Gaudi/System
00007 //
00008 //  Description: Implementation of <Package>_load routine.
00009 //               This routine is needed for forcing the linker
00010 //               to load all the components of the library. 
00011 //
00012 //====================================================================
00013 
00014 #include "GaudiKernel/ICnvFactory.h"
00015 #include "GaudiKernel/ISvcFactory.h"
00016 #include "GaudiKernel/IAlgFactory.h"
00017 
00018 
00019 #define DLL_DECL_SERVICE(x)    extern const ISvcFactory& x##Factory; x##Factory.addRef();
00020 #define DLL_DECL_CONVERTER(x)  extern const ICnvFactory& x##Factory; x##Factory.addRef();
00021 #define DLL_DECL_ALGORITHM(x)  extern const IAlgFactory& x##Factory; x##Factory.addRef();
00022 #define DLL_DECL_OBJECT(x)     extern const IFactory& x##Factory; x##Factory.addRef();
00023 
00025 void CalRecon_load() {
00026     
00027     DLL_DECL_SERVICE( CalGeometrySvc );
00028     
00029     DLL_DECL_ALGORITHM( CalRecLogsAlg );
00030     DLL_DECL_ALGORITHM( CalIRFAlg );
00031     DLL_DECL_ALGORITHM( CalClustersAlg );
00032     DLL_DECL_ALGORITHM( CalNtupleAlg );
00033     DLL_DECL_ALGORITHM( CalDisplay );
00034 } 
00035 
00036 extern "C" void CalRecon_loadRef()    {
00037     CalRecon_load();
00038 }
00039 

Generated on Thu Nov 29 16:38:48 2001 by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001