KiCad PCB EDA Suite
PNS::RULE_RESOLVER Class Referenceabstract

Class RULE_RESOLVER. More...

#include <pns_node.h>

Inheritance diagram for PNS::RULE_RESOLVER:
PNS_PCBNEW_RULE_RESOLVER

Public Member Functions

virtual ~RULE_RESOLVER ()
 
virtual int Clearance (const ITEM *aA, const ITEM *aB) const =0
 
virtual int Clearance (int aNetCode) const =0
 
virtual void OverrideClearance (bool aEnable, int aNetA=0, int aNetB=0, int aClearance=0)=0
 
virtual void UseDpGap (bool aUseDpGap)=0
 
virtual int DpCoupledNet (int aNet)=0
 
virtual int DpNetPolarity (int aNet)=0
 
virtual bool DpNetPair (ITEM *aItem, int &aNetP, int &aNetN)=0
 

Detailed Description

Class RULE_RESOLVER.

An abstract function object, returning a design rule (clearance, diff pair gap, etc) required between two items.

Definition at line 56 of file pns_node.h.

Constructor & Destructor Documentation

virtual PNS::RULE_RESOLVER::~RULE_RESOLVER ( )
inlinevirtual

Definition at line 59 of file pns_node.h.

59 {}

Member Function Documentation

virtual int PNS::RULE_RESOLVER::Clearance ( const ITEM aA,
const ITEM aB 
) const
pure virtual
virtual int PNS::RULE_RESOLVER::Clearance ( int  aNetCode) const
pure virtual

Implemented in PNS_PCBNEW_RULE_RESOLVER.

virtual int PNS::RULE_RESOLVER::DpCoupledNet ( int  aNet)
pure virtual
virtual bool PNS::RULE_RESOLVER::DpNetPair ( ITEM aItem,
int &  aNetP,
int &  aNetN 
)
pure virtual
virtual int PNS::RULE_RESOLVER::DpNetPolarity ( int  aNet)
pure virtual
virtual void PNS::RULE_RESOLVER::OverrideClearance ( bool  aEnable,
int  aNetA = 0,
int  aNetB = 0,
int  aClearance = 0 
)
pure virtual
virtual void PNS::RULE_RESOLVER::UseDpGap ( bool  aUseDpGap)
pure virtual

Implemented in PNS_PCBNEW_RULE_RESOLVER.


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