KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PNS::SIZES_SETTINGS Class Reference

#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
 

Detailed Description

Definition at line 37 of file pns_sizes_settings.h.

Constructor & Destructor Documentation

◆ SIZES_SETTINGS()

PNS::SIZES_SETTINGS::SIZES_SETTINGS ( )
inline

Definition at line 40 of file pns_sizes_settings.h.

◆ ~SIZES_SETTINGS()

PNS::SIZES_SETTINGS::~SIZES_SETTINGS ( )
inline

Definition at line 57 of file pns_sizes_settings.h.

Member Function Documentation

◆ AddLayerPair()

void PNS::SIZES_SETTINGS::AddLayerPair ( int  aL1,
int  aL2 
)

◆ BoardMinTrackWidth()

int PNS::SIZES_SETTINGS::BoardMinTrackWidth ( ) const
inline

Definition at line 77 of file pns_sizes_settings.h.

References m_boardMinTrackWidth.

Referenced by PNS::ROUTER::isStartingPointRoutable().

◆ Clearance()

int PNS::SIZES_SETTINGS::Clearance ( ) const
inline

Definition at line 64 of file pns_sizes_settings.h.

References m_clearance.

Referenced by pickSegment(), and ROUTER_TOOL::UpdateMessagePanel().

◆ ClearLayerPairs()

void PNS::SIZES_SETTINGS::ClearLayerPairs ( )

Definition at line 30 of file pns_sizes_settings.cpp.

References m_layerPairs.

Referenced by ROUTER_TOOL::handleLayerSwitch().

◆ DiffPairGap()

◆ DiffPairViaGap()

◆ DiffPairViaGapSameAsTraceGap()

bool PNS::SIZES_SETTINGS::DiffPairViaGapSameAsTraceGap ( ) const
inline

◆ DiffPairWidth()

◆ GetClearanceSource()

wxString PNS::SIZES_SETTINGS::GetClearanceSource ( ) const
inline

Definition at line 122 of file pns_sizes_settings.h.

References m_clearanceSource.

Referenced by ROUTER_TOOL::UpdateMessagePanel().

◆ GetDiffPairGapSource()

wxString PNS::SIZES_SETTINGS::GetDiffPairGapSource ( ) const
inline

Definition at line 131 of file pns_sizes_settings.h.

References m_diffPairGapSource.

Referenced by ROUTER_TOOL::UpdateMessagePanel().

◆ GetDiffPairHoleToHole()

int PNS::SIZES_SETTINGS::GetDiffPairHoleToHole ( ) const
inline

Definition at line 135 of file pns_sizes_settings.h.

References m_diffPairHoleToHole.

Referenced by PNS::DIFF_PAIR_PLACER::viaGap().

◆ GetDiffPairWidthSource()

wxString PNS::SIZES_SETTINGS::GetDiffPairWidthSource ( ) const
inline

Definition at line 128 of file pns_sizes_settings.h.

References m_diffPairWidthSource.

Referenced by ROUTER_TOOL::UpdateMessagePanel().

◆ GetHoleToHole()

int PNS::SIZES_SETTINGS::GetHoleToHole ( ) const
inline

Definition at line 117 of file pns_sizes_settings.h.

References m_holeToHole.

◆ GetLayerBottom()

int PNS::SIZES_SETTINGS::GetLayerBottom ( ) const

◆ GetLayerTop()

int PNS::SIZES_SETTINGS::GetLayerTop ( ) const

◆ GetWidthSource()

wxString PNS::SIZES_SETTINGS::GetWidthSource ( ) const
inline

Definition at line 125 of file pns_sizes_settings.h.

References m_widthSource.

Referenced by ROUTER_TOOL::UpdateMessagePanel().

◆ MinClearance()

int PNS::SIZES_SETTINGS::MinClearance ( ) const
inline

Definition at line 68 of file pns_sizes_settings.h.

References m_minClearance.

Referenced by PNS::ROUTER::isStartingPointRoutable().

◆ PairedLayer()

std::optional< int > PNS::SIZES_SETTINGS::PairedLayer ( int  aLayerId)
inline

Definition at line 105 of file pns_sizes_settings.h.

References m_layerPairs.

Referenced by ROUTER_TOOL::switchLayerOnViaPlacement().

◆ SetBoardMinTrackWidth()

void PNS::SIZES_SETTINGS::SetBoardMinTrackWidth ( int  aWidth)
inline

Definition at line 78 of file pns_sizes_settings.h.

References m_boardMinTrackWidth.

Referenced by PNS_KICAD_IFACE_BASE::ImportSizes().

◆ SetClearance()

void PNS::SIZES_SETTINGS::SetClearance ( int  aClearance)
inline

◆ SetClearanceSource()

void PNS::SIZES_SETTINGS::SetClearanceSource ( const wxString &  aSource)
inline

◆ SetDiffPairGap()

void PNS::SIZES_SETTINGS::SetDiffPairGap ( int  aGap)
inline

◆ SetDiffPairGapSource()

void PNS::SIZES_SETTINGS::SetDiffPairGapSource ( const wxString &  aSource)
inline

◆ SetDiffPairHoleToHole()

void PNS::SIZES_SETTINGS::SetDiffPairHoleToHole ( int  aHoleToHole)
inline

Definition at line 134 of file pns_sizes_settings.h.

References m_diffPairHoleToHole.

Referenced by PNS_KICAD_IFACE_BASE::ImportSizes().

◆ SetDiffPairViaGap()

void PNS::SIZES_SETTINGS::SetDiffPairViaGap ( int  aGap)
inline

◆ SetDiffPairViaGapSameAsTraceGap()

void PNS::SIZES_SETTINGS::SetDiffPairViaGapSameAsTraceGap ( bool  aEnable)
inline

◆ SetDiffPairWidth()

void PNS::SIZES_SETTINGS::SetDiffPairWidth ( int  aWidth)
inline

◆ SetDiffPairWidthSource()

void PNS::SIZES_SETTINGS::SetDiffPairWidthSource ( const wxString &  aSource)
inline

◆ SetHoleToHole()

void PNS::SIZES_SETTINGS::SetHoleToHole ( int  aHoleToHole)
inline

Definition at line 116 of file pns_sizes_settings.h.

References m_holeToHole.

Referenced by PNS_KICAD_IFACE_BASE::ImportSizes().

◆ SetMinClearance()

void PNS::SIZES_SETTINGS::SetMinClearance ( int  aClearance)
inline

Definition at line 69 of file pns_sizes_settings.h.

References m_minClearance.

Referenced by PNS_KICAD_IFACE_BASE::ImportSizes().

◆ SetTrackWidth()

void PNS::SIZES_SETTINGS::SetTrackWidth ( int  aWidth)
inline

◆ SetTrackWidthIsExplicit()

void PNS::SIZES_SETTINGS::SetTrackWidthIsExplicit ( bool  aIsExplicit)
inline

Definition at line 75 of file pns_sizes_settings.h.

References m_trackWidthIsExplicit.

Referenced by PNS_KICAD_IFACE_BASE::ImportSizes().

◆ SetViaDiameter()

void PNS::SIZES_SETTINGS::SetViaDiameter ( int  aDiameter)
inline

◆ SetViaDrill()

void PNS::SIZES_SETTINGS::SetViaDrill ( int  aDrill)
inline

◆ SetViaType()

void PNS::SIZES_SETTINGS::SetViaType ( VIATYPE  aViaType)
inline

Definition at line 119 of file pns_sizes_settings.h.

References m_viaType.

Referenced by ROUTER_TOOL::handleLayerSwitch().

◆ SetWidthSource()

void PNS::SIZES_SETTINGS::SetWidthSource ( const wxString &  aSource)
inline

◆ TrackWidth()

◆ TrackWidthIsExplicit()

bool PNS::SIZES_SETTINGS::TrackWidthIsExplicit ( ) const
inline

◆ ViaDiameter()

◆ ViaDrill()

◆ ViaType()

VIATYPE PNS::SIZES_SETTINGS::ViaType ( ) const
inline

Member Data Documentation

◆ m_boardMinTrackWidth

int PNS::SIZES_SETTINGS::m_boardMinTrackWidth
private

Definition at line 142 of file pns_sizes_settings.h.

Referenced by BoardMinTrackWidth(), and SetBoardMinTrackWidth().

◆ m_clearance

int PNS::SIZES_SETTINGS::m_clearance
private

Definition at line 138 of file pns_sizes_settings.h.

Referenced by Clearance(), and SetClearance().

◆ m_clearanceSource

wxString PNS::SIZES_SETTINGS::m_clearanceSource
private

Definition at line 158 of file pns_sizes_settings.h.

Referenced by GetClearanceSource(), and SetClearanceSource().

◆ m_diffPairGap

int PNS::SIZES_SETTINGS::m_diffPairGap
private

Definition at line 149 of file pns_sizes_settings.h.

Referenced by DiffPairGap(), DiffPairViaGap(), and SetDiffPairGap().

◆ m_diffPairGapSource

wxString PNS::SIZES_SETTINGS::m_diffPairGapSource
private

Definition at line 161 of file pns_sizes_settings.h.

Referenced by GetDiffPairGapSource(), and SetDiffPairGapSource().

◆ m_diffPairHoleToHole

int PNS::SIZES_SETTINGS::m_diffPairHoleToHole
private

Definition at line 154 of file pns_sizes_settings.h.

Referenced by GetDiffPairHoleToHole(), and SetDiffPairHoleToHole().

◆ m_diffPairViaGap

int PNS::SIZES_SETTINGS::m_diffPairViaGap
private

Definition at line 150 of file pns_sizes_settings.h.

Referenced by DiffPairViaGap(), and SetDiffPairViaGap().

◆ m_diffPairViaGapSameAsTraceGap

bool PNS::SIZES_SETTINGS::m_diffPairViaGapSameAsTraceGap
private

◆ m_diffPairWidth

int PNS::SIZES_SETTINGS::m_diffPairWidth
private

Definition at line 148 of file pns_sizes_settings.h.

Referenced by DiffPairWidth(), and SetDiffPairWidth().

◆ m_diffPairWidthSource

wxString PNS::SIZES_SETTINGS::m_diffPairWidthSource
private

Definition at line 160 of file pns_sizes_settings.h.

Referenced by GetDiffPairWidthSource(), and SetDiffPairWidthSource().

◆ m_holeToHole

int PNS::SIZES_SETTINGS::m_holeToHole
private

Definition at line 153 of file pns_sizes_settings.h.

Referenced by GetHoleToHole(), and SetHoleToHole().

◆ m_layerPairs

std::map<int, int> PNS::SIZES_SETTINGS::m_layerPairs
private

◆ m_minClearance

int PNS::SIZES_SETTINGS::m_minClearance
private

Definition at line 139 of file pns_sizes_settings.h.

Referenced by MinClearance(), and SetMinClearance().

◆ m_trackWidth

int PNS::SIZES_SETTINGS::m_trackWidth
private

Definition at line 140 of file pns_sizes_settings.h.

Referenced by SetTrackWidth(), and TrackWidth().

◆ m_trackWidthIsExplicit

bool PNS::SIZES_SETTINGS::m_trackWidthIsExplicit
private

Definition at line 141 of file pns_sizes_settings.h.

Referenced by SetTrackWidthIsExplicit(), and TrackWidthIsExplicit().

◆ m_viaDiameter

int PNS::SIZES_SETTINGS::m_viaDiameter
private

Definition at line 145 of file pns_sizes_settings.h.

Referenced by SetViaDiameter(), and ViaDiameter().

◆ m_viaDrill

int PNS::SIZES_SETTINGS::m_viaDrill
private

Definition at line 146 of file pns_sizes_settings.h.

Referenced by SetViaDrill(), and ViaDrill().

◆ m_viaType

VIATYPE PNS::SIZES_SETTINGS::m_viaType
private

Definition at line 144 of file pns_sizes_settings.h.

Referenced by SetViaType(), and ViaType().

◆ m_widthSource

wxString PNS::SIZES_SETTINGS::m_widthSource
private

Definition at line 159 of file pns_sizes_settings.h.

Referenced by GetWidthSource(), and SetWidthSource().


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