Gaudi Framework, version v20r3

Generated: 24 Nov 2008

GslErrorCount.h

Go to the documentation of this file.
00001 // $Id: GslErrorCount.h,v 1.2 2006/11/30 10:40:53 mato Exp $
00002 // ============================================================================
00003 #ifndef GAUDIGSL_GSLERRORCOUNT_H 
00004 #define GAUDIGSL_GSLERRORCOUNT_H 1
00005 // Include files
00006 // from STL
00007 #include <string>
00008 #include <map>
00009 // from GaudiKernel
00010 #include "GaudiKernel/AlgTool.h"
00011 // from GaudiGSL
00012 #include "GaudiGSL/IGslErrorHandler.h"
00013 #include "GaudiGSL/GslError.h"
00014 // forward declaration
00015 
00025 class GslErrorCount :
00026   public virtual  IGslErrorHandler , 
00027   public AlgTool 
00028 {
00029 public:  
00030   
00037   virtual StatusCode handle 
00038   ( const GslError& error ) const ;
00039 
00045   virtual StatusCode finalize   () ;
00046   
00052   GslErrorCount
00053   ( const std::string& type   , 
00054     const std::string& name   ,
00055     const IInterface*  parent );
00056   
00058   virtual ~GslErrorCount( );   
00059   
00060 private:
00061   
00063   typedef std::map<GslError,unsigned int>  Counters ;
00064   mutable Counters m_counters ;
00065 
00066   
00067 };
00068 
00069 // ============================================================================
00070 // The END 
00071 // ============================================================================
00072 #endif // GAUDIGSL_GSLERRORCOUNT_H
00073 // ============================================================================

Generated at Mon Nov 24 14:38:45 2008 for Gaudi Framework, version v20r3 by Doxygen version 1.5.6 written by Dimitri van Heesch, © 1997-2004