1 #ifndef GAUDIGSL_GSLSVC_H
2 #define GAUDIGSL_GSLSVC_H 1
8 #include "GaudiKernel/Service.h"
11 #include "GaudiGSL/IGslSvc.h"
12 #include "GaudiGSL/GslError.h"
97 virtual GslErrorHandler
handler ()
const ;
104 virtual GslErrorHandler
setHandler ( GslErrorHandler handler )
const ;
155 typedef std::vector<std::string>
Names ;
168 #endif // GAUDIGSL_GSLSVC_H
The abstract interface for arbitrary GSL error handler.
virtual StatusCode handle(const GslError &error) const
handle the GSL error
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Helper class to represent GSL errors.
std::vector< int > m_ignore
codes to be ignored
std::vector< std::string > Names
external handlers
virtual StatusCode initialize()
standard service initialization
Names m_handlersTypeNames
virtual GslErrorHandler handler() const
retrieve the current GSL error handler
This class is used for returning status codes from appropriate routines.
GslSvc & operator=(const GslSvc &)
assignment operator is private
The implementation of IGslSvc interface.
std::vector< IGslErrorHandler * > Handlers
std::string m_errorPolicy
error policy
virtual GslErrorHandler setHandler(GslErrorHandler handler) const
set new GSL error handler
Base class used to extend a class implementing other interfaces.
~GslSvc() override=default
destructor, virtual and protected
GslSvc()
default constructor is private
virtual StatusCode finalize()
standard service finalization
virtual StatusCode status(const int error) const
transform GSL error code to Gaudi status code