| The Gaudi Framework v30r0 (c919700c)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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 {
30 public:
31 DeclareInterfaceID( ICondSvc, 1, 0 );
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
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:26
Gaudi::DataHandle
Definition: DataHandle.h:28
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:110
std::ostream
STL class.