MCPcopy Create free account
hub / github.com/cjcliffe/CubicSDR / DoRefresh

Method DoRefresh

src/forms/DigitalConsole/DigitalConsole.cpp:40–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40void DigitalConsole::DoRefresh( wxTimerEvent& /* event */ ) {
41 if (streamWritten.load()) {
42 stream_busy.lock();
43 m_dataView->AppendText(streamBuf.str());
44 streamBuf.str("");
45 streamWritten.store(false);
46 stream_busy.unlock();
47 }
48}
49
50void DigitalConsole::OnClear( wxCommandEvent& /* event */ ) {
51 m_dataView->Clear();

Callers

nothing calls this directly

Calls 3

loadMethod · 0.80
lockMethod · 0.80
unlockMethod · 0.45

Tested by

no test coverage detected