KiCad PCB EDA Suite
PNS::ROUTER_IFACE Class Referenceabstract

ROUTER. More...

#include <pns_router.h>

Inheritance diagram for PNS::ROUTER_IFACE:
PNS_KICAD_IFACE_BASE PNS_KICAD_IFACE

Public Member Functions

 ROUTER_IFACE ()
 
virtual ~ROUTER_IFACE ()
 
virtual void SyncWorld (NODE *aNode)=0
 
virtual void AddItem (ITEM *aItem)=0
 
virtual void UpdateItem (ITEM *aItem)=0
 
virtual void RemoveItem (ITEM *aItem)=0
 
virtual bool IsAnyLayerVisible (const LAYER_RANGE &aLayer) const =0
 
virtual bool IsItemVisible (const PNS::ITEM *aItem) const =0
 
virtual bool IsFlashedOnLayer (const PNS::ITEM *aItem, int aLayer) const =0
 
virtual void DisplayItem (const ITEM *aItem, int aClearance, bool aEdit=false)=0
 
virtual void DisplayRatline (const SHAPE_LINE_CHAIN &aRatline, int aColor=-1)=0
 
virtual void HideItem (ITEM *aItem)=0
 
virtual void Commit ()=0
 
virtual bool ImportSizes (SIZES_SETTINGS &aSizes, ITEM *aStartItem, int aNet)=0
 
virtual int StackupHeight (int aFirstLayer, int aSecondLayer) const =0
 
virtual void EraseView ()=0
 
virtual void UpdateNet (int aNetCode)=0
 
virtual PNS::NODEGetWorld () const =0
 
virtual RULE_RESOLVERGetRuleResolver ()=0
 
virtual DEBUG_DECORATORGetDebugDecorator ()=0
 

Detailed Description

ROUTER.

Main router class.

Definition at line 86 of file pns_router.h.

Constructor & Destructor Documentation

◆ ROUTER_IFACE()

PNS::ROUTER_IFACE::ROUTER_IFACE ( )
inline

Definition at line 89 of file pns_router.h.

89 {};

◆ ~ROUTER_IFACE()

virtual PNS::ROUTER_IFACE::~ROUTER_IFACE ( )
inlinevirtual

Definition at line 90 of file pns_router.h.

90 {};

Member Function Documentation

◆ AddItem()

virtual void PNS::ROUTER_IFACE::AddItem ( ITEM aItem)
pure virtual

◆ Commit()

virtual void PNS::ROUTER_IFACE::Commit ( )
pure virtual

◆ DisplayItem()

virtual void PNS::ROUTER_IFACE::DisplayItem ( const ITEM aItem,
int  aClearance,
bool  aEdit = false 
)
pure virtual

◆ DisplayRatline()

virtual void PNS::ROUTER_IFACE::DisplayRatline ( const SHAPE_LINE_CHAIN aRatline,
int  aColor = -1 
)
pure virtual

◆ EraseView()

virtual void PNS::ROUTER_IFACE::EraseView ( )
pure virtual

◆ GetDebugDecorator()

◆ GetRuleResolver()

virtual RULE_RESOLVER* PNS::ROUTER_IFACE::GetRuleResolver ( )
pure virtual

Implemented in PNS_KICAD_IFACE_BASE.

Referenced by PNS::ROUTER::GetRuleResolver().

◆ GetWorld()

virtual PNS::NODE* PNS::ROUTER_IFACE::GetWorld ( ) const
pure virtual

Implemented in PNS_KICAD_IFACE_BASE.

◆ HideItem()

virtual void PNS::ROUTER_IFACE::HideItem ( ITEM aItem)
pure virtual

◆ ImportSizes()

virtual bool PNS::ROUTER_IFACE::ImportSizes ( SIZES_SETTINGS aSizes,
ITEM aStartItem,
int  aNet 
)
pure virtual

Implemented in PNS_KICAD_IFACE_BASE.

◆ IsAnyLayerVisible()

virtual bool PNS::ROUTER_IFACE::IsAnyLayerVisible ( const LAYER_RANGE aLayer) const
pure virtual

Implemented in PNS_KICAD_IFACE, and PNS_KICAD_IFACE_BASE.

◆ IsFlashedOnLayer()

virtual bool PNS::ROUTER_IFACE::IsFlashedOnLayer ( const PNS::ITEM aItem,
int  aLayer 
) const
pure virtual

◆ IsItemVisible()

virtual bool PNS::ROUTER_IFACE::IsItemVisible ( const PNS::ITEM aItem) const
pure virtual

Implemented in PNS_KICAD_IFACE, and PNS_KICAD_IFACE_BASE.

◆ RemoveItem()

virtual void PNS::ROUTER_IFACE::RemoveItem ( ITEM aItem)
pure virtual

◆ StackupHeight()

virtual int PNS::ROUTER_IFACE::StackupHeight ( int  aFirstLayer,
int  aSecondLayer 
) const
pure virtual

◆ SyncWorld()

virtual void PNS::ROUTER_IFACE::SyncWorld ( NODE aNode)
pure virtual

Implemented in PNS_KICAD_IFACE_BASE.

Referenced by PNS::ROUTER::SyncWorld().

◆ UpdateItem()

virtual void PNS::ROUTER_IFACE::UpdateItem ( ITEM aItem)
pure virtual

◆ UpdateNet()

virtual void PNS::ROUTER_IFACE::UpdateNet ( int  aNetCode)
pure virtual

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