KiCad PCB EDA Suite
Loading...
Searching...
No Matches
jobs_runner.h
Go to the documentation of this file.
1/*
2 * This program source code file is part of KiCad, a free EDA CAD application.
3 *
4 * Copyright (C) 2024 Mark Roszko <[email protected]>
5 * Copyright (C) 2024 KiCad Developers, see AUTHORS.txt for contributors.
6 *
7 * This program is free software: you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation, either version 3 of the License, or (at your
10 * option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License along
18 * with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21#pragma once
22
23class JOBSET;
24struct JOBSET_OUTPUT;
25struct JOBSET_JOB;
26class KIWAY;
27class REPORTER;
28
30{
31public:
32 JOBS_RUNNER( KIWAY* aKiway, JOBSET* aJobsFile, REPORTER* aReporter = nullptr );
33
34 bool RunJobsAllOutputs( bool aBail = false );
35 bool RunJobsForOutput( JOBSET_OUTPUT* aOutput, bool aBail = false );
36
37private:
38 int runSpecialExecute( JOBSET_JOB* aJob );
39
40private:
44};
Definition: jobset.h:70
bool RunJobsForOutput(JOBSET_OUTPUT *aOutput, bool aBail=false)
Definition: jobs_runner.cpp:91
KIWAY * m_kiway
Definition: jobs_runner.h:41
JOBSET * m_jobsFile
Definition: jobs_runner.h:42
int runSpecialExecute(JOBSET_JOB *aJob)
Definition: jobs_runner.cpp:59
bool RunJobsAllOutputs(bool aBail=false)
Definition: jobs_runner.cpp:46
REPORTER * m_reporter
Definition: jobs_runner.h:43
A minimalistic software bus for communications between various DLLs/DSOs (DSOs) within the same KiCad...
Definition: kiway.h:284
A pure virtual class used to derive REPORTER objects from.
Definition: reporter.h:72