| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

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
 SUCCESS
 NO_INTERFACE
 VERSMISMATCH
 LAST_ERROR
enum  Status

Public Member Functions

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
virtual const InterfaceIDtype () const =0
virtual StatusCode sysInitialize ()=0
virtual StatusCode sysStart ()=0
virtual StatusCode sysStop ()=0
virtual StatusCode sysFinalize ()=0
virtual StatusCode sysReinitialize ()=0
virtual StatusCode sysRestart ()=0
virtual StatusCode configure ()=0
virtual StatusCode initialize ()=0
virtual StatusCode start ()=0
virtual StatusCode stop ()=0
virtual StatusCode finalize ()=0
virtual StatusCode terminate ()=0
virtual StatusCode reinitialize ()=0
virtual StatusCode restart ()=0
virtual Gaudi::StateMachine::State FSMState () const =0
virtual Gaudi::StateMachine::State targetFSMState () const =0
virtual const std::string & name () const =0
virtual StatusCode queryInterface (const InterfaceID &riid, void **ppvInterface)=0
virtual unsigned long addRef ()=0
virtual unsigned long release ()=0

Static Public Member Functions

static const InterfaceIDinterfaceID ()
 retrieve the unique interface identifier (static method) unique interface identifier

Public Attributes

 SUCCESS
 NO_INTERFACE
 VERSMISMATCH
 LAST_ERROR

Protected Member Functions

virtual ~IGslSvc ()
 destructor (virtual and protected)
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.Belyaev@itep.ru
Date:
29/04/2002

Definition at line 20 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 31 of file IGslSvc.h.


Constructor & Destructor Documentation

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

destructor (virtual and protected)

Definition at line 72 of file IGslSvc.h.

00072 {} ;


Member Function Documentation

static const InterfaceID& IGslSvc::interfaceID (  )  [inline, static]

retrieve the unique interface identifier (static method) unique interface identifier

Reimplemented from IService.

Definition at line 42 of file IGslSvc.h.

00042 { return IID_IGslSvc ; }

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:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 19:58:48 2011 for GaudiGSL by doxygen 1.4.7