Go to the documentation of this file.
24 using BaseSink::BaseSink;
28 if (
m_fileName.empty() ) { return StatusCode::SUCCESS; }
33 {
"component", ent.component },
34 {
"entity", ent.toJSON() },
47 "Name of output json file. Empty fileName means no output" };
Base class for all Sinks registering to the Monitoring Hub.
StatusCode andThen(F &&f, ARGS &&... args) const
Chain code blocks making the execution conditional a success result.
const ValueType & value() const
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
StatusCode stop() override
constexpr static const auto SUCCESS
StatusCode stop() override
#define DECLARE_COMPONENT(type)
void applytoAllEntities(Callable func, bool sortFirst=false)
applies a callable to all monitoring entities
Gaudi::Property< std::string > m_fileName