LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SI_SymbolPin Class Referencefinal

The SI_SymbolPin class. More...

#include <si_symbolpin.h>

+ Inheritance diagram for SI_SymbolPin:
+ Collaboration diagram for SI_SymbolPin:

Public Member Functions

 SI_SymbolPin ()=delete
 
 SI_SymbolPin (const SI_SymbolPin &other)=delete
 
 SI_SymbolPin (SI_Symbol &symbol, const Uuid &pinUuid)
 
 ~SI_SymbolPin ()
 
const UuidgetLibPinUuid () const noexcept
 
QString getDisplayText (bool returnCmpSignalNameIfEmpty=false, bool returnPinNameIfEmpty=false) const noexcept
 
SI_SymbolgetSymbol () const noexcept
 
const library::SymbolPingetLibPin () const noexcept
 
ComponentSignalInstancegetComponentSignalInstance () const noexcept
 
NetSignalgetCompSigInstNetSignal () const noexcept
 
SI_NetSegmentgetNetSegmentOfLines () const noexcept
 
bool isRequired () const noexcept
 
bool isUsed () const noexcept
 
bool isVisibleJunction () const noexcept
 
void addToSchematic () override
 
void removeFromSchematic () override
 
void updatePosition () noexcept
 
Type_t getType () const noexceptoverride
 
const PointgetPosition () const noexceptoverride
 
QPainterPath getGrabAreaScenePx () const noexceptoverride
 
void setSelected (bool selected) noexceptoverride
 
void registerNetLine (SI_NetLine &netline) override
 
void unregisterNetLine (SI_NetLine &netline) override
 
const QSet< SI_NetLine * > & getNetLines () const noexceptoverride
 
SI_SymbolPinoperator= (const SI_SymbolPin &rhs)=delete
 
- Public Member Functions inherited from SI_Base
 SI_Base ()=delete
 
 SI_Base (const SI_Base &other)=delete
 
 SI_Base (Schematic &schematic) noexcept
 
virtual ~SI_Base () noexcept
 
ProjectgetProject () const noexcept
 
CircuitgetCircuit () const noexcept
 
SchematicgetSchematic () const noexcept
 
virtual bool isAddedToSchematic () const noexcept
 
virtual bool isSelected () const noexcept
 
SI_Baseoperator= (const SI_Base &rhs)=delete
 
- Public Member Functions inherited from SI_NetLineAnchor
 SI_NetLineAnchor () noexcept=default
 
virtual ~SI_NetLineAnchor () noexcept=default
 
- Public Member Functions inherited from IF_ErcMsgProvider
 IF_ErcMsgProvider ()
 
virtual ~IF_ErcMsgProvider ()
 
virtual const char * getErcMsgOwnerClassName () const noexcept=0
 

Private Slots

void updateErcMessages () noexcept
 

Private Member Functions

void updateGraphicsItemTransform () noexcept
 

Private Attributes

SI_SymbolmSymbol
 
const library::SymbolPinmSymbolPin
 
const
library::ComponentPinSignalMapItem
mPinSignalMapItem
 
ComponentSignalInstancemComponentSignalInstance
 
QMetaObject::Connection mHighlightChangedConnection
 
Point mPosition
 
Angle mRotation
 
QScopedPointer< SGI_SymbolPinmGraphicsItem
 
QSet< SI_NetLine * > mRegisteredNetLines
 all registered netlines More...
 
QScopedPointer< ErcMsgmErcMsgUnconnectedRequiredPin
 The ERC message for unconnected required pins. More...
 

Additional Inherited Members

- Public Types inherited from SI_Base
enum  Type_t
 
- Protected Member Functions inherited from SI_Base
void addToSchematic (SGI_Base *item) noexcept
 
void removeFromSchematic (SGI_Base *item) noexcept
 
- Protected Attributes inherited from SI_Base
SchematicmSchematic
 

Detailed Description

The SI_SymbolPin class.

Constructor & Destructor Documentation

SI_SymbolPin ( )
delete
SI_SymbolPin ( const SI_SymbolPin other)
delete
SI_SymbolPin ( SI_Symbol symbol,
const Uuid pinUuid 
)
explicit

+ Here is the call graph for this function:

+ Here is the call graph for this function:

Member Function Documentation

const Uuid & getLibPinUuid ( ) const
noexcept

+ Here is the call graph for this function:

QString getDisplayText ( bool  returnCmpSignalNameIfEmpty = false,
bool  returnPinNameIfEmpty = false 
) const
noexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

SI_Symbol& getSymbol ( ) const
inlinenoexcept

+ Here is the caller graph for this function:

const library::SymbolPin& getLibPin ( ) const
inlinenoexcept
ComponentSignalInstance* getComponentSignalInstance ( ) const
inlinenoexcept

+ Here is the caller graph for this function:

NetSignal * getCompSigInstNetSignal ( ) const
noexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

SI_NetSegment * getNetSegmentOfLines ( ) const
noexcept
bool isRequired ( ) const
noexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool isUsed ( ) const
inlinenoexcept

+ Here is the caller graph for this function:

bool isVisibleJunction ( ) const
noexcept

+ Here is the caller graph for this function:

void addToSchematic ( )
overridevirtual

Implements SI_Base.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void removeFromSchematic ( )
overridevirtual

Implements SI_Base.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void updatePosition ( )
noexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Type_t getType ( ) const
inlineoverridevirtualnoexcept

Implements SI_Base.

const Point& getPosition ( ) const
inlineoverridevirtualnoexcept

Implements SI_Base.

QPainterPath getGrabAreaScenePx ( ) const
overridevirtualnoexcept

Implements SI_Base.

+ Here is the caller graph for this function:

void setSelected ( bool  selected)
overridevirtualnoexcept

Reimplemented from SI_Base.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void registerNetLine ( SI_NetLine netline)
overridevirtual

Implements SI_NetLineAnchor.

+ Here is the call graph for this function:

void unregisterNetLine ( SI_NetLine netline)
overridevirtual

Implements SI_NetLineAnchor.

+ Here is the call graph for this function:

const QSet<SI_NetLine*>& getNetLines ( ) const
inlineoverridevirtualnoexcept

Implements SI_NetLineAnchor.

+ Here is the caller graph for this function:

SI_SymbolPin& operator= ( const SI_SymbolPin rhs)
delete
void updateErcMessages ( )
privateslotnoexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void updateGraphicsItemTransform ( )
privatenoexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

SI_Symbol& mSymbol
private
const library::SymbolPin* mSymbolPin
private
const library::ComponentPinSignalMapItem* mPinSignalMapItem
private
ComponentSignalInstance* mComponentSignalInstance
private
QMetaObject::Connection mHighlightChangedConnection
private
Point mPosition
private
Angle mRotation
private
QScopedPointer<SGI_SymbolPin> mGraphicsItem
private
QSet<SI_NetLine*> mRegisteredNetLines
private

all registered netlines

QScopedPointer<ErcMsg> mErcMsgUnconnectedRequiredPin
private

The ERC message for unconnected required pins.


The documentation for this class was generated from the following files: