|
KiCad PCB EDA Suite
|
Public Member Functions | |
| REFILL_ZONES_TASK (API_HANDLER_PCB *aHandler, std::vector< ZONE * > &&aZones) | |
| void | Run () override |
| The task runner; called on the main thread. | |
| void | FillStatus (TaskStatusResponse &aStatus) const override |
| virtual void | FillStatus (kiapi::common::tasks::TaskStatusResponse &aStatus) const =0 |
| Called after Run() returns; should fill in the result of the run. | |
Private Attributes | |
| API_HANDLER_PCB * | m_handler |
| BOARD * | m_board |
| std::vector< ZONE * > | m_zones |
| TaskState | m_state = TS_UNKNOWN |
| std::string | m_errorMessage |
Definition at line 72 of file api_handler_pcb_tasks.cpp.
|
inline |
Definition at line 75 of file api_handler_pcb_tasks.cpp.
References API_HANDLER_PCB::API_HANDLER_PCB(), API_HANDLER_BOARD::board(), m_board, m_handler, m_zones, and move.
|
inlineoverride |
Definition at line 159 of file api_handler_pcb_tasks.cpp.
References m_errorMessage, and m_state.
|
pure virtualinherited |
Called after Run() returns; should fill in the result of the run.
|
inlineoverridevirtual |
The task runner; called on the main thread.
Implements API_TASK.
Definition at line 82 of file api_handler_pcb_tasks.cpp.
References _, ZONE_FILLER::Fill(), ZONE_FILLER_TOOL::FillAllZones(), TOOL_MANAGER::FindTool(), API_HANDLER_PCB::frame(), TOOL_MANAGER::GetTool(), m_board, m_errorMessage, m_handler, m_state, m_zones, ZONE_FILLER_TOOL::PostFillRefresh(), PR_CAN_ABORT, TOOL_MANAGER::RegisterTool(), reporter, ZONE_FILLER::SetProgressReporter(), SKIP_CONNECTIVITY, ZONE_FILL_OP, and ZONE_FILLER_TOOL_NAME.
|
private |
Definition at line 170 of file api_handler_pcb_tasks.cpp.
Referenced by REFILL_ZONES_TASK(), and Run().
|
private |
Definition at line 173 of file api_handler_pcb_tasks.cpp.
Referenced by FillStatus(), and Run().
|
private |
Definition at line 169 of file api_handler_pcb_tasks.cpp.
Referenced by REFILL_ZONES_TASK(), and Run().
|
private |
Definition at line 172 of file api_handler_pcb_tasks.cpp.
Referenced by FillStatus(), and Run().
|
private |
Definition at line 171 of file api_handler_pcb_tasks.cpp.
Referenced by REFILL_ZONES_TASK(), and Run().