ATLAS Offline Software
PerfMonMTAuditor.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef PERFMONCOMPS_PERFMONMTAUDITOR_H
6 #define PERFMONCOMPS_PERFMONMTAUDITOR_H
7 
8 // STL includes
9 #include <string>
10 
11 // Framework includes
12 #include "GaudiKernel/Auditor.h"
13 #include "GaudiKernel/ServiceHandle.h"
14 
15 // Forward declaration
16 //class INamedInterface;
17 class IPerfMonMTSvc;
18 
19 class PerfMonMTAuditor : public Auditor
20 {
21  /*
22  using Auditor::before;
23  using Auditor::after;
24  */
25 
26  public:
27 
29  PerfMonMTAuditor(const std::string& name, ISvcLocator* pSvcLocator);
30 
32  virtual StatusCode initialize() override;
33 
35  void before( StandardEventType, INamedInterface* ) override;
36  void before( StandardEventType, const std::string& ) override;
37 
38  void before( CustomEventTypeRef, INamedInterface* ) override;
39  void before( CustomEventTypeRef, const std::string& ) override;
40 
41  void after( StandardEventType, INamedInterface*, const StatusCode& ) override;
42  void after( StandardEventType, const std::string&, const StatusCode& ) override;
43 
44  void after( CustomEventTypeRef, INamedInterface*, const StatusCode& ) override;
45  void after( CustomEventTypeRef, const std::string&, const StatusCode& ) override;
46 
47  private:
48 
51 
52 }; // end PerfMonMTAuditor
53 
54 #endif // PERFMONCOMPS_PERFMONMTAUDITOR_H
PerfMonMTAuditor::before
void before(StandardEventType, INamedInterface *) override
Implement inherited methods from Auditor.
Definition: PerfMonMTAuditor.cxx:43
PerfMonMTAuditor
Definition: PerfMonMTAuditor.h:20
PerfMonMTAuditor::after
void after(StandardEventType, INamedInterface *, const StatusCode &) override
Definition: PerfMonMTAuditor.cxx:59
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
IPerfMonMTSvc
STL includes.
Definition: IPerfMonMTSvc.h:15
PerfMonMTAuditor::m_perfMonMTSvc
ServiceHandle< IPerfMonMTSvc > m_perfMonMTSvc
Handle to PerfMonMTSvc.
Definition: PerfMonMTAuditor.h:50
PerfMonMTAuditor::PerfMonMTAuditor
PerfMonMTAuditor(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: PerfMonMTAuditor.cxx:19
ServiceHandle< IPerfMonMTSvc >
PerfMonMTAuditor::initialize
virtual StatusCode initialize() override
Gaudi hooks.
Definition: PerfMonMTAuditor.cxx:30