ATLAS Offline Software
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  */
15 #ifndef ATHENAKERNEL_ICONDITIONSCLEANERSVC_H
16 #define ATHENAKERNEL_ICONDITIONSCLEANERSVC_H
17 
18 
19 #include "GaudiKernel/IInterface.h"
20 
21 
22 class EventContext;
23 class CondContBase;
24 
25 
26 namespace Athena {
27 
28 
33  : virtual public IInterface
34 {
35 public:
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
Athena::IConditionsCleanerSvc::printStats
virtual StatusCode printStats() const =0
Print some statistics about the garbage collection.
Athena::IConditionsCleanerSvc::DeclareInterfaceID
DeclareInterfaceID(IConditionsCleanerSvc, 1, 0)
Athena::IConditionsCleanerSvc::reset
virtual StatusCode reset()=0
Clear the internal state of the service.
Athena::IConditionsCleanerSvc
Interface for doing garbage collection of conditions objects.
Definition: IConditionsCleanerSvc.h:34
Athena
Some weak symbol referencing magic...
Definition: AthLegacySequence.h:21
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CondContBase
Base class for all conditions containers.
Definition: CondCont.h:140
Athena::IConditionsCleanerSvc::event
virtual StatusCode event(const EventContext &ctx, bool allowAsync)=0
Called at the start of each event.
Athena::IConditionsCleanerSvc::condObjAdded
virtual StatusCode condObjAdded(const EventContext &ctx, CondContBase &cc)=0
Called after a conditions object has been added.
python.handimod.cc
int cc
Definition: handimod.py:523