LibrePCB Developers Documentation
SI_NetPoint Class Referencefinal

The SI_NetPoint class. More...

#include <si_netpoint.h>

+ Inheritance diagram for SI_NetPoint:
+ Collaboration diagram for SI_NetPoint:

Public Types

enum  Event
 
typedef Slot< SI_NetPoint, EventOnEditedSlot
 

Public Member Functions

 SI_NetPoint ()=delete
 
 SI_NetPoint (const SI_NetPoint &other)=delete
 
 SI_NetPoint (SI_NetSegment &segment, const Uuid &uuid, const Point &position)
 
 ~SI_NetPoint () noexcept
 
const UuidgetUuid () const noexcept
 
const PointgetPosition () const noexcept override
 
const JunctiongetJunction () const noexcept
 
bool isVisibleJunction () const noexcept
 
bool isOpenLineEnd () const noexcept
 
SI_NetSegmentgetNetSegment () const noexcept
 
NetSignalgetNetSignalOfNetSegment () const noexcept
 
bool isUsed () const noexcept
 
bool isOpen () const noexcept override
 
NetLineAnchor toNetLineAnchor () const noexcept override
 
void setPosition (const Point &position) noexcept
 
void addToSchematic () override
 
void removeFromSchematic () override
 
void registerNetLine (SI_NetLine &netline) override
 
void unregisterNetLine (SI_NetLine &netline) override
 
const QSet< SI_NetLine * > & getNetLines () const noexcept override
 
SI_NetPointoperator= (const SI_NetPoint &rhs)=delete
 
bool operator== (const SI_NetPoint &rhs) noexcept
 
bool operator!= (const SI_NetPoint &rhs) noexcept
 
- 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
 
SI_Baseoperator= (const SI_Base &rhs)=delete
 
- Public Member Functions inherited from SI_NetLineAnchor
 SI_NetLineAnchor () noexcept=default
 
virtual ~SI_NetLineAnchor () noexcept=default
 

Public Attributes

Signal< SI_NetPoint, EventonEdited
 

Private Attributes

SI_NetSegmentmNetSegment
 
Junction mJunction
 
QSet< SI_NetLine * > mRegisteredNetLines
 all registered netlines More...
 

Additional Inherited Members

- Protected Attributes inherited from SI_Base
SchematicmSchematic
 

Detailed Description

The SI_NetPoint class.

Member Typedef Documentation

◆ OnEditedSlot

Member Enumeration Documentation

◆ Event

enum Event
strong
Enumerator
PositionChanged 
JunctionChanged 
NetSignalNameChanged 

Constructor & Destructor Documentation

◆ SI_NetPoint() [1/3]

SI_NetPoint ( )
delete

◆ SI_NetPoint() [2/3]

SI_NetPoint ( const SI_NetPoint other)
delete

◆ SI_NetPoint() [3/3]

SI_NetPoint ( SI_NetSegment segment,
const Uuid uuid,
const Point position 
)
+ Here is the call graph for this function:

◆ ~SI_NetPoint()

~SI_NetPoint ( )
noexcept

Member Function Documentation

◆ getUuid()

const Uuid& getUuid ( ) const
inlinenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getPosition()

const Point& getPosition ( ) const
inlineoverridevirtualnoexcept

Implements SI_NetLineAnchor.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getJunction()

const Junction& getJunction ( ) const
inlinenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isVisibleJunction()

bool isVisibleJunction ( ) const
noexcept
+ Here is the caller graph for this function:

◆ isOpenLineEnd()

bool isOpenLineEnd ( ) const
noexcept
+ Here is the caller graph for this function:

◆ getNetSegment()

SI_NetSegment& getNetSegment ( ) const
inlinenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getNetSignalOfNetSegment()

NetSignal & getNetSignalOfNetSegment ( ) const
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isUsed()

bool isUsed ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ isOpen()

bool isOpen ( ) const
inlineoverridevirtualnoexcept

Implements SI_NetLineAnchor.

+ Here is the call graph for this function:

◆ toNetLineAnchor()

NetLineAnchor toNetLineAnchor ( ) const
overridevirtualnoexcept

Implements SI_NetLineAnchor.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setPosition()

void setPosition ( const Point position)
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addToSchematic()

void addToSchematic ( )
overridevirtual

Reimplemented from SI_Base.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ removeFromSchematic()

void removeFromSchematic ( )
overridevirtual

Reimplemented from SI_Base.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ registerNetLine()

void registerNetLine ( SI_NetLine netline)
overridevirtual

Implements SI_NetLineAnchor.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ unregisterNetLine()

void unregisterNetLine ( SI_NetLine netline)
overridevirtual

Implements SI_NetLineAnchor.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getNetLines()

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

Implements SI_NetLineAnchor.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator=()

SI_NetPoint& operator= ( const SI_NetPoint rhs)
delete
+ Here is the caller graph for this function:

◆ operator==()

bool operator== ( const SI_NetPoint rhs)
inlinenoexcept

◆ operator!=()

bool operator!= ( const SI_NetPoint rhs)
inlinenoexcept

Member Data Documentation

◆ onEdited

Signal<SI_NetPoint, Event> onEdited

◆ mNetSegment

SI_NetSegment& mNetSegment
private

◆ mJunction

Junction mJunction
private

◆ mRegisteredNetLines

QSet<SI_NetLine*> mRegisteredNetLines
private

all registered netlines


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