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 std::optional< Uuid > &signal, const CmpSigPinDisplayType &displayType) noexcept | |
ComponentPinSignalMapItem (const SExpression &node) | |
~ComponentPinSignalMapItem () noexcept | |
const Uuid & | getUuid () const noexcept |
const Uuid & | getPinUuid () const noexcept |
const std::optional< Uuid > & | getSignalUuid () const noexcept |
const CmpSigPinDisplayType & | getDisplayType () const noexcept |
bool | setSignalUuid (const std::optional< Uuid > &uuid) noexcept |
bool | setDisplayType (const CmpSigPinDisplayType &type) noexcept |
void | serialize (SExpression &root) const |
Serialize into librepcb::SExpression node. | |
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 | |
std::optional< Uuid > | mSignalUuid |
std::nullopt if not connected to a signal | |
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 |
std::nullopt if not connected to a signal
|
private |