2 #ifndef GAUDI_IAUDITOR_H
3 #define GAUDI_IAUDITOR_H
6 #include "GaudiKernel/INamedInterface.h"
24 enum StandardEventType {
39 typedef std::string CustomEventType;
41 typedef const CustomEventType& CustomEventTypeRef;
46 virtual void before(StandardEventType,
const std::string&) = 0;
51 virtual void before(CustomEventTypeRef,
const std::string&) = 0;
64 virtual bool isEnabled()
const = 0;
122 return s <<
toStr(e);
126 #endif // GAUDIKERNEL_IAUDITOR_H
const char * toStr(IAuditor::StandardEventType e)
Simple mapping function from IAuditor::StandardEventType to string.
StandardEventType
Defines the standard (= used by the framework) auditable event types.
DeclareInterfaceID(INamedInterface, 1, 0)
InterfaceID.
std::ostream & operator<<(std::ostream &s, IAuditor::StandardEventType e)
This class is used for returning status codes from appropriate routines.
IInterface compliant class extending IInterface with the name() method.
const std::string BeginRun
Processing of a new run has started.
const std::string EndRun
Processing of the last run has finished.
The IAuditor is the interface implmented by the AlgAuditor base class.