All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
IGslErrorHandler.h
Go to the documentation of this file.
1 // $Id: IGslErrorHandler.h,v 1.2 2003/11/19 16:55:57 mato Exp $
2 // ============================================================================
3 #ifndef GAUDIGSL_IGSLERRORHANDLER_H
4 #define GAUDIGSL_IGSLERRORHANDLER_H 1
5 // Include files
6 #include "GaudiKernel/IAlgTool.h"
7 // forward declarations
8 class GslError;
9 
17 class GAUDI_API IGslErrorHandler: public virtual IAlgTool {
18 public:
21 
27  virtual StatusCode handle ( const GslError& error ) const = 0 ;
28 
29 protected:
30 
32  virtual ~IGslErrorHandler(){}
33 
34 };
35 
36 // ============================================================================
37 // The END
38 // ============================================================================
39 #endif // GAUDIGSL_IGSLERRORHANDLER_H
40 // ============================================================================
The abstract interface for arbitrary GSL error handler.
Helper class to represent GSL errors.
Definition: GslError.h:17
DeclareInterfaceID(IAlgTool, 3, 0)
InterfaceID.
virtual ~IGslErrorHandler()
destructor (virtual and protected)
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:30
The interface implemented by the AlgTool base class.
Definition: IAlgTool.h:23
#define GAUDI_API
Definition: Kernel.h:108