Go to the documentation of this file.
21 template <
typename T,
typename R>
29 info() <<
"Initializing TemplatedAlg instance " <<
name() <<
" of type " <<
demangle(
typeid( *
this ) ) <<
endmsg;
StatusCode andThen(F &&f, ARGS &&... args) const
Chain code blocks making the execution conditional a success result.
const std::string & name() const override
The identifying name of the algorithm object.
StatusCode initialize() override
the default (empty) implementation of IStateful::initialize() method
#define DECLARE_COMPONENT_WITH_ID(type, id)
Base class from which all concrete algorithm classes should be derived.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
constexpr static const auto SUCCESS
#define DECLARE_COMPONENT(type)
TemplatedAlg< double, bool > t2
GAUDIPS_API std::string demangle(const std::type_info &id)
Return a canonical name for type_info object (implementation borrowed from GaudiKernel/System).
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
TemplatedAlg< int, std::vector< std::string > > t1
StatusCode execute(const EventContext &) const override
StatusCode initialize() override