LibrePCB Developers Documentation
|
The Junction class represents the connection point between netlines or traces. More...
#include <junction.h>
Public Types | |
enum class | Event |
typedef Slot< Junction, Event > | OnEditedSlot |
Public Member Functions | |
Junction ()=delete | |
Junction (const Junction &other) noexcept | |
Junction (const Uuid &uuid, const Junction &other) noexcept | |
Junction (const Uuid &uuid, const Point &position) noexcept | |
Junction (const SExpression &node) | |
~Junction () noexcept | |
const Uuid & | getUuid () const noexcept |
const Point & | getPosition () const noexcept |
bool | setUuid (const Uuid &uuid) noexcept |
bool | setPosition (const Point &position) noexcept |
void | serialize (SExpression &root) const |
Serialize into librepcb::SExpression node. | |
bool | operator== (const Junction &rhs) const noexcept |
bool | operator!= (const Junction &rhs) const noexcept |
Junction & | operator= (const Junction &rhs) noexcept |
Public Attributes | |
Signal< Junction, Event > | onEdited |
Private Attributes | |
Uuid | mUuid |
Point | mPosition |
The Junction class represents the connection point between netlines or traces.
The main purpose of this class is to serialize and deserialize junctions contained in schematics or boards.
typedef Slot<Junction, Event> OnEditedSlot |
|
strong |
|
delete |
|
explicit |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
void serialize | ( | SExpression & | root | ) | const |
Serialize into librepcb::SExpression node.
root | Root node to serialize into. |
|
noexcept |
|
inlinenoexcept |
|
private |
|
private |