| The Gaudi Framework v32r1 (f65d50dc)

Public Member Functions | List of all members
ICondSvc Class Referenceabstract

Interface for the Condition Service. More...

`#include <GaudiKernel/ICondSvc.h>`

Inheritance diagram for ICondSvc:
[legend]
Collaboration diagram for ICondSvc:
[legend]

## Public Member Functions
| DeclareInterfaceID (ICondSvc, 1, 0)
virtual StatusCode | regHandle (IAlgorithm *alg, const Gaudi::DataHandle &id)=0
| register dependency between an Algorithm and the Condition Handle it creates More...
virtual bool | isValidID (const EventContext &ctx, const DataObjID &id) const =0
| check to see if a specific condition object ID is valid for this event More...
virtual const std::set< IAlgorithm * > & | condAlgs () const =0
| get list of all registered condition Algorithms More...
virtual bool | isRegistered (IAlgorithm *alg) const =0
| query if a specific Algorithm is a registered condition Algorithm More...
virtual bool | isRegistered (const DataObjID &id) const =0
| query if a condition Object ID is registered More...
virtual const DataObjIDColl & | conditionIDs () const =0
| get collection of all registered condition Object IDs More...
virtual void | dump (std::ostream &ost) const =0
| dump the condition store More...
virtual ConditionSlotFuture * | startConditionSetup (const EventContext &ctx)=0
| Asynchronously setup conditions. More...
virtual StatusCode | registerConditionIOSvc (IConditionIOSvc *ioService)=0
| register an IConditionIOSvc (alternative to Algorithm processing of Conditions) More...
Public Member Functions inherited from IService
| DeclareInterfaceID (IService, 4, 0)
| InterfaceID. More...
virtual StatusCode | sysInitialize ()=0
| Initialize Service. More...
virtual StatusCode | sysStart ()=0
| Start Service. More...
virtual StatusCode | sysStop ()=0
| Stop Service. More...
virtual StatusCode | sysFinalize ()=0
| Finalize Service. More...
virtual StatusCode | sysReinitialize ()=0
| Re-initialize the Service. More...
virtual StatusCode | sysRestart ()=0
| Re-start the Service. More...

## Additional Inherited Members
Public Types inherited from extend_interfaces< INamedInterface, IStateful >
using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids... >::type
| take union of the ext_iids of all Interfaces... More...
Protected Member Functions inherited from IService
virtual void | setServiceManager (ISvcManager *)=0

## Detailed Description

Interface for the Condition Service.

It allows Algorithms to register their ConditionsHanaldes with the Service, and clients to query the Service to determine which objects are valid/invalid for a particualar EventContext.

Author
  Charles Leggett

Version
  2.0

Definition at line 28 of file ICondSvc.h.

## Member Function Documentation

## ◆ condAlgs()

virtual const std::set<IAlgorithm*>& ICondSvc::condAlgs | ( |  | ) | const
| pure virtual

get list of all registered condition Algorithms

## ◆ conditionIDs()

virtual const DataObjIDColl& ICondSvc::conditionIDs | ( |  | ) | const
| pure virtual

get collection of all registered condition Object IDs

## ◆ DeclareInterfaceID()

ICondSvc::DeclareInterfaceID | ( | ICondSvc | ,
|  | 1 | ,
|  | 0 |
| ) |  |

## ◆ dump()

virtual void ICondSvc::dump | ( | std::ostream & | ost | ) | const
| pure virtual

dump the condition store

## ◆ isRegistered() [1/2]

virtual bool ICondSvc::isRegistered | ( | IAlgorithm * | alg | ) | const
| pure virtual

query if a specific Algorithm is a registered condition Algorithm

## ◆ isRegistered() [2/2]

virtual bool ICondSvc::isRegistered | ( | const DataObjID & | id | ) | const
| pure virtual

query if a condition Object ID is registered

## ◆ isValidID()

virtual bool ICondSvc::isValidID | ( | const EventContext & | ctx,
|  | const DataObjID & | id
| ) |  | const
| pure virtual

check to see if a specific condition object ID is valid for this event

## ◆ regHandle()

virtual StatusCode ICondSvc::regHandle | ( | IAlgorithm * | alg,
|  | const Gaudi::DataHandle & | id
| ) |  |
| pure virtual

register dependency between an Algorithm and the Condition Handle it creates

## ◆ registerConditionIOSvc()

virtual StatusCode ICondSvc::registerConditionIOSvc | ( | IConditionIOSvc * | ioService | ) |
| pure virtual

register an IConditionIOSvc (alternative to Algorithm processing of Conditions)

## ◆ startConditionSetup()

virtual ConditionSlotFuture* ICondSvc::startConditionSetup | ( | const EventContext & | ctx | ) |
| pure virtual

Asynchronously setup conditions.

The documentation for this class was generated from the following file:

- GaudiKernel/GaudiKernel/ICondSvc.h