All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
AlgContextAuditor.h
Go to the documentation of this file.
1 #ifndef GAUDIAUD_ALGCONTEXTAUDITOR_H
2 #define GAUDIAUD_ALGCONTEXTAUDITOR_H
3 // ============================================================================
4 // Include files
5 // ============================================================================
6 // GaudiKernel
7 // ============================================================================
8 #include "GaudiKernel/Auditor.h"
10 #include "GaudiKernel/SmartIF.h"
11 // ============================================================================
12 // Forward declarations
13 // ============================================================================
14 class IAlgContextSvc ;
15 // ============================================================================
23  : public Auditor
24 {
25 public:
26  // IAuditor implementation
27  virtual void beforeInitialize ( INamedInterface* a ) ;
28  virtual void afterInitialize ( INamedInterface* a ) ;
29  //
30  virtual void beforeExecute ( INamedInterface* a ) ;
31  virtual void afterExecute ( INamedInterface* a ,
32  const StatusCode& s ) ;
33  //
34  virtual void beforeFinalize ( INamedInterface* a ) ;
35  virtual void afterFinalize ( INamedInterface* a ) ;
36 public:
39  ( const std::string& name ,
40  ISvcLocator* pSvc ) ;
42  virtual ~AlgContextAuditor () ;
44  virtual StatusCode initialize () ;
46  virtual StatusCode finalize () ;
47 private:
54 private:
57 } ;
58 
59 // ============================================================================
60 // The END
61 // ============================================================================
62 #endif // GAUDIAUD_ALGCONTEXTAUDITOR_H
63 // ============================================================================
virtual void afterInitialize(INamedInterface *a)
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:26
virtual const std::string & name() const
Retrieve the name of the instance.
Definition: Auditor.cpp:218
Description: Register/Unregister the AlgContext of each algorithm before entering the algorithm and a...
virtual ~AlgContextAuditor()
virtual destructor
virtual StatusCode initialize()
standard initialization,
IAlgContextSvc * m_svc
the pointer to Algorithm Context Service
virtual void afterFinalize(INamedInterface *a)
virtual void afterExecute(INamedInterface *a, const StatusCode &s)
virtual StatusCode finalize()
standard finalization,
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:30
virtual void beforeExecute(INamedInterface *a)
AlgContextAuditor & operator=(const AlgContextAuditor &)
assignment operator is disabled
AlgContextAuditor()
the default constructor is disabled
IInterface compliant class extending IInterface with the name() method.
virtual void beforeInitialize(INamedInterface *a)
virtual void beforeFinalize(INamedInterface *a)
string s
Definition: gaudirun.py:210
An abstract interface for Algorithm Context Service.
Base class from which all concrete auditor classes should be derived.
Definition: Auditor.h:34