| The Gaudi Framework v29r0 (ff2e7097)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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 {
16 public:
18 DeclareInterfaceID( IDataSourceMgr, 2, 0 );
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
std::string
STL class.
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:28
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
IInterface
Definition of the basic interface.
Definition: IInterface.h:277
IDataSourceMgr
IDataSourceMgr interface definition.
Definition: IDataSourceMgr.h:14
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:110
IInterface.h