The Gaudi Framework  v30r3 (a5ef0a68)
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 {
30 public:
32 
34  virtual StatusCode regHandle( IAlgorithm* alg, const Gaudi::DataHandle& id ) = 0;
35 
37  virtual bool isValidID( const EventContext& ctx, const DataObjID& id ) const = 0;
38 
40  virtual const std::set<IAlgorithm*>& condAlgs() const = 0;
41 
43  virtual bool isRegistered( IAlgorithm* alg ) const = 0;
44 
46  virtual bool isRegistered( const DataObjID& id ) const = 0;
47 
49  virtual const DataObjIDColl& conditionIDs() const = 0;
50 
52  virtual void dump( std::ostream& ost ) const = 0;
53 
55  virtual ConditionSlotFuture* startConditionSetup( const EventContext& ctx ) = 0;
56 
59  virtual StatusCode registerConditionIOSvc( IConditionIOSvc* ioService ) = 0;
60 };
61 
62 #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:51
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:104
STL class.