MCPcopy Index your code
hub / github.com/DreamSourceLab/DSView / go_vDialNext

Method go_vDialNext

DSView/pv/view/mathtrace.cpp:123–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123void MathTrace::go_vDialNext()
124{
125 if (enabled() && !_vDial->isMax()) {
126 if (_view->session().is_running_status())
127 _view->session().refresh(DsoSignal::RefreshShort);
128 const double pre_vdiv = _vDial->get_value();
129 _vDial->set_sel(_vDial->get_sel() + 1);
130
131 if (_view->session().is_stopped_status())
132 _scale *= pre_vdiv/_vDial->get_value();
133
134 _view->set_update(_viewport, true);
135 _view->update();
136 }
137}
138
139uint64_t MathTrace::get_vDialValue()
140{

Callers

nothing calls this directly

Calls 10

isMaxMethod · 0.80
is_running_statusMethod · 0.80
sessionMethod · 0.80
refreshMethod · 0.80
set_selMethod · 0.80
get_selMethod · 0.80
is_stopped_statusMethod · 0.80
set_updateMethod · 0.80
get_valueMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected