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

Function resolveStreamSource

pj_app/src/StreamingSourceManager.cpp:61–68  ·  view source on GitHub ↗

Looks up a streaming plugin by display name. Returns nullptr when no streaming plugin matches — caller surfaces the error.

Source from the content-addressed store, hash-verified

59// Looks up a streaming plugin by display name. Returns nullptr when no
60// streaming plugin matches — caller surfaces the error.
61const LoadedDataSource* resolveStreamSource(const ExtensionCatalogService& extensions, const QString& plugin_id) {
62 for (const auto* ds : extensions.streamSources()) {
63 if (QString::fromStdString(ds->name) == plugin_id) {
64 return ds;
65 }
66 }
67 return nullptr;
68}
69
70} // namespace
71

Callers 1

startSessionMethod · 0.85

Calls 1

streamSourcesMethod · 0.80

Tested by

no test coverage detected