1 #ifndef GAUDIGSL_GSLSVC_H
2 #define GAUDIGSL_GSLSVC_H 1
98 GslErrorHandler
handler ()
const override;
105 GslErrorHandler
setHandler ( GslErrorHandler handler )
const override;
169 #endif // GAUDIGSL_GSLSVC_H
The abstract interface for arbitrary GSL error handler.
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
StatusCode handle(const GslError &error) const override
handle the GSL error
Names m_handlersTypeNames
StatusCode finalize() override
standard service finalization
const std::string & name() const override
Retrieve name of the service.
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
StatusCode initialize() override
standard service initialization
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
GslErrorHandler setHandler(GslErrorHandler handler) const override
set new GSL error handler
std::string m_errorPolicy
error policy
GslErrorHandler handler() const override
retrieve the current 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
StatusCode status(const int error) const override
transform GSL error code to Gaudi status code