LibrePCB Developers Documentation
|
The SymbolPin class represents one pin of a symbol. More...
#include <symbolpin.h>
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 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. More... | |
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 |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
void serialize | ( | SExpression & | root | ) | const |
Serialize into librepcb::SExpression node.
root | Root node to serialize into. |
|
noexcept |
|
inlinenoexcept |
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |