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

Method broadcastReferenceLine

pj_app/src/MainWindow.cpp:2204–2210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2202}
2203
2204void MainWindow::broadcastReferenceLine() {
2205 const std::optional<double> ref_sec = referenceDisplaySeconds();
2206 forEachPlot([ref_sec](PlotWidget* plot) { plot->setReferenceLine(ref_sec); });
2207 if (source_timeline_controller_ != nullptr) {
2208 source_timeline_controller_->setReferenceLine(ref_sec);
2209 }
2210}
2211
2212void MainWindow::onUseTimeOffsetToggled(bool checked) {
2213 auto& sm = session_->sessionManager();

Callers

nothing calls this directly

Calls 1

setReferenceLineMethod · 0.45

Tested by

no test coverage detected