NameAuditor.h
Go to the documentation of this file.
1 #ifndef ATLASAUDITOR_NAMEAUDITOR_H
2 #define ATLASAUDITOR_NAMEAUDITOR_H
3 
4 #include "CommonAuditor.h"
5 
11 class NameAuditor:public CommonAuditor {
12 public:
13  NameAuditor(const std::string& name, ISvcLocator* pSvcLocator);
14 
15 private:
17  void i_before(CustomEventTypeRef evt, const std::string& caller) override;
19  void i_after(CustomEventTypeRef evt, const std::string& caller, const StatusCode& sc) override;
20 
21 };
22 
23 #endif
void i_after(CustomEventTypeRef evt, const std::string &caller, const StatusCode &sc) override
Print a message on "after".
Definition: NameAuditor.cpp:21
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
Base class with common functionalities shared by few auditor implementations.
Definition: CommonAuditor.h:5
STL class.
NameAuditor(const std::string &name, ISvcLocator *pSvcLocator)
Definition: NameAuditor.cpp:11
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
void i_before(CustomEventTypeRef evt, const std::string &caller) override
Print a message on "before".
Definition: NameAuditor.cpp:15
Prints the name of each algorithm before entering the algorithm and after leaving it...
Definition: NameAuditor.h:11
const std::string & name() const override
Definition: Auditor.cpp:202
evt
Definition: IOTest.py:85