KiCad PCB EDA Suite
Loading...
Searching...
No Matches
generated_table_refresh.cpp File Reference

Go to the source code of this file.

Functions

int RefreshGeneratedTables (BOARD &aBoard)
 Bring every generated table on the board up to date and return how many were rebuilt.
 

Function Documentation

◆ RefreshGeneratedTables()

int RefreshGeneratedTables ( BOARD & aBoard)

Bring every generated table on the board up to date and return how many were rebuilt.

A generated table is derived data. Anything that reads one calls this first, so a table can never show a board that has moved on. The board's listeners are told which tables were rebuilt.

Definition at line 39 of file generated_table_refresh.cpp.

References BOARD::Drawings(), IsGeneratedTableType(), BOARD::OnItemsChanged(), refresh, and table.

Referenced by BOOST_AUTO_TEST_CASE(), API_HANDLER_BOARD::handleSaveSelectionToString(), PCBNEW_JOBS_HANDLER::JobExportGerber(), PCBNEW_JOBS_HANDLER::JobExportGerbers(), PCBNEW_JOBS_HANDLER::JobUpgrade(), lowerStackupTables(), PCB_EDIT_FRAME::OnModify(), PCB_PLOTTER::Plot(), BOARD_COMMIT::Revert(), BOARD_LOADER::SaveBoard(), CLIPBOARD_IO::SaveBoard(), PCB_EDIT_FRAME::SavePcbCopy(), PCB_EDIT_FRAME::SavePcbFile(), and HEADLESS_PCB_CONTEXT::SetContentModified().