![]() |
The Gaudi Framework
v27r0
|
The implementation of IGslSvc interface. More...
#include <src/Components/GslSvc.h>
Public Member Functions | |
StatusCode | handle (const GslError &error) const override |
handle the GSL error More... | |
GslErrorHandler | handler () const override |
retrieve the current GSL error handler More... | |
GslErrorHandler | setHandler (GslErrorHandler handler) const override |
set new GSL error handler More... | |
StatusCode | status (const int error) const override |
transform GSL error code to Gaudi status code More... | |
StatusCode | initialize () override |
standard service initialization More... | |
StatusCode | finalize () override |
standard service finalization More... | |
GslSvc (const std::string &name, ISvcLocator *svc) | |
Standard constructor. More... | |
~GslSvc () override=default | |
destructor, virtual and protected More... | |
![]() | |
void * | i_cast (const InterfaceID &tid) const override |
Implementation of IInterface::i_cast. More... | |
StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
Implementation of IInterface::queryInterface. More... | |
std::vector< std::string > | getInterfaceNames () const override |
Implementation of IInterface::getInterfaceNames. More... | |
~extends () override=default | |
Virtual destructor. More... | |
void * | i_cast (const InterfaceID &tid) const override |
Implementation of IInterface::i_cast. More... | |
StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
Implementation of IInterface::queryInterface. More... | |
std::vector< std::string > | getInterfaceNames () const override |
Implementation of IInterface::getInterfaceNames. More... | |
~extends () override=default | |
Virtual destructor. More... | |
![]() | |
~extend_interfaces () override=default | |
Virtual destructor. More... | |
~extend_interfaces () override=default | |
Virtual destructor. More... | |
Private Types | |
typedef std::vector< std::string > | Names |
external handlers More... | |
typedef std::vector< IGslErrorHandler * > | Handlers |
Private Member Functions | |
GslSvc () | |
default constructor is private More... | |
GslSvc (const GslSvc &) | |
copy constructor is private More... | |
GslSvc & | operator= (const GslSvc &) |
assignment operator is private More... | |
Private Attributes | |
std::string | m_errorPolicy = "GSL" |
error policy More... | |
Names | m_handlersTypeNames |
Handlers | m_handlers |
std::vector< int > | m_ignore |
codes to be ignored More... | |
Additional Inherited Members | |
![]() | |
using | base_class = extends |
Typedef to this class. More... | |
using | extend_interfaces_base = extend_interfaces< Interfaces...> |
Typedef to the base of this class. More... | |
using | base_class = extends |
Typedef to this class. More... | |
using | extend_interfaces_base = extend_interfaces< Interfaces...> |
Typedef to the base of this class. More... | |
![]() | |
using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids...>::type |
take union of the ext_iids of all Interfaces... More... | |
using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids...>::type |
take union of the ext_iids of all Interfaces... More... | |
The implementation of IGslSvc interface.
The Gsl Service is teh service which perform intelligent error handling for GSL (GNU Scientific Library)
It provides a choice between different "Error Handling Policies"
Current implementation supports the several "error handling policies", which are driven by "ErrorPolicy" property of class GslSvc:
|
private |
|
private |
GslSvc::GslSvc | ( | const std::string & | name, |
ISvcLocator * | svc | ||
) |
Standard constructor.
name | service name |
scv | pointer to service locator |
name | service name |
scv | pointer to service locator |
Definition at line 38 of file GslSvc.cpp.
|
overridedefault |
destructor, virtual and protected
|
private |
default constructor is private
|
private |
copy constructor is private
|
override |
standard service finalization
Definition at line 140 of file GslSvc.cpp.
|
override |
handle the GSL error
err | error |
error | error |
Definition at line 209 of file GslSvc.cpp.
|
override |
retrieve the current GSL error handler
Definition at line 158 of file GslSvc.cpp.
|
override |
standard service initialization
Prints the type of used handler get the handler
Get Tool Service
Definition at line 56 of file GslSvc.cpp.
|
override |
set new GSL error handler
handler | new GSL error handler |
handler | new GSL error handler |
Definition at line 173 of file GslSvc.cpp.
|
override |
transform GSL error code to Gaudi status code
error | GLS error code |
error | GLS error code |
Definition at line 193 of file GslSvc.cpp.
|
private |
|
private |