LibrePCB Developers Documentation
|
The BI_FootprintPad class. More...
#include <bi_footprintpad.h>
Public Types | |
enum class | Event |
typedef Slot< BI_FootprintPad, Event > | OnEditedSlot |
Public Member Functions | |
BI_FootprintPad ()=delete | |
BI_FootprintPad (const BI_FootprintPad &other)=delete | |
BI_FootprintPad (BI_Device &device, const Uuid &padUuid) | |
~BI_FootprintPad () | |
const Point & | getPosition () const noexcept override |
Get the absolute position of the pad (global scene coordinates) More... | |
const Angle & | getRotation () const noexcept |
Get the absolute rotation of the pad (global scene coordinates) More... | |
bool | getMirrored () const noexcept |
Get the absolute mirror state of the pad (global scene coordinates) More... | |
const QString & | getText () const noexcept |
const Uuid & | getLibPadUuid () const noexcept |
BI_Device & | getDevice () const noexcept |
FootprintPad::ComponentSide | getComponentSide () const noexcept |
const Layer & | getSmtLayer () const noexcept |
bool | isOnLayer (const Layer &layer) const noexcept |
const FootprintPad & | getLibPad () const noexcept |
const PackagePad * | getLibPackagePad () const noexcept |
ComponentSignalInstance * | getComponentSignalInstance () const noexcept |
NetSignal * | getCompSigInstNetSignal () const noexcept |
bool | isUsed () const noexcept |
const QHash< const Layer *, QList< PadGeometry > > & | getGeometries () const noexcept |
TraceAnchor | toTraceAnchor () const noexcept override |
void | addToBoard () override |
void | removeFromBoard () override |
void | registerNetLine (BI_NetLine &netline) override |
void | unregisterNetLine (BI_NetLine &netline) override |
const QSet< BI_NetLine * > & | getNetLines () const noexcept override |
BI_FootprintPad & | operator= (const BI_FootprintPad &rhs)=delete |
Public Member Functions inherited from BI_Base | |
BI_Base ()=delete | |
BI_Base (const BI_Base &other)=delete | |
BI_Base (Board &board) noexcept | |
virtual | ~BI_Base () noexcept |
Project & | getProject () const noexcept |
Circuit & | getCircuit () const noexcept |
Board & | getBoard () const noexcept |
virtual bool | isAddedToBoard () const noexcept |
virtual void | addToBoard () |
virtual void | removeFromBoard () |
BI_Base & | operator= (const BI_Base &rhs)=delete |
Public Member Functions inherited from BI_NetLineAnchor | |
BI_NetLineAnchor () noexcept=default | |
virtual | ~BI_NetLineAnchor () noexcept=default |
virtual void | registerNetLine (BI_NetLine &netline)=0 |
virtual void | unregisterNetLine (BI_NetLine &netline)=0 |
virtual const QSet< BI_NetLine * > & | getNetLines () const noexcept=0 |
virtual const Point & | getPosition () const noexcept=0 |
virtual TraceAnchor | toTraceAnchor () const noexcept=0 |
std::vector< PositiveLength > | getLineWidths () const noexcept |
UnsignedLength | getMaxLineWidth () const noexcept |
UnsignedLength | getMedianLineWidth () const noexcept |
BI_NetSegment * | getNetSegmentOfLines () const noexcept |
Public Attributes | |
Signal< BI_FootprintPad, Event > | onEdited |
Private Member Functions | |
void | deviceEdited (const BI_Device &obj, BI_Device::Event event) noexcept |
void | netSignalChanged (NetSignal *from, NetSignal *to) |
void | updateTransform () noexcept |
void | updateText () noexcept |
void | updateGeometries () noexcept |
void | invalidatePlanes () noexcept |
QString | getLibraryDeviceName () const noexcept |
QString | getComponentInstanceName () const noexcept |
QString | getPadNameOrUuid () const noexcept |
QString | getNetSignalName () const noexcept |
UnsignedLength | getSizeForMaskOffsetCalculaton () const noexcept |
QList< PadGeometry > | getGeometryOnLayer (const Layer &layer) const noexcept |
QList< PadGeometry > | getGeometryOnCopperLayer (const Layer &layer) const noexcept |
bool | isConnectedOnLayer (const Layer &layer) const noexcept |
Private Attributes | |
BI_Device & | mDevice |
const FootprintPad * | mFootprintPad |
const PackagePad * | mPackagePad |
ComponentSignalInstance * | mComponentSignalInstance |
Point | mPosition |
Angle | mRotation |
bool | mMirrored |
QString | mText |
QHash< const Layer *, QList< PadGeometry > > | mGeometries |
QSet< BI_NetLine * > | mRegisteredNetLines |
BI_Device::OnEditedSlot | mOnDeviceEditedSlot |
Additional Inherited Members | |
Protected Attributes inherited from BI_Base | |
Board & | mBoard |
The BI_FootprintPad class.
typedef Slot<BI_FootprintPad, Event> OnEditedSlot |
|
strong |
|
delete |
|
delete |
BI_FootprintPad | ( | BI_Device & | device, |
const Uuid & | padUuid | ||
) |
~BI_FootprintPad | ( | ) |
|
inlineoverridevirtualnoexcept |
Get the absolute position of the pad (global scene coordinates)
Implements BI_NetLineAnchor.
|
inlinenoexcept |
Get the absolute rotation of the pad (global scene coordinates)
|
inlinenoexcept |
Get the absolute mirror state of the pad (global scene coordinates)
|
inlinenoexcept |
|
noexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
overridevirtualnoexcept |
Implements BI_NetLineAnchor.
|
overridevirtual |
Reimplemented from BI_Base.
|
overridevirtual |
Reimplemented from BI_Base.
|
overridevirtual |
|
overridevirtual |
|
inlineoverridevirtualnoexcept |
|
delete |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
Signal<BI_FootprintPad, Event> onEdited |
|
private |
|
private |
|
private |
The package pad where this footprint pad is connected to
nullptr
if the footprint pad is not connected!
|
private |
The net signal where this footprint pad is connected to
nullptr
if the footprint pad is not connected!
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |