| The Gaudi Framework v28r2-patches (bc4ad17a)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Types | Public Member Functions | Protected Member Functions | List of all members
IGslSvc Class Referenceabstract

The abstract interface to "deal" with GNU Scientific Library (GLS) The main task is the error handling. More...

`#include <GaudiGSL/IGslSvc.h>`

Inheritance diagram for IGslSvc:
[legend]
Collaboration diagram for IGslSvc:
[legend]

## Public Types
typedef void(* | GslErrorHandler) (const char *, const char *, int, int)
| type definition of "standard" GSL error handler functions More...
Public Types inherited from extend_interfaces< INamedInterface, IStateful >
using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids... >::type
| take union of the ext_iids of all Interfaces... More...

## Public Member Functions
| DeclareInterfaceID (IGslSvc, 2, 0)
| InterfaceID. More...
virtual StatusCode | handle (const GslError &error) const =0
| handle the GSL error More...
virtual GslErrorHandler | handler () const =0
| retrieve the current GSL error handler More...
virtual GslErrorHandler | setHandler (GslErrorHandler handler) const =0
| set new GSL error handler More...
virtual StatusCode | status (const int error) const =0
| transform GSL error code to Gaudi status code More...
Public Member Functions inherited from IService
| DeclareInterfaceID (IService, 4, 0)
| InterfaceID. More...
virtual StatusCode | sysInitialize ()=0
| Initialize Service. More...
virtual StatusCode | sysStart ()=0
| Start Service. More...
virtual StatusCode | sysStop ()=0
| Stop Service. More...
virtual StatusCode | sysFinalize ()=0
| Finalize Service. More...
virtual StatusCode | sysReinitialize ()=0
| Re-initialize the Service. More...
virtual StatusCode | sysRestart ()=0
| Re-start the Service. More...
Public Member Functions inherited from extend_interfaces< INamedInterface, IStateful >
| ~extend_interfaces () override=default
| Virtual destructor. More...

## Protected Member Functions
virtual | ~IGslSvc ()
| destructor (virtual and protected) More...
Protected Member Functions inherited from IService
virtual void | setServiceManager (ISvcManager *)=0

## Detailed Description

The abstract interface to "deal" with GNU Scientific Library (GLS) The main task is the error handling.

Could be extended in future to cover other aspects as well.

Author
  Vanya Belyaev Ivan..nosp@m.Bely.nosp@m.aev@i.nosp@m.tep..nosp@m.ru

Date
  29/04/2002

Definition at line 16 of file IGslSvc.h.

## Member Typedef Documentation

typedef void(* IGslSvc::GslErrorHandler) (const char * , const char * , int , int )

type definition of "standard" GSL error handler functions

Parameters

  reason | error reason (message)
  file | file name
  line | line number
  code | error code

Definition at line 28 of file IGslSvc.h.

## Constructor & Destructor Documentation

virtual IGslSvc::~IGslSvc | ( |  | ) |
| inline protected virtual

destructor (virtual and protected)

Definition at line 61 of file IGslSvc.h.

61 {}

## Member Function Documentation

IGslSvc::DeclareInterfaceID | ( | IGslSvc | ,
|  | 2 | ,
|  | 0 |
| ) |  |

InterfaceID.

virtual StatusCode IGslSvc::handle | ( | const GslError & | error | ) | const
| pure virtual

handle the GSL error

Parameters

  error | error to be handled

See also
  GslError

Returns
  status code

virtual GslErrorHandler IGslSvc::handler | ( |  | ) | const
| pure virtual

retrieve the current GSL error handler

Returns
  current GSL error handler

virtual GslErrorHandler IGslSvc::setHandler | ( | GslErrorHandler | handler | ) | const
| pure virtual

set new GSL error handler

Parameters

  handler | new GSL error handler

Returns
  GSL error handler

virtual StatusCode IGslSvc::status | ( | const int | error | ) | const
| pure virtual

transform GSL error code to Gaudi status code

Parameters

  error | GLS error code

Returns
  status code

The documentation for this class was generated from the following file:

- GaudiGSL/GaudiGSL/IGslSvc.h