20#ifndef LIBREPCB_CORE_SI_NETLINE_H
21#define LIBREPCB_CORE_SI_NETLINE_H
26#include "../../../geometry/netline.h"
53 virtual
bool isOpen() const noexcept = 0;
88 const Uuid&
getUuid() const noexcept {
return mNetLine.getUuid(); }
90 return mNetLine.getWidth();
96 NetSignal& getNetSignalOfNetSegment() const noexcept;
102 void addToSchematic() override;
103 void removeFromSchematic() override;
104 void updatePositions() noexcept;
The NetLineAnchor class.
Definition netline.h:43
The NetLine class represents a net line within a schematic.
Definition netline.h:108
The NetSignal class.
Definition netsignal.h:50
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5....
Definition point.h:78
The Schematic Item Base (SI_Base) class.
Definition si_base.h:45
Definition si_netline.h:44
SI_NetLineAnchor() noexcept=default
virtual void registerNetLine(SI_NetLine &netline)=0
virtual void unregisterNetLine(SI_NetLine &netline)=0
virtual bool isOpen() const noexcept=0
virtual const Point & getPosition() const noexcept=0
virtual NetLineAnchor toNetLineAnchor() const noexcept=0
virtual const QSet< SI_NetLine * > & getNetLines() const noexcept=0
The SI_NetLine class.
Definition si_netline.h:65
SI_NetLine(const SI_NetLine &other)=delete
Event
Definition si_netline.h:70
SI_NetLineAnchor & getEndPoint() const noexcept
Definition si_netline.h:93
SI_NetLineAnchor & getStartPoint() const noexcept
Definition si_netline.h:92
const UnsignedLength & getWidth() const noexcept
Definition si_netline.h:89
const Uuid & getUuid() const noexcept
Definition si_netline.h:88
Signal< SI_NetLine, Event > onEdited
Definition si_netline.h:74
Slot< SI_NetLine, Event > OnEditedSlot
Definition si_netline.h:75
const NetLine & getNetLine() const noexcept
Definition si_netline.h:87
The SI_NetSegment class.
Definition si_netsegment.h:53
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 Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition uuid.h:56
Definition occmodel.cpp:76
type_safe::constrained_type< Length, UnsignedLengthConstraint, UnsignedLengthVerifier > UnsignedLength
Definition length.h:694