KiCad PCB EDA Suite
Loading...
Searching...
No Matches
DIALOG_CREATE_NET_CHAIN::POTENTIAL_ROW Struct Reference

Row backing data for the chains grid. More...

Public Attributes

SCH_NETCHAINlivePtr = nullptr
 null for force-created manual rows
 
wxString suggestedName
 
std::set< wxString > memberNets
 
wxString terminals
 e.g. "J1:1 -> J2:1"
 
bool isManual = false
 
KIID forceFromUuid
 For force-created rows without a livePtr.
 
KIID forceToUuid
 
KIID forceFromPinUuid
 
KIID forceToPinUuid
 
wxString forceFromRef
 
wxString forceToRef
 
wxString forceFromPinNum
 
wxString forceToPinNum
 
SCH_SHEET_PATH cachedSheet
 Lazily-resolved sheet to navigate to when this row is selected.
 
bool cachedSheetResolved = false
 

Detailed Description

Row backing data for the chains grid.

livePtr is a non-owning pointer into the current contents of CONNECTION_GRAPH::m_potentialNetChains and remains valid only until that pool is rebuilt or cleared. RebuildNetChains() (invoked via Recalculate) destroys every entry, so any path that triggers a recalc must clear m_rows BEFORE the recalc — recalculateAndReload() centralizes that ordering for the dialog's own refresh paths.

Definition at line 74 of file dialog_create_net_chain.h.

Member Data Documentation

◆ cachedSheet

SCH_SHEET_PATH DIALOG_CREATE_NET_CHAIN::POTENTIAL_ROW::cachedSheet

Lazily-resolved sheet to navigate to when this row is selected.

Filled in by findSheetForRow() on first access; reset when the row pool is rebuilt.

Definition at line 95 of file dialog_create_net_chain.h.

Referenced by DIALOG_CREATE_NET_CHAIN::findSheetForRow().

◆ cachedSheetResolved

bool DIALOG_CREATE_NET_CHAIN::POTENTIAL_ROW::cachedSheetResolved = false

Definition at line 96 of file dialog_create_net_chain.h.

Referenced by DIALOG_CREATE_NET_CHAIN::findSheetForRow().

◆ forceFromPinNum

wxString DIALOG_CREATE_NET_CHAIN::POTENTIAL_ROW::forceFromPinNum

◆ forceFromPinUuid

KIID DIALOG_CREATE_NET_CHAIN::POTENTIAL_ROW::forceFromPinUuid

◆ forceFromRef

wxString DIALOG_CREATE_NET_CHAIN::POTENTIAL_ROW::forceFromRef

◆ forceFromUuid

KIID DIALOG_CREATE_NET_CHAIN::POTENTIAL_ROW::forceFromUuid

For force-created rows without a livePtr.

Ref/pin strings are cached at row build time to avoid re-resolving the owning sheet path at commit.

Definition at line 84 of file dialog_create_net_chain.h.

Referenced by DIALOG_CREATE_NET_CHAIN::OnFindPathClicked(), and DIALOG_CREATE_NET_CHAIN::validateAndCreate().

◆ forceToPinNum

wxString DIALOG_CREATE_NET_CHAIN::POTENTIAL_ROW::forceToPinNum

◆ forceToPinUuid

KIID DIALOG_CREATE_NET_CHAIN::POTENTIAL_ROW::forceToPinUuid

◆ forceToRef

wxString DIALOG_CREATE_NET_CHAIN::POTENTIAL_ROW::forceToRef

◆ forceToUuid

KIID DIALOG_CREATE_NET_CHAIN::POTENTIAL_ROW::forceToUuid

◆ isManual

bool DIALOG_CREATE_NET_CHAIN::POTENTIAL_ROW::isManual = false

◆ livePtr

SCH_NETCHAIN* DIALOG_CREATE_NET_CHAIN::POTENTIAL_ROW::livePtr = nullptr

◆ memberNets

◆ suggestedName

◆ terminals

wxString DIALOG_CREATE_NET_CHAIN::POTENTIAL_ROW::terminals

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