The Gaudi Framework  v30r3 (a5ef0a68)
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 // ============================================================================
11 // Forward declarations
12 // ============================================================================
13 class IAlgContextSvc;
14 // ============================================================================
21 class AlgContextAuditor : public Auditor
22 {
23 public:
24  // IAuditor implementation
25  void beforeInitialize( INamedInterface* a ) override;
26  void afterInitialize( INamedInterface* a ) override;
27  //
28  void beforeExecute( INamedInterface* a ) override;
29  void afterExecute( INamedInterface* a, const StatusCode& s ) override;
30  //
31  void beforeFinalize( INamedInterface* a ) override;
32  void afterFinalize( INamedInterface* a ) override;
33 
34 public:
38  StatusCode initialize() override;
40  StatusCode finalize() override;
41 
42 private:
44  AlgContextAuditor() = delete;
45  AlgContextAuditor( const AlgContextAuditor& ) = delete;
46  AlgContextAuditor& operator=( const AlgContextAuditor& ) = delete;
47 
48 private:
51 };
52 
53 // ============================================================================
54 // The END
55 // ============================================================================
56 #endif // GAUDIAUD_ALGCONTEXTAUDITOR_H
57 // ============================================================================
StatusCode initialize() override
standard initialization,
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
Description: Register/Unregister the AlgContext of each algorithm before entering the algorithm and a...
void afterFinalize(INamedInterface *a) override
AlgContextAuditor()=delete
delete the default/copy constructor and assignment
SmartIF< IAlgContextSvc > m_svc
the pointer to Algorithm Context Service
void beforeInitialize(INamedInterface *a) override
void afterInitialize(INamedInterface *a) override
STL class.
AlgContextAuditor & operator=(const AlgContextAuditor &)=delete
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:51
StatusCode finalize() override
standard finalization,
IInterface compliant class extending IInterface with the name() method.
void beforeFinalize(INamedInterface *a) override
void afterExecute(INamedInterface *a, const StatusCode &s) override
string s
Definition: gaudirun.py:253
An abstract interface for Algorithm Context Service.
void beforeExecute(INamedInterface *a) override
const std::string & name() const override
Definition: Auditor.cpp:202
Base class from which all concrete auditor classes should be derived.
Definition: Auditor.h:35