Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  master (f31105fd)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
AlgContextAuditor.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2025 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 #pragma once
12 
13 #include <GaudiKernel/Auditor.h>
14 #include <GaudiKernel/IAlgorithm.h>
15 
16 class IAlgContextSvc;
17 
24 class AlgContextAuditor : public Auditor {
25 public:
26  // IAuditor implementation
27  using Auditor::after;
28  using Auditor::before;
29  void before( StandardEventType evt, INamedInterface* a ) override;
30  void after( StandardEventType evt, INamedInterface* obj, const StatusCode& sc ) override;
31 
32 public:
33  using Auditor::Auditor;
34  StatusCode initialize() override;
35  StatusCode finalize() override;
36 
37 private:
39  AlgContextAuditor() = delete;
42 
43 private:
46 };
IOTest.evt
evt
Definition: IOTest.py:107
AlgContextAuditor::before
void before(StandardEventType evt, INamedInterface *a) override
Definition: AlgContextAuditor.cpp:58
Auditor::before
void before(StandardEventType, INamedInterface *) override
The following methods are meant to be implemented by the child class...
Definition: Auditor.h:65
AlgContextAuditor::finalize
StatusCode finalize() override
Definition: AlgContextAuditor.cpp:53
AlgContextAuditor::operator=
AlgContextAuditor & operator=(const AlgContextAuditor &)=delete
Auditor::after
void after(StandardEventType, INamedInterface *, const StatusCode &) override
Definition: Auditor.h:71
Auditor
Definition: Auditor.h:42
StatusCode
Definition: StatusCode.h:65
AlgContextAuditor::initialize
StatusCode initialize() override
Definition: AlgContextAuditor.cpp:42
SmartIF< IAlgContextSvc >
AlgContextAuditor::AlgContextAuditor
AlgContextAuditor()=delete
delete the default/copy constructor and assignment
INamedInterface
Definition: INamedInterface.h:25
AlgContextAuditor::m_svc
SmartIF< IAlgContextSvc > m_svc
the pointer to Algorithm Context Service
Definition: AlgContextAuditor.h:45
Auditor::Auditor
Auditor(std::string name, ISvcLocator *svcloc)
Constructor.
Definition: Auditor.cpp:21
IAlgContextSvc
Definition: IAlgContextSvc.h:33
AlgContextAuditor::after
void after(StandardEventType evt, INamedInterface *obj, const StatusCode &sc) override
Definition: AlgContextAuditor.cpp:69
IAlgorithm.h
AlgContextAuditor
Definition: AlgContextAuditor.h:24
AlgContextAuditor::AlgContextAuditor
AlgContextAuditor(const AlgContextAuditor &)=delete
Auditor.h