58 void setTimeRange(
const std::optional<std::chrono::nanoseconds>& time_start,
59 const std::optional<std::chrono::nanoseconds>& time_end);
69 const std::string& processor_id,
70 const std::string& destination_url,
82 const std::string& substream_name,
83 const std::string& processor_id,
84 const std::string& destination_url,
93 void process(
const std::function<
bool(
double)>& progress_handler = {});
96 std::shared_ptr<adtf_file::Reader> _reader;
98 std::optional<std::chrono::nanoseconds> _time_start;
99 std::optional<std::chrono::nanoseconds> _time_end;
101 using SubstreamsInType = std::unordered_map<std::string, adtf_file::adtf3::SubstreamProperties>;
103 struct SubstreamProcessor
105 std::string processor_id;
107 std::string destination_url;
108 std::shared_ptr<Processor> processor;
115 std::unordered_map<uint16_t, std::unordered_map<std::string, SubstreamProcessor>> _processors;
120 bool use_substream_id;
121 std::shared_ptr<const adtf_file::StreamType> initial_type;
122 std::unordered_map<uint32_t, std::shared_ptr<Processor>> processors;
124 std::unordered_map<uint16_t, InputStream> _input_streams;
126 void remapProcessors(InputStream& input_stream,
const adtf_file::FileItem& item);
void addProcessor(const std::string &stream_name, const std::string &substream_name, const std::string &processor_id, const std::string &destination_url, const adtf_file::Configuration &configuration)
std::unordered_map< std::string, PropertyValue > Configuration
Configuration class as set of key - property value pairs This configuration is used to adjust the rea...
Definition configuration.h:132