KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pcb_drill_chart.cpp File Reference
#include <set>
#include <pcb_drill_chart.h>
#include <board.h>
#include <board_design_settings.h>
#include <drill/drill_chart_model.h>
#include <drill/drill_enumerator.h>
#include <drill/drill_symbol_assigner.h>
#include <base_units.h>
#include <string_utils.h>
#include <eda_text.h>
#include <i18n_utility.h>
#include <pcb_tablecell.h>
#include <properties/property_mgr.h>
#include <widgets/msgpanel.h>
#include <api/api_enums.h>
#include <api/api_utils.h>
#include <api/api_pcb_utils.h>
#include <api/board/board_types.pb.h>

Go to the source code of this file.

Classes

struct  PCB_DRILL_CHART_DESC
 

Functions

void RefreshDrillCharts (BOARD &aBoard)
 Bring every chart on the board up to date.
 

Variables

static struct PCB_DRILL_CHART_DESC _PCB_DRILL_CHART_DESC
 

Function Documentation

◆ RefreshDrillCharts()

void RefreshDrillCharts ( BOARD & aBoard)

Bring every chart on the board up to date.

A chart is derived data. Anything that reads one calls this first, so a chart can never show a board that has moved on. Charts already built at the current drill generation cost one integer comparison each.

Definition at line 782 of file pcb_drill_chart.cpp.

References BOARD::Drawings(), PCB_DRILL_CHART::GetBuiltGeneration(), BOARD::GetDesignSettings(), BOARD::GetDrillModelGeneration(), BOARD_DESIGN_SETTINGS::GetDrillSymbolProfile(), PCB_DRILL_CHART_T, and PCB_DRILL_CHART::RebuildCells().

Referenced by BOOST_AUTO_TEST_CASE(), PCBNEW_JOBS_HANDLER::JobExportGerber(), PCBNEW_JOBS_HANDLER::JobExportGerbers(), PCBNEW_JOBS_HANDLER::JobUpgrade(), PCB_EDIT_FRAME::OnModify(), and PCB_PLOTTER::Plot().

Variable Documentation

◆ _PCB_DRILL_CHART_DESC

struct PCB_DRILL_CHART_DESC _PCB_DRILL_CHART_DESC
static