MCPcopy Create free account
hub / github.com/andybarry/makerscanner / WriteToFile

Method WriteToFile

ScanThread.cpp:466–471  ·  view source on GitHub ↗

Write a string to disk via an event to the frame

Source from the content-addressed store, hash-verified

464
465// Write a string to disk via an event to the frame
466void ScanThread::WriteToFile(wxString str)
467{
468 wxCommandEvent event(WRITE_TO_FILE_EVENT, GetId());
469 event.SetString(str);
470 window->GetEventHandler()->AddPendingEvent(event);
471}
472
473// Send an event with the progress of the laser
474void ScanThread::SendScanProgress(int laserPos)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected