KiCad PCB EDA Suite
|
#include <jobs_runner.h>
Public Member Functions | |
JOBS_RUNNER (KIWAY *aKiway, JOBSET *aJobsFile, REPORTER *aReporter=nullptr) | |
bool | RunJobsAllOutputs (bool aBail=false) |
bool | RunJobsForOutput (JOBSET_OUTPUT *aOutput, bool aBail=false) |
Private Member Functions | |
int | runSpecialExecute (JOBSET_JOB *aJob) |
Private Attributes | |
KIWAY * | m_kiway |
JOBSET * | m_jobsFile |
REPORTER * | m_reporter |
Definition at line 29 of file jobs_runner.h.
Definition at line 33 of file jobs_runner.cpp.
References NULL_REPORTER::GetInstance(), and m_reporter.
bool JOBS_RUNNER::RunJobsAllOutputs | ( | bool | aBail = false | ) |
Definition at line 46 of file jobs_runner.cpp.
References JOBSET::GetOutputs(), m_jobsFile, and RunJobsForOutput().
Referenced by CLI::JOBSET_RUN_COMMAND::doPerform(), and PANEL_JOBS::OnRunAllJobsClick().
bool JOBS_RUNNER::RunJobsForOutput | ( | JOBSET_OUTPUT * | aOutput, |
bool | aBail = false |
||
) |
Definition at line 91 of file jobs_runner.cpp.
References _, JOBSET::GetJobsForOutput(), JOB_REGISTRY::GetKifaceType(), JOBS_OUTPUT_HANDLER::HandleOutputs(), KIWAY::KIWAY_FACE_COUNT, JOB_SPECIAL_EXECUTE::m_command, JOBSET_OUTPUT::m_id, m_jobsFile, m_kiway, JOBSET_OUTPUT::m_lastRunSuccess, JOBSET_OUTPUT::m_lastRunSuccessMap, JOBSET_OUTPUT::m_outputHandler, m_reporter, JOBS_OUTPUT_HANDLER::OutputPrecheck(), KIWAY::ProcessJob(), REPORTER::Report(), RPT_SEVERITY_ERROR, and RPT_SEVERITY_INFO.
Referenced by CLI::JOBSET_RUN_COMMAND::doPerform(), PANEL_JOB_OUTPUT::OnOutputRunClick(), and RunJobsAllOutputs().
|
private |
Definition at line 59 of file jobs_runner.cpp.
References JOB::GetFullOutputPath(), JOB_SPECIAL_EXECUTE::m_command, JOB_SPECIAL_EXECUTE::m_ignoreExitcode, JOBSET_JOB::m_job, JOB_SPECIAL_EXECUTE::m_recordOutput, and process.
|
private |
Definition at line 42 of file jobs_runner.h.
Referenced by RunJobsAllOutputs(), and RunJobsForOutput().
|
private |
Definition at line 41 of file jobs_runner.h.
Referenced by RunJobsForOutput().
|
private |
Definition at line 43 of file jobs_runner.h.
Referenced by JOBS_RUNNER(), and RunJobsForOutput().