Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
ICondSvc.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_ICONDSVC_H
2 #define GAUDIKERNEL_ICONDSVC_H 1
3 
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:
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
This class represents an entry point to all the event specific data.
Definition: EventContext.h:31
General service interface definition.
Definition: IService.h:18
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
Interface for the Condition Service.
Definition: ICondSvc.h:28
The IAlgorithm is the interface implemented by the Algorithm base class.
Definition: IAlgorithm.h:28
STL class.
DeclareInterfaceID(IService, 4, 0)
InterfaceID.
#define GAUDI_API
Definition: Kernel.h:71
STL class.