The Gaudi Framework
v33r1 (b1225454)
ICondSvc.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_ICONDSVC_H
12
#define GAUDIKERNEL_ICONDSVC_H 1
13
14
#include "
GaudiKernel/DataHandle.h
"
15
#include "
GaudiKernel/DataObjID.h
"
16
#include "
GaudiKernel/EventContext.h
"
17
#include "
GaudiKernel/EventIDRange.h
"
18
#include "
GaudiKernel/IAlgorithm.h
"
19
#include "
GaudiKernel/IService.h
"
20
21
#include <set>
22
#include <sstream>
23
#include <string>
24
36
class
ConditionSlotFuture;
37
class
IConditionIOSvc;
38
39
class
GAUDI_API
ICondSvc
:
virtual
public
IService
{
40
public
:
41
DeclareInterfaceID
(
ICondSvc
, 1, 0 );
42
44
virtual
StatusCode
regHandle(
IAlgorithm
*
alg
,
const
Gaudi::DataHandle
&
id
) = 0;
45
47
virtual
bool
isValidID(
const
EventContext
&
ctx
,
const
DataObjID
&
id
)
const
= 0;
48
50
virtual
const
std::set<IAlgorithm*>
& condAlgs()
const
= 0;
51
53
virtual
bool
isRegistered(
IAlgorithm
*
alg
)
const
= 0;
54
56
virtual
bool
isRegistered(
const
DataObjID
&
id
)
const
= 0;
57
59
virtual
const
DataObjIDColl
& conditionIDs()
const
= 0;
60
62
virtual
void
dump(
std::ostream
& ost )
const
= 0;
63
65
virtual
StatusCode
validRanges(
std::vector<EventIDRange>
&
ranges
,
const
DataObjID
&
id
)
const
= 0;
66
68
virtual
ConditionSlotFuture* startConditionSetup(
const
EventContext
&
ctx
) = 0;
69
72
virtual
StatusCode
registerConditionIOSvc( IConditionIOSvc* ioService ) = 0;
73
};
74
75
#endif
ManySmallAlgs.alg
alg
Definition:
ManySmallAlgs.py:79
DataObjID
Definition:
DataObjID.h:47
IAlgorithm.h
GaudiPython.Pythonizations.ctx
ctx
Definition:
Pythonizations.py:566
EventContext.h
EventContext
This class represents an entry point to all the event specific data.
Definition:
EventContext.h:34
IService
General service interface definition.
Definition:
IService.h:28
StatusCode
This class is used for returning status codes from appropriate routines.
Definition:
StatusCode.h:61
Gaudi::DataHandle
Definition:
DataHandle.h:37
std::unordered_set< DataObjID, DataObjID_Hasher >
ICondSvc
Interface for the Condition Service.
Definition:
ICondSvc.h:39
IAlgorithm
The IAlgorithm is the interface implemented by the Algorithm base class.
Definition:
IAlgorithm.h:38
IService.h
DataObjID.h
std::set
STL class.
std::vector
STL class.
ranges
Definition:
FunctionalDetails.h:33
EventIDRange.h
Event Range object.
IService::DeclareInterfaceID
DeclareInterfaceID(IService, 4, 0)
InterfaceID.
DataHandle.h
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:81
std::ostream
STL class.
GaudiKernel
GaudiKernel
ICondSvc.h
Generated on Mon Mar 23 2020 15:31:02 for The Gaudi Framework by
1.8.15