All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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  virtual void i_before(CustomEventTypeRef evt, const std::string& caller);
19  virtual void i_after(CustomEventTypeRef evt, const std::string& caller, const StatusCode& sc);
20 
21 };
22 
23 #endif
virtual void i_after(CustomEventTypeRef evt, const std::string &caller, const StatusCode &sc)
Print a message on "after".
Definition: NameAuditor.cpp:22
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:26
virtual const std::string & name() const
Retrieve the name of the instance.
Definition: Auditor.cpp:218
virtual void i_before(CustomEventTypeRef evt, const std::string &caller)
Print a message on "before".
Definition: NameAuditor.cpp:15
Base class with common functionalities shared by few auditor implementations.
Definition: CommonAuditor.h:5
const CustomEventType & CustomEventTypeRef
Used in function calls for optimization purposes.
Definition: IAuditor.h:41
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:30
Prints the name of each algorithm before entering the algorithm and after leaving it...
Definition: NameAuditor.h:11