The Circuit class represents all electrical connections in a project (drawn in the schematics)
More...
#include <circuit.h>
Inherits QObject.
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:
◆ Circuit() [1/3]
◆ Circuit() [2/3]
◆ Circuit() [3/3]
◆ ~Circuit()
◆ getProject()
◆ getAssemblyVariants() [1/2]
◆ getAssemblyVariants() [2/2]
◆ addAssemblyVariant()
int addAssemblyVariant |
( |
std::shared_ptr< AssemblyVariant > |
av, |
|
|
int |
index = -1 |
|
) |
| |
◆ removeAssemblyVariant()
◆ setAssemblyVariantName()
◆ getNetClasses()
◆ getNetClassByName()
◆ addNetClass()
◆ removeNetClass()
void removeNetClass |
( |
NetClass & |
netclass | ) |
|
◆ setNetClassName()
◆ generateAutoNetSignalName()
QString generateAutoNetSignalName |
( |
| ) |
const |
|
noexcept |
◆ getNetSignals()
◆ getNetSignalByName()
NetSignal * getNetSignalByName |
( |
const QString & |
name | ) |
const |
|
noexcept |
◆ getNetSignalWithMostElements()
NetSignal * getNetSignalWithMostElements |
( |
| ) |
const |
|
noexcept |
◆ addNetSignal()
◆ removeNetSignal()
void removeNetSignal |
( |
NetSignal & |
netsignal | ) |
|
◆ setNetSignalName()
◆ generateAutoComponentInstanceName()
QString generateAutoComponentInstanceName |
( |
const ComponentPrefix & |
cmpPrefix | ) |
const |
|
noexcept |
◆ getComponentInstances()
◆ getComponentInstanceByUuid()
◆ getComponentInstanceByName()
◆ addComponentInstance()
◆ removeComponentInstance()
◆ setComponentInstanceName()
◆ serialize()
◆ operator=()
◆ operator==()
bool operator== |
( |
const Circuit & |
rhs | ) |
|
|
inlinenoexcept |
◆ operator!=()
bool operator!= |
( |
const Circuit & |
rhs | ) |
|
|
inlinenoexcept |
◆ assemblyVariantAdded
◆ assemblyVariantRemoved
◆ netClassAdded
void netClassAdded |
( |
NetClass & |
netclass | ) |
|
|
signal |
◆ netClassRemoved
void netClassRemoved |
( |
NetClass & |
netclass | ) |
|
|
signal |
◆ netSignalAdded
◆ netSignalRemoved
void netSignalRemoved |
( |
NetSignal & |
netsignal | ) |
|
|
signal |
◆ componentAdded
◆ componentRemoved
◆ mProject
A reference to the Project object (from the ctor)
◆ mAssemblyVariants
◆ mNetClasses
◆ mNetSignals
◆ mComponentInstances
The documentation for this class was generated from the following files:
- /__w/1/s/libs/librepcb/core/project/circuit/circuit.h
- /__w/1/s/libs/librepcb/core/project/circuit/circuit.cpp