Go to the documentation of this file.
20 m_chronoSvc = serviceLocator()->service(
"ChronoStatSvc" );
21 if ( !m_chronoSvc.get() ) {
22 error() <<
"Cannot get ChronoStatSvc" <<
endmsg;
StatusCode andThen(F &&f, ARGS &&... args) const
Chain code blocks making the execution conditional a success result.
SmartIF< IChronoStatSvc > & chronoSvc()
std::string i_id(CustomEventTypeRef evt, std::string_view caller)
Compute the id string to be used for the chrono entity.
virtual StatusCode initialize()
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
void i_after(CustomEventTypeRef evt, std::string_view caller, const StatusCode &sc) override
Default (catch-all) "after" Auditor hook.
void i_before(CustomEventTypeRef evt, std::string_view caller) override
Default (catch-all) "before" Auditor hook.
constexpr static const auto SUCCESS
#define DECLARE_COMPONENT(type)
constexpr static const auto FAILURE