11 #ifndef GAUDIKERNEL_AUDITOR_H
12 #define GAUDIKERNEL_AUDITOR_H
67 void before( StandardEventType,
const std::string& )
override;
70 void before( CustomEventTypeRef,
const std::string& )
override;
97 bool isEnabled()
const override;
108 [[deprecated(
"use service<T>(name, createIf) -> SmartIF<T>" )]]
StatusCode service( std::string_view
name, T*& svc,
109 bool createIf =
false )
const {
110 auto ptr = serviceLocator()->service<T>(
name, createIf );
120 template <
class T = IService>
122 return serviceLocator()->service<T>(
name, createIf );
136 bool m_isInitialized =
false;
137 bool m_isFinalized =
false;
140 #endif // GAUDIKERNEL_AUDITOR_H