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 592 of file test_zone.cpp.

Member Function Documentation

◆ Accuracy()

int STUB_COLLECTORS_GUIDE::Accuracy ( ) const
inlineoverridevirtual

Implements COLLECTORS_GUIDE.

Definition at line 614 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 596 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 609 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 601 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 602 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 607 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 599 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 600 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 606 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 597 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 610 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 613 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 114 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 603 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 604 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 605 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 608 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 611 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 612 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 598 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 595 of file test_zone.cpp.

◆ OnePixelInIU()

double STUB_COLLECTORS_GUIDE::OnePixelInIU ( ) const
inlineoverridevirtual

Implements COLLECTORS_GUIDE.

Definition at line 615 of file test_zone.cpp.


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