1 #ifndef GAUDIKERNEL_AUDITOR_H 2 #define GAUDIKERNEL_AUDITOR_H 62 void before( StandardEventType,
const std::string& )
override;
65 void before( CustomEventTypeRef,
const std::string& )
override;
98 bool isEnabled()
const override;
111 auto ptr = serviceLocator()->service<T>(
name, createIf );
121 template <
class T = IService>
124 return serviceLocator()->service<T>(
name, createIf );
142 bool m_isInitialized =
false;
143 bool m_isFinalized =
false;
146 #endif // GAUDIKERNEL_AUDITOR_H constexpr static const auto FAILURE
StatusCode service(const std::string &name, T *&svc, bool createIf=false) const
Access a service by name, creating it if it doesn't already exist.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Implementation of property with value of concrete type.
std::string m_name
Auditor's name for identification.
SmartIF< ISvcLocator > m_pSvcLocator
Pointer to service locator service.
Gaudi::PluginService::Factory< IAuditor *, const std::string &, ISvcLocator * > Factory
General service interface definition.
This class is used for returning status codes from appropriate routines.
PropertyHolder & operator=(const PropertyHolder &)=delete
The IMessage is the interface implemented by the message service.
constexpr static const auto SUCCESS
Base class from which all concrete algorithm classes should be derived.
IInterface compliant class extending IInterface with the name() method.
Class wrapping the signature for a factory with any number of arguments.
Helper class to implement the IProperty interface.
SmartIF< T > service(const std::string &name, bool createIf=false) const
Base class from which all concrete auditor classes should be derived.