LibrePCB Developers Documentation
|
The ComponentPinSignalMapItem class maps a symbol pin to a component signal. More...
#include <componentpinsignalmap.h>
Public Types | |
enum class | Event |
typedef Slot< ComponentPinSignalMapItem, Event > | OnEditedSlot |
Public Member Functions | |
ComponentPinSignalMapItem ()=delete | |
ComponentPinSignalMapItem (const ComponentPinSignalMapItem &other) noexcept | |
ComponentPinSignalMapItem (const Uuid &pin, const tl::optional< Uuid > &signal, const CmpSigPinDisplayType &displayType) noexcept | |
ComponentPinSignalMapItem (const SExpression &node) | |
~ComponentPinSignalMapItem () noexcept | |
const Uuid & | getUuid () const noexcept |
const Uuid & | getPinUuid () const noexcept |
const tl::optional< Uuid > & | getSignalUuid () const noexcept |
const CmpSigPinDisplayType & | getDisplayType () const noexcept |
bool | setSignalUuid (const tl::optional< Uuid > &uuid) noexcept |
bool | setDisplayType (const CmpSigPinDisplayType &type) noexcept |
void | serialize (SExpression &root) const |
Serialize into librepcb::SExpression node. More... | |
bool | operator== (const ComponentPinSignalMapItem &rhs) const noexcept |
bool | operator!= (const ComponentPinSignalMapItem &rhs) const noexcept |
ComponentPinSignalMapItem & | operator= (const ComponentPinSignalMapItem &rhs) noexcept |
Public Attributes | |
Signal< ComponentPinSignalMapItem, Event > | onEdited |
Private Attributes | |
Uuid | mPinUuid |
must be valid More... | |
tl::optional< Uuid > | mSignalUuid |
tl::nullopt if not connected to a signal More... | |
CmpSigPinDisplayType | mDisplayType |
The ComponentPinSignalMapItem class maps a symbol pin to a component signal.
Following information is considered as the "interface" of a pin-signal-mapping and must therefore never be changed:
typedef Slot<ComponentPinSignalMapItem, Event> OnEditedSlot |
|
strong |
|
delete |
|
noexcept |
|
noexcept |
|
explicit |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
void serialize | ( | SExpression & | root | ) | const |
Serialize into librepcb::SExpression node.
root | Root node to serialize into. |
|
noexcept |
|
inlinenoexcept |
|
noexcept |
Signal<ComponentPinSignalMapItem, Event> onEdited |
|
private |
must be valid
|
private |
tl::nullopt if not connected to a signal
|
private |