ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthenaServices
src
ConditionsCleanerSvc.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-2022 CERN for the benefit of the ATLAS collaboration
4
*/
5
/*
6
*/
13
14
15
#ifndef ATHENASERVICES_CONDITIONSCLEANERSVC_H
16
#define ATHENASERVICES_CONDITIONSCLEANERSVC_H
17
18
19
#include "
AthenaKernel/IConditionsCleanerSvc.h
"
20
#include "
AthenaBaseComps/AthService.h
"
21
#include "GaudiKernel/ServiceHandle.h"
22
23
24
namespace
Athena
{
25
26
35
class
ConditionsCleanerSvc
36
:
public
extends<AthService, IConditionsCleanerSvc>
37
{
38
public
:
44
ConditionsCleanerSvc
(
const
std::string& name, ISvcLocator* svc);
45
46
50
virtual
StatusCode
initialize
()
override
;
51
52
59
virtual
StatusCode
event
(
const
EventContext& ctx,
60
bool
allowAsync)
override
;
61
62
68
virtual
StatusCode
condObjAdded
(
const
EventContext& ctx,
69
CondContBase
& cc)
override
;
70
71
77
virtual
StatusCode
printStats
()
const override
;
78
79
84
virtual
StatusCode
reset
()
override
;
85
86
87
private
:
88
ServiceHandle<Athena::IConditionsCleanerSvc>
m_cleanerSvc
;
89
};
90
91
92
}
// namespace Athena
93
94
95
#endif
// not ATHENASERVICES_CONDITIONSCLEANERSVC_H
AthService.h
IConditionsCleanerSvc.h
Interface for doing garbage collection of conditions objects.
Athena::ConditionsCleanerSvc::condObjAdded
virtual StatusCode condObjAdded(const EventContext &ctx, CondContBase &cc) override
Called after a conditions object has been added.
Definition
ConditionsCleanerSvc.cxx:70
Athena::ConditionsCleanerSvc::event
virtual StatusCode event(const EventContext &ctx, bool allowAsync) override
Called at the start of each event.
Definition
ConditionsCleanerSvc.cxx:55
Athena::ConditionsCleanerSvc::printStats
virtual StatusCode printStats() const override
Print some statistics about the garbage collection.
Definition
ConditionsCleanerSvc.cxx:85
Athena::ConditionsCleanerSvc::m_cleanerSvc
ServiceHandle< Athena::IConditionsCleanerSvc > m_cleanerSvc
Definition
ConditionsCleanerSvc.h:88
Athena::ConditionsCleanerSvc::initialize
virtual StatusCode initialize() override
Standard Gaudi initialize method.
Definition
ConditionsCleanerSvc.cxx:39
Athena::ConditionsCleanerSvc::reset
virtual StatusCode reset() override
Clear the internal state of the service.
Definition
ConditionsCleanerSvc.cxx:98
Athena::ConditionsCleanerSvc::ConditionsCleanerSvc
ConditionsCleanerSvc(const std::string &name, ISvcLocator *svc)
Standard Gaudi constructor.
Definition
ConditionsCleanerSvc.cxx:25
CondContBase
Base class for all conditions containers.
Definition
CondCont.h:140
ServiceHandle
Definition
ClusterMakerTool.h:36
Athena
Some weak symbol referencing magic... These are declared in AthenaKernel/getMessageSvc....
Definition
AthDsoUtils.h:10
Generated on
for ATLAS Offline Software by
1.17.0