All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
IDataSourceMgr.h
Go to the documentation of this file.
1 // $Header: /tmp/svngaudi/tmp.jEpFh25751/Gaudi/GaudiKernel/GaudiKernel/IDataSourceMgr.h,v 1.4 2004/07/06 10:17:39 mato Exp $
2 #ifndef GAUDIKERNEL_IDATASOURCEMGR_H
3 #define GAUDIKERNEL_IDATASOURCEMGR_H
4 
5 // Framework include files
7 
15 class GAUDI_API IDataSourceMgr: virtual public IInterface {
16 public:
19 
24  virtual bool isConnected(const std::string& identifier) const = 0;
25 
32  virtual StatusCode connect(const std::string& logon, std::string& identifier) = 0;
33 
39  virtual StatusCode connect(const std::string& logon) = 0;
40 
45  virtual StatusCode disconnect(const std::string& identifier) = 0;
46 
48  virtual StatusCode disconnectAll() = 0;
49 };
50 
51 #endif // GAUDIKERNEL_IDATASOURCEMGR_H
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:30
Definition of the basic interface.
Definition: IInterface.h:160
#define DeclareInterfaceID(name, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition: IInterface.h:23
IDataSourceMgr interface definition.
#define GAUDI_API
Definition: Kernel.h:108