LibrePCB Developers Documentation
|
The SignalRole class provides all supported electrical signal roles. More...
#include <signalrole.h>
Public Member Functions | |
SignalRole () noexcept | |
SignalRole (const SignalRole &other) noexcept | |
~SignalRole () noexcept | |
QString | toStr () const noexcept |
Serialize this object into a string. More... | |
const QString & | getNameTr () const noexcept |
Get the name of the SignalRole (human readable and translated) More... | |
SignalRole & | operator= (const SignalRole &rhs) noexcept |
bool | operator== (const SignalRole &rhs) const noexcept |
bool | operator!= (const SignalRole &rhs) const noexcept |
Static Public Member Functions | |
static const QList< SignalRole > & | getAllRoles () noexcept |
Get a list of all available signal roles. More... | |
static const SignalRole & | passive () noexcept |
Passive Pins (R, C, L) More... | |
static const SignalRole & | power () noexcept |
Power Pins (GND, VCC, VSS,... of Devices) More... | |
static const SignalRole & | input () noexcept |
Input Pins. More... | |
static const SignalRole & | output () noexcept |
Output Pins. More... | |
static const SignalRole & | inout () noexcept |
Input/Output Pins. More... | |
static const SignalRole & | opendrain () noexcept |
Open Collector / Open Drain Pins. More... | |
Private Member Functions | |
SignalRole (const QString &role, const QString &name) noexcept | |
Private Attributes | |
QString | mRole |
used for serialization (DO NOT MODIFY VALUES!) More... | |
QString | mName |
human readable (translated) More... | |
The SignalRole class provides all supported electrical signal roles.
|
noexcept |
|
noexcept |
|
noexcept |
|
privatenoexcept |
|
inlinenoexcept |
Serialize this object into a string.
|
inlinenoexcept |
Get the name of the SignalRole (human readable and translated)
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
staticnoexcept |
Get a list of all available signal roles.
|
inlinestaticnoexcept |
Passive Pins (R, C, L)
|
inlinestaticnoexcept |
Power Pins (GND, VCC, VSS,... of Devices)
|
inlinestaticnoexcept |
Input Pins.
|
inlinestaticnoexcept |
Output Pins.
|
inlinestaticnoexcept |
Input/Output Pins.
|
inlinestaticnoexcept |
Open Collector / Open Drain Pins.
|
private |
used for serialization (DO NOT MODIFY VALUES!)
|
private |
human readable (translated)