84 eff += 0 < cos( 20 * st2->
flag() );
#define DECLARE_COMPONENT(type)
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
StatusCode initialize() override
the default (empty) implementation of IStateful::initialize() method
SmartIF< IService > service(std::string_view name, const bool createIf=true, const bool quiet=false) const
Return a pointer to the service identified by name (or "type/name")
Simple algorithm to illustrate the statistical abilities of "Stat"-part of Chrono&Stat Service.
StatusCode initialize() override
initialize the algorithm
StatusCode execute() override
the main execution method
SmartIF< IStatSvc > m_stat
pointer to Stat Service
Small smart pointer class with automatic reference counting for IInterface.
Small wrapper class for easy manipulation with generic counters and IStatSvc interface.
This class is used for returning status codes from appropriate routines.
constexpr static const auto SUCCESS