|
KiCad PCB EDA Suite
|
#include <fab_drill_model.h>
Public Member Functions | |
| FAB_DRILL_MODEL (const BOARD &aBoard) | |
| FAB_DRILL_MODEL (const FAB_DRILL_MODEL &)=delete | |
| FAB_DRILL_MODEL & | operator= (const FAB_DRILL_MODEL &)=delete |
| const std::vector< FAB_DRILL_LAYER > & | Layers () const |
| const FAB_DRILL_FACTS & | Facts () const |
| const DRILL_OPERATION * | Find (const DRILL_SPAN &aSpan, const BOARD_ITEM *aItem, bool aIgnorePlating=false) const |
Private Types | |
| using | INDEX_KEY = std::tuple<DRILL_LAYER_PAIR, bool, PCB_LAYER_ID> |
| Backdrills keep their start layer so a reverse backdrill on the same item stays separate. | |
Static Private Member Functions | |
| static INDEX_KEY | indexKey (const DRILL_SPAN &aSpan) |
Private Attributes | |
| std::vector< FAB_DRILL_LAYER > | m_layers |
| FAB_DRILL_FACTS | m_facts |
| std::map< INDEX_KEY, std::unordered_map< const BOARD_ITEM *, const DRILL_OPERATION * > > | m_index |
Definition at line 53 of file fab_drill_model.h.
|
private |
Backdrills keep their start layer so a reverse backdrill on the same item stays separate.
Definition at line 68 of file fab_drill_model.h.
|
explicit |
Definition at line 28 of file fab_drill_model.cpp.
References COUNTERBORE, COUNTERSINK, EnumerateDrillOperations(), EnumerateDrillSpans(), HOLE_PAD_PRESSFIT, indexKey(), DRILL_OPERATION::IsBackdrill(), DRILL_OPERATION::m_Attribute, DRILL_OPERATION::m_BackPostMachining, m_facts, DRILL_OPERATION::m_FrontPostMachining, FAB_DRILL_LAYER::m_Holes, m_index, DRILL_OPERATION::m_IsSlot, m_layers, DRILL_QUERY::m_MergePTHNPTH, DRILL_OPERATION::m_NotPlated, DRILL_QUERY::m_PadMachining, FAB_DRILL_LAYER::m_Slots, DRILL_OPERATION::m_SourceItem, DRILL_QUERY::m_Span, and FAB_DRILL_LAYER::m_Span.
Referenced by FAB_DRILL_MODEL(), and operator=().
|
delete |
References FAB_DRILL_MODEL().
|
inline |
Definition at line 61 of file fab_drill_model.h.
References m_facts.
Referenced by ODB_MISC_ENTITY::GenerateMetadataFile().
| const DRILL_OPERATION * FAB_DRILL_MODEL::Find | ( | const DRILL_SPAN & | aSpan, |
| const BOARD_ITEM * | aItem, | ||
| bool | aIgnorePlating = false ) const |
Definition at line 88 of file fab_drill_model.cpp.
References indexKey(), m_index, DRILL_SPAN::m_IsNonPlatedFile, and DRILL_OPERATION::m_NotPlated.
|
staticprivate |
Definition at line 82 of file fab_drill_model.cpp.
References DRILL_SPAN::DrillStartLayer(), DRILL_SPAN::m_IsBackdrill, DRILL_SPAN::Pair(), and UNDEFINED_LAYER.
Referenced by FAB_DRILL_MODEL(), and Find().
|
inline |
Definition at line 60 of file fab_drill_model.h.
References m_layers.
|
delete |
References FAB_DRILL_MODEL().
|
private |
Definition at line 73 of file fab_drill_model.h.
Referenced by FAB_DRILL_MODEL(), and Facts().
|
private |
Definition at line 74 of file fab_drill_model.h.
Referenced by FAB_DRILL_MODEL(), and Find().
|
private |
Definition at line 72 of file fab_drill_model.h.
Referenced by FAB_DRILL_MODEL(), and Layers().