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

Method setCurrentTime

pj_runtime/src/PlaybackEngine.cpp:73–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73void PlaybackEngine::setCurrentTime(DisplaySeconds t) {
74 const double clamped = clampedTime(t.value);
75 if (clamped == current_time_) {
76 return;
77 }
78 current_time_ = clamped;
79 emit currentTimeChanged(current_time_);
80}
81
82void PlaybackEngine::setPlaybackRate(double rate) {
83 if (rate_ == rate) {

Callers 11

TESTFunction · 0.45
TESTFunction · 0.45
MainWindowMethod · 0.45
onSliderValueChangedMethod · 0.45
onSliderReleasedMethod · 0.45
flushPendingSeekMethod · 0.45

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.36
TESTFunction · 0.36