![]() |
LibrePCB Developers Documentation
|
#include <bi_device.h>
Inheritance diagram for BI_Device:
Collaboration diagram for BI_Device:Public Types | |
| enum class | Event |
| typedef Slot< BI_Device, Event > | OnEditedSlot |
Signals | |
| void | attributesChanged () |
| void | strokeTextAdded (BI_StrokeText &strokeText) |
| void | strokeTextRemoved (BI_StrokeText &strokeText) |
Public Member Functions | |
| BI_Device ()=delete | |
| BI_Device (const BI_Device &other)=delete | |
| BI_Device (Board &board, ComponentInstance &compInstance, const Uuid &deviceUuid, const Uuid &footprintUuid, const Point &position, const Angle &rotation, bool mirror, bool locked, bool loadInitialStrokeTexts) | |
| ~BI_Device () noexcept | |
| const Uuid & | getComponentInstanceUuid () const noexcept |
| ComponentInstance & | getComponentInstance () const noexcept |
| const Device & | getLibDevice () const noexcept |
| const Package & | getLibPackage () const noexcept |
| const Footprint & | getLibFootprint () const noexcept |
| const PackageModel * | getLibModel () const noexcept |
| std::optional< Uuid > | getLibModelUuid () const noexcept |
| std::optional< Uuid > | getDefaultLibModelUuid () const noexcept |
| const Point & | getPosition () const noexcept |
| const Angle & | getRotation () const noexcept |
| bool | getMirrored () const noexcept |
| bool | isLocked () const noexcept |
| const AttributeList & | getAttributes () const noexcept |
| BI_FootprintPad * | getPad (const Uuid &padUuid) const noexcept |
| const QMap< Uuid, BI_FootprintPad * > & | getPads () const noexcept |
| const QHash< Uuid, std::optional< Length > > & | getHoleStopMasks () const noexcept |
| QVector< std::shared_ptr< const Part > > | getParts (const std::optional< Uuid > &assemblyVariant) const noexcept |
| bool | isInAssemblyVariant (const Uuid &assemblyVariant) const noexcept |
| bool | doesPackageRequireAssembly (bool resolveAuto) const noexcept |
| bool | isUsed () const noexcept |
| void | setPosition (const Point &pos) noexcept |
| void | setRotation (const Angle &rot) noexcept |
| void | setMirrored (bool mirror) |
| void | setLocked (bool locked) noexcept |
| void | setAttributes (const AttributeList &attributes) noexcept |
| void | setModel (const std::optional< Uuid > &uuid) |
| StrokeTextList | getDefaultStrokeTexts () const noexcept |
| const QMap< Uuid, BI_StrokeText * > & | getStrokeTexts () const noexcept |
| void | addStrokeText (BI_StrokeText &text) |
| void | removeStrokeText (BI_StrokeText &text) |
| void | addToBoard () override |
| void | removeFromBoard () override |
| void | serialize (SExpression &root) const |
| Serialize into librepcb::SExpression node. | |
| BI_Device & | operator= (const BI_Device &rhs)=delete |
Public Member Functions inherited from BI_Base | |
| BI_Base ()=delete | |
| BI_Base (const BI_Base &other)=delete | |
| BI_Base (Board &board) noexcept | |
| virtual | ~BI_Base () noexcept |
| Project & | getProject () const noexcept |
| Circuit & | getCircuit () const noexcept |
| Board & | getBoard () const noexcept |
| virtual bool | isAddedToBoard () const noexcept |
| BI_Base & | operator= (const BI_Base &rhs)=delete |
Public Attributes | |
| Signal< BI_Device, Event > | onEdited |
Private Member Functions | |
| bool | checkAttributesValidity () const noexcept |
| void | updateHoleStopMaskOffsets () noexcept |
| const QStringList & | getLocaleOrder () const noexcept |
Private Attributes | |
| ComponentInstance & | mCompInstance |
| const Device * | mLibDevice |
| const Package * | mLibPackage |
| const Footprint * | mLibFootprint |
| const PackageModel * | mLibModel |
nullptr if no model available/selected | |
| Point | mPosition |
| Angle | mRotation |
| bool | mMirrored |
| bool | mLocked |
| AttributeList | mAttributes |
| Not used yet, but specified in file format. | |
| QMap< Uuid, BI_FootprintPad * > | mPads |
| key: footprint pad UUID | |
| QMap< Uuid, BI_StrokeText * > | mStrokeTexts |
| QHash< Uuid, std::optional< Length > > | mHoleStopMaskOffsets |
Additional Inherited Members | |
Protected Attributes inherited from BI_Base | |
| Board & | mBoard |
The BI_Device class.
| typedef Slot<BI_Device, Event> OnEditedSlot |
|
strong |
|
delete |
| BI_Device | ( | Board & | board, |
| ComponentInstance & | compInstance, | ||
| const Uuid & | deviceUuid, | ||
| const Uuid & | footprintUuid, | ||
| const Point & | position, | ||
| const Angle & | rotation, | ||
| bool | mirror, | ||
| bool | locked, | ||
| bool | loadInitialStrokeTexts | ||
| ) |
Here is the call graph for this function:
|
noexcept |
|
noexcept |
Here is the call graph for this function:
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 call graph for this function:
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:
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:
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 |
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:
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:| void setMirrored | ( | bool | mirror | ) |
Here is the call graph for this function:
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:| void setModel | ( | const std::optional< Uuid > & | uuid | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:| void addStrokeText | ( | BI_StrokeText & | text | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void removeStrokeText | ( | BI_StrokeText & | text | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from BI_Base.
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from BI_Base.
Here is the call graph for this function:
Here is the caller graph for this function:| void serialize | ( | SExpression & | root | ) | const |
Serialize into librepcb::SExpression node.
| root | Root node to serialize into. |
Here is the call graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
privatenoexcept |
Here is the caller graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
|
private |
|
private |
|
private |
|
private |
|
private |
nullptr if no model available/selected
|
private |
|
private |
|
private |
|
private |
|
private |
Not used yet, but specified in file format.
|
private |
key: footprint pad UUID
|
private |