![]() |
LibrePCB Developers Documentation
|
The SymbolPin class represents one pin of a symbol. More...
#include <symbolpin.h>
Collaboration diagram for SymbolPin:Public Types | |
| enum class | Event |
| typedef Slot< SymbolPin, Event > | OnEditedSlot |
Public Member Functions | |
| SymbolPin ()=delete | |
| SymbolPin (const SymbolPin &other) noexcept | |
| SymbolPin (const Uuid &uuid, const SymbolPin &other) noexcept | |
| SymbolPin (const Uuid &uuid, const CircuitIdentifier &name, const Point &position, const UnsignedLength &length, const Angle &rotation, const Point &namePosition, const Angle &nameRotation, const PositiveLength &nameHeight, const Alignment &nameAlign) noexcept | |
| SymbolPin (const SExpression &node) | |
| ~SymbolPin () noexcept | |
| const Uuid & | getUuid () const noexcept |
| const CircuitIdentifier & | getName () const noexcept |
| const Point & | getPosition () const noexcept |
| const UnsignedLength & | getLength () const noexcept |
| const Angle & | getRotation () const noexcept |
| const Point & | getNamePosition () const noexcept |
| const Angle & | getNameRotation () const noexcept |
| const PositiveLength & | getNameHeight () const noexcept |
| const Alignment & | getNameAlignment () const noexcept |
| Point | getNumbersPosition (bool flipped) const noexcept |
| bool | setPosition (const Point &pos) noexcept |
| bool | setLength (const UnsignedLength &length) noexcept |
| bool | setRotation (const Angle &rotation) noexcept |
| bool | setName (const CircuitIdentifier &name) noexcept |
| bool | setNamePosition (const Point &position) noexcept |
| bool | setNameRotation (const Angle &rotation) noexcept |
| bool | setNameHeight (const PositiveLength &height) noexcept |
| bool | setNameAlignment (const Alignment &align) noexcept |
| void | serialize (SExpression &root) const |
| Serialize into librepcb::SExpression node. | |
| bool | operator== (const SymbolPin &rhs) const noexcept |
| bool | operator!= (const SymbolPin &rhs) const noexcept |
| SymbolPin & | operator= (const SymbolPin &rhs) noexcept |
Static Public Member Functions | |
| static Point | getDefaultNamePosition (const UnsignedLength &length) noexcept |
| static PositiveLength | getDefaultNameHeight () noexcept |
| static Alignment | getDefaultNameAlignment () noexcept |
| static PositiveLength | getNumbersHeight () noexcept |
| static Alignment | getNumbersAlignment (bool flipped) noexcept |
Public Attributes | |
| Signal< SymbolPin, Event > | onEdited |
The SymbolPin class represents one pin of a symbol.
Following information is considered as the "interface" of a pin and must therefore never be changed:
| typedef Slot<SymbolPin, Event> OnEditedSlot |
|
strong |
|
delete |
|
noexcept |
|
explicit |
|
noexcept |
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
noexcept |
Here is the caller graph for this function:
|
noexcept |
Here is the caller graph for this function:
|
noexcept |
|
noexcept |
|
noexcept |
Here is the caller graph for this function:
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
| void serialize | ( | SExpression & | root | ) | const |
Serialize into librepcb::SExpression node.
| root | Root node to serialize into. |
Here is the call graph for this function:
|
noexcept |
|
inlinenoexcept |
|
inlinestaticnoexcept |
Here is the caller graph for this function:
|
inlinestaticnoexcept |
Here is the caller graph for this function:
|
inlinestaticnoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestaticnoexcept |
Here is the caller graph for this function:
|
inlinestaticnoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |