KiCad PCB EDA Suite
Loading...
Searching...
No Matches
FAB_DRILL_MODEL Class Reference

#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
 

Detailed Description

Definition at line 53 of file fab_drill_model.h.

Member Typedef Documentation

◆ INDEX_KEY

using FAB_DRILL_MODEL::INDEX_KEY = std::tuple<DRILL_LAYER_PAIR, bool, PCB_LAYER_ID>
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.

Constructor & Destructor Documentation

◆ FAB_DRILL_MODEL() [1/2]

◆ FAB_DRILL_MODEL() [2/2]

FAB_DRILL_MODEL::FAB_DRILL_MODEL ( const FAB_DRILL_MODEL & )
delete

References FAB_DRILL_MODEL().

Member Function Documentation

◆ Facts()

const FAB_DRILL_FACTS & FAB_DRILL_MODEL::Facts ( ) const
inline

Definition at line 61 of file fab_drill_model.h.

References m_facts.

Referenced by ODB_MISC_ENTITY::GenerateMetadataFile().

◆ Find()

const DRILL_OPERATION * FAB_DRILL_MODEL::Find ( const DRILL_SPAN & aSpan,
const BOARD_ITEM * aItem,
bool aIgnorePlating = false ) const

◆ indexKey()

FAB_DRILL_MODEL::INDEX_KEY FAB_DRILL_MODEL::indexKey ( const DRILL_SPAN & aSpan)
staticprivate

◆ Layers()

const std::vector< FAB_DRILL_LAYER > & FAB_DRILL_MODEL::Layers ( ) const
inline

Definition at line 60 of file fab_drill_model.h.

References m_layers.

◆ operator=()

FAB_DRILL_MODEL & FAB_DRILL_MODEL::operator= ( const FAB_DRILL_MODEL & )
delete

References FAB_DRILL_MODEL().

Member Data Documentation

◆ m_facts

FAB_DRILL_FACTS FAB_DRILL_MODEL::m_facts
private

Definition at line 73 of file fab_drill_model.h.

Referenced by FAB_DRILL_MODEL(), and Facts().

◆ m_index

std::map<INDEX_KEY, std::unordered_map<const BOARD_ITEM*, const DRILL_OPERATION*> > FAB_DRILL_MODEL::m_index
private

Definition at line 74 of file fab_drill_model.h.

Referenced by FAB_DRILL_MODEL(), and Find().

◆ m_layers

std::vector<FAB_DRILL_LAYER> FAB_DRILL_MODEL::m_layers
private

Definition at line 72 of file fab_drill_model.h.

Referenced by FAB_DRILL_MODEL(), and Layers().


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