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

Method forEachDocker

pj_app/src/MainWindow.cpp:2300–2306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2298}
2299
2300void MainWindow::forEachDocker(const std::function<void(PlotDocker*)>& operation) {
2301 for (int index = 0; index < ui_->tabbedPlotWidget->dockerCount(); ++index) {
2302 if (PlotDocker* docker = ui_->tabbedPlotWidget->dockerAt(index)) {
2303 operation(docker);
2304 }
2305 }
2306}
2307
2308void MainWindow::forEachDock(const std::function<void(DockWidget*)>& operation) {
2309 forEachDocker([&operation](PlotDocker* docker) {

Callers

nothing calls this directly

Calls 2

dockerCountMethod · 0.80
dockerAtMethod · 0.80

Tested by

no test coverage detected