The Gaudi Framework  v29r0 (ff2e7097)
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 {
13 public:
14  NameAuditor( const std::string& name, ISvcLocator* pSvcLocator );
15 
16 private:
18  void i_before( CustomEventTypeRef evt, const std::string& caller ) override;
20  void i_after( CustomEventTypeRef evt, const std::string& caller, const StatusCode& sc ) override;
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:18
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:8
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:28
void i_before(CustomEventTypeRef evt, const std::string &caller) override
Print a message on "before".
Definition: NameAuditor.cpp:13
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:96