LibrePCB Developers Documentation
DrcMsgCopperBoardClearanceViolation Class Referencefinal

The DrcMsgCopperBoardClearanceViolation class. More...

#include <boarddesignrulecheckmessages.h>

+ Inheritance diagram for DrcMsgCopperBoardClearanceViolation:
+ Collaboration diagram for DrcMsgCopperBoardClearanceViolation:

Public Types

using Data = BoardDesignRuleCheckData
 
- Public Types inherited from RuleCheckMessage
enum class  Severity
 Message severity type (higher number = higher severity) More...
 

Public Member Functions

 DrcMsgCopperBoardClearanceViolation ()=delete
 
 DrcMsgCopperBoardClearanceViolation (const Data::Segment &segment, const Data::Via &via, const UnsignedLength &minClearance, const QVector< Path > &locations) noexcept
 
 DrcMsgCopperBoardClearanceViolation (const Data::Segment &segment, const Data::Trace &trace, const UnsignedLength &minClearance, const QVector< Path > &locations) noexcept
 
 DrcMsgCopperBoardClearanceViolation (const Data::Device &device, const Data::Pad &pad, const UnsignedLength &minClearance, const QVector< Path > &locations) noexcept
 
 DrcMsgCopperBoardClearanceViolation (const Data::Plane &plane, const UnsignedLength &minClearance, const QVector< Path > &locations) noexcept
 
 DrcMsgCopperBoardClearanceViolation (const Data::Polygon &polygon, const Data::Device *device, const UnsignedLength &minClearance, const QVector< Path > &locations) noexcept
 
 DrcMsgCopperBoardClearanceViolation (const Data::Device &device, const Data::Circle &circle, const UnsignedLength &minClearance, const QVector< Path > &locations) noexcept
 
 DrcMsgCopperBoardClearanceViolation (const Data::StrokeText &strokeText, const Data::Device *device, const UnsignedLength &minClearance, const QVector< Path > &locations) noexcept
 
 DrcMsgCopperBoardClearanceViolation (const DrcMsgCopperBoardClearanceViolation &other) noexcept
 
virtual ~DrcMsgCopperBoardClearanceViolation () 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
 

Additional Inherited Members

- 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

Member Typedef Documentation

◆ Data

Constructor & Destructor Documentation

◆ DrcMsgCopperBoardClearanceViolation() [1/9]

◆ DrcMsgCopperBoardClearanceViolation() [2/9]

DrcMsgCopperBoardClearanceViolation ( const Data::Segment segment,
const Data::Via via,
const UnsignedLength minClearance,
const QVector< Path > &  locations 
)
noexcept

◆ DrcMsgCopperBoardClearanceViolation() [3/9]

DrcMsgCopperBoardClearanceViolation ( const Data::Segment segment,
const Data::Trace trace,
const UnsignedLength minClearance,
const QVector< Path > &  locations 
)
noexcept

◆ DrcMsgCopperBoardClearanceViolation() [4/9]

DrcMsgCopperBoardClearanceViolation ( const Data::Device device,
const Data::Pad pad,
const UnsignedLength minClearance,
const QVector< Path > &  locations 
)
noexcept

◆ DrcMsgCopperBoardClearanceViolation() [5/9]

DrcMsgCopperBoardClearanceViolation ( const Data::Plane plane,
const UnsignedLength minClearance,
const QVector< Path > &  locations 
)
noexcept

◆ DrcMsgCopperBoardClearanceViolation() [6/9]

DrcMsgCopperBoardClearanceViolation ( const Data::Polygon polygon,
const Data::Device device,
const UnsignedLength minClearance,
const QVector< Path > &  locations 
)
noexcept

◆ DrcMsgCopperBoardClearanceViolation() [7/9]

DrcMsgCopperBoardClearanceViolation ( const Data::Device device,
const Data::Circle circle,
const UnsignedLength minClearance,
const QVector< Path > &  locations 
)
noexcept

◆ DrcMsgCopperBoardClearanceViolation() [8/9]

DrcMsgCopperBoardClearanceViolation ( const Data::StrokeText strokeText,
const Data::Device device,
const UnsignedLength minClearance,
const QVector< Path > &  locations 
)
noexcept

◆ DrcMsgCopperBoardClearanceViolation() [9/9]

◆ ~DrcMsgCopperBoardClearanceViolation()

virtual ~DrcMsgCopperBoardClearanceViolation ( )
inlinevirtualnoexcept

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