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 std::optional< Uuid > &signal) noexcept | |
DevicePadSignalMapItem (const SExpression &node) | |
~DevicePadSignalMapItem () noexcept | |
const Uuid & | getUuid () const noexcept |
const Uuid & | getPadUuid () const noexcept |
const std::optional< Uuid > & | getSignalUuid () const noexcept |
bool | setSignalUuid (const std::optional< Uuid > &uuid) noexcept |
void | serialize (SExpression &root) const |
Serialize into librepcb::SExpression node. | |
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 | |
std::optional< Uuid > | mSignalUuid |
std::nullopt if not connected to a signal | |
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 |
std::nullopt if not connected to a signal