| # Gaudi Framework, version v20r3
Generated: 24 Nov 2008

# NameAuditor.h

Go to the documentation of this file.

    00001 #ifndef ATLASAUDITOR_NAMEAUDITOR_H
    00002 #define ATLASAUDITOR_NAMEAUDITOR_H
    00003
    00004 // ClassName: NameAuditor
    00005 //
    00006 // Description:  Prints the name of each algorithm before entering
    00007 // the algorithm and after leaving it
    00008 //
    00009 // Author: M. Shapiro, LBNL
    00010 //
    00011 #include "GaudiKernel/Auditor.h"
    00012
    00013 class INamedInterface;
    00014
    00015 class NameAuditor:public  Auditor {
    00016
    00017 public:
    00018   NameAuditor(const std::string& name, ISvcLocator* pSvcLocator);
    00019   virtual ~NameAuditor();
    00020   virtual void beforeInitialize(INamedInterface* alg);
    00021   virtual void afterInitialize(INamedInterface* alg);
    00022   virtual void beforeReinitialize(INamedInterface* alg);
    00023   virtual void afterReinitialize(INamedInterface* alg);
    00024   virtual void beforeExecute(INamedInterface* alg);
    00025   virtual void afterExecute(INamedInterface* alg, const StatusCode& );
    00026   virtual void beforeBeginRun(INamedInterface* alg);
    00027   virtual void afterBeginRun(INamedInterface *alg);
    00028   virtual void beforeEndRun(INamedInterface* alg);
    00029   virtual void afterEndRun(INamedInterface *alg);
    00030   virtual void beforeFinalize(INamedInterface* alg);
    00031   virtual void afterFinalize(INamedInterface* alg);
    00032
    00033   virtual void before(CustomEventTypeRef evt, const std::string& caller);
    00034   virtual void after(CustomEventTypeRef evt, const std::string& caller, const StatusCode& );
    00035
    00036 private:
    00037
    00038   StringArrayProperty m_types;
    00039
    00040 };
    00041
    00042 #endif