![]() |
LibrePCB Developers Documentation
|
The Board class represents a PCB of a project and is always part of a circuit. More...
#include <board.h>
Inherits QObject.
Collaboration diagram for Board:Signals | |
| void | nameChanged (const ElementName &name) |
| void | attributesChanged () |
| void | designRulesModified () |
| void | innerLayerCountChanged () |
| void | deviceAdded (BI_Device &device) |
| void | deviceRemoved (BI_Device &device) |
| void | netSegmentAdded (BI_NetSegment &netSegment) |
| void | netSegmentRemoved (BI_NetSegment &netSegment) |
| void | planeAdded (BI_Plane &plane) |
| void | planeRemoved (BI_Plane &plane) |
| void | zoneAdded (BI_Zone &zone) |
| void | zoneRemoved (BI_Zone &zone) |
| void | polygonAdded (BI_Polygon &polygon) |
| void | polygonRemoved (BI_Polygon &polygon) |
| void | strokeTextAdded (BI_StrokeText &strokeText) |
| void | strokeTextRemoved (BI_StrokeText &strokeText) |
| void | holeAdded (BI_Hole &hole) |
| void | holeRemoved (BI_Hole &hole) |
| void | airWireAdded (BI_AirWire &airWire) |
| void | airWireRemoved (BI_AirWire &airWire) |
Public Member Functions | |
| Board ()=delete | |
| Board (const Board &other)=delete | |
| Board (Project &project, std::unique_ptr< TransactionalDirectory > directory, const QString &directoryName, const Uuid &uuid, const ElementName &name) | |
| ~Board () noexcept | |
| Project & | getProject () const noexcept |
| const QString & | getDirectoryName () const noexcept |
| TransactionalDirectory & | getDirectory () noexcept |
| const BoardDesignRules & | getDesignRules () const noexcept |
| const BoardDesignRuleCheckSettings & | getDrcSettings () const noexcept |
| BoardFabricationOutputSettings & | getFabricationOutputSettings () noexcept |
| const BoardFabricationOutputSettings & | getFabricationOutputSettings () const noexcept |
| bool | isEmpty () const noexcept |
| QList< BI_Base * > | getAllItems () const noexcept |
| std::shared_ptr< SceneData3D > | buildScene3D (const std::optional< Uuid > &assemblyVariant) const noexcept |
| const Uuid & | getUuid () const noexcept |
| const ElementName & | getName () const noexcept |
| const QString & | getDefaultFontName () const noexcept |
| const PositiveLength & | getGridInterval () const noexcept |
| const LengthUnit & | getGridUnit () const noexcept |
| int | getInnerLayerCount () const noexcept |
| const QSet< const Layer * > | getCopperLayers () const noexcept |
| const PositiveLength & | getPcbThickness () const noexcept |
| const PcbColor * | getSolderResist () const noexcept |
| const PcbColor & | getSilkscreenColor () const noexcept |
| const PcbColor * | getSilkscreenColorTop () const noexcept |
| const PcbColor * | getSilkscreenColorBot () const noexcept |
| const QVector< const Layer * > & | getSilkscreenLayersTop () const noexcept |
| const QVector< const Layer * > & | getSilkscreenLayersBot () const noexcept |
| const QMap< QString, bool > & | getLayersVisibility () const noexcept |
| void | setName (const ElementName &name) noexcept |
| void | setDefaultFontName (const QString &name) noexcept |
| void | setGridInterval (const PositiveLength &interval) noexcept |
| void | setGridUnit (const LengthUnit &unit) noexcept |
| void | setInnerLayerCount (int count) noexcept |
| void | setPcbThickness (const PositiveLength &t) noexcept |
| void | setSolderResist (const PcbColor *c) noexcept |
| void | setSilkscreenColor (const PcbColor &c) noexcept |
| void | setSilkscreenLayersTop (const QVector< const Layer * > &l) noexcept |
| void | setSilkscreenLayersBot (const QVector< const Layer * > &l) noexcept |
| void | setLayersVisibility (const QMap< QString, bool > &visibility) noexcept |
| void | setDesignRules (const BoardDesignRules &rules) noexcept |
| void | setDrcSettings (const BoardDesignRuleCheckSettings &settings) noexcept |
| const QSet< SExpression > & | getDrcMessageApprovals () const noexcept |
| void | loadDrcMessageApprovals (const Version &version, const QSet< SExpression > &approvals) noexcept |
| bool | updateDrcMessageApprovals (QSet< SExpression > approvals, bool partialRun) noexcept |
| void | setDrcMessageApproved (const SExpression &approval, bool approved) noexcept |
| const QMap< Uuid, BI_Device * > & | getDeviceInstances () const noexcept |
| BI_Device * | getDeviceInstanceByComponentUuid (const Uuid &uuid) const noexcept |
| void | addDeviceInstance (BI_Device &instance) |
| void | removeDeviceInstance (BI_Device &instance) |
| const QMap< Uuid, BI_NetSegment * > & | getNetSegments () const noexcept |
| void | addNetSegment (BI_NetSegment &netsegment) |
| void | removeNetSegment (BI_NetSegment &netsegment) |
| const QMap< Uuid, BI_Plane * > & | getPlanes () const noexcept |
| void | addPlane (BI_Plane &plane) |
| void | removePlane (BI_Plane &plane) |
| void | invalidatePlanes (const Layer *layer=nullptr) noexcept |
| void | invalidatePlanes (const QSet< const Layer * > &layers) noexcept |
| QSet< const Layer * > | takeScheduledLayersForPlanesRebuild (const QSet< const Layer * > &layers) noexcept |
| const QMap< Uuid, BI_Zone * > & | getZones () const noexcept |
| void | addZone (BI_Zone &zone) |
| void | removeZone (BI_Zone &zone) |
| const QMap< Uuid, BI_Polygon * > & | getPolygons () const noexcept |
| void | addPolygon (BI_Polygon &polygon) |
| void | removePolygon (BI_Polygon &polygon) |
| const QMap< Uuid, BI_StrokeText * > & | getStrokeTexts () const noexcept |
| void | addStrokeText (BI_StrokeText &text) |
| void | removeStrokeText (BI_StrokeText &text) |
| const QMap< Uuid, BI_Hole * > & | getHoles () const noexcept |
| void | addHole (BI_Hole &hole) |
| void | removeHole (BI_Hole &hole) |
| QList< BI_AirWire * > | getAirWires () const noexcept |
| void | scheduleAirWiresRebuild (NetSignal *netsignal) noexcept |
| void | triggerAirWiresRebuild () noexcept |
| void | forceAirWiresRebuild () noexcept |
| std::optional< std::pair< Point, Point > > | calculateBoundingRect () const noexcept |
| void | addDefaultContent () |
| void | copyFrom (const Board &other) |
| void | addToProject () |
| void | removeFromProject () |
| void | save () |
| Board & | operator= (const Board &rhs)=delete |
| bool | operator== (const Board &rhs) const noexcept |
| bool | operator!= (const Board &rhs) const noexcept |
The Board class represents a PCB of a project and is always part of a circuit.
|
delete |
| Board | ( | Project & | project, |
| std::unique_ptr< TransactionalDirectory > | directory, | ||
| const QString & | directoryName, | ||
| const Uuid & | uuid, | ||
| const ElementName & | name | ||
| ) |
Here is the call graph for this function:
|
noexcept |
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
|
noexcept |
|
noexcept |
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
noexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
noexcept |
Here is the caller graph for this function:
|
noexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
noexcept |
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:
|
noexcept |
Here is the caller graph for this function:
Here is the caller graph for this function:| void addDeviceInstance | ( | BI_Device & | instance | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void removeDeviceInstance | ( | BI_Device & | instance | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:| void addNetSegment | ( | BI_NetSegment & | netsegment | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void removeNetSegment | ( | BI_NetSegment & | netsegment | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the caller graph for this function:| void addPlane | ( | BI_Plane & | plane | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void removePlane | ( | BI_Plane & | plane | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:
|
noexcept |
Here is the caller graph for this function:| void addZone | ( | BI_Zone & | zone | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void removeZone | ( | BI_Zone & | zone | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:| void addPolygon | ( | BI_Polygon & | polygon | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void removePolygon | ( | BI_Polygon & | polygon | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:| void addStrokeText | ( | BI_StrokeText & | text | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void removeStrokeText | ( | BI_StrokeText & | text | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the caller graph for this function:| void addHole | ( | BI_Hole & | hole | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void removeHole | ( | BI_Hole & | hole | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinenoexcept |
|
inlinenoexcept |
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| void addDefaultContent | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void copyFrom | ( | const Board & | other | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void addToProject | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void removeFromProject | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void save | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinenoexcept |
|
inlinenoexcept |
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Derived from mInnerLayerCount.
|
private |
Total PCB thickness (all layers)
|
private |
nullptr means no solder resist!
|
private |
Must never be nullptr!
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |