| # Gaudi Framework, version v22r4 |

Home |  | Generated: Fri Sep 2 2011

# ChronoAuditor.h

Go to the documentation of this file.

    00001 #ifndef GAUDIAUD_CHRONOAUDITOR_H
    00002 #define GAUDIAUD_CHRONOAUDITOR_H
    00003
    00004 #include "CommonAuditor.h"
    00005
    00006 #include "GaudiKernel/IChronoStatSvc.h"
    00007
    00014 class ChronoAuditor : virtual public CommonAuditor {
    00015 public:
    00016   ChronoAuditor(const std::string& name, ISvcLocator* pSvcLocator);
    00017
    00018 private:
    00020   virtual void i_before(CustomEventTypeRef evt, const std::string& caller);
    00021
    00023   virtual void i_after(CustomEventTypeRef evt, const std::string& caller, const StatusCode& sc);
    00024
    00026   inline std::string i_id(CustomEventTypeRef evt, const std::string& caller) {
    00027     return caller + ":" + evt;
    00028   }
    00029
    00030   SmartIF<IChronoStatSvc>& chronoSvc() { return m_chronoSvc; }
    00031   SmartIF<IChronoStatSvc> m_chronoSvc;
    00032 };
    00033
    00034 #endif

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines