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

Method auto_start

DSView/pv/view/dsosignal.cpp:1413–1425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1411}
1412
1413void DsoSignal::auto_start()
1414{
1415 if (_autoV || _autoH)
1416 return;
1417
1418 if (session->is_running_status()) {
1419 session->data_auto_lock(AutoLock);
1420 _autoV = true;
1421 _autoH = true;
1422 _view->auto_trig(get_index());
1423 _end_timer.TimeOut(AutoTime, std::bind(&DsoSignal::call_auto_end, this)); //start a timeout
1424 }
1425}
1426
1427bool DsoSignal::measure(const QPointF &p)
1428{

Callers

nothing calls this directly

Calls 4

is_running_statusMethod · 0.80
data_auto_lockMethod · 0.80
auto_trigMethod · 0.80
TimeOutMethod · 0.80

Tested by

no test coverage detected