LibrePCB Developers Documentation
Loading...
Searching...
No Matches
ElectricalRuleCheck Class Referencefinal

The ElectricalRuleCheck class checks a librepcb::Board for design rule violations. More...

#include <electricalrulecheck.h>

+ Collaboration diagram for ElectricalRuleCheck:

Public Member Functions

 ElectricalRuleCheck (const Project &project) noexcept
 
 ~ElectricalRuleCheck () noexcept
 
RuleCheckMessageList runChecks () const
 

Private Member Functions

void checkNetClasses (RuleCheckMessageList &msgs) const
 
void checkNetSignals (RuleCheckMessageList &msgs) const
 
void checkComponents (RuleCheckMessageList &msgs) const
 
void checkComponentSignals (const ComponentInstance &cmp, RuleCheckMessageList &msgs) const
 
void checkSchematics (RuleCheckMessageList &msgs) const
 
void checkSymbols (const Schematic &schematic, RuleCheckMessageList &msgs) const
 
void checkPins (const SI_Symbol &symbol, RuleCheckMessageList &msgs) const
 
void checkNetSegments (const Schematic &schematic, RuleCheckMessageList &msgs) const
 
void checkNetPoints (const SI_NetSegment &netSegment, RuleCheckMessageList &msgs) const
 

Private Attributes

const ProjectmProject
 
QSet< const NetSignal * > mOpenNetSignals
 

Detailed Description

The ElectricalRuleCheck class checks a librepcb::Board for design rule violations.

Constructor & Destructor Documentation

◆ ElectricalRuleCheck()

ElectricalRuleCheck ( const Project project)
explicitnoexcept

◆ ~ElectricalRuleCheck()

~ElectricalRuleCheck ( )
noexcept

Member Function Documentation

◆ runChecks()

RuleCheckMessageList runChecks ( ) const
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkNetClasses()

void checkNetClasses ( RuleCheckMessageList msgs) const
private
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkNetSignals()

void checkNetSignals ( RuleCheckMessageList msgs) const
private
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkComponents()

void checkComponents ( RuleCheckMessageList msgs) const
private
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkComponentSignals()

void checkComponentSignals ( const ComponentInstance cmp,
RuleCheckMessageList msgs 
) const
private
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkSchematics()

void checkSchematics ( RuleCheckMessageList msgs) const
private
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkSymbols()

void checkSymbols ( const Schematic schematic,
RuleCheckMessageList msgs 
) const
private
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkPins()

void checkPins ( const SI_Symbol symbol,
RuleCheckMessageList msgs 
) const
private
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkNetSegments()

void checkNetSegments ( const Schematic schematic,
RuleCheckMessageList msgs 
) const
private
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkNetPoints()

void checkNetPoints ( const SI_NetSegment netSegment,
RuleCheckMessageList msgs 
) const
private
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ mProject

const Project& mProject
private

◆ mOpenNetSignals

QSet<const NetSignal*> mOpenNetSignals
mutableprivate

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