Gaudi Framework, version v21r7

Home   Generated: 22 Jan 2010

IGslSvc.h

Go to the documentation of this file.
00001 // $Id: IGslSvc.h,v 1.2 2003/11/19 16:55:57 mato Exp $
00002 // ============================================================================
00003 #ifndef GAUDIGSL_IGSLSVC_H
00004 #define GAUDIGSL_IGSLSVC_H 1
00005 // Include files
00006 #include "GaudiKernel/IService.h"
00007 //  forward declaration
00008 class GslError ;
00018 class GAUDI_API IGslSvc : virtual public IService {
00019 public:
00021   DeclareInterfaceID(IGslSvc,2,0);
00022 
00029   typedef void (*GslErrorHandler)
00030     ( const char* /* reason */ ,
00031       const char* /* file   */ ,
00032       int         /* line   */ ,
00033       int         /* code   */ );
00034 
00040   virtual StatusCode handle
00041   ( const GslError& error ) const = 0 ;
00042 
00046   virtual GslErrorHandler  handler     ()    const = 0 ;
00047 
00052   virtual GslErrorHandler  setHandler ( GslErrorHandler handler ) const = 0 ;
00053 
00058   virtual StatusCode    status        ( const int error      ) const = 0 ;
00059 
00060 protected:
00061 
00063   virtual ~IGslSvc(){}
00064 
00065 };
00066 
00067 // ============================================================================
00068 // The END
00069 // ============================================================================
00070 #endif // GAUDIGSL_IGSLSVC_H
00071 // ============================================================================

Generated at Fri Jan 22 20:27:29 2010 for Gaudi Framework, version v21r7 by Doxygen version 1.5.6 written by Dimitri van Heesch, © 1997-2004