KiCad PCB EDA Suite
|
#include <via_protection_ui_mixin.h>
Classes | |
struct | IPC4761_CONFIGURATION |
Protected Types | |
enum class | IPC4761_SURFACE { FROM_RULES = 0 , NONE = 1 , FRONT = 2 , BACK = 3 , BOTH = 4 , CUSTOM = 5 } |
enum class | IPC4761_DRILL { FROM_RULES = 0 , NOT_SET = 1 , SET = 2 } |
enum class | IPC4761_PRESET { FROM_RULES = 0 , NONE = 1 , IA = 2 , IB = 3 , IA_INVERTED = 4 , IIA = 5 , IIB = 6 , IIA_INVERTED = 7 , IIIA = 8 , IIIB = 9 , IIIA_INVERTED = 10 , IVA = 11 , IVB = 12 , IVA_INVERTED = 13 , V = 14 , VIA = 15 , VIB = 16 , VIA_INVERTED = 17 , VII = 18 , CUSTOM = 19 , END = 20 } |
Protected Member Functions | |
IPC4761_SURFACE | getProtectionSurface (const std::optional< bool > &front, const std::optional< bool > &back) |
IPC4761_DRILL | getProtectionDrill (const std::optional< bool > &drill) |
IPC4761_PRESET | getViaConfiguration (const PCB_VIA *aVia) |
void | setSurfaceProtection (std::optional< bool > &aFront, std::optional< bool > &aBack, IPC4761_SURFACE aProtection) |
void | setDrillProtection (std::optional< bool > &aDrill, IPC4761_DRILL aProtection) |
void | setViaConfiguration (PCB_VIA *aVia, const IPC4761_PRESET &aPreset) |
Protected Attributes | |
const std::map< IPC4761_PRESET, IPC4761_CONFIGURATION > | m_IPC4761Presets |
const std::map< IPC4761_PRESET, wxString > | m_IPC4761Names |
Definition at line 30 of file via_protection_ui_mixin.h.
|
strongprotected |
Enumerator | |
---|---|
FROM_RULES | |
NOT_SET | |
SET |
Definition at line 43 of file via_protection_ui_mixin.h.
|
strongprotected |
Enumerator | |
---|---|
FROM_RULES | |
NONE | |
IA | |
IB | |
IA_INVERTED | |
IIA | |
IIB | |
IIA_INVERTED | |
IIIA | |
IIIB | |
IIIA_INVERTED | |
IVA | |
IVB | |
IVA_INVERTED | |
V | |
VIA | |
VIB | |
VIA_INVERTED | |
VII | |
CUSTOM | |
END |
Definition at line 50 of file via_protection_ui_mixin.h.
|
strongprotected |
Enumerator | |
---|---|
FROM_RULES | |
NONE | |
FRONT | |
BACK | |
BOTH | |
CUSTOM |
Definition at line 33 of file via_protection_ui_mixin.h.
|
inlineprotected |
Definition at line 174 of file via_protection_ui_mixin.h.
References FROM_RULES, NOT_SET, and SET.
Referenced by getViaConfiguration().
|
inlineprotected |
Definition at line 140 of file via_protection_ui_mixin.h.
References BACK, BOTH, CUSTOM, FROM_RULES, FRONT, and NONE.
Referenced by getViaConfiguration().
|
inlineprotected |
Definition at line 184 of file via_protection_ui_mixin.h.
References PADSTACK::BackOuterLayers(), config, CUSTOM, PADSTACK::Drill(), PADSTACK::FrontOuterLayers(), getProtectionDrill(), getProtectionSurface(), PADSTACK::MASK_LAYER_PROPS::has_covering, PADSTACK::MASK_LAYER_PROPS::has_plugging, PADSTACK::MASK_LAYER_PROPS::has_solder_mask, PADSTACK::DRILL_PROPS::is_capped, PADSTACK::DRILL_PROPS::is_filled, m_IPC4761Presets, and PCB_VIA::Padstack().
Referenced by DIALOG_TRACK_VIA_PROPERTIES::TransferDataToWindow().
|
inlineprotected |
Definition at line 239 of file via_protection_ui_mixin.h.
References FROM_RULES, NOT_SET, and SET.
Referenced by setViaConfiguration().
|
inlineprotected |
Definition at line 209 of file via_protection_ui_mixin.h.
References BACK, BOTH, CUSTOM, FROM_RULES, FRONT, and NONE.
Referenced by setViaConfiguration().
|
inlineprotected |
Definition at line 249 of file via_protection_ui_mixin.h.
References PADSTACK::BackOuterLayers(), config, CUSTOM, PADSTACK::Drill(), PADSTACK::FrontOuterLayers(), PADSTACK::MASK_LAYER_PROPS::has_covering, PADSTACK::MASK_LAYER_PROPS::has_plugging, PADSTACK::MASK_LAYER_PROPS::has_solder_mask, PADSTACK::DRILL_PROPS::is_capped, PADSTACK::DRILL_PROPS::is_filled, m_IPC4761Presets, PCB_VIA::Padstack(), setDrillProtection(), and setSurfaceProtection().
Referenced by DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::processItem(), and DIALOG_TRACK_VIA_PROPERTIES::TransferDataFromWindow().
|
protected |
Definition at line 115 of file via_protection_ui_mixin.h.
Referenced by DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS(), and DIALOG_TRACK_VIA_PROPERTIES::DIALOG_TRACK_VIA_PROPERTIES().
|
protected |
Definition at line 86 of file via_protection_ui_mixin.h.
Referenced by getViaConfiguration(), and setViaConfiguration().