![]() |
LibrePCB Developers Documentation
|
#include <netsignal.h>
Inherits QObject.
Signals | |
void | nameChanged (const CircuitIdentifier &newName) |
Public Member Functions | |
NetSignal ()=delete | |
NetSignal (const NetSignal &other)=delete | |
NetSignal (Circuit &circuit, const Uuid &uuid, NetClass &netclass, const CircuitIdentifier &name, bool autoName) | |
~NetSignal () noexcept | |
const Uuid & | getUuid () const noexcept |
const CircuitIdentifier & | getName () const noexcept |
bool | hasAutoName () const noexcept |
NetClass & | getNetClass () const noexcept |
Circuit & | getCircuit () const noexcept |
const QList< ComponentSignalInstance * > & | getComponentSignals () const noexcept |
const QList< SI_NetSegment * > & | getSchematicNetSegments () const noexcept |
const QList< BI_NetSegment * > & | getBoardNetSegments () const noexcept |
const QList< BI_Plane * > & | getBoardPlanes () const noexcept |
int | getRegisteredElementsCount () const noexcept |
bool | isUsed () const noexcept |
bool | isNameForced () const noexcept |
bool | isAddedToCircuit () const noexcept |
void | setName (const CircuitIdentifier &name, bool isAutoName) noexcept |
void | addToCircuit () |
void | removeFromCircuit () |
void | registerComponentSignal (ComponentSignalInstance &signal) |
void | unregisterComponentSignal (ComponentSignalInstance &signal) |
void | registerSchematicNetSegment (SI_NetSegment &netsegment) |
void | unregisterSchematicNetSegment (SI_NetSegment &netsegment) |
void | registerBoardNetSegment (BI_NetSegment &netsegment) |
void | unregisterBoardNetSegment (BI_NetSegment &netsegment) |
void | registerBoardPlane (BI_Plane &plane) |
void | unregisterBoardPlane (BI_Plane &plane) |
void | serialize (SExpression &root) const |
Serialize into librepcb::SExpression node. More... | |
NetSignal & | operator= (const NetSignal &rhs)=delete |
bool | operator== (const NetSignal &rhs) noexcept |
bool | operator!= (const NetSignal &rhs) noexcept |
Private Attributes | |
Circuit & | mCircuit |
bool | mIsAddedToCircuit |
Uuid | mUuid |
CircuitIdentifier | mName |
bool | mHasAutoName |
NetClass & | mNetClass |
QList< ComponentSignalInstance * > | mRegisteredComponentSignals |
QList< SI_NetSegment * > | mRegisteredSchematicNetSegments |
QList< BI_NetSegment * > | mRegisteredBoardNetSegments |
QList< BI_Plane * > | mRegisteredBoardPlanes |
The NetSignal class.
|
delete |
|
explicit |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
inlinenoexcept |
|
noexcept |
void addToCircuit | ( | ) |
void removeFromCircuit | ( | ) |
void registerComponentSignal | ( | ComponentSignalInstance & | signal | ) |
void unregisterComponentSignal | ( | ComponentSignalInstance & | signal | ) |
void registerSchematicNetSegment | ( | SI_NetSegment & | netsegment | ) |
void unregisterSchematicNetSegment | ( | SI_NetSegment & | netsegment | ) |
void registerBoardNetSegment | ( | BI_NetSegment & | netsegment | ) |
void unregisterBoardNetSegment | ( | BI_NetSegment & | netsegment | ) |
void registerBoardPlane | ( | BI_Plane & | plane | ) |
void unregisterBoardPlane | ( | BI_Plane & | plane | ) |
void serialize | ( | SExpression & | root | ) | const |
Serialize into librepcb::SExpression node.
root | Root node to serialize into. |
|
inlinenoexcept |
|
inlinenoexcept |
|
signal |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |