IGslErrorHandler.h
Go to the documentation of this file.
1 #ifndef GAUDIGSL_IGSLERRORHANDLER_H
2 #define GAUDIGSL_IGSLERRORHANDLER_H 1
3 // Include files
4 #include "GaudiKernel/IAlgTool.h"
5 // forward declarations
6 class GslError;
7 
15 class GAUDI_API IGslErrorHandler: public virtual IAlgTool {
16 public:
19 
25  virtual StatusCode handle ( const GslError& error ) const = 0 ;
26 
27 protected:
28 
30  virtual ~IGslErrorHandler(){}
31 
32 };
33 
34 // ============================================================================
35 // The END
36 // ============================================================================
37 #endif // GAUDIGSL_IGSLERRORHANDLER_H
38 // ============================================================================
The abstract interface for arbitrary GSL error handler.
Helper class to represent GSL errors.
Definition: GslError.h:15
DeclareInterfaceID(IAlgTool, 4, 0)
InterfaceID.
virtual ~IGslErrorHandler()
destructor (virtual and protected)
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
The interface implemented by the AlgTool base class.
Definition: IAlgTool.h:23
#define GAUDI_API
Definition: Kernel.h:107