* @brief Advances one frame and rebuilds the trailing plot window. */
| 639 | * @brief Advances one frame and rebuilds the trailing plot window. |
| 640 | */ |
| 641 | void Sessions::Player::nextFrame() |
| 642 | { |
| 643 | if (m_framePos < frameCount() - 1) { |
| 644 | ++m_framePos; |
| 645 | UI::Dashboard::instance().clearPlotData(); |
| 646 | const int toLoad = UI::Dashboard::instance().points(); |
| 647 | const int startIdx = std::max(0, m_framePos - toLoad); |
| 648 | processFrameBatch(startIdx, m_framePos); |
| 649 | updateData(); |
| 650 | } |
| 651 | } |
| 652 | |
| 653 | /** |
| 654 | * @brief Steps one frame back and rebuilds the trailing plot window. |
nothing calls this directly
no test coverage detected