20#ifndef PCB_STACKUP_TABLE_H
21#define PCB_STACKUP_TABLE_H
43 wxString
GetClass()
const override {
return wxT(
"PCB_STACKUP_TABLE" ); }
53 void Serialize( google::protobuf::Any& aContainer )
const override;
54 bool Deserialize(
const google::protobuf::Any& aContainer )
override;
57 std::unique_ptr<GENERATED_TABLE_CONTENT>
generate(
const BOARD& aBoard,
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.
A base class for most all the KiCad significant classes used in schematics and boards.
KICAD_T Type() const
Returns the type of object.
One pass of rebuilding tables.
The columns one generator (the drill chart, a stackup table, ...) can produce, and the units and prec...
PCB_GENERATED_TABLE(BOARD_ITEM *aParent, KICAD_T aType, int aLineWidth)
wxString GetClass() const override
Return the class name.
bool Deserialize(const google::protobuf::Any &aContainer) override
Deserializes the given protobuf message into this object.
PCB_STACKUP_TABLE(BOARD_ITEM *aParent)
bool operator==(const BOARD_ITEM &aOther) const override
void styleNewCell(PCB_TABLECELL *aCell, bool aIsHeading) override
The text style of the one-shot stackup table this replaces, so a placed table looks the same.
const GENERATED_TABLE_SCHEMA & Schema() const override
static bool ClassOf(const EDA_ITEM *aItem)
wxString GetItemDescription(UNITS_PROVIDER *aUnitsProvider, bool aFull) const override
Return a user-visible description string of this item.
std::unique_ptr< GENERATED_TABLE_CONTENT > generate(const BOARD &aBoard, GENERATED_TABLE_REFRESH *aRefresh) const override
The rows this table reports.
void Serialize(google::protobuf::Any &aContainer) const override
Serializes this object to the given Any message.
EDA_ITEM * Clone() const override
Create a duplicate of this item with linked list members set to NULL.
const GENERATED_TABLE_SCHEMA & StackupTableSchema()
Every column a stackup table can show, all of them by default.
@ PCB_STACKUP_TABLE_T
class PCB_STACKUP_TABLE, a live stackup table derived from PCB_TABLE