KiCad PCB EDA Suite
Loading...
Searching...
No Matches
CREEPAGE_PARITY_FIXTURE Struct Reference

Public Member Functions

 CREEPAGE_PARITY_FIXTURE ()=default
 
 ~CREEPAGE_PARITY_FIXTURE ()
 
std::multiset< wxString > runCreepage ()
 Run the creepage DRC and return the multiset of violation messages.
 

Public Attributes

SETTINGS_MANAGER m_settingsManager
 
std::unique_ptr< BOARDm_board
 

Detailed Description

Definition at line 45 of file test_creepage_engine_parity.cpp.

Constructor & Destructor Documentation

◆ CREEPAGE_PARITY_FIXTURE()

CREEPAGE_PARITY_FIXTURE::CREEPAGE_PARITY_FIXTURE ( )
default

◆ ~CREEPAGE_PARITY_FIXTURE()

CREEPAGE_PARITY_FIXTURE::~CREEPAGE_PARITY_FIXTURE ( )
inline

Definition at line 49 of file test_creepage_engine_parity.cpp.

References m_board.

Member Function Documentation

◆ runCreepage()

std::multiset< wxString > CREEPAGE_PARITY_FIXTURE::runCreepage ( )
inline

Run the creepage DRC and return the multiset of violation messages.

Messages carry the constraint name and distances but not the violating items; Dijkstra breaks ties by node pointer, so equal-length paths can resolve to different equidistant items between runs.

Definition at line 64 of file test_creepage_engine_parity.cpp.

References DRC_ENGINE::ClearViolationHandler(), DRCE_CREEPAGE, DRCE_FIRST, DRCE_LAST, BOARD_DESIGN_SETTINGS::GetSeverity(), m_board, BOARD_DESIGN_SETTINGS::m_DRCEngine, BOARD_DESIGN_SETTINGS::m_DRCSeverities, MM, result, RPT_SEVERITY_ERROR, RPT_SEVERITY_IGNORE, DRC_ENGINE::RunTests(), and DRC_ENGINE::SetViolationHandler().

Referenced by checkParity().

Member Data Documentation

◆ m_board

std::unique_ptr<BOARD> CREEPAGE_PARITY_FIXTURE::m_board

◆ m_settingsManager

SETTINGS_MANAGER CREEPAGE_PARITY_FIXTURE::m_settingsManager

Definition at line 88 of file test_creepage_engine_parity.cpp.

Referenced by checkParity().


The documentation for this struct was generated from the following file: