44 std::vector<BOARD_ITEM*> rebuilt;
53 if( !
table->IsStale( aBoard ) )
57 rebuilt.push_back(
table );
68 return static_cast<int>( rebuilt.size() );
A base class for any item which can be embedded within the BOARD container class, and therefore insta...
Information pertinent to a Pcbnew printed circuit board.
void OnItemsChanged(std::vector< BOARD_ITEM * > &aItems)
Notify the board and its listeners that an item on the board has been modified in some way.
const DRAWINGS & Drawings() const
One pass of rebuilding tables.
void Commit()
Write every pending state back to the board, in the order it was first asked for.
GENERATED_TABLE_REFRESH(BOARD &aBoard)
std::vector< std::pair< std::type_index, std::unique_ptr< GENERATED_TABLE_PENDING > > > m_pending
A table whose cell text is derived from the board and rebuilt whenever it goes stale.
int RefreshGeneratedTables(BOARD &aBoard)
Bring every generated table on the board up to date and return how many were rebuilt.
constexpr bool IsGeneratedTableType(const KICAD_T aType)
A PCB_TABLE subclass whose cells are generated from the board rather than typed by the user.