![]() |
LibrePCB Developers Documentation
|
The BoardDesignRuleCheck class checks a librepcb::Board for design rule violations. More...
#include <boarddesignrulecheck.h>
Inherits QObject.
Collaboration diagram for BoardDesignRuleCheck:Classes | |
| struct | CalculatedJobData |
| struct | Result |
Public Types | |
| using | Data = BoardDesignRuleCheckData |
Signals | |
| void | started () |
| void | progressPercent (int percent) |
| void | progressStatus (const QString &msg) |
| void | finished (Result result) |
Public Member Functions | |
| BoardDesignRuleCheck (QObject *parent=nullptr) noexcept | |
| ~BoardDesignRuleCheck () noexcept | |
| void | start (Board &board, const BoardDesignRuleCheckSettings &settings, bool quick) noexcept |
| bool | isRunning () const noexcept |
| Result | waitForFinished () const noexcept |
| Wait until the asynchronous operation is finished. | |
| void | cancel () noexcept |
| Cancel the current asynchronous job. | |
Private Types | |
| typedef std::function< RuleCheckMessageList()> | JobFunc |
| typedef std::function< void(const Data &, CalculatedJobData &)> | Stage1Func |
| typedef RuleCheckMessageList(BoardDesignRuleCheck::* | Stage2Func) (const Data &, const CalculatedJobData &) |
| typedef RuleCheckMessageList(BoardDesignRuleCheck::* | IndependentStageFunc) (const Data &) |
Static Private Member Functions | |
| static void | checkMinimumWidth (RuleCheckMessageList &messages, const Data &data, const UnsignedLength &minWidth, std::function< bool(const Layer &)> layerFilter) |
| static bool | requiresHoleSlotWarning (const Data::Hole &hole, BoardDesignRuleCheckSettings::AllowedSlots allowed) |
| static ClipperLib::Paths | getBoardClearanceArea (const Data &data, const UnsignedLength &clearance) |
| static QVector< Path > | getBoardOutlines (const Data &data, const QSet< const Layer * > &layers) noexcept |
| static ClipperLib::Paths | getDeviceOutlinePaths (const Data::Device &device, const Layer &layer) |
| static QVector< Path > | getDeviceLocation (const Data::Device &device) |
| static QVector< Path > | getViaLocation (const Data::Via &via) noexcept |
| static bool | isViaUseless (const Data &data, const Data::Segment &ns, const Data::Via &via) noexcept |
| static QVector< Path > | getTraceLocation (const Data::Trace &trace) noexcept |
| static QVector< Path > | getHoleLocation (const Data::Hole &hole, const Transform &transform=Transform()) noexcept |
| static PositiveLength | maxArcTolerance () noexcept |
Private Attributes | |
| QMutex | mMutex |
| int | mProgressTotal = 0 |
| int | mProgressCounter = 0 |
| QFuture< Result > | mFuture |
| bool | mAbort = false |
The BoardDesignRuleCheck class checks a librepcb::Board for design rule violations.
| using Data = BoardDesignRuleCheckData |
|
private |
|
private |
|
private |
|
private |
|
explicitnoexcept |
|
noexcept |
Here is the call graph for this function:
|
noexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
|
noexcept |
Wait until the asynchronous operation is finished.
Here is the caller graph for this function:
|
noexcept |
Cancel the current asynchronous job.
Here is the caller graph for this function:
|
signal |
|
signal |
|
signal |
|
signal |
|
privatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivate |
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivate |
Here is the caller graph for this function:
|
staticprivate |
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivate |
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivate |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
privatenoexcept |
|
privatenoexcept |
Here is the caller graph for this function:
|
inlinestaticprivatenoexcept |
Returns the maximum allowed arc tolerance when flattening arcs.
Here is the caller graph for this function:
|
private |
|
private |
|
private |
|
private |
|
private |