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

Function keyForTopic

pj_plotting/tests/dock_widget_placeholder_test.cpp:61–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61QString keyForTopic(PJ::CatalogModel& catalog, PJ::TopicId topic_id) {
62 for (const PJ::CurveDescriptor& descriptor : catalog.curves()) {
63 if (descriptor.topic_id == topic_id) {
64 return descriptor.name;
65 }
66 }
67 return {};
68}
69
70class TestPlaceholderWidget : public PJ::VisualizationPlaceholderWidget {
71 public:

Callers 1

TESTFunction · 0.70

Calls 1

curvesMethod · 0.80

Tested by

no test coverage detected