23 using Auditor::Auditor;
29 void before( std::string
const& evt, std::string
const& caller,
EventContext const& )
override;
35 std::string
i_id( std::string
const& evt, std::string_view caller ) {
return std::string{ caller } +
":" + evt; }
44 return Auditor::initialize().andThen( [&]() ->
StatusCode {
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
#define DECLARE_COMPONENT(type)
Monitors the cpu time usage of each algorithm.
void after(std::string const &evt, std::string const &caller, EventContext const &, const StatusCode &sc) override
Default (catch-all) "after" Auditor hook.
SmartIF< IChronoStatSvc > & chronoSvc()
SmartIF< IChronoStatSvc > m_chronoSvc
std::string i_id(std::string const &evt, std::string_view caller)
Compute the id string to be used for the chrono entity.
void before(std::string const &evt, std::string const &caller, EventContext const &) override
Default (catch-all) "before" Auditor hook.
StatusCode initialize() override
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
This class represents an entry point to all the event specific data.
Base class from which all concrete auditor classes should be derived.
SmartIF< ISvcLocator > & serviceLocator() const override
The standard service locator.
Small smart pointer class with automatic reference counting for IInterface.
This class is used for returning status codes from appropriate routines.
constexpr static const auto SUCCESS
constexpr static const auto FAILURE