| The Gaudi Framework v32r1 (f65d50dc)

IDataSourceMgr.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_IDATASOURCEMGR_H
2 #define GAUDIKERNEL_IDATASOURCEMGR_H
3
4 // Framework include files
5 #include "GaudiKernel/IInterface.h"
6
14 class GAUDI_API IDataSourceMgr : virtual public IInterface {
15 public:
17 DeclareInterfaceID( IDataSourceMgr, 2, 0 );
18
23 virtual bool isConnected( const std::string& identifier ) const = 0;
24
31 virtual StatusCode connect( const std::string& logon, std::string& identifier ) = 0;
32
38 virtual StatusCode connect( const std::string& logon ) = 0;
39
44 virtual StatusCode disconnect( const std::string& identifier ) = 0;
45
47 virtual StatusCode disconnectAll() = 0;
48 };
49
50 #endif // GAUDIKERNEL_IDATASOURCEMGR_H
std::string
STL class.
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
IInterface
Definition of the basic interface.
Definition: IInterface.h:244
DeclareInterfaceID
#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
IDataSourceMgr
IDataSourceMgr interface definition.
Definition: IDataSourceMgr.h:14
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:71
IInterface.h