20#ifndef LIBREPCB_CORE_BI_VIA_H
21#define LIBREPCB_CORE_BI_VIA_H
26#include "../../../geometry/via.h"
The Board Item Base (BI_Base) class.
Definition bi_base.h:45
Definition bi_netline.h:46
The BI_NetLine class.
Definition bi_netline.h:71
The BI_NetSegment class.
Definition bi_netsegment.h:52
The BI_Via class.
Definition bi_via.h:44
void setSize(const PositiveLength &size) noexcept
Definition bi_via.cpp:129
std::optional< std::pair< const Layer *, const Layer * > > getDrillLayerSpan() const noexcept
Definition bi_via.cpp:64
~BI_Via() noexcept
Definition bi_via.cpp:57
const Point & getPosition() const noexcept override
Definition bi_via.h:68
BI_Via(const BI_Via &other)=delete
const std::optional< PositiveLength > & getStopMaskDiameterTop() const noexcept
Definition bi_via.h:77
void removeFromBoard() override
Definition bi_via.cpp:169
Signal< BI_Via, Event > onEdited
Definition bi_via.h:57
bool operator!=(const BI_Via &rhs) noexcept
Definition bi_via.h:110
void setDrillDiameter(const PositiveLength &diameter) noexcept
Definition bi_via.cpp:137
Via mVia
Definition bi_via.h:116
bool isUsed() const noexcept
Definition bi_via.h:84
void updateStopMaskDiameters() noexcept
Definition bi_via.cpp:206
Event
Definition bi_via.h:49
@ StopMaskDiametersChanged
void setExposureConfig(const MaskConfig &config) noexcept
Definition bi_via.cpp:145
const PositiveLength & getDrillDiameter() const noexcept
Definition bi_via.h:73
const PositiveLength & getSize() const noexcept
Definition bi_via.h:76
std::optional< PositiveLength > mStopMaskDiameterTop
Definition bi_via.h:121
const QSet< BI_NetLine * > & getNetLines() const noexcept override
Definition bi_via.h:103
bool operator==(const BI_Via &rhs) noexcept
Definition bi_via.h:109
const std::optional< PositiveLength > & getStopMaskDiameterBottom() const noexcept
Definition bi_via.h:80
BI_NetSegment & mNetSegment
Definition bi_via.h:117
Slot< BI_Via, Event > OnEditedSlot
Definition bi_via.h:58
void registerNetLine(BI_NetLine &netline) override
Definition bi_via.cpp:184
QSet< BI_NetLine * > mRegisteredNetLines
Definition bi_via.h:125
BI_Via & operator=(const BI_Via &rhs)=delete
void setLayers(const Layer &from, const Layer &to)
Definition bi_via.cpp:94
const Uuid & getUuid() const noexcept
Definition bi_via.h:72
QMetaObject::Connection mNetSignalNameChangedConnection
Definition bi_via.h:118
void unregisterNetLine(BI_NetLine &netline) override
Definition bi_via.cpp:199
void addToBoard() override
Definition bi_via.cpp:155
BI_NetSegment & getNetSegment() const noexcept
Definition bi_via.h:67
TraceAnchor toTraceAnchor() const noexcept override
Definition bi_via.cpp:86
std::optional< PositiveLength > mStopMaskDiameterBottom
Definition bi_via.h:122
void setPosition(const Point &position) noexcept
Definition bi_via.cpp:116
const Via & getVia() const noexcept
Definition bi_via.h:71
The Layer class provides all supported geometry layers.
Definition layer.h:42
The MaskConfig class defines how to add automatic stop mask or solder paste.
Definition maskconfig.h:45
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5....
Definition point.h:78
The Signal class is used to emit signals on non-QObject derived classes.
Definition signalslot.h:65
The Slot class is used to receive signals from non-QObject derived classes.
Definition signalslot.h:170
The TraceAnchor class.
Definition trace.h:45
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition uuid.h:56
The Via class represents a via of a board.
Definition via.h:52
const PositiveLength & getDrillDiameter() const noexcept
Definition via.h:85
const PositiveLength & getSize() const noexcept
Definition via.h:84
const Point & getPosition() const noexcept
Definition via.h:83
const Uuid & getUuid() const noexcept
Definition via.h:80
Definition occmodel.cpp:76
type_safe::constrained_type< Length, PositiveLengthConstraint, PositiveLengthVerifier > PositiveLength
Definition length.h:810