| # Gaudi Framework, version v21r10p1 |

Home |  | Generated: 29 Jul 2010

# IGslSvc Class Reference

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]

List of all members.

## Public Types
typedef void(* | GslErrorHandler )(const char *, const char *, int, int)
| type definition of "standard" GSL error handler functions
## Public Member Functions
| DeclareInterfaceID (IGslSvc, 2, 0)
| InterfaceID.
virtual StatusCode | handle (const GslError &error) const =0
| handle the GSL error
virtual GslErrorHandler | handler () const =0
| retrieve the current GSL error handler
virtual GslErrorHandler | setHandler (GslErrorHandler handler) const =0
| set new GSL error handler
virtual StatusCode | status (const int error) const =0
| transform GSL error code to Gaudi status code
## Protected Member Functions
virtual | ~IGslSvc ()
| destructor (virtual and protected)

## 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.Belyaev@itep.ru

Date:
  29/04/2002

Definition at line 18 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

## Constructor & Destructor Documentation

virtual IGslSvc::~IGslSvc | ( |  | ) | `[inline, protected, virtual]`

destructor (virtual and protected)

Definition at line 63 of file IGslSvc.h.

    00063 {}

## 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

Implemented in GslSvc.

virtual GslErrorHandler IGslSvc::handler | ( |  | ) | const`[pure virtual]`

retrieve the current GSL error handler

Returns:
  current GSL error handler

Implemented in GslSvc.

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

Implemented in GslSvc.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v21r10p1/GaudiGSL/GaudiGSL/IGslSvc.h