|
KiCad PCB EDA Suite
|
Public Member Functions | |
| ERC_TASK (API_HANDLER_SCH *aHandler, SCHEMATIC *aSchematic) | |
| void | Run () override |
| The task runner; called on the main thread. | |
| void | FillStatus (TaskStatusResponse &aStatus) const override |
| ErcTaskResult | Result () const |
| virtual void | FillStatus (kiapi::common::tasks::TaskStatusResponse &aStatus) const =0 |
| Called after Run() returns; should fill in the result of the run. | |
Private Member Functions | |
| void | buildResult () |
Private Attributes | |
| API_HANDLER_SCH * | m_handler |
| SCHEMATIC * | m_schematic |
| TaskState | m_state = TS_UNKNOWN |
| std::string | m_errorMessage |
| ErcTaskResult | m_result |
Definition at line 62 of file api_handler_sch_tasks.cpp.
|
inline |
Definition at line 65 of file api_handler_sch_tasks.cpp.
References API_HANDLER_SCH::API_HANDLER_SCH(), m_handler, and m_schematic.
|
inlineprivate |
Definition at line 137 of file api_handler_sch_tasks.cpp.
References SCH_SCREENS::GetFirst(), SCH_SCREENS::GetNext(), SCH_MARKER::GetSeverity(), m_result, m_schematic, and SCH_MARKER_T.
Referenced by Run().
|
inlineoverride |
Definition at line 122 of file api_handler_sch_tasks.cpp.
References m_errorMessage, and m_state.
|
pure virtualinherited |
Called after Run() returns; should fill in the result of the run.
|
inline |
Definition at line 131 of file api_handler_sch_tasks.cpp.
References m_result.
Referenced by API_HANDLER_SCH::handleGetErcTaskResult().
|
inlineoverridevirtual |
The task runner; called on the main thread.
Implements API_TASK.
Definition at line 71 of file api_handler_sch_tasks.cpp.
References _, LIBRARY_MANAGER_ADAPTER::AsyncLoad(), LIBRARY_MANAGER_ADAPTER::BlockUntilLoaded(), buildResult(), KIWAY::FACE_CVPCB, API_HANDLER_SCH::frame(), KIWAY::KiFACE(), LAYER_SCHEMATIC_DRAWINGSHEET, LAYER_SCHEMATIC_PAGE_LIMITS, m_handler, m_schematic, reporter, ERC_TESTER::RunTests(), schIUScale, DS_PROXY_VIEW_ITEM::SetColorLayer(), DS_PROXY_VIEW_ITEM::SetFileName(), DS_PROXY_VIEW_ITEM::SetIsFirstPage(), DS_PROXY_VIEW_ITEM::SetPageBorderColorLayer(), DS_PROXY_VIEW_ITEM::SetPageNumber(), DS_PROXY_VIEW_ITEM::SetSheetCount(), DS_PROXY_VIEW_ITEM::SetSheetName(), DS_PROXY_VIEW_ITEM::SetSheetPath(), DS_PROXY_VIEW_ITEM::SetVariantDesc(), DS_PROXY_VIEW_ITEM::SetVariantName(), PROJECT_SCH::SymbolLibAdapter(), and TO_UTF8.
|
private |
Definition at line 191 of file api_handler_sch_tasks.cpp.
Referenced by FillStatus().
|
private |
Definition at line 187 of file api_handler_sch_tasks.cpp.
Referenced by ERC_TASK(), and Run().
|
private |
Definition at line 193 of file api_handler_sch_tasks.cpp.
Referenced by buildResult(), and Result().
|
private |
Definition at line 188 of file api_handler_sch_tasks.cpp.
Referenced by buildResult(), ERC_TASK(), and Run().
|
private |
Definition at line 190 of file api_handler_sch_tasks.cpp.
Referenced by FillStatus().