The Gaudi Framework
master (d98a2936)
IDataSourceMgr.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2025 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
#pragma once
12
13
#include <
GaudiKernel/IInterface.h
>
14
22
class
GAUDI_API
IDataSourceMgr
:
virtual
public
IInterface
{
23
public
:
25
DeclareInterfaceID
(
IDataSourceMgr
, 2, 0 );
26
31
virtual
bool
isConnected
(
const
std::string& identifier )
const
= 0;
32
39
virtual
StatusCode
connect
(
const
std::string& logon, std::string& identifier ) = 0;
40
46
virtual
StatusCode
connect
(
const
std::string& logon ) = 0;
47
52
virtual
StatusCode
disconnect
(
const
std::string& identifier ) = 0;
53
55
virtual
StatusCode
disconnectAll
() = 0;
56
};
StatusCode
Definition:
StatusCode.h:64
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:22
IDataSourceMgr::disconnectAll
virtual StatusCode disconnectAll()=0
Close all open connections.
IInterface
Definition:
IInterface.h:225
IDataSourceMgr::DeclareInterfaceID
DeclareInterfaceID(IDataSourceMgr, 2, 0)
InterfaceID.
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:49
GaudiKernel
include
GaudiKernel
IDataSourceMgr.h
Generated on Wed Aug 13 2025 09:05:04 for The Gaudi Framework by
1.8.18