KiCad PCB EDA Suite
|
This thread handles consuming the input streams from the launched process. More...
Public Member Functions | |
STDSTREAM_THREAD (wxEvtHandler *aEventHandler, wxProcess *aProcess, wxMessageQueue< DIALOG_EXPORT_STEP_LOG::STATE_MESSAGE > &aMsgQueue) | |
~STDSTREAM_THREAD () | |
Private Member Functions | |
ExitCode | Entry () override |
void | DrainInput () |
Private Attributes | |
wxMessageQueue< DIALOG_EXPORT_STEP_LOG::STATE_MESSAGE > & | m_queue |
wxEvtHandler * | m_handler |
wxProcess * | m_process |
char * | m_buffer |
size_t | m_bufferSize |
This thread handles consuming the input streams from the launched process.
And generates ui events on the main thread with the content
Definition at line 41 of file dialog_export_step_process.cpp.
|
inline |
Definition at line 44 of file dialog_export_step_process.cpp.
References m_buffer, m_bufferSize, m_handler, and m_process.
|
inline |
Definition at line 55 of file dialog_export_step_process.cpp.
References m_buffer.
|
private |
Definition at line 115 of file dialog_export_step_process.cpp.
References m_buffer, m_bufferSize, m_handler, and m_process.
Referenced by Entry().
|
overrideprivate |
Definition at line 72 of file dialog_export_step_process.cpp.
References DrainInput(), m_process, m_queue, DIALOG_EXPORT_STEP_LOG::PROCESS_COMPLETE, DIALOG_EXPORT_STEP_LOG::REQUEST_EXIT, and DIALOG_EXPORT_STEP_LOG::SENTINEL.
|
private |
Definition at line 67 of file dialog_export_step_process.cpp.
Referenced by DrainInput(), STDSTREAM_THREAD(), and ~STDSTREAM_THREAD().
|
private |
Definition at line 68 of file dialog_export_step_process.cpp.
Referenced by DrainInput(), and STDSTREAM_THREAD().
|
private |
Definition at line 65 of file dialog_export_step_process.cpp.
Referenced by DrainInput(), and STDSTREAM_THREAD().
|
private |
Definition at line 66 of file dialog_export_step_process.cpp.
Referenced by DrainInput(), Entry(), and STDSTREAM_THREAD().
|
private |
Definition at line 64 of file dialog_export_step_process.cpp.
Referenced by Entry().