| # Gaudi Framework, version v21r7 |

Home |  | Generated: 22 Jan 2010

# IDataSourceMgr.h

Go to the documentation of this file.

    00001 // $Header: /tmp/svngaudi/tmp.jEpFh25751/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
    00015 class GAUDI_API IDataSourceMgr: virtual public IInterface {
    00016 public:
    00018   DeclareInterfaceID(IDataSourceMgr,2,0);
    00019
    00024   virtual bool isConnected(const std::string& identifier)   const  = 0;
    00025
    00032   virtual StatusCode connect(const std::string& logon, std::string& identifier) = 0;
    00033
    00039   virtual StatusCode connect(const std::string& logon) = 0;
    00040
    00045   virtual StatusCode disconnect(const std::string& identifier) = 0;
    00046
    00048   virtual StatusCode disconnectAll() = 0;
    00049 };
    00050
    00051 #endif // GAUDIKERNEL_IDATASOURCEMGR_H