Gaudi Framework, version v23r2

Home   Generated: Thu Jun 28 2012
Public Member Functions | Private Member Functions

NameAuditor Class Reference

Prints the name of each algorithm before entering the algorithm and after leaving it. More...

#include <NameAuditor.h>

Inheritance diagram for NameAuditor:
Inheritance graph
[legend]
Collaboration diagram for NameAuditor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 NameAuditor (const std::string &name, ISvcLocator *pSvcLocator)

Private Member Functions

virtual void i_before (CustomEventTypeRef evt, const std::string &caller)
 Print a message on "before".
virtual void i_after (CustomEventTypeRef evt, const std::string &caller, const StatusCode &sc)
 Print a message on "after".

Detailed Description

Prints the name of each algorithm before entering the algorithm and after leaving it.

Author:
M. Shapiro, LBNL
Marco Clemencic

Definition at line 11 of file NameAuditor.h.


Constructor & Destructor Documentation

NameAuditor::NameAuditor ( const std::string name,
ISvcLocator pSvcLocator 
)

Definition at line 12 of file NameAuditor.cpp.

                                                                       :
  CommonAuditor(name, pSvcLocator) {
}

Member Function Documentation

void NameAuditor::i_after ( CustomEventTypeRef  evt,
const std::string caller,
const StatusCode sc 
) [private, virtual]

Print a message on "after".

Implements CommonAuditor.

Definition at line 23 of file NameAuditor.cpp.

{
  MsgStream log( msgSvc(), name() );
  log << MSG::INFO << "Just Exited " << caller << " with auditor trigger "
      << evt << endmsg;
}
void NameAuditor::i_before ( CustomEventTypeRef  evt,
const std::string caller 
) [private, virtual]

Print a message on "before".

Implements CommonAuditor.

Definition at line 16 of file NameAuditor.cpp.

{
  MsgStream log( msgSvc(), name() );
  log << MSG::INFO << "About to Enter " << caller << " with auditor trigger "
      << evt << endmsg;
}

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Thu Jun 28 2012 23:27:43 for Gaudi Framework, version v23r2 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004