| The Gaudi Framework v32r1 (f65d50dc)

ICondSvc.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_ICONDSVC_H
2 #define GAUDIKERNEL_ICONDSVC_H 1
3
4 #include "GaudiKernel/DataHandle.h"
5 #include "GaudiKernel/DataObjID.h"
6 #include "GaudiKernel/EventContext.h"
7 #include "GaudiKernel/IAlgorithm.h"
8 #include "GaudiKernel/IService.h"
9
10 #include <set>
11 #include <sstream>
12 #include <string>
13
25 class ConditionSlotFuture;
26 class IConditionIOSvc;
27
28 class GAUDI_API ICondSvc : virtual public IService {
29 public:
30 DeclareInterfaceID( ICondSvc, 1, 0 );
31
33 virtual StatusCode regHandle( IAlgorithm* alg, const Gaudi::DataHandle& id ) = 0;
34
36 virtual bool isValidID( const EventContext& ctx, const DataObjID& id ) const = 0;
37
39 virtual const std::set<IAlgorithm*>& condAlgs() const = 0;
40
42 virtual bool isRegistered( IAlgorithm* alg ) const = 0;
43
45 virtual bool isRegistered( const DataObjID& id ) const = 0;
46
48 virtual const DataObjIDColl& conditionIDs() const = 0;
49
51 virtual void dump( std::ostream& ost ) const = 0;
52
54 virtual ConditionSlotFuture* startConditionSetup( const EventContext& ctx ) = 0;
55
58 virtual StatusCode registerConditionIOSvc( IConditionIOSvc* ioService ) = 0;
59 };
60
61 #endif
ManySmallAlgs.alg
alg
Definition: ManySmallAlgs.py:69
DataObjID
Definition: DataObjID.h:37
IAlgorithm.h
EventContext.h
EventContext
This class represents an entry point to all the event specific data.
Definition: EventContext.h:24
IService
General service interface definition.
Definition: IService.h:18
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
Gaudi::DataHandle
Definition: DataHandle.h:27
std::unordered_set< DataObjID, DataObjID_Hasher >
ICondSvc
Interface for the Condition Service.
Definition: ICondSvc.h:28
IAlgorithm
The IAlgorithm is the interface implemented by the Algorithm base class.
Definition: IAlgorithm.h:28
IService.h
DataObjID.h
std::set
STL class.
IService::DeclareInterfaceID
DeclareInterfaceID(IService, 4, 0)
InterfaceID.
DataHandle.h
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:71
std::ostream
STL class.