![]() |
LibrePCB Developers Documentation
|
The Circuit class represents all electrical connections in a project (drawn in the schematics) More...
#include <circuit.h>
Inherits QObject.
Collaboration diagram for Circuit:Signals | |
| void | assemblyVariantAdded (std::shared_ptr< AssemblyVariant > &av) |
| void | assemblyVariantRemoved (std::shared_ptr< AssemblyVariant > &av) |
| void | netClassAdded (NetClass &netclass) |
| void | netClassRemoved (NetClass &netclass) |
| void | netSignalAdded (NetSignal &netsignal) |
| void | netSignalRemoved (NetSignal &netsignal) |
| void | componentAdded (ComponentInstance &cmp) |
| void | componentRemoved (ComponentInstance &cmp) |
Private Attributes | |
| Project & | mProject |
| A reference to the Project object (from the ctor) | |
| AssemblyVariantList | mAssemblyVariants |
| QMap< Uuid, NetClass * > | mNetClasses |
| QMap< Uuid, NetSignal * > | mNetSignals |
| QMap< Uuid, ComponentInstance * > | mComponentInstances |
The Circuit class represents all electrical connections in a project (drawn in the schematics)
Each librepcb::Project object contains exactly one librepcb::Circuit object which contains the whole electrical components and connections. They are created with the schematic editor and used by the board editor. The whole circuit is saved in the file "circuit.lp" in the project's "circuit" directory.
Each Circuit object contains:
|
delete |
|
noexcept |
Here is the call graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
| int addAssemblyVariant | ( | std::shared_ptr< AssemblyVariant > | av, |
| int | index = -1 |
||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void removeAssemblyVariant | ( | std::shared_ptr< AssemblyVariant > | av | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void setAssemblyVariantName | ( | std::shared_ptr< AssemblyVariant > | av, |
| const FileProofName & | newName | ||
| ) |
Here is the call graph for this function:
Here is the caller 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:| void addNetClass | ( | NetClass & | netclass | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void removeNetClass | ( | NetClass & | netclass | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void setNetClassName | ( | NetClass & | netclass, |
| const ElementName & | newName | ||
| ) |
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:
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:
|
noexcept |
Here is the call graph for this function:
Here is the caller graph for this function:| void addNetSignal | ( | NetSignal & | netsignal | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void removeNetSignal | ( | NetSignal & | netsignal | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void setNetSignalName | ( | NetSignal & | netsignal, |
| const CircuitIdentifier & | newName, | ||
| bool | isAutoName | ||
| ) |
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:
|
inlinenoexcept |
Here is the caller graph for this function:
|
noexcept |
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:| void addComponentInstance | ( | ComponentInstance & | cmp | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void removeComponentInstance | ( | ComponentInstance & | cmp | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void setComponentInstanceName | ( | ComponentInstance & | cmp, |
| const CircuitIdentifier & | newName | ||
| ) |
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:
|
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:
|
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:
|
private |
|
private |