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

#include <pns_log_viewer_frame.h>

Inheritance diagram for PNS_VIEWER_IFACE:
PNS::ROUTER_IFACE

Public Member Functions

 PNS_VIEWER_IFACE (std::shared_ptr< BOARD > aBoard)
 
 ~PNS_VIEWER_IFACE () override
 
void EraseView () override
 
void SyncWorld (PNS::NODE *aWorld) override
 
bool IsAnyLayerVisible (const PNS_LAYER_RANGE &aLayer) const override
 
bool IsFlashedOnLayer (const PNS::ITEM *aItem, int aLayer) const override
 
bool IsFlashedOnLayer (const PNS::ITEM *aItem, const PNS_LAYER_RANGE &aLayer) const override
 
bool IsItemVisible (const PNS::ITEM *aItem) const override
 
bool IsPNSCopperLayer (int aLayer) const override
 
void HideItem (PNS::ITEM *aItem) override
 
void DisplayItem (const PNS::ITEM *aItem, int aClearance, bool aEdit=false, int aFlags=0) override
 
void DisplayPathLine (const SHAPE_LINE_CHAIN &aLine, int aImportance) override
 
void DisplayRatline (const SHAPE_LINE_CHAIN &aRatline, PNS::NET_HANDLE aNet) override
 
void AddItem (PNS::ITEM *aItem) override
 
void UpdateItem (PNS::ITEM *aItem) override
 
void RemoveItem (PNS::ITEM *aItem) override
 
void Commit () override
 
bool ImportSizes (PNS::SIZES_SETTINGS &aSizes, PNS::ITEM *aStartItem, PNS::NET_HANDLE aNet, VECTOR2D aStartPosition) override
 
int StackupHeight (int aFirstLayer, int aSecondLayer) const override
 
int GetNetCode (PNS::NET_HANDLE aNet) const override
 
wxString GetNetName (PNS::NET_HANDLE aNet) const override
 
void UpdateNet (PNS::NET_HANDLE aNet) override
 
PNS::NET_HANDLE GetOrphanedNetHandle () override
 
virtual PNS::NODEGetWorld () const override
 
PNS::RULE_RESOLVERGetRuleResolver () override
 
PNS::DEBUG_DECORATORGetDebugDecorator () override
 
PCB_LAYER_ID GetBoardLayerFromPNSLayer (int aLayer) const override
 
int GetPNSLayerFromBoardLayer (PCB_LAYER_ID aLayer) const override
 

Private Attributes

std::shared_ptr< BOARDm_board
 

Detailed Description

Definition at line 50 of file pns_log_viewer_frame.h.

Constructor & Destructor Documentation

◆ PNS_VIEWER_IFACE()

PNS_VIEWER_IFACE::PNS_VIEWER_IFACE ( std::shared_ptr< BOARD aBoard)
inline

Definition at line 53 of file pns_log_viewer_frame.h.

References m_board.

◆ ~PNS_VIEWER_IFACE()

PNS_VIEWER_IFACE::~PNS_VIEWER_IFACE ( )
inlineoverride

Definition at line 54 of file pns_log_viewer_frame.h.

Member Function Documentation

◆ AddItem()

void PNS_VIEWER_IFACE::AddItem ( PNS::ITEM aItem)
inlineoverridevirtual

Implements PNS::ROUTER_IFACE.

Definition at line 68 of file pns_log_viewer_frame.h.

◆ Commit()

void PNS_VIEWER_IFACE::Commit ( )
inlineoverridevirtual

Implements PNS::ROUTER_IFACE.

Definition at line 71 of file pns_log_viewer_frame.h.

◆ DisplayItem()

void PNS_VIEWER_IFACE::DisplayItem ( const PNS::ITEM aItem,
int  aClearance,
bool  aEdit = false,
int  aFlags = 0 
)
inlineoverridevirtual

Implements PNS::ROUTER_IFACE.

Definition at line 64 of file pns_log_viewer_frame.h.

◆ DisplayPathLine()

void PNS_VIEWER_IFACE::DisplayPathLine ( const SHAPE_LINE_CHAIN aLine,
int  aImportance 
)
inlineoverridevirtual

Implements PNS::ROUTER_IFACE.

Definition at line 66 of file pns_log_viewer_frame.h.

◆ DisplayRatline()

void PNS_VIEWER_IFACE::DisplayRatline ( const SHAPE_LINE_CHAIN aRatline,
PNS::NET_HANDLE  aNet 
)
inlineoverridevirtual

Implements PNS::ROUTER_IFACE.

Definition at line 67 of file pns_log_viewer_frame.h.

◆ EraseView()

void PNS_VIEWER_IFACE::EraseView ( )
inlineoverridevirtual

Implements PNS::ROUTER_IFACE.

Definition at line 56 of file pns_log_viewer_frame.h.

◆ GetBoardLayerFromPNSLayer()

PCB_LAYER_ID PNS_VIEWER_IFACE::GetBoardLayerFromPNSLayer ( int  aLayer) const
inlineoverridevirtual

Implements PNS::ROUTER_IFACE.

Definition at line 85 of file pns_log_viewer_frame.h.

References B_Cu, F_Cu, m_board, and ToLAYER_ID().

◆ GetDebugDecorator()

PNS::DEBUG_DECORATOR * PNS_VIEWER_IFACE::GetDebugDecorator ( )
inlineoverridevirtual

Implements PNS::ROUTER_IFACE.

Definition at line 83 of file pns_log_viewer_frame.h.

◆ GetNetCode()

int PNS_VIEWER_IFACE::GetNetCode ( PNS::NET_HANDLE  aNet) const
inlineoverridevirtual

Implements PNS::ROUTER_IFACE.

Definition at line 76 of file pns_log_viewer_frame.h.

◆ GetNetName()

wxString PNS_VIEWER_IFACE::GetNetName ( PNS::NET_HANDLE  aNet) const
inlineoverridevirtual

Implements PNS::ROUTER_IFACE.

Definition at line 77 of file pns_log_viewer_frame.h.

◆ GetOrphanedNetHandle()

PNS::NET_HANDLE PNS_VIEWER_IFACE::GetOrphanedNetHandle ( )
inlineoverridevirtual

Implements PNS::ROUTER_IFACE.

Definition at line 79 of file pns_log_viewer_frame.h.

◆ GetPNSLayerFromBoardLayer()

int PNS_VIEWER_IFACE::GetPNSLayerFromBoardLayer ( PCB_LAYER_ID  aLayer) const
inlineoverridevirtual

Implements PNS::ROUTER_IFACE.

Definition at line 97 of file pns_log_viewer_frame.h.

References B_Cu, F_Cu, and m_board.

◆ GetRuleResolver()

PNS::RULE_RESOLVER * PNS_VIEWER_IFACE::GetRuleResolver ( )
inlineoverridevirtual

Implements PNS::ROUTER_IFACE.

Definition at line 82 of file pns_log_viewer_frame.h.

◆ GetWorld()

virtual PNS::NODE * PNS_VIEWER_IFACE::GetWorld ( ) const
inlineoverridevirtual

Implements PNS::ROUTER_IFACE.

Definition at line 81 of file pns_log_viewer_frame.h.

◆ HideItem()

void PNS_VIEWER_IFACE::HideItem ( PNS::ITEM aItem)
inlineoverridevirtual

Implements PNS::ROUTER_IFACE.

Definition at line 63 of file pns_log_viewer_frame.h.

◆ ImportSizes()

bool PNS_VIEWER_IFACE::ImportSizes ( PNS::SIZES_SETTINGS aSizes,
PNS::ITEM aStartItem,
PNS::NET_HANDLE  aNet,
VECTOR2D  aStartPosition 
)
inlineoverridevirtual

Implements PNS::ROUTER_IFACE.

Definition at line 72 of file pns_log_viewer_frame.h.

◆ IsAnyLayerVisible()

bool PNS_VIEWER_IFACE::IsAnyLayerVisible ( const PNS_LAYER_RANGE aLayer) const
inlineoverridevirtual

Implements PNS::ROUTER_IFACE.

Definition at line 58 of file pns_log_viewer_frame.h.

◆ IsFlashedOnLayer() [1/2]

bool PNS_VIEWER_IFACE::IsFlashedOnLayer ( const PNS::ITEM aItem,
const PNS_LAYER_RANGE aLayer 
) const
inlineoverridevirtual

Implements PNS::ROUTER_IFACE.

Definition at line 60 of file pns_log_viewer_frame.h.

◆ IsFlashedOnLayer() [2/2]

bool PNS_VIEWER_IFACE::IsFlashedOnLayer ( const PNS::ITEM aItem,
int  aLayer 
) const
inlineoverridevirtual

Implements PNS::ROUTER_IFACE.

Definition at line 59 of file pns_log_viewer_frame.h.

◆ IsItemVisible()

bool PNS_VIEWER_IFACE::IsItemVisible ( const PNS::ITEM aItem) const
inlineoverridevirtual

Implements PNS::ROUTER_IFACE.

Definition at line 61 of file pns_log_viewer_frame.h.

◆ IsPNSCopperLayer()

bool PNS_VIEWER_IFACE::IsPNSCopperLayer ( int  aLayer) const
inlineoverridevirtual

Implements PNS::ROUTER_IFACE.

Definition at line 62 of file pns_log_viewer_frame.h.

◆ RemoveItem()

void PNS_VIEWER_IFACE::RemoveItem ( PNS::ITEM aItem)
inlineoverridevirtual

Implements PNS::ROUTER_IFACE.

Definition at line 70 of file pns_log_viewer_frame.h.

◆ StackupHeight()

int PNS_VIEWER_IFACE::StackupHeight ( int  aFirstLayer,
int  aSecondLayer 
) const
inlineoverridevirtual

Implements PNS::ROUTER_IFACE.

Definition at line 74 of file pns_log_viewer_frame.h.

◆ SyncWorld()

void PNS_VIEWER_IFACE::SyncWorld ( PNS::NODE aWorld)
inlineoverridevirtual

Implements PNS::ROUTER_IFACE.

Definition at line 57 of file pns_log_viewer_frame.h.

◆ UpdateItem()

void PNS_VIEWER_IFACE::UpdateItem ( PNS::ITEM aItem)
inlineoverridevirtual

Implements PNS::ROUTER_IFACE.

Definition at line 69 of file pns_log_viewer_frame.h.

◆ UpdateNet()

void PNS_VIEWER_IFACE::UpdateNet ( PNS::NET_HANDLE  aNet)
inlineoverridevirtual

Implements PNS::ROUTER_IFACE.

Definition at line 78 of file pns_log_viewer_frame.h.

Member Data Documentation

◆ m_board

std::shared_ptr<BOARD> PNS_VIEWER_IFACE::m_board
private

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