The Gaudi Framework  v28r3 (cc1cf868)
ICondSvc.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_ICONDSVC_H
2 #define GAUDIKERNEL_ICONDSVC_H 1
3 
4 #include "GaudiKernel/IService.h"
9 
10 #include <string>
11 #include <sstream>
12 #include <set>
13 
25 class ConditionSlotFuture;
26 class IConditionIOSvc;
27 
28 class GAUDI_API ICondSvc: virtual public IService {
29 public:
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 
53 
55  virtual ConditionSlotFuture* startConditionSetup(const EventContext& ctx) = 0;
56 
59  virtual StatusCode registerConditionIOSvc(IConditionIOSvc *ioService) = 0;
60 
61 
62 };
63 
64 #endif
This class represents an entry point to all the event specific data.
Definition: EventContext.h:24
General service interface definition.
Definition: IService.h:18
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
Interface for the Condition Service.
Definition: ICondSvc.h:28
The IAlgorithm is the interface implemented by the Algorithm base class.
Definition: IAlgorithm.h:27
STL class.
DeclareInterfaceID(IService, 4, 0)
InterfaceID.
#define GAUDI_API
Definition: Kernel.h:107
STL class.