26 #include "cheetah/utils/TaskConfigurationSetter.h" 33 template<
typename ConfigType>
36 FldoFactory(ConfigType
const& config)
41 template<
typename Algo>
47 template<
typename Algo>
49 return _config.template config<typename Algo::Config>().active();
53 ConfigType
const& _config;
58 template<
class FldoTraitsType,
typename... FldoAlgos>
59 FldoModule<FldoTraitsType, FldoAlgos...>::FldoModule(Config
const& config, Handler& handler)
60 : _task(config.pool(), handler)
62 FldoFactory<Config> factory(config);
64 if(!utils::TaskConfigurationSetter<FldoAlgos...>::configure(_task, factory))
66 PANDA_LOG_WARN <<
"no FLDO algorithm has been specified";
67 _task.set_algorithms(NullFldo<FldoTraitsType>());
71 template<
class FldoTraitsType,
typename... FldoAlgos>
74 return _task.submit(tf_data, scl_data);
Some limits and constants for FLDO.
std::shared_ptr< panda::ResourceJob > operator()(std::vector< std::shared_ptr< TimeFrequencyType >> &tf_data, data::Scl const &scl_data)
call this operator to submit a job for folding