Loading [MathJax]/extensions/tex2jax.js
Go to the documentation of this file.
29 info() <<
"initialize()" <<
endmsg;
37 std::this_thread::sleep_for( std::chrono::milliseconds( 50 *
ctx.slot() ) );
41 std::chrono::milliseconds dt{
m_sleep +
ctx.slot() * 500 };
42 std::this_thread::sleep_for( dt );
44 info() <<
"... done in " << dt.count() <<
" ms for " <<
ctx <<
endmsg;
45 std::this_thread::sleep_for( std::chrono::milliseconds( 50 ) );
53 info() <<
"finalize()" <<
endmsg;
unsigned int index() const override
StatusCode initialize() override
the default (empty) implementation of IStateful::initialize() method
Alias for backward compatibility.
Gaudi::Property< unsigned int > m_sleep
unsigned int cardinality() const override
Return the cardinality.
StatusCode execute(const EventContext &ctx) const override
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
StatusCode finalize() override
the default (empty) implementation of IStateful::finalize() method
constexpr static const auto SUCCESS
StatusCode finalize() override
#define DECLARE_COMPONENT(type)
StatusCode initialize() override