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

Method write

src/forms/DigitalConsole/DigitalConsole.cpp:54–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54void DigitalConsole::write(const std::string& outp) {
55 if (streamPaused.load()) {
56 return;
57 }
58 stream_busy.lock();
59 streamBuf << outp;
60 streamWritten.store(true);
61 stream_busy.unlock();
62}
63
64void DigitalConsole::write(char outc) {
65 if (streamPaused.load()) {

Callers 1

digitalFinishMethod · 0.80

Calls 3

loadMethod · 0.80
lockMethod · 0.80
unlockMethod · 0.45

Tested by

no test coverage detected