KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PNS::ROUTER_IFACE Class Referenceabstract

ROUTER. More...

#include <pns_router.h>

Inheritance diagram for PNS::ROUTER_IFACE:
PNS_KICAD_IFACE_BASE PNS_VIEWER_IFACE MOCK_PNS_KICAD_IFACE PNS_KICAD_IFACE PNS_LOG_PLAYER_KICAD_IFACE PNS_KICAD_IFACE_GENERATOR

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 PNS_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 bool IsFlashedOnLayer (const PNS::ITEM *aItem, const PNS_LAYER_RANGE &aLayer) const =0
 
virtual bool IsPNSCopperLayer (int aPNSLayer) const =0
 
virtual void DisplayItem (const ITEM *aItem, int aClearance, bool aEdit=false, int aFlags=0)=0
 
virtual void DisplayPathLine (const SHAPE_LINE_CHAIN &aLine, int aImportance)=0
 
virtual void DisplayRatline (const SHAPE_LINE_CHAIN &aRatline, NET_HANDLE aNetCode)=0
 
virtual void HideItem (ITEM *aItem)=0
 
virtual void Commit ()=0
 
virtual bool ImportSizes (SIZES_SETTINGS &aSizes, ITEM *aStartItem, NET_HANDLE aNet, VECTOR2D aStartPosition)=0
 
virtual int StackupHeight (int aFirstLayer, int aSecondLayer) const =0
 
virtual void EraseView ()=0
 
virtual int GetNetCode (NET_HANDLE aNet) const =0
 
virtual wxString GetNetName (PNS::NET_HANDLE aNet) const =0
 
virtual void UpdateNet (NET_HANDLE aNet)=0
 
virtual NET_HANDLE GetOrphanedNetHandle ()=0
 
virtual PNS::NODEGetWorld () const =0
 
virtual RULE_RESOLVERGetRuleResolver ()=0
 
virtual DEBUG_DECORATORGetDebugDecorator ()=0
 
virtual PCB_LAYER_ID GetBoardLayerFromPNSLayer (int aLayer) const =0
 
virtual int GetPNSLayerFromBoardLayer (PCB_LAYER_ID aLayer) const =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.

◆ ~ROUTER_IFACE()

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

Definition at line 90 of file pns_router.h.

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,
int  aFlags = 0 
)
pure virtual

◆ DisplayPathLine()

virtual void PNS::ROUTER_IFACE::DisplayPathLine ( const SHAPE_LINE_CHAIN aLine,
int  aImportance 
)
pure virtual

◆ DisplayRatline()

virtual void PNS::ROUTER_IFACE::DisplayRatline ( const SHAPE_LINE_CHAIN aRatline,
NET_HANDLE  aNetCode 
)
pure virtual

◆ EraseView()

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

◆ GetBoardLayerFromPNSLayer()

virtual PCB_LAYER_ID PNS::ROUTER_IFACE::GetBoardLayerFromPNSLayer ( int  aLayer) const
pure virtual

◆ GetDebugDecorator()

◆ GetNetCode()

◆ GetNetName()

virtual wxString PNS::ROUTER_IFACE::GetNetName ( PNS::NET_HANDLE  aNet) const
pure virtual

◆ GetOrphanedNetHandle()

virtual NET_HANDLE PNS::ROUTER_IFACE::GetOrphanedNetHandle ( )
pure virtual

◆ GetPNSLayerFromBoardLayer()

virtual int PNS::ROUTER_IFACE::GetPNSLayerFromBoardLayer ( PCB_LAYER_ID  aLayer) const
pure virtual

◆ GetRuleResolver()

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

◆ GetWorld()

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

Implemented in PNS_KICAD_IFACE_BASE, and PNS_VIEWER_IFACE.

◆ HideItem()

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

◆ ImportSizes()

virtual bool PNS::ROUTER_IFACE::ImportSizes ( SIZES_SETTINGS aSizes,
ITEM aStartItem,
NET_HANDLE  aNet,
VECTOR2D  aStartPosition 
)
pure virtual

Implemented in PNS_KICAD_IFACE_BASE, and PNS_VIEWER_IFACE.

◆ IsAnyLayerVisible()

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

◆ IsFlashedOnLayer() [1/2]

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

Implemented in PNS_KICAD_IFACE_BASE, and PNS_VIEWER_IFACE.

◆ IsFlashedOnLayer() [2/2]

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

◆ IsPNSCopperLayer()

virtual bool PNS::ROUTER_IFACE::IsPNSCopperLayer ( int  aPNSLayer) const
pure virtual

Implemented in PNS_VIEWER_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, and PNS_VIEWER_IFACE.

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

◆ UpdateItem()

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

◆ UpdateNet()

virtual void PNS::ROUTER_IFACE::UpdateNet ( NET_HANDLE  aNet)
pure virtual

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