Gaudi Framework, version v25r2
Home
Generated: Wed Jun 4 2014
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
.cern.ch
sw
Gaudi
releases
GAUDI
GAUDI_v25r2
GaudiAud
src
NameAuditor.cpp
Go to the documentation of this file.
1
// NameAuditor:
2
// An auditor that prints the name of each algorithm method before
3
// and after it is called///
4
5
#include "
NameAuditor.h
"
6
7
#include "
GaudiKernel/MsgStream.h
"
8
9
DECLARE_COMPONENT
(
NameAuditor
)
10
11
NameAuditor
::
NameAuditor
(const
std
::
string
& name,
ISvcLocator
* pSvcLocator):
12
CommonAuditor
(name, pSvcLocator) {
13
}
14
15
void
NameAuditor::i_before
(CustomEventTypeRef
evt
,
const
std::string& caller)
16
{
17
MsgStream
log
(
msgSvc
(),
name
() );
18
log <<
MSG::INFO
<<
"About to Enter "
<< caller <<
" with auditor trigger "
19
<< evt <<
endmsg
;
20
}
21
22
void
NameAuditor::i_after
(CustomEventTypeRef
evt
,
const
std::string& caller,
const
StatusCode
&)
23
{
24
MsgStream
log
(
msgSvc
(),
name
() );
25
log <<
MSG::INFO
<<
"Just Exited "
<< caller <<
" with auditor trigger "
26
<< evt <<
endmsg
;
27
}
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