3 #ifndef GAUDIGSL_GSLSVC_H
4 #define GAUDIGSL_GSLSVC_H 1
10 #include "GaudiKernel/Service.h"
13 #include "GaudiGSL/IGslSvc.h"
14 #include "GaudiGSL/GslError.h"
157 typedef std::vector<std::string>
Names ;
170 #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
void(* GslErrorHandler)(const char *, const char *, int, int)
type definition of "standard" GSL error handler functions
Names m_handlersTypeNames
virtual ~GslSvc()
destructor, virtual and protected
virtual GslErrorHandler handler() const
retrieve the current GSL error handler
This class is used for returning status codes from appropriate routines.
Base class used to extend a class implementing other interfaces.
GslSvc & operator=(const GslSvc &)
assignment operator is private
The implementation of IGslSvc interface.
virtual const std::string & name() const
Retrieve name of the service.
std::vector< IGslErrorHandler * > Handlers
std::string m_errorPolicy
error policy
virtual GslErrorHandler setHandler(GslErrorHandler handler) const
set new GSL error handler
GslSvc()
default constructor is private
virtual StatusCode finalize()
standard service finalization
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
virtual StatusCode status(const int error) const
transform GSL error code to Gaudi status code