Go to the documentation of this file.
51 const std::string&
name()
const override {
return m_name; }
52 bool isEnabled()
const override {
return m_isEnabled; }
62 template <
class T = IService>
64 return serviceLocator()->service<T>(
name, createIf );
78 bool m_isInitialized =
false;
79 bool m_isFinalized =
false;
PropertyBase base class allowing PropertyBase* collections to be "homogeneous".
The IAuditor is the interface implemented by the Auditor base class.
SmartIF< ISvcLocator > m_pSvcLocator
Auditor's name for identification.
void after(std::string const &, std::string const &, EventContext const &, StatusCode const &=StatusCode::SUCCESS) override
Helper class to implement the IProperty interface.
SmartIF< ISvcLocator > & serviceLocator() const override
The standard service locator.
Auditor(std::string name, ISvcLocator *svcloc)
const std::string & name() const override
virtual StatusCode finalize()
Gaudi::PluginService::Factory< IAuditor *(const std::string &, ISvcLocator *)> Factory
void before(std::string const &, std::string const &, EventContext const &) override
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Auditor(const Auditor &a)=delete
constexpr static const auto SUCCESS
virtual StatusCode initialize()
bool isEnabled() const override
Base class from which all concrete auditor classes should be derived.
SmartIF< T > service(std::string_view name, bool createIf=false) const
Access a service by name, creating it if it doesn't already exist.
Auditor & operator=(const Auditor &rhs)=delete