LibrePCB Developers Documentation
|
The DevicePadSignalMapItem class. More...
#include <devicepadsignalmap.h>
Public Types | |
enum class | Event |
typedef Slot< DevicePadSignalMapItem, Event > | OnEditedSlot |
Public Member Functions | |
DevicePadSignalMapItem ()=delete | |
DevicePadSignalMapItem (const DevicePadSignalMapItem &other) noexcept | |
DevicePadSignalMapItem (const Uuid &pad, const tl::optional< Uuid > &signal) noexcept | |
DevicePadSignalMapItem (const SExpression &node) | |
~DevicePadSignalMapItem () noexcept | |
const Uuid & | getUuid () const noexcept |
const Uuid & | getPadUuid () const noexcept |
const tl::optional< Uuid > & | getSignalUuid () const noexcept |
bool | setSignalUuid (const tl::optional< Uuid > &uuid) noexcept |
void | serialize (SExpression &root) const |
Serialize into librepcb::SExpression node. More... | |
bool | operator== (const DevicePadSignalMapItem &rhs) const noexcept |
bool | operator!= (const DevicePadSignalMapItem &rhs) const noexcept |
DevicePadSignalMapItem & | operator= (const DevicePadSignalMapItem &rhs) noexcept |
Public Attributes | |
Signal< DevicePadSignalMapItem, Event > | onEdited |
Private Attributes | |
Uuid | mPadUuid |
must be valid More... | |
tl::optional< Uuid > | mSignalUuid |
tl::nullopt if not connected to a signal More... | |
The DevicePadSignalMapItem class.
typedef Slot<DevicePadSignalMapItem, Event> OnEditedSlot |
|
strong |
|
delete |
|
noexcept |
|
noexcept |
|
explicit |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
void serialize | ( | SExpression & | root | ) | const |
Serialize into librepcb::SExpression node.
root | Root node to serialize into. |
|
noexcept |
|
inlinenoexcept |
|
noexcept |
Signal<DevicePadSignalMapItem, Event> onEdited |
|
private |
must be valid
|
private |
tl::nullopt if not connected to a signal