MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / originalInputOf

Method originalInputOf

pj_plotting/widget/src/FilterEditorPanel.cpp:223–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221}
222
223CurveDescriptor FilterEditorPanel::originalInputOf(const CurveDescriptor& descriptor) const {
224 if (session_ != nullptr && catalog_ != nullptr) {
225 if (const auto* recipe = session_->dataProcessorService().filterConfig(descriptor.topic_id)) {
226 const QString input_key = curveKey(recipe->dataset_id, recipe->input_topic_id, recipe->input_column_index);
227 if (const auto input = catalog_->curveDescriptor(input_key); input.has_value()) {
228 return *input;
229 }
230 }
231 }
232 return descriptor;
233}
234
235void FilterEditorPanel::populateSources() {
236 ui_->series_list->setSelectionMode(QAbstractItemView::ExtendedSelection);

Callers

nothing calls this directly

Calls 3

filterConfigMethod · 0.80
curveDescriptorMethod · 0.80
curveKeyFunction · 0.70

Tested by

no test coverage detected