Gaudi Framework, version v25r2

Home   Generated: Wed Jun 4 2014
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
GslSvc.h
Go to the documentation of this file.
1 // $Id: GslSvc.h,v 1.2 2006/11/30 10:40:53 mato Exp $
2 // ============================================================================
3 #ifndef GAUDIGSL_GSLSVC_H
4 #define GAUDIGSL_GSLSVC_H 1
5 // Include files
6 // STD & STL
7 #include <vector>
8 #include <string>
9 // GaudiKernel
10 #include "GaudiKernel/Service.h"
11 // Include files
12 // GaudiGSL
13 #include "GaudiGSL/IGslSvc.h"
14 #include "GaudiGSL/GslError.h"
15 
16 // forward declarations
17 class IGslErrorHandler ; // from GaudiGSL
18 
85 class GslSvc: public extends1<Service, IGslSvc> {
86 public:
87 
93  virtual StatusCode handle ( const GslError& error ) const ;
94 
99  virtual GslErrorHandler handler () const ;
100 
106  virtual GslErrorHandler setHandler ( GslErrorHandler handler ) const ;
107 
113  virtual StatusCode status ( const int error ) const ;
114 
121  virtual StatusCode initialize () ;
122 
129  virtual StatusCode finalize () ;
130 
136  GslSvc ( const std::string& name ,
137  ISvcLocator* svc );
138 
140  virtual ~GslSvc() ;
141 
142 private:
143 
145  GslSvc();
147  GslSvc ( const GslSvc& );
149  GslSvc& operator= ( const GslSvc& );
150 
151 private:
152 
154  std::string m_errorPolicy ;
155 
157  typedef std::vector<std::string> Names ;
159  typedef std::vector<IGslErrorHandler*> Handlers ;
161 
163  std::vector<int> m_ignore ;
164 
165 };
166 
167 // ============================================================================
168 // The END
169 // ============================================================================
170 #endif // GAUDIGSL_GSLSVC_H
171 // ============================================================================

Generated at Wed Jun 4 2014 14:48:56 for Gaudi Framework, version v25r2 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004