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. | |
const QString & | getNameTr () const noexcept |
Get the name of the SignalRole (human readable and translated) | |
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. | |
static const SignalRole & | passive () noexcept |
Passive Pins (R, C, L) | |
static const SignalRole & | power () noexcept |
Power Pins (GND, VCC, VSS,... of Devices) | |
static const SignalRole & | input () noexcept |
Input Pins. | |
static const SignalRole & | output () noexcept |
Output Pins. | |
static const SignalRole & | inout () noexcept |
Input/Output Pins. | |
static const SignalRole & | opendrain () noexcept |
Open Collector / Open Drain Pins. | |
Private Member Functions | |
SignalRole (const QString &role, const QString &name) noexcept | |
Private Attributes | |
QString | mRole |
used for serialization (DO NOT MODIFY VALUES!) | |
QString | mName |
human readable (translated) | |
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)