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

Method removeFilter

pj_runtime/src/DataProcessorService.cpp:112–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112Status DataProcessorService::removeFilter(NodeId node_id) {
113 for (auto it = recipes_.begin(); it != recipes_.end(); ++it) {
114 if (it->second.node_id == node_id) {
115 recipes_.erase(it);
116 break;
117 }
118 }
119 return derived_->removeNode(node_id);
120}
121
122void DataProcessorService::clearAllFilters() {
123 for (const auto& [output_topic_id, recipe] : recipes_) {

Callers 1

applyToSelectedMethod · 0.80

Calls 4

eraseMethod · 0.80
removeNodeMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected