The Gaudi Framework
master (37c0b60a)
IDataSourceMgr.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2024 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
Definition:
StatusCode.h:65
IInterface.h
IDataSourceMgr::disconnect
virtual StatusCode disconnect(const std::string &identifier)=0
Disconnect data source.
IDataSourceMgr::isConnected
virtual bool isConnected(const std::string &identifier) const =0
Check if a datasource is connected.
IDataSourceMgr::connect
virtual StatusCode connect(const std::string &logon, std::string &identifier)=0
Connect data source.
IDataSourceMgr::connect
virtual StatusCode connect(const std::string &logon)=0
Connect data source.
IDataSourceMgr
Definition:
IDataSourceMgr.h:24
IDataSourceMgr::disconnectAll
virtual StatusCode disconnectAll()=0
Close all open connections.
IInterface
Definition:
IInterface.h:239
IDataSourceMgr::DeclareInterfaceID
DeclareInterfaceID(IDataSourceMgr, 2, 0)
InterfaceID.
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:81
GaudiKernel
include
GaudiKernel
IDataSourceMgr.h
Generated on Thu Dec 19 2024 15:35:01 for The Gaudi Framework by
1.8.18