MCPcopy Create free account
hub / github.com/analogdevicesinc/scopy / handleStream

Method handleStream

gui/src/widgets/toolmenuheaderwidget.cpp:125–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125void ToolMenuHeaderWidget::handleStream(bool isSuccess)
126{
127 if(m_ledState != STREAM_RUNNING && m_ledState != IDLE) {
128 return;
129 }
130 m_ledState = STREAM_RUNNING;
131 m_ledBtn->setLedState(isSuccess);
132 m_ledBtn->ledOn();
133 m_timer->start();
134}
135
136void ToolMenuHeaderWidget::onTimeout()
137{

Callers

nothing calls this directly

Calls 3

setLedStateMethod · 0.80
ledOnMethod · 0.80
startMethod · 0.45

Tested by

no test coverage detected