The Gaudi Framework
v26r1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
AlgErrorAuditor.h
Go to the documentation of this file.
1
#ifndef GAUDIAUD_ALGERRORAUDITOR_H
2
#define GAUDIAUD_ALGERRORAUDITOR_H
3
4
#include "GaudiKernel/Auditor.h"
5
#include <map>
6
#include <string>
7
8
class
IMessageSvc
;
9
15
class
AlgErrorAuditor
:
virtual
public
Auditor
{
16
public
:
17
AlgErrorAuditor
(
const
std::string&
name
,
ISvcLocator
* pSvcLocator);
18
virtual
~AlgErrorAuditor
();
19
20
virtual
StatusCode
initialize
();
21
virtual
StatusCode
finalize
();
22
23
virtual
void
beforeExecute
(
INamedInterface
* alg);
24
virtual
void
afterExecute
(
INamedInterface
* alg,
const
StatusCode
&);
25
private
:
26
27
BooleanProperty
m_abort
,
m_throw
;
28
29
void
incrMap
(
const
std::string& algName,
int
level
);
30
31
int
m_error
;
32
int
m_fatal
;
33
34
std::map <std::string, int>
m_algMap
[2];
35
36
};
37
38
#endif
GaudiAud
src
AlgErrorAuditor.h
Generated on Mon Feb 16 2015 11:56:52 for The Gaudi Framework by
1.8.2