| # Gaudi Framework, version v21r8 |

Home |  | Generated: 17 Mar 2010

# DeclareFactoryEntries.h

Go to the documentation of this file.

    00001 // $Header: /tmp/svngaudi/tmp.jEpFh25751/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/Kernel.h"
    00017 #include "GaudiKernel/CnvFactory.h"
    00018 #include "GaudiKernel/SvcFactory.h"
    00019 #include "GaudiKernel/AlgFactory.h"
    00020 #include "GaudiKernel/AudFactory.h"
    00021 #include "GaudiKernel/ToolFactory.h"
    00022 #include "GaudiKernel/ObjectFactory.h"
    00023
    00024 #define DECLARE_FACTORY_ENTRIES(x) \
    00025 void x##_load(); \
    00026 \
    00027 extern "C" void x##_loadRef() { \
    00028   x##_load();  \
    00029 } \
    00030 \
    00031 void x##_load()
    00032
    00033
    00034 #endif // GAUDIKERNEL_DECLAREFACTORYENTRIES_H