ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
SGComps
src
SGCommitAuditor.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef SGTOOLS_SGCOMMITAUDITOR_H
6
#define SGTOOLS_SGCOMMITAUDITOR_H
7
8
#include "Gaudi/Auditor.h"
9
#include "Gaudi/IAuditor.h"
10
#include "GaudiKernel/ServiceHandle.h"
11
#include "
AthenaKernel/IHiveStoreMgr.h
"
12
14
//
15
// SGCommitAuditor
16
//
17
// Auditor for use with GaudiHive, causes DataObjects recorded during
18
// the preceeding Algorithm's execute method to be made known to the
19
// WhiteBoard
20
//
21
// Author: C. Leggett
22
// Date: 2015-02-03
24
25
class
SGCommitAuditor
:
public
Gaudi::Auditor {
26
27
public
:
28
SGCommitAuditor
(
const
std::string& name, ISvcLocator* pSvcLocator);
29
virtual
~SGCommitAuditor
();
30
31
virtual
StatusCode
initialize
()
override
;
32
33
virtual
void
after
(
const
std::string& event,
const
std::string& name,
34
const
EventContext&,
const
StatusCode&)
override
;
35
36
private
:
37
38
ServiceHandle<IHiveStoreMgr>
p_sg
;
39
40
};
41
42
#endif
IHiveStoreMgr.h
SGCommitAuditor::initialize
virtual StatusCode initialize() override
Definition
SGCommitAuditor.cxx:23
SGCommitAuditor::after
virtual void after(const std::string &event, const std::string &name, const EventContext &, const StatusCode &) override
Definition
SGCommitAuditor.cxx:31
SGCommitAuditor::p_sg
ServiceHandle< IHiveStoreMgr > p_sg
Definition
SGCommitAuditor.h:38
SGCommitAuditor::~SGCommitAuditor
virtual ~SGCommitAuditor()
Definition
SGCommitAuditor.cxx:18
SGCommitAuditor::SGCommitAuditor
SGCommitAuditor(const std::string &name, ISvcLocator *pSvcLocator)
Definition
SGCommitAuditor.cxx:10
ServiceHandle
Definition
ClusterMakerTool.h:36
Generated on
for ATLAS Offline Software by
1.17.0