|
Gaudi Framework, version v23r4 |
| Home | Generated: Mon Sep 17 2012 |
00001 // $Id: IStatSvc.h,v 1.1 2007/08/06 08:39:40 marcocle Exp $ 00002 // ============================================================================ 00003 #ifndef GAUDIKERNEL_ISTATSVC_H 00004 #define GAUDIKERNEL_ISTATSVC_H 1 00005 // ============================================================================ 00006 // Include files 00007 // ============================================================================ 00008 // STD&STL 00009 // ============================================================================ 00010 #include <string> 00011 // ============================================================================ 00012 // GaudiKernel 00013 // ============================================================================ 00014 #include "GaudiKernel/IInterface.h" 00015 // ============================================================================ 00016 // forward declaration 00017 // ============================================================================ 00018 class StatEntity ; 00019 // ============================================================================ 00027 class GAUDI_API IStatSvc: virtual public IInterface 00028 { 00029 public: 00031 DeclareInterfaceID(IStatSvc,2,0); 00033 typedef std::string StatTag ; 00035 typedef double StatFlag ; 00036 public: 00042 virtual void stat ( const StatTag& t , const StatFlag& f ) = 0 ; 00047 virtual void statPrint ( const StatTag& t ) = 0; 00052 virtual const StatEntity* stat ( const StatTag& t ) const = 0 ; 00053 protected: 00054 // virtual and protected destructor 00055 virtual ~IStatSvc( ); 00056 }; 00057 // ============================================================================ 00058 // The END 00059 // ============================================================================ 00060 #endif // GAUDIKERNEL_ISTATSVC_H 00061 // ============================================================================