LibrePCB Developers Documentation
DrcMsgCopperCopperClearanceViolation Class Referencefinal

The DrcMsgCopperCopperClearanceViolation class. More...

#include <boarddesignrulecheckmessages.h>

+ Inheritance diagram for DrcMsgCopperCopperClearanceViolation:
+ Collaboration diagram for DrcMsgCopperCopperClearanceViolation:

Public Member Functions

 DrcMsgCopperCopperClearanceViolation ()=delete
 
 DrcMsgCopperCopperClearanceViolation (const NetSignal *net1, const BI_Base &item1, const Polygon *polygon1, const Circle *circle1, const NetSignal *net2, const BI_Base &item2, const Polygon *polygon2, const Circle *circle2, const QVector< const Layer *> &layers, const Length &minClearance, const QVector< Path > &locations)
 
 DrcMsgCopperCopperClearanceViolation (const DrcMsgCopperCopperClearanceViolation &other) noexcept
 
virtual ~DrcMsgCopperCopperClearanceViolation () noexcept
 
- Public Member Functions inherited from RuleCheckMessage
 RuleCheckMessage ()=delete
 
Severity getSeverity () const noexcept
 
QString getSeverityTr () const noexcept
 
const QIcon & getSeverityIcon () const noexcept
 
const QString & getMessage () const noexcept
 
const QString & getDescription () const noexcept
 
const SExpressiongetApproval () const noexcept
 
const QVector< Path > & getLocations () const noexcept
 
template<typename T >
T * as () noexcept
 
template<typename T >
const T * as () const noexcept
 
bool operator== (const RuleCheckMessage &rhs) const noexcept
 
bool operator!= (const RuleCheckMessage &rhs) const noexcept
 

Static Private Member Functions

static QString getLayerName (const QVector< const Layer *> &layers)
 
static QString getObjectName (const NetSignal *net, const BI_Base &item, const Polygon *polygon, const Circle *circle)
 
static void serializeObject (SExpression &node, const BI_Base &item, const Polygon *polygon, const Circle *circle)
 

Additional Inherited Members

- Public Types inherited from RuleCheckMessage
enum  Severity
 Message severity type (higher number = higher severity) More...
 
- Static Public Member Functions inherited from RuleCheckMessage
static QString getSeverityTr (Severity severity) noexcept
 
static const QIcon & getSeverityIcon (Severity severity) noexcept
 
static QSet< SExpressiongetAllApprovals (const QVector< std::shared_ptr< const RuleCheckMessage >> &messages) noexcept
 
- Protected Member Functions inherited from RuleCheckMessage
 RuleCheckMessage (const RuleCheckMessage &other) noexcept
 
 RuleCheckMessage (Severity severity, const QString &msg, const QString &description, const QString &approvalName, const QVector< Path > &locations={}) noexcept
 
virtual ~RuleCheckMessage () noexcept
 
- Protected Attributes inherited from RuleCheckMessage
Severity mSeverity
 
QString mMessage
 
QString mDescription
 
std::unique_ptr< SExpressionmApproval
 
QVector< PathmLocations
 

Detailed Description

Constructor & Destructor Documentation

◆ DrcMsgCopperCopperClearanceViolation() [1/3]

◆ DrcMsgCopperCopperClearanceViolation() [2/3]

DrcMsgCopperCopperClearanceViolation ( const NetSignal net1,
const BI_Base item1,
const Polygon polygon1,
const Circle circle1,
const NetSignal net2,
const BI_Base item2,
const Polygon polygon2,
const Circle circle2,
const QVector< const Layer *> &  layers,
const Length minClearance,
const QVector< Path > &  locations 
)
+ Here is the call graph for this function:

◆ DrcMsgCopperCopperClearanceViolation() [3/3]

◆ ~DrcMsgCopperCopperClearanceViolation()

virtual ~DrcMsgCopperCopperClearanceViolation ( )
inlinevirtualnoexcept

Member Function Documentation

◆ getLayerName()

QString getLayerName ( const QVector< const Layer *> &  layers)
staticprivate

◆ getObjectName()

QString getObjectName ( const NetSignal net,
const BI_Base item,
const Polygon polygon,
const Circle circle 
)
staticprivate
+ Here is the call graph for this function:

◆ serializeObject()

void serializeObject ( SExpression node,
const BI_Base item,
const Polygon polygon,
const Circle circle 
)
staticprivate
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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