17 auto §ion = config.
section(
"processors") ;
18 if( section.hasSection(
name() ) ) {
27 std::optional<bool> result {} ;
30 result = iter->second ;
const std::string & name() const
Get the component name.
void setRuntimeOption(ERuntimeOption option, bool value)
Force the runtime option to a given boolean value.
void setParameters(const ConfigSection §ion, bool throwIfNotFound=false)
Set the parameters from the configuration section.
constexpr unsigned long long value(const Flag_t &flag)
void initialize() override
From Component class.
virtual void init()
Initialize the processor.
ConfigSection & section(const std::string &sn)
Get a section by name.
const Application & application() const
Get the application in which the component is registered.
ERuntimeOption
ERuntimeOption enumerator.
std::optional< bool > runtimeOption(ERuntimeOption option) const
Get the forced runtime option settings.
const Configuration & configuration() const
Get the main application configuration object.
RuntimeOptions _forcedRuntimeOptions
The user forced runtime options for parallel processing.