The Gaudi Framework
v33r1 (b1225454)
IDataSourceMgr.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#ifndef GAUDIKERNEL_IDATASOURCEMGR_H
12
#define GAUDIKERNEL_IDATASOURCEMGR_H
13
14
// Framework include files
15
#include "
GaudiKernel/IInterface.h
"
16
24
class
GAUDI_API
IDataSourceMgr
:
virtual
public
IInterface
{
25
public
:
27
DeclareInterfaceID
(
IDataSourceMgr
, 2, 0 );
28
33
virtual
bool
isConnected(
const
std::string
& identifier )
const
= 0;
34
41
virtual
StatusCode
connect(
const
std::string
& logon,
std::string
& identifier ) = 0;
42
48
virtual
StatusCode
connect(
const
std::string
& logon ) = 0;
49
54
virtual
StatusCode
disconnect(
const
std::string
& identifier ) = 0;
55
57
virtual
StatusCode
disconnectAll() = 0;
58
};
59
60
#endif // GAUDIKERNEL_IDATASOURCEMGR_H
std::string
STL class.
StatusCode
This class is used for returning status codes from appropriate routines.
Definition:
StatusCode.h:61
IInterface
Definition of the basic interface.
Definition:
IInterface.h:254
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:23
IDataSourceMgr
IDataSourceMgr interface definition.
Definition:
IDataSourceMgr.h:24
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:81
IInterface.h
GaudiKernel
GaudiKernel
IDataSourceMgr.h
Generated on Mon Mar 23 2020 15:31:02 for The Gaudi Framework by
1.8.15