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

Board stackup snapshot synchronized without changing the source board. More...

#include <fab_stackup.h>

Public Member Functions

 FAB_STACKUP (const BOARD &aBoard)
 
 FAB_STACKUP (const FAB_STACKUP &)=delete
 
FAB_STACKUP & operator= (const FAB_STACKUP &)=delete
 
 FAB_STACKUP (FAB_STACKUP &&)=delete
 
FAB_STACKUP & operator= (FAB_STACKUP &&)=delete
 
const BOARD_STACKUP & Stackup () const
 
const BOARD_STACKUP_ITEM * ItemForLayer (PCB_LAYER_ID aLayer) const
 
wxString NamedColor (PCB_LAYER_ID aLayer) const
 Lower case color name of the layer, empty for an unset or hex color.
 
int Thickness () const
 

Private Attributes

BOARD_STACKUP m_stackup
 

Detailed Description

Board stackup snapshot synchronized without changing the source board.

Definition at line 28 of file fab_stackup.h.

Constructor & Destructor Documentation

◆ FAB_STACKUP() [1/3]

FAB_STACKUP::FAB_STACKUP ( const BOARD & aBoard)
explicit

Definition at line 27 of file fab_stackup.cpp.

References BOARD::GetDesignSettings(), and m_stackup.

Referenced by FAB_STACKUP(), FAB_STACKUP(), operator=(), and operator=().

◆ FAB_STACKUP() [2/3]

FAB_STACKUP::FAB_STACKUP ( const FAB_STACKUP & )
delete

References FAB_STACKUP().

◆ FAB_STACKUP() [3/3]

FAB_STACKUP::FAB_STACKUP ( FAB_STACKUP && )
delete

References FAB_STACKUP().

Member Function Documentation

◆ ItemForLayer()

const BOARD_STACKUP_ITEM * FAB_STACKUP::ItemForLayer ( PCB_LAYER_ID aLayer) const

◆ NamedColor()

wxString FAB_STACKUP::NamedColor ( PCB_LAYER_ID aLayer) const

Lower case color name of the layer, empty for an unset or hex color.

Definition at line 49 of file fab_stackup.cpp.

References BOARD_STACKUP_ITEM::GetColor(), IsPrmSpecified(), and ItemForLayer().

◆ operator=() [1/2]

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

References FAB_STACKUP().

◆ operator=() [2/2]

FAB_STACKUP & FAB_STACKUP::operator= ( FAB_STACKUP && )
delete

References FAB_STACKUP().

◆ Stackup()

const BOARD_STACKUP & FAB_STACKUP::Stackup ( ) const
inline

Definition at line 38 of file fab_stackup.h.

References m_stackup.

Referenced by BOOST_AUTO_TEST_CASE().

◆ Thickness()

int FAB_STACKUP::Thickness ( ) const
inline

Definition at line 42 of file fab_stackup.h.

References m_stackup.

Referenced by BOOST_AUTO_TEST_CASE(), and ODB_MATRIX_ENTITY::GenerateStackupFile().

Member Data Documentation

◆ m_stackup

BOARD_STACKUP FAB_STACKUP::m_stackup
private

Definition at line 45 of file fab_stackup.h.

Referenced by FAB_STACKUP(), ItemForLayer(), Stackup(), and Thickness().


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