11 #ifndef GAUDIKERNEL_AUDITOR_H
12 #define GAUDIKERNEL_AUDITOR_H
68 void before( StandardEventType,
const std::string& )
override;
71 void before( CustomEventTypeRef,
const std::string& )
override;
98 bool isEnabled()
const override;
109 [[deprecated(
"use service<T>(name, createIf) -> SmartIF<T>" )]]
StatusCode service( std::string_view
name, T*& svc,
110 bool createIf =
false )
const {
111 auto ptr = serviceLocator()->service<T>(
name, createIf );
121 template <
class T = IService>
123 return serviceLocator()->service<T>(
name, createIf );
137 bool m_isInitialized =
false;
138 bool m_isFinalized =
false;
141 #endif // GAUDIKERNEL_AUDITOR_H