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

# IDataSourceMgr.h

Go to the documentation of this file.

    00001 // $Header: /local/reps/Gaudi/GaudiKernel/GaudiKernel/IDataSourceMgr.h,v 1.4 2004/07/06 10:17:39 mato Exp $
    00002 #ifndef GAUDIKERNEL_IDATASOURCEMGR_H
    00003 #define GAUDIKERNEL_IDATASOURCEMGR_H
    00004
    00005 // Framework include files
    00006 #include "GaudiKernel/IInterface.h"
    00007
    00008 // Declaration of the interface ID ( interface id, major version, minor version)
    00009 static const InterfaceID IID_IDataSourceMgr(121, 1 , 0);
    00010
    00018 class IDataSourceMgr : virtual public IInterface            {
    00019   public:
    00021   static const InterfaceID& interfaceID() { return IID_IDataSourceMgr; }
    00026   virtual bool isConnected(const std::string& identifier)   const  = 0;
    00027
    00034   virtual StatusCode connect(const std::string& logon, std::string& identifier) = 0;
    00035
    00041   virtual StatusCode connect(const std::string& logon) = 0;
    00042
    00047   virtual StatusCode disconnect(const std::string& identifier) = 0;
    00048
    00050   virtual StatusCode disconnectAll() = 0;
    00051 };
    00052
    00053 #endif // GAUDIKERNEL_IDATASOURCEMGR_H