![]() |
LibrePCB Developers Documentation
|
The SI_BusSegment class. More...
#include <si_bussegment.h>
Inheritance diagram for SI_BusSegment:
Collaboration diagram for SI_BusSegment:Signals | |
| void | junctionsAndLinesAdded (const QList< SI_BusJunction * > &junctions, const QList< SI_BusLine * > &lines) |
| void | junctionsAndLinesRemoved (const QList< SI_BusJunction * > &junctions, const QList< SI_BusLine * > &lines) |
| void | labelAdded (SI_BusLabel &label) |
| void | labelRemoved (SI_BusLabel &label) |
Public Member Functions | |
| SI_BusSegment ()=delete | |
| SI_BusSegment (const SI_BusSegment &other)=delete | |
| SI_BusSegment (Schematic &schematic, const Uuid &uuid, Bus &bus) | |
| ~SI_BusSegment () noexcept | |
| const Uuid & | getUuid () const noexcept |
| Bus & | getBus () const noexcept |
| bool | isUsed () const noexcept |
| Point | calcNearestPoint (const Point &p) const noexcept |
| QSet< SI_NetSegment * > | getAttachedNetSegments () const noexcept |
| void | setBus (Bus &bus) |
| const QMap< Uuid, SI_BusJunction * > & | getJunctions () const noexcept |
| const QMap< Uuid, SI_BusLine * > & | getLines () const noexcept |
| void | addJunctionsAndLines (const QList< SI_BusJunction * > &junctions, const QList< SI_BusLine * > &lines) |
| void | removeJunctionsAndLines (const QList< SI_BusJunction * > &junctions, const QList< SI_BusLine * > &lines) |
| const QMap< Uuid, SI_BusLabel * > & | getLabels () const noexcept |
| void | addLabel (SI_BusLabel &label) |
| void | removeLabel (SI_BusLabel &label) |
| void | updateAllLabelAnchors () noexcept |
| void | addToSchematic () override |
| void | removeFromSchematic () override |
| void | serialize (SExpression &root) const |
| Serialize into librepcb::SExpression node. | |
| SI_BusSegment & | operator= (const SI_BusSegment &rhs)=delete |
| bool | operator== (const SI_BusSegment &rhs) noexcept |
| bool | operator!= (const SI_BusSegment &rhs) noexcept |
Public Member Functions inherited from SI_Base | |
| SI_Base ()=delete | |
| SI_Base (const SI_Base &other)=delete | |
| SI_Base (Schematic &schematic) noexcept | |
| virtual | ~SI_Base () noexcept |
| Project & | getProject () const noexcept |
| Circuit & | getCircuit () const noexcept |
| Schematic & | getSchematic () const noexcept |
| virtual bool | isAddedToSchematic () const noexcept |
| SI_Base & | operator= (const SI_Base &rhs)=delete |
Private Member Functions | |
| bool | checkAttributesValidity () const noexcept |
| bool | areAllJunctionsConnectedTogether () const noexcept |
| void | findAllConnectedJunctions (const SI_BusJunction &np, QSet< const SI_BusJunction * > &points, QSet< const SI_BusLine * > &lines) const noexcept |
Private Attributes | |
| Uuid | mUuid |
| Bus * | mBus |
| QMap< Uuid, SI_BusJunction * > | mJunctions |
| QMap< Uuid, SI_BusLine * > | mLines |
| QMap< Uuid, SI_BusLabel * > | mLabels |
Additional Inherited Members | |
Protected Attributes inherited from SI_Base | |
| Schematic & | mSchematic |
The SI_BusSegment class.
|
delete |
|
delete |
| SI_BusSegment | ( | Schematic & | schematic, |
| const Uuid & | uuid, | ||
| Bus & | bus | ||
| ) |
|
noexcept |
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
noexcept |
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
Here is the caller graph for this function:| void setBus | ( | Bus & | bus | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:| void addJunctionsAndLines | ( | const QList< SI_BusJunction * > & | junctions, |
| const QList< SI_BusLine * > & | lines | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void removeJunctionsAndLines | ( | const QList< SI_BusJunction * > & | junctions, |
| const QList< SI_BusLine * > & | lines | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:| void addLabel | ( | SI_BusLabel & | label | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void removeLabel | ( | SI_BusLabel & | label | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from SI_Base.
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from SI_Base.
Here is the call graph for this function:
Here is the caller graph for this function:| void serialize | ( | SExpression & | root | ) | const |
Serialize into librepcb::SExpression node.
| root | Root node to serialize into. |
Here is the call graph for this function:
|
delete |
|
inlinenoexcept |
|
inlinenoexcept |
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
|
private |
|
private |
|
private |
|
private |