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

Minimal COLLECTORS_GUIDE so GetCoverageArea() can be exercised headlessly. More...

Inheritance diagram for STUB_COLLECTORS_GUIDE:
COLLECTORS_GUIDE

Public Member Functions

bool IsLayerVisible (PCB_LAYER_ID) const override
 
PCB_LAYER_ID GetPreferredLayer () const override
 
bool IgnoreLockedItems () const override
 
bool IncludeSecondary () const override
 Determine if the secondary criteria or 2nd choice items should be included.
 
bool IgnoreFPTextOnBack () const override
 
bool IgnoreFPTextOnFront () const override
 
bool IgnoreFootprintsOnBack () const override
 
bool IgnoreFootprintsOnFront () const override
 
bool IgnorePadsOnBack () const override
 
bool IgnorePadsOnFront () const override
 
bool IgnoreThroughHolePads () const override
 
bool IgnoreFPValues () const override
 
bool IgnoreFPReferences () const override
 
bool IgnoreThroughVias () const override
 
bool IgnoreBlindBuriedVias () const override
 
bool IgnoreMicroVias () const override
 
bool IgnoreTracks () const override
 
bool IgnoreZoneFills () const override
 
bool IgnoreNoNets () const override
 
int Accuracy () const override
 
double OnePixelInIU () const override
 
virtual bool IgnorePads () const
 

Detailed Description

Minimal COLLECTORS_GUIDE so GetCoverageArea() can be exercised headlessly.

Only Accuracy()/OnePixelInIU() are read for the cases under test.

Definition at line 638 of file test_zone.cpp.

Member Function Documentation

◆ Accuracy()

int STUB_COLLECTORS_GUIDE::Accuracy ( ) const
inlineoverridevirtual

Implements COLLECTORS_GUIDE.

Definition at line 660 of file test_zone.cpp.

◆ GetPreferredLayer()

PCB_LAYER_ID STUB_COLLECTORS_GUIDE::GetPreferredLayer ( ) const
inlineoverridevirtual
Returns
the preferred layer for HitTest()ing.

Implements COLLECTORS_GUIDE.

Definition at line 642 of file test_zone.cpp.

References F_Cu.

◆ IgnoreBlindBuriedVias()

bool STUB_COLLECTORS_GUIDE::IgnoreBlindBuriedVias ( ) const
inlineoverridevirtual
Returns
true if should ignore blind/buried vias

Implements COLLECTORS_GUIDE.

Definition at line 655 of file test_zone.cpp.

◆ IgnoreFootprintsOnBack()

bool STUB_COLLECTORS_GUIDE::IgnoreFootprintsOnBack ( ) const
inlineoverridevirtual
Returns
true if should ignore FOOTPRINTs on Back Side.

Implements COLLECTORS_GUIDE.

Definition at line 647 of file test_zone.cpp.

◆ IgnoreFootprintsOnFront()

bool STUB_COLLECTORS_GUIDE::IgnoreFootprintsOnFront ( ) const
inlineoverridevirtual
Returns
true if should ignore FOOTPRINTs on Front Side.

Implements COLLECTORS_GUIDE.

Definition at line 648 of file test_zone.cpp.

◆ IgnoreFPReferences()

bool STUB_COLLECTORS_GUIDE::IgnoreFPReferences ( ) const
inlineoverridevirtual
Returns
true if should ignore footprint references.

Implements COLLECTORS_GUIDE.

Definition at line 653 of file test_zone.cpp.

◆ IgnoreFPTextOnBack()

bool STUB_COLLECTORS_GUIDE::IgnoreFPTextOnBack ( ) const
inlineoverridevirtual
Returns
true if should ignore footprint text on back layers

Implements COLLECTORS_GUIDE.

Definition at line 645 of file test_zone.cpp.

◆ IgnoreFPTextOnFront()

bool STUB_COLLECTORS_GUIDE::IgnoreFPTextOnFront ( ) const
inlineoverridevirtual
Returns
true if should ignore footprint text on front layers.

Implements COLLECTORS_GUIDE.

Definition at line 646 of file test_zone.cpp.

◆ IgnoreFPValues()

bool STUB_COLLECTORS_GUIDE::IgnoreFPValues ( ) const
inlineoverridevirtual
Returns
true if should ignore footprint values.

Implements COLLECTORS_GUIDE.

Definition at line 652 of file test_zone.cpp.

◆ IgnoreLockedItems()

bool STUB_COLLECTORS_GUIDE::IgnoreLockedItems ( ) const
inlineoverridevirtual
Returns
true if should ignore locked items, else false.

Implements COLLECTORS_GUIDE.

Definition at line 643 of file test_zone.cpp.

◆ IgnoreMicroVias()

bool STUB_COLLECTORS_GUIDE::IgnoreMicroVias ( ) const
inlineoverridevirtual
Returns
true if should ignore micro vias

Implements COLLECTORS_GUIDE.

Definition at line 656 of file test_zone.cpp.

◆ IgnoreNoNets()

bool STUB_COLLECTORS_GUIDE::IgnoreNoNets ( ) const
inlineoverridevirtual
Returns
true if should ignore items with no net.

Implements COLLECTORS_GUIDE.

Definition at line 659 of file test_zone.cpp.

◆ IgnorePads()

virtual bool COLLECTORS_GUIDE::IgnorePads ( ) const
inlinevirtualinherited
Returns
true if should ignore PADSs on Front side and Back side.

Definition at line 118 of file collectors.h.

References IgnorePadsOnBack(), IgnorePadsOnFront(), and IgnoreThroughHolePads().

◆ IgnorePadsOnBack()

bool STUB_COLLECTORS_GUIDE::IgnorePadsOnBack ( ) const
inlineoverridevirtual
Returns
true if should ignore Pads on Back Side.

Implements COLLECTORS_GUIDE.

Definition at line 649 of file test_zone.cpp.

◆ IgnorePadsOnFront()

bool STUB_COLLECTORS_GUIDE::IgnorePadsOnFront ( ) const
inlineoverridevirtual
Returns
true if should ignore PADSs on Front Side.

Implements COLLECTORS_GUIDE.

Definition at line 650 of file test_zone.cpp.

◆ IgnoreThroughHolePads()

bool STUB_COLLECTORS_GUIDE::IgnoreThroughHolePads ( ) const
inlineoverridevirtual
Returns
true if should ignore through-hole PADSs.

Implements COLLECTORS_GUIDE.

Definition at line 651 of file test_zone.cpp.

◆ IgnoreThroughVias()

bool STUB_COLLECTORS_GUIDE::IgnoreThroughVias ( ) const
inlineoverridevirtual
Returns
true if should ignore through-hole vias

Implements COLLECTORS_GUIDE.

Definition at line 654 of file test_zone.cpp.

◆ IgnoreTracks()

bool STUB_COLLECTORS_GUIDE::IgnoreTracks ( ) const
inlineoverridevirtual
Returns
true if should ignore tracks

Implements COLLECTORS_GUIDE.

Definition at line 657 of file test_zone.cpp.

◆ IgnoreZoneFills()

bool STUB_COLLECTORS_GUIDE::IgnoreZoneFills ( ) const
inlineoverridevirtual
Returns
true if should ignore the interiors of zones

Implements COLLECTORS_GUIDE.

Definition at line 658 of file test_zone.cpp.

◆ IncludeSecondary()

bool STUB_COLLECTORS_GUIDE::IncludeSecondary ( ) const
inlineoverridevirtual

Determine if the secondary criteria or 2nd choice items should be included.

Returns
true if should include, else false.

Implements COLLECTORS_GUIDE.

Definition at line 644 of file test_zone.cpp.

◆ IsLayerVisible()

bool STUB_COLLECTORS_GUIDE::IsLayerVisible ( PCB_LAYER_ID layer) const
inlineoverridevirtual
Returns
true if the given layer is visible, else false.

Implements COLLECTORS_GUIDE.

Definition at line 641 of file test_zone.cpp.

◆ OnePixelInIU()

double STUB_COLLECTORS_GUIDE::OnePixelInIU ( ) const
inlineoverridevirtual

Implements COLLECTORS_GUIDE.

Definition at line 661 of file test_zone.cpp.


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