| # Gaudi Framework, version v21r10p1 |

Home |  | Generated: 29 Jul 2010

# ChronoAuditor.h

Go to the documentation of this file.

    00001 #ifndef GAUDIAUD_CHRONOAUDITOR_H
    00002 #define GAUDIAUD_CHRONOAUDITOR_H
    00003
    00004 #include "GaudiKernel/Auditor.h"
    00005
    00006 class IChronoStatSvc;
    00007
    00013 class ChronoAuditor : virtual public Auditor {
    00014 public:
    00015   ChronoAuditor(const std::string& name, ISvcLocator* pSvcLocator);
    00016   virtual ~ChronoAuditor();
    00017   virtual void beforeInitialize(INamedInterface* alg);
    00018   virtual void afterInitialize(INamedInterface* alg);
    00019   virtual void beforeReinitialize(INamedInterface* alg);
    00020   virtual void afterReinitialize(INamedInterface* alg);
    00021   virtual void beforeExecute(INamedInterface* alg);
    00022   virtual void afterExecute(INamedInterface* alg, const StatusCode&);
    00023   virtual void beforeBeginRun(INamedInterface* alg);
    00024   virtual void afterBeginRun(INamedInterface *alg);
    00025   virtual void beforeEndRun(INamedInterface* alg);
    00026   virtual void afterEndRun(INamedInterface *alg);
    00027   virtual void beforeFinalize(INamedInterface* alg);
    00028   virtual void afterFinalize(INamedInterface* alg);
    00029
    00030   virtual void before(CustomEventTypeRef evt, const std::string& caller);
    00031   virtual void after(CustomEventTypeRef evt, const std::string& caller, const StatusCode& );
    00032
    00033   IChronoStatSvc* chronoSvc( ) { return m_chronoSvc; }
    00034 private:
    00035   IChronoStatSvc* m_chronoSvc;
    00036   StringArrayProperty m_types;
    00037
    00038 };
    00039
    00040 #endif