00001 // $Header: /nfs/slac/g/glast/ground/cvs/GaudiKernel/GaudiKernel/Bootstrap.h,v 1.1.1.1 2001/04/18 18:14:18 tlindner Exp $ 00002 #ifndef GAUDIKERNEL_BOOTSTRAP_H 00003 #define GAUDIKERNEL_BOOTSTRAP_H 00004 00005 // Include files 00006 #include <string> 00007 00008 // Framework include files 00009 #include "GaudiKernel/Kernel.h" 00010 00011 // Forward declarations 00012 class IAppMgrUI; 00013 class ISvcLocator; 00014 class IInterface; 00015 class IFactory; 00016 00024 class Gaudi { 00025 private: 00026 Gaudi() {} 00027 public: 00028 static IAppMgrUI* createApplicationMgrEx(const std::string& dllname , const std::string& factname ); 00029 static IAppMgrUI* createApplicationMgr(const std::string& dllname , const std::string& factname ); 00030 static IAppMgrUI* createApplicationMgr(const std::string& dllname ) { 00031 return createApplicationMgr(dllname, "ApplicationMgr"); 00032 } 00033 static IAppMgrUI* createApplicationMgr() { 00034 return createApplicationMgr("GaudiSvc", "ApplicationMgr"); 00035 } 00036 static IInterface* createInstance(const std::string& name, const std::string& factname, const std::string& ddlname); 00037 static const IFactory* getFactory(const std::string& factname, const std::string& ddlname); 00038 static ISvcLocator* svcLocator(); 00039 }; 00040 00041 #endif // GAUDIKERNEL_BOOTSTRAP_H
1.2.3 written by Dimitri van Heesch,
© 1997-2000