24 #include "cheetah/producers/Factory.h" 25 #include "cheetah/producers/SpCclSpeadProducer.h" 26 #include "panda/Pipeline.h" 27 #include "panda/Log.h" 34 template<
typename DataType>
35 template<
typename ComputeModule>
38 static_assert(std::is_same<DataType, std::true_type>::value,
"unrecognised datatype");
42 template<
typename NumericalT>
44 : _config(producers_config)
48 template<
typename NumericalT>
55 template<
typename NumericalT>
56 template<
typename ComputeModule>
60 if(stream_name ==
"spead")
63 SpCclSpeadProducer<TimeFrequencyType> data_stream(_config.spead_config());
64 rv=panda::Pipeline<SpCclSpeadProducer<TimeFrequencyType>>(data_stream, [&](
DataType& data) { pipeline(data); } ).exec();
67 PANDA_LOG_ERROR <<
"spead producer has not been compiled in. Recompile with the -DENABLE_SPEAD=truei option set in cmake";
68 #endif // ENABLE_SPEAD 71 PANDA_LOG_ERROR <<
"unknown source stream: " << stream_name;
Some limits and constants for FLDO.
int exec(std::string const &stream_name, ComputeModule &pipeline)
Launch the provided pipeline using the source identified by stream_name.
SpCandidates associated with a single data chank.