| 110 | } |
| 111 | |
| 112 | Status 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 | |
| 122 | void DataProcessorService::clearAllFilters() { |
| 123 | for (const auto& [output_topic_id, recipe] : recipes_) { |
no test coverage detected