The Gaudi Framework  v30r3 (a5ef0a68)
IDataSourceMgr.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_IDATASOURCEMGR_H
2 #define GAUDIKERNEL_IDATASOURCEMGR_H
3 
4 // Framework include files
6 
14 class GAUDI_API IDataSourceMgr : virtual public IInterface
15 {
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
STL class.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:51
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition: IInterface.h:13
Definition of the basic interface.
Definition: IInterface.h:277
IDataSourceMgr interface definition.
#define GAUDI_API
Definition: Kernel.h:104