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

Method stopAllAndWait

pj_app/src/StreamingSourceManager.cpp:144–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144void StreamingSourceManager::stopAllAndWait(const QString& reason) {
145 std::vector<DatasetId> dataset_ids;
146 dataset_ids.reserve(sessions_.size());
147 for (const auto& [dataset_id, _sess] : sessions_) {
148 dataset_ids.push_back(dataset_id);
149 }
150 for (const DatasetId dataset_id : dataset_ids) {
151 stopDatasetAndWait(dataset_id, reason);
152 }
153}
154
155void StreamingSourceManager::onSourceChanged(const QString& plugin_id) {
156 selected_plugin_ = plugin_id;

Callers 2

MainWindowMethod · 0.80

Calls 2

reserveMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected