| # Gaudi Framework, version v20r3
Generated: 24 Nov 2008

# DeclareFactoryEntries.h

Go to the documentation of this file.

    00001 // $Header: /local/reps/Gaudi/GaudiKernel/GaudiKernel/DeclareFactoryEntries.h,v 1.10 2006/01/10 20:03:57 hmd Exp $
    00002 #ifndef GAUDIKERNEL_DECLAREFACTORYENTRIES_H
    00003 #define GAUDIKERNEL_DECLAREFACTORYENTRIES_H 1
    00004 //====================================================================
    00005 //  DeclareFactoryEntries.h
    00006 //--------------------------------------------------------------------
    00007 //
    00008 //  Package    : GaudiKernel
    00009 //
    00010 //  Description: Implementation of <Package>_load routine.
    00011 //               This routine is needed for forcing the linker
    00012 //               to load all the components of the library.
    00013 //
    00014 //====================================================================
    00015
    00016 #include "GaudiKernel/CnvFactory.h"
    00017 #include "GaudiKernel/SvcFactory.h"
    00018 #include "GaudiKernel/AlgFactory.h"
    00019 #include "GaudiKernel/AudFactory.h"
    00020 #include "GaudiKernel/ToolFactory.h"
    00021 #include "GaudiKernel/ObjectFactory.h"
    00022
    00023 #define DECLARE_FACTORY_ENTRIES(x) \
    00024 void x##_load(); \
    00025 \
    00026 extern "C" void x##_loadRef() { \
    00027   x##_load();  \
    00028 } \
    00029 \
    00030 void x##_load()
    00031
    00032
    00033 #endif // GAUDIKERNEL_DECLAREFACTORYENTRIES_H