|
Gaudi Framework, version v23r4 |
| Home | Generated: Mon Sep 17 2012 |
00001 // $Id: RootPerfMonSvc.h,v 1.7 2010-09-14 06:01:12 frankb Exp $ 00002 //==================================================================== 00003 // RootPerfMonSvc definition 00004 //-------------------------------------------------------------------- 00005 // 00006 // Author : M.Frank 00007 //==================================================================== 00008 #ifndef GAUDIROOTCNV_GAUDIROOTCNVSVC_H 00009 #define GAUDIROOTCNV_GAUDIROOTCNVSVC_H 00010 // $Header: /afs/cern.ch/project/cvs/reps/lhcb/Online/RootCnv/src/RootPerfMonSvc.h,v 1.7 2010-09-14 06:01:12 frankb Exp $ 00011 00012 // Framework include files 00013 #include "GaudiKernel/IIncidentListener.h" 00014 #include "GaudiKernel/Service.h" 00015 00016 // Forward declarations 00017 class IIncidentSvc; 00018 00019 /* 00020 * Gaudi namespace declaration 00021 */ 00022 namespace Gaudi { 00023 00034 class GAUDI_API RootPerfMonSvc : public Service { 00035 protected: 00036 00038 IIncidentSvc* m_incidentSvc; 00040 std::string m_ioPerfStats; 00042 MsgStream* m_log; 00043 00045 MsgStream& log() const { return *m_log; } 00046 00047 public: 00048 00050 RootPerfMonSvc(const std::string& name, ISvcLocator* svc); 00051 00053 virtual ~RootPerfMonSvc(); 00054 00060 StatusCode error(const std::string& msg); 00061 00063 virtual StatusCode initialize(); 00064 00066 virtual StatusCode finalize(); 00067 }; 00068 } 00069 00070 #endif // GAUDIROOTCNV_GAUDIROOTCNVSVC_H