LibrePCB Developers Documentation
|
The ComponentSignal class represents one signal of a component. More...
#include <componentsignal.h>
Public Types | |
enum class | Event |
typedef Slot< ComponentSignal, Event > | OnEditedSlot |
Public Member Functions | |
ComponentSignal ()=delete | |
ComponentSignal (const ComponentSignal &other) noexcept | |
ComponentSignal (const Uuid &uuid, const CircuitIdentifier &name, const SignalRole &role, const QString &forcedNetName, bool isRequired, bool isNegated, bool isClock) noexcept | |
ComponentSignal (const SExpression &node) | |
~ComponentSignal () noexcept | |
const Uuid & | getUuid () const noexcept |
const CircuitIdentifier & | getName () const noexcept |
const SignalRole & | getRole () const noexcept |
const QString & | getForcedNetName () const noexcept |
bool | isRequired () const noexcept |
bool | isNegated () const noexcept |
bool | isClock () const noexcept |
bool | isNetSignalNameForced () const noexcept |
bool | setName (const CircuitIdentifier &name) noexcept |
bool | setRole (const SignalRole &role) noexcept |
bool | setForcedNetName (const QString &name) noexcept |
bool | setIsRequired (bool required) noexcept |
bool | setIsNegated (bool negated) noexcept |
bool | setIsClock (bool clock) noexcept |
void | serialize (SExpression &root) const |
Serialize into librepcb::SExpression node. | |
bool | operator== (const ComponentSignal &rhs) const noexcept |
bool | operator!= (const ComponentSignal &rhs) const noexcept |
ComponentSignal & | operator= (const ComponentSignal &rhs) noexcept |
Public Attributes | |
Signal< ComponentSignal, Event > | onEdited |
Private Attributes | |
Uuid | mUuid |
CircuitIdentifier | mName |
SignalRole | mRole |
QString | mForcedNetName |
bool | mIsRequired |
bool | mIsNegated |
bool | mIsClock |
The ComponentSignal class represents one signal of a component.
typedef Slot<ComponentSignal, Event> OnEditedSlot |
|
strong |
|
delete |
|
noexcept |
|
noexcept |
|
explicit |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
void serialize | ( | SExpression & | root | ) | const |
Serialize into librepcb::SExpression node.
root | Root node to serialize into. |
|
noexcept |
|
inlinenoexcept |
|
noexcept |
Signal<ComponentSignal, Event> onEdited |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |