37 [&](
const wxString& aNetName,
const SCH_SHEET_PATH& aSheet,
const auto& aItems )
39 if( aSheet.GetExcludedFromSim( variant ) )
45 if( op.IsEmpty() || op == wxS(
"--" ) || op == wxS(
"?" ) )
70 aOnChanged( longestWire );
77 std::map<KIID_PATH, const SCH_SHEET_PATH*> paths;
99 assignVoltage( key.Name, subgraph->GetSheet(), subgraph->GetItems() );
static const ADVANCED_CFG & GetCfg()
Get the singleton instance's config, which is shared by all consumers.
const NET_MAP & GetNetMap() const
A subgraph is a set of items that are electrically connected on a single sheet.
These are loaded from Eeschema settings but then overwritten by the project settings.
Holds all the data relating to one schematic.
wxString GetOperatingPoint(const wxString &aNetName, int aPrecision, const wxString &aRange)
SCHEMATIC_SETTINGS & Settings() const
SCH_SHEET_LIST Hierarchy() const
Return the full schematic flattened hierarchical sheet list.
SCH_CONNECTIVITY::FACADE & Connectivity() const
wxString GetCurrentVariant() const
Return the current variant being edited.
CONNECTION_GRAPH * ConnectionGraph() const
std::vector< NET_GROUP > GetNetMap() const
Owned query-time groups in canonical name order, with unique instances in KIID_PATH order.
std::vector< SCH_ITEM * > Items() const
KIID_PATH Instance() const
Base class for any item which can be embedded within the SCHEMATIC container class,...
Segment description base class to describe items which have 2 end points (track, wire,...
void SetOperatingPoint(const wxString &aText)
bool IsWire() const
Return true if the line is a wire.
A container for handling SCH_SHEET_PATH objects in a flattened hierarchy.
Handle access to a stack of flattened SCH_SHEET objects by way of a path for creating a flattened sch...
void UpdateOperatingPointVoltages(SCHEMATIC &aSchematic, const std::function< void(SCH_LINE *)> &aOnChanged)
Assign loaded operating-point voltages to the longest wire in each connected net portion.