KiCad PCB EDA Suite
|
#include <pns_sizes_settings.h>
Public Member Functions | |
SIZES_SETTINGS () | |
~SIZES_SETTINGS () | |
void | ClearLayerPairs () |
void | AddLayerPair (int aL1, int aL2) |
int | Clearance () const |
void | SetClearance (int aClearance) |
int | MinClearance () const |
void | SetMinClearance (int aClearance) |
int | TrackWidth () const |
void | SetTrackWidth (int aWidth) |
bool | TrackWidthIsExplicit () const |
void | SetTrackWidthIsExplicit (bool aIsExplicit) |
int | BoardMinTrackWidth () const |
void | SetBoardMinTrackWidth (int aWidth) |
int | DiffPairWidth () const |
int | DiffPairGap () const |
int | DiffPairViaGap () const |
bool | DiffPairViaGapSameAsTraceGap () const |
void | SetDiffPairWidth (int aWidth) |
void | SetDiffPairGap (int aGap) |
void | SetDiffPairViaGapSameAsTraceGap (bool aEnable) |
void | SetDiffPairViaGap (int aGap) |
int | ViaDiameter () const |
void | SetViaDiameter (int aDiameter) |
int | ViaDrill () const |
void | SetViaDrill (int aDrill) |
std::optional< int > | PairedLayer (int aLayerId) |
int | GetLayerTop () const |
int | GetLayerBottom () const |
void | SetHoleToHole (int aHoleToHole) |
int | GetHoleToHole () const |
void | SetViaType (VIATYPE aViaType) |
VIATYPE | ViaType () const |
wxString | GetClearanceSource () const |
void | SetClearanceSource (const wxString &aSource) |
wxString | GetWidthSource () const |
void | SetWidthSource (const wxString &aSource) |
wxString | GetDiffPairWidthSource () const |
void | SetDiffPairWidthSource (const wxString &aSource) |
wxString | GetDiffPairGapSource () const |
void | SetDiffPairGapSource (const wxString &aSource) |
void | SetDiffPairHoleToHole (int aHoleToHole) |
int | GetDiffPairHoleToHole () const |
Private Attributes | |
int | m_clearance |
int | m_minClearance |
int | m_trackWidth |
bool | m_trackWidthIsExplicit |
int | m_boardMinTrackWidth |
VIATYPE | m_viaType |
int | m_viaDiameter |
int | m_viaDrill |
int | m_diffPairWidth |
int | m_diffPairGap |
int | m_diffPairViaGap |
bool | m_diffPairViaGapSameAsTraceGap |
int | m_holeToHole |
int | m_diffPairHoleToHole |
std::map< int, int > | m_layerPairs |
wxString | m_clearanceSource |
wxString | m_widthSource |
wxString | m_diffPairWidthSource |
wxString | m_diffPairGapSource |
Definition at line 37 of file pns_sizes_settings.h.
|
inline |
Definition at line 40 of file pns_sizes_settings.h.
|
inline |
Definition at line 57 of file pns_sizes_settings.h.
void PNS::SIZES_SETTINGS::AddLayerPair | ( | int | aL1, |
int | aL2 | ||
) |
Definition at line 36 of file pns_sizes_settings.cpp.
References m_layerPairs.
Referenced by ROUTER_TOOL::handleLayerSwitch(), and ROUTER_TOOL::prepareInteractive().
|
inline |
Definition at line 77 of file pns_sizes_settings.h.
References m_boardMinTrackWidth.
Referenced by PNS::ROUTER::isStartingPointRoutable().
|
inline |
Definition at line 64 of file pns_sizes_settings.h.
References m_clearance.
Referenced by pickSegment(), and ROUTER_TOOL::UpdateMessagePanel().
void PNS::SIZES_SETTINGS::ClearLayerPairs | ( | ) |
Definition at line 30 of file pns_sizes_settings.cpp.
References m_layerPairs.
Referenced by ROUTER_TOOL::handleLayerSwitch().
|
inline |
Definition at line 81 of file pns_sizes_settings.h.
References m_diffPairGap.
Referenced by ROUTER_TOOL::DpDimensionsDialog(), PNS::DIFF_PAIR_PLACER::gap(), PNS::ROUTER::isStartingPointRoutable(), PNS::DIFF_PAIR_PLACER::propagateDpHeadForces(), PNS::DIFF_PAIR_PLACER::routeHead(), DIALOG_PNS_DIFF_PAIR_DIMENSIONS::TransferDataToWindow(), PCB_TUNING_PATTERN::Update(), ROUTER_TOOL::UpdateMessagePanel(), PNS::DIFF_PAIR_PLACER::UpdateSizes(), and ROUTER_TOOL::updateSizesAfterRouterEvent().
|
inline |
Definition at line 83 of file pns_sizes_settings.h.
References m_diffPairGap, m_diffPairViaGap, and m_diffPairViaGapSameAsTraceGap.
Referenced by ROUTER_TOOL::DpDimensionsDialog(), DIALOG_PNS_DIFF_PAIR_DIMENSIONS::TransferDataToWindow(), and PNS::DIFF_PAIR_PLACER::viaGap().
|
inline |
Definition at line 88 of file pns_sizes_settings.h.
References m_diffPairViaGapSameAsTraceGap.
Referenced by DIALOG_PNS_DIFF_PAIR_DIMENSIONS::TransferDataToWindow().
|
inline |
Definition at line 80 of file pns_sizes_settings.h.
References m_diffPairWidth.
Referenced by ROUTER_TOOL::DpDimensionsDialog(), PNS::DIFF_PAIR_PLACER::gap(), PNS::ROUTER::isStartingPointRoutable(), PNS::DIFF_PAIR_PLACER::propagateDpHeadForces(), PNS::DIFF_PAIR_PLACER::routeHead(), DIALOG_PNS_DIFF_PAIR_DIMENSIONS::TransferDataToWindow(), ROUTER_TOOL::UpdateMessagePanel(), PNS::DIFF_PAIR_PLACER::UpdateSizes(), and ROUTER_TOOL::updateSizesAfterRouterEvent().
|
inline |
Definition at line 122 of file pns_sizes_settings.h.
References m_clearanceSource.
Referenced by ROUTER_TOOL::UpdateMessagePanel().
|
inline |
Definition at line 131 of file pns_sizes_settings.h.
References m_diffPairGapSource.
Referenced by ROUTER_TOOL::UpdateMessagePanel().
|
inline |
Definition at line 135 of file pns_sizes_settings.h.
References m_diffPairHoleToHole.
Referenced by PNS::DIFF_PAIR_PLACER::viaGap().
|
inline |
Definition at line 128 of file pns_sizes_settings.h.
References m_diffPairWidthSource.
Referenced by ROUTER_TOOL::UpdateMessagePanel().
|
inline |
Definition at line 117 of file pns_sizes_settings.h.
References m_holeToHole.
int PNS::SIZES_SETTINGS::GetLayerBottom | ( | ) | const |
Definition at line 55 of file pns_sizes_settings.cpp.
References B_Cu, and m_layerPairs.
Referenced by PNS::LOGGER::FormatEvent(), PNS::LINE_PLACER::makeVia(), and PNS::DIFF_PAIR_PLACER::makeVia().
int PNS::SIZES_SETTINGS::GetLayerTop | ( | ) | const |
Definition at line 46 of file pns_sizes_settings.cpp.
References F_Cu, and m_layerPairs.
Referenced by PNS::LOGGER::FormatEvent(), PNS::LINE_PLACER::makeVia(), PNS::DIFF_PAIR_PLACER::makeVia(), and ROUTER_TOOL::switchLayerOnViaPlacement().
|
inline |
Definition at line 125 of file pns_sizes_settings.h.
References m_widthSource.
Referenced by ROUTER_TOOL::UpdateMessagePanel().
|
inline |
Definition at line 68 of file pns_sizes_settings.h.
References m_minClearance.
Referenced by PNS::ROUTER::isStartingPointRoutable().
|
inline |
Definition at line 105 of file pns_sizes_settings.h.
References m_layerPairs.
Referenced by ROUTER_TOOL::switchLayerOnViaPlacement().
|
inline |
Definition at line 78 of file pns_sizes_settings.h.
References m_boardMinTrackWidth.
Referenced by PNS_KICAD_IFACE_BASE::ImportSizes().
|
inline |
Definition at line 65 of file pns_sizes_settings.h.
References m_clearance.
Referenced by PNS_KICAD_IFACE_BASE::ImportSizes(), and ROUTER_TOOL::updateSizesAfterRouterEvent().
|
inline |
Definition at line 123 of file pns_sizes_settings.h.
References m_clearanceSource.
Referenced by PNS_KICAD_IFACE_BASE::ImportSizes(), and ROUTER_TOOL::updateSizesAfterRouterEvent().
|
inline |
Definition at line 91 of file pns_sizes_settings.h.
References m_diffPairGap.
Referenced by PNS_KICAD_IFACE_BASE::ImportSizes(), DIALOG_PNS_DIFF_PAIR_DIMENSIONS::TransferDataFromWindow(), and ROUTER_TOOL::updateSizesAfterRouterEvent().
|
inline |
Definition at line 132 of file pns_sizes_settings.h.
References m_diffPairGapSource.
Referenced by PNS_KICAD_IFACE_BASE::ImportSizes(), DIALOG_PNS_DIFF_PAIR_DIMENSIONS::TransferDataFromWindow(), and ROUTER_TOOL::updateSizesAfterRouterEvent().
|
inline |
Definition at line 134 of file pns_sizes_settings.h.
References m_diffPairHoleToHole.
Referenced by PNS_KICAD_IFACE_BASE::ImportSizes().
|
inline |
Definition at line 97 of file pns_sizes_settings.h.
References m_diffPairViaGap.
Referenced by PNS_KICAD_IFACE_BASE::ImportSizes(), and DIALOG_PNS_DIFF_PAIR_DIMENSIONS::TransferDataFromWindow().
|
inline |
Definition at line 92 of file pns_sizes_settings.h.
References m_diffPairViaGapSameAsTraceGap.
Referenced by PNS_KICAD_IFACE_BASE::ImportSizes(), and DIALOG_PNS_DIFF_PAIR_DIMENSIONS::updateCheckbox().
|
inline |
Definition at line 90 of file pns_sizes_settings.h.
References m_diffPairWidth.
Referenced by PNS_KICAD_IFACE_BASE::ImportSizes(), DIALOG_PNS_DIFF_PAIR_DIMENSIONS::TransferDataFromWindow(), and ROUTER_TOOL::updateSizesAfterRouterEvent().
|
inline |
Definition at line 129 of file pns_sizes_settings.h.
References m_diffPairWidthSource.
Referenced by PNS_KICAD_IFACE_BASE::ImportSizes(), DIALOG_PNS_DIFF_PAIR_DIMENSIONS::TransferDataFromWindow(), and ROUTER_TOOL::updateSizesAfterRouterEvent().
|
inline |
Definition at line 116 of file pns_sizes_settings.h.
References m_holeToHole.
Referenced by PNS_KICAD_IFACE_BASE::ImportSizes().
|
inline |
Definition at line 69 of file pns_sizes_settings.h.
References m_minClearance.
Referenced by PNS_KICAD_IFACE_BASE::ImportSizes().
|
inline |
Definition at line 72 of file pns_sizes_settings.h.
References m_trackWidth.
Referenced by PNS_KICAD_IFACE_BASE::ImportSizes(), and ROUTER_TOOL::updateSizesAfterRouterEvent().
|
inline |
Definition at line 75 of file pns_sizes_settings.h.
References m_trackWidthIsExplicit.
Referenced by PNS_KICAD_IFACE_BASE::ImportSizes().
|
inline |
Definition at line 100 of file pns_sizes_settings.h.
References m_viaDiameter.
Referenced by ROUTER_TOOL::handleLayerSwitch(), and PNS_KICAD_IFACE_BASE::ImportSizes().
|
inline |
Definition at line 103 of file pns_sizes_settings.h.
References m_viaDrill.
Referenced by ROUTER_TOOL::handleLayerSwitch(), and PNS_KICAD_IFACE_BASE::ImportSizes().
|
inline |
Definition at line 119 of file pns_sizes_settings.h.
References m_viaType.
Referenced by ROUTER_TOOL::handleLayerSwitch().
|
inline |
Definition at line 126 of file pns_sizes_settings.h.
References m_widthSource.
Referenced by PNS_KICAD_IFACE_BASE::ImportSizes(), and ROUTER_TOOL::updateSizesAfterRouterEvent().
|
inline |
Definition at line 71 of file pns_sizes_settings.h.
References m_trackWidth.
Referenced by PNS::LOGGER::FormatEvent(), PNS::LINE_PLACER::initPlacement(), PNS::ROUTER::isStartingPointRoutable(), pickSegment(), ROUTER_TOOL::UpdateMessagePanel(), PNS::LINE_PLACER::UpdateSizes(), and ROUTER_TOOL::updateSizesAfterRouterEvent().
|
inline |
Definition at line 74 of file pns_sizes_settings.h.
References m_trackWidthIsExplicit.
Referenced by PNS::LOGGER::FormatEvent(), PNS::LINE_PLACER::UpdateSizes(), and ROUTER_TOOL::updateSizesAfterRouterEvent().
|
inline |
Definition at line 99 of file pns_sizes_settings.h.
References m_viaDiameter.
Referenced by PNS::LOGGER::FormatEvent(), PNS::LINE_PLACER::makeVia(), PNS::DIFF_PAIR_PLACER::makeVia(), PNS::DIFF_PAIR_PLACER::routeHead(), PNS::DIFF_PAIR_PLACER::UpdateSizes(), PNS::LINE_PLACER::UpdateSizes(), and PNS::DIFF_PAIR_PLACER::viaGap().
|
inline |
Definition at line 102 of file pns_sizes_settings.h.
References m_viaDrill.
Referenced by PNS::LOGGER::FormatEvent(), PNS::LINE_PLACER::makeVia(), PNS::DIFF_PAIR_PLACER::makeVia(), PNS::DIFF_PAIR_PLACER::UpdateSizes(), PNS::LINE_PLACER::UpdateSizes(), and PNS::DIFF_PAIR_PLACER::viaGap().
|
inline |
Definition at line 120 of file pns_sizes_settings.h.
References m_viaType.
Referenced by PNS::LOGGER::FormatEvent(), PNS::LINE_PLACER::makeVia(), and PNS::DIFF_PAIR_PLACER::makeVia().
|
private |
Definition at line 142 of file pns_sizes_settings.h.
Referenced by BoardMinTrackWidth(), and SetBoardMinTrackWidth().
|
private |
Definition at line 138 of file pns_sizes_settings.h.
Referenced by Clearance(), and SetClearance().
|
private |
Definition at line 158 of file pns_sizes_settings.h.
Referenced by GetClearanceSource(), and SetClearanceSource().
|
private |
Definition at line 149 of file pns_sizes_settings.h.
Referenced by DiffPairGap(), DiffPairViaGap(), and SetDiffPairGap().
|
private |
Definition at line 161 of file pns_sizes_settings.h.
Referenced by GetDiffPairGapSource(), and SetDiffPairGapSource().
|
private |
Definition at line 154 of file pns_sizes_settings.h.
Referenced by GetDiffPairHoleToHole(), and SetDiffPairHoleToHole().
|
private |
Definition at line 150 of file pns_sizes_settings.h.
Referenced by DiffPairViaGap(), and SetDiffPairViaGap().
|
private |
Definition at line 151 of file pns_sizes_settings.h.
Referenced by DiffPairViaGap(), DiffPairViaGapSameAsTraceGap(), and SetDiffPairViaGapSameAsTraceGap().
|
private |
Definition at line 148 of file pns_sizes_settings.h.
Referenced by DiffPairWidth(), and SetDiffPairWidth().
|
private |
Definition at line 160 of file pns_sizes_settings.h.
Referenced by GetDiffPairWidthSource(), and SetDiffPairWidthSource().
|
private |
Definition at line 153 of file pns_sizes_settings.h.
Referenced by GetHoleToHole(), and SetHoleToHole().
|
private |
Definition at line 156 of file pns_sizes_settings.h.
Referenced by AddLayerPair(), ClearLayerPairs(), GetLayerBottom(), GetLayerTop(), and PairedLayer().
|
private |
Definition at line 139 of file pns_sizes_settings.h.
Referenced by MinClearance(), and SetMinClearance().
|
private |
Definition at line 140 of file pns_sizes_settings.h.
Referenced by SetTrackWidth(), and TrackWidth().
|
private |
Definition at line 141 of file pns_sizes_settings.h.
Referenced by SetTrackWidthIsExplicit(), and TrackWidthIsExplicit().
|
private |
Definition at line 145 of file pns_sizes_settings.h.
Referenced by SetViaDiameter(), and ViaDiameter().
|
private |
Definition at line 146 of file pns_sizes_settings.h.
Referenced by SetViaDrill(), and ViaDrill().
|
private |
Definition at line 144 of file pns_sizes_settings.h.
Referenced by SetViaType(), and ViaType().
|
private |
Definition at line 159 of file pns_sizes_settings.h.
Referenced by GetWidthSource(), and SetWidthSource().