ATLAS Offline Software
Loading...
Searching...
No Matches
IConditionsCleanerSvc.h
Go to the documentation of this file.
1// This file's extension implies that it's C, but it's really -*- C++ -*-.
2/*
3 Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
4*/
5/*
6 */
13
14
15#ifndef ATHENAKERNEL_ICONDITIONSCLEANERSVC_H
16#define ATHENAKERNEL_ICONDITIONSCLEANERSVC_H
17
18
19#include "GaudiKernel/IInterface.h"
20
21
22class EventContext;
23class CondContBase;
24
25
26namespace Athena {
27
28
33 : virtual public IInterface
34{
35public:
37
38
45 virtual StatusCode event (const EventContext& ctx,
46 bool allowAsync) = 0;
47
48
54 virtual StatusCode condObjAdded (const EventContext& ctx,
55 CondContBase& cc) = 0;
56
57
63 virtual StatusCode printStats() const = 0;
64
65
70 virtual StatusCode reset() = 0;
71};
72
73
74} // namespace Athena
75
76
77#endif // not ATHENAKERNEL_ICONDITIONSCLEANERSVC_H
Interface for doing garbage collection of conditions objects.
virtual StatusCode reset()=0
Clear the internal state of the service.
virtual StatusCode condObjAdded(const EventContext &ctx, CondContBase &cc)=0
Called after a conditions object has been added.
virtual StatusCode event(const EventContext &ctx, bool allowAsync)=0
Called at the start of each event.
DeclareInterfaceID(IConditionsCleanerSvc, 1, 0)
virtual StatusCode printStats() const =0
Print some statistics about the garbage collection.
Base class for all conditions containers.
Definition CondCont.h:140
Some weak symbol referencing magic... These are declared in AthenaKernel/getMessageSvc....