|
KiCad PCB EDA Suite
|
One pass of rebuilding tables. More...
#include <generated_table_refresh.h>
Public Member Functions | |
| GENERATED_TABLE_REFRESH (BOARD &aBoard) | |
| GENERATED_TABLE_REFRESH (const GENERATED_TABLE_REFRESH &)=delete | |
| GENERATED_TABLE_REFRESH & | operator= (const GENERATED_TABLE_REFRESH &)=delete |
| template<typename T> | |
| T & | Pending () |
| The pass's T, created from the board on first use. | |
| void | Commit () |
| Write every pending state back to the board, in the order it was first asked for. | |
Private Attributes | |
| BOARD & | m_board |
| std::vector< std::pair< std::type_index, std::unique_ptr< GENERATED_TABLE_PENDING > > > | m_pending |
One pass of rebuilding tables.
Board state they accumulate reaches the board only on Commit.
Each kind of pending state exists once per pass, so several tables sharing it build on each other's changes rather than each keeping only its own.
Definition at line 51 of file generated_table_refresh.h.
|
explicit |
Definition at line 26 of file generated_table_refresh.cpp.
References m_board.
Referenced by GENERATED_TABLE_REFRESH(), and operator=().
|
delete |
References GENERATED_TABLE_REFRESH().
| void GENERATED_TABLE_REFRESH::Commit | ( | ) |
Write every pending state back to the board, in the order it was first asked for.
Definition at line 32 of file generated_table_refresh.cpp.
|
delete |
References GENERATED_TABLE_REFRESH().
The pass's T, created from the board on first use.
Definition at line 63 of file generated_table_refresh.h.
References m_board, m_pending, and T.
Referenced by PCB_DRILL_CHART::generate(), and PANEL_DRILL_CHART_OPTIONS::TransferFromWindow().
|
private |
Definition at line 87 of file generated_table_refresh.h.
Referenced by Commit(), GENERATED_TABLE_REFRESH(), and Pending().
|
private |
Definition at line 89 of file generated_table_refresh.h.