LibrePCB Developers Documentation
|
The BI_NetLine class. More...
#include <bi_netline.h>
Public Types | |
enum class | Event |
typedef Slot< BI_NetLine, Event > | OnEditedSlot |
Public Member Functions | |
BI_NetLine ()=delete | |
BI_NetLine (const BI_NetLine &other)=delete | |
BI_NetLine (BI_NetSegment &segment, const Uuid &uuid, BI_NetLineAnchor &startPoint, BI_NetLineAnchor &endPoint, const Layer &layer, const PositiveLength &width) | |
~BI_NetLine () noexcept | |
BI_NetSegment & | getNetSegment () const noexcept |
const Trace & | getTrace () const noexcept |
const Uuid & | getUuid () const noexcept |
const Layer & | getLayer () const noexcept |
const PositiveLength & | getWidth () const noexcept |
BI_NetLineAnchor & | getStartPoint () const noexcept |
BI_NetLineAnchor & | getEndPoint () const noexcept |
BI_NetLineAnchor * | getOtherPoint (const BI_NetLineAnchor &firstPoint) const noexcept |
Path | getSceneOutline (const Length &expansion=Length(0)) const noexcept |
UnsignedLength | getLength () const noexcept |
void | setLayer (const Layer &layer) |
void | setWidth (const PositiveLength &width) noexcept |
void | addToBoard () override |
void | removeFromBoard () override |
void | updatePositions () noexcept |
BI_NetLine & | operator= (const BI_NetLine &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 Attributes | |
Signal< BI_NetLine, Event > | onEdited |
Private Member Functions | |
BI_NetLineAnchor * | getAnchor (const TraceAnchor &anchor) |
Private Attributes | |
BI_NetSegment & | mNetSegment |
Trace | mTrace |
QMetaObject::Connection | mNetSignalNameChangedConnection |
BI_NetLineAnchor * | mStartPoint |
BI_NetLineAnchor * | mEndPoint |
Additional Inherited Members | |
Protected Attributes inherited from BI_Base | |
Board & | mBoard |
The BI_NetLine class.
typedef Slot<BI_NetLine, Event> OnEditedSlot |
|
strong |
|
delete |
|
delete |
BI_NetLine | ( | BI_NetSegment & | segment, |
const Uuid & | uuid, | ||
BI_NetLineAnchor & | startPoint, | ||
BI_NetLineAnchor & | endPoint, | ||
const Layer & | layer, | ||
const PositiveLength & | width | ||
) |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
void setLayer | ( | const Layer & | layer | ) |
|
noexcept |
|
overridevirtual |
Reimplemented from BI_Base.
|
overridevirtual |
Reimplemented from BI_Base.
|
noexcept |
|
delete |
|
private |
Signal<BI_NetLine, Event> onEdited |
|
private |
|
private |
|
private |
|
private |
|
private |