|
Public Methods
|
| |
build_progress_dialog (wxWindow *parent, const wxArrayString &channel_sections_array, const wxArrayString
&commandline_array, long stream_kind=optionPROCESS_PROGRESS_DIALOG_STDOUT_STREAM_KIND|optionPROCESS_PROGRESS_DIALOG_STDERR_STREAM_KIND, wxSignal kill_signal=wxSIGKILL, bool
automatically_close_when_done=TRUE, const wxString &show_hide_listbox_configuration_key=wxEmptyString, const wxString &log_filename=wxEmptyString, long force_commandline_autoclose=0, const
wxString &log_path=wxEmptyString, long scroll_history=optionDETAILS_PROGRESS_LISTBOX_RECOMMENDED_SCROLL_HISTORY) |
| |
Constructor.
|
| virtual |
~build_progress_dialog () |
| |
Destructor.
|
| virtual bool |
on_before_execute_commandline_array () |
| |
Virtual: optional action to do before starting execution of the commandline array.
|
| virtual bool |
on_before_execute_commandline_array_item (size_t commandline_array_index) |
| |
Virtual: optional action to do before start execution of a commandline in array.
|
| virtual bool |
on_after_commandline_array_item_execution_finished (size_t commandline_array_index) |
| |
Virtual: optional action to do after a commandline in the array has terminated.
|
| virtual bool |
on_after_commandline_array_executions_finished () |
| |
Virtual: optional action to de after all commands's processes have terminated.
|
| void |
on_process_generated_an_output_line (long stream_kind, const wxString &line_text, size_t
commandline_array_index) |
| |
The vital function to override: actions to do when process made a line of output.
|
| void |
action_to_do_after_dialog_finishes_closing () |
| |
Clean up any actions after the dialog EndModal()s. Called from on_close().
|
| void |
custom_kill (long pid, wxSignal sig, wxKillError *krc) |
| |
An optional custom kill for the process instead of a stock wxKill().
|
Manages plucker-build processes, updating progress guages and statictext according to the output lines, sets the updated time of a channel when it completes, installs all of the channels when
successfully execute all processes. For verbosity=0 channels it sets the stream_kind to none, so that program won't freeze--for all others, it sets the stream_kind to stderr.