Gaudi Framework, version v23r0

Home   Generated: Mon Jan 30 2012

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   virtual ~ChronoAuditor();
00019 
00020   virtual StatusCode initialize();
00021 
00022 private:
00024   virtual void i_before(CustomEventTypeRef evt, const std::string& caller);
00025 
00027   virtual void i_after(CustomEventTypeRef evt, const std::string& caller, const StatusCode& sc);
00028 
00030   inline std::string i_id(CustomEventTypeRef evt, const std::string& caller) {
00031     return caller + ":" + evt;
00032   }
00033 
00034   SmartIF<IChronoStatSvc>& chronoSvc() { return m_chronoSvc; }
00035   SmartIF<IChronoStatSvc> m_chronoSvc;
00036 };
00037 
00038 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Mon Jan 30 2012 13:52:47 for Gaudi Framework, version v23r0 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004