KiCad PCB EDA Suite
|
A collection of nets and the parameters used to route or test these nets. More...
#include <netclass.h>
Public Member Functions | |
NETCLASS (const wxString &aName, bool aInitWithDefaults=true) | |
Create a NETCLASS instance with aName. | |
~NETCLASS () | |
bool | operator== (const NETCLASS &other) const |
wxString | GetClass () const |
void | Serialize (google::protobuf::Any &aContainer) const override |
Serializes this object to the given Any message. | |
bool | Deserialize (const google::protobuf::Any &aContainer) override |
Deserializes the given protobuf message into this object. | |
void | ResetParents () |
Resets all parent fields to point to this netclass. | |
void | ResetParameters () |
Resets all parameters (except Name and Description) | |
const std::vector< NETCLASS * > & | GetConstituentNetclasses () const |
Gets the netclasses which make up this netclass. | |
void | SetConstituentNetclasses (std::vector< NETCLASS * > &&constituents) |
Sets the netclasses which make up this netclass. | |
bool | ContainsNetclassWithName (const wxString &netclass) const |
Determines if the given netclass name is a constituent of this (maybe aggregate) netclass. | |
bool | IsDefault () const |
@ brief Determines if this is marked as the default netclass | |
void | SetName (const wxString &aName) |
Set the name of this netclass. | |
const wxString | GetName () const |
Gets the name of this (maybe aggregate) netclass in a format for internal usage or for export to external tools / netlists. | |
const wxString | GetHumanReadableName () const |
Gets the consolidated name of this netclass (which may be an aggregate). | |
const wxString & | GetDescription () const |
void | SetDescription (const wxString &aDesc) |
bool | HasClearance () const |
int | GetClearance () const |
std::optional< int > | GetClearanceOpt () const |
void | SetClearance (int aClearance) |
void | SetClearance (std::optional< int > aClearance) |
void | SetClearanceParent (NETCLASS *parent) |
NETCLASS * | GetClearanceParent () const |
bool | HasTrackWidth () const |
int | GetTrackWidth () const |
std::optional< int > | GetTrackWidthOpt () const |
void | SetTrackWidth (int aWidth) |
void | SetTrackWidth (std::optional< int > aWidth) |
void | SetTrackWidthParent (NETCLASS *parent) |
NETCLASS * | GetTrackWidthParent () const |
bool | HasViaDiameter () const |
int | GetViaDiameter () const |
std::optional< int > | GetViaDiameterOpt () const |
void | SetViaDiameter (int aDia) |
void | SetViaDiameter (std::optional< int > aDia) |
void | SetViaDiameterParent (NETCLASS *parent) |
NETCLASS * | GetViaDiameterParent () const |
int | HasViaDrill () const |
int | GetViaDrill () const |
std::optional< int > | GetViaDrillOpt () const |
void | SetViaDrill (int aSize) |
void | SetViaDrill (std::optional< int > aSize) |
void | SetViaDrillParent (NETCLASS *parent) |
NETCLASS * | GetViaDrillParent () const |
bool | HasuViaDiameter () const |
int | GetuViaDiameter () const |
std::optional< int > | GetuViaDiameterOpt () const |
void | SetuViaDiameter (int aSize) |
void | SetuViaDiameter (std::optional< int > aSize) |
void | SetuViaDiameterParent (NETCLASS *parent) |
NETCLASS * | GetuViaDiameterParent () const |
bool | HasuViaDrill () const |
int | GetuViaDrill () const |
std::optional< int > | GetuViaDrillOpt () const |
void | SetuViaDrill (int aSize) |
void | SetuViaDrill (std::optional< int > aSize) |
void | SetuViaDrillParent (NETCLASS *parent) |
NETCLASS * | GetuViaDrillParent () const |
bool | HasDiffPairWidth () const |
int | GetDiffPairWidth () const |
std::optional< int > | GetDiffPairWidthOpt () const |
void | SetDiffPairWidth (int aSize) |
void | SetDiffPairWidth (std::optional< int > aSize) |
void | SetDiffPairWidthParent (NETCLASS *parent) |
NETCLASS * | GetDiffPairWidthParent () const |
bool | HasDiffPairGap () const |
int | GetDiffPairGap () const |
std::optional< int > | GetDiffPairGapOpt () const |
void | SetDiffPairGap (int aSize) |
void | SetDiffPairGap (std::optional< int > aSize) |
void | SetDiffPairGapParent (NETCLASS *parent) |
NETCLASS * | GetDiffPairGapParent () const |
bool | HasDiffPairViaGap () const |
int | GetDiffPairViaGap () const |
std::optional< int > | GetDiffPairViaGapOpt () const |
void | SetDiffPairViaGap (int aSize) |
void | SetDiffPairViaGap (std::optional< int > aSize) |
void | SetDiffPairViaGapParent (NETCLASS *parent) |
NETCLASS * | GetDiffPairViaGapParent () const |
bool | HasPcbColor () const |
COLOR4D | GetPcbColor (bool aIsForSave=false) const |
void | SetPcbColor (const COLOR4D &aColor) |
void | SetPcbColorParent (NETCLASS *parent) |
NETCLASS * | GetPcbColorParent () const |
bool | HasWireWidth () const |
int | GetWireWidth () const |
std::optional< int > | GetWireWidthOpt () const |
void | SetWireWidth (int aWidth) |
void | SetWireWidth (std::optional< int > aWidth) |
void | SetWireWidthParent (NETCLASS *parent) |
NETCLASS * | GetWireWidthParent () const |
bool | HasBusWidth () const |
int | GetBusWidth () const |
std::optional< int > | GetBusWidthOpt () const |
void | SetBusWidth (int aWidth) |
void | SetBusWidth (std::optional< int > aWidth) |
void | SetBusWidthParent (NETCLASS *parent) |
NETCLASS * | GetBusWidthParent () const |
COLOR4D | GetSchematicColor (bool aIsForSave=false) const |
void | SetSchematicColor (COLOR4D aColor) |
void | SetSchematicColorParent (NETCLASS *parent) |
NETCLASS * | GetSchematicColorParent () const |
bool | HasLineStyle () const |
int | GetLineStyle () const |
std::optional< int > | GetLineStyleOpt () const |
void | SetLineStyle (int aStyle) |
void | SetLineStyle (std::optional< int > aStyle) |
void | SetLineStyleParent (NETCLASS *parent) |
NETCLASS * | GetLineStyleParent () const |
void | SetPriority (int aPriority) |
int | GetPriority () const |
Static Public Attributes | |
static const char | Default [] = "Default" |
the name of the default NETCLASS | |
Protected Attributes | |
bool | m_isDefault |
Mark if this instance is the default netclass. | |
std::vector< NETCLASS * > | m_constituents |
NETCLASSes contributing to an aggregate. | |
wxString | m_Name |
Name of the net class. | |
int | m_Priority |
The priority for multiple netclass resolution. | |
wxString | m_Description |
what this NETCLASS is for. | |
std::optional< int > | m_Clearance |
clearance when routing | |
std::optional< int > | m_TrackWidth |
track width used to route nets | |
std::optional< int > | m_ViaDia |
via diameter | |
std::optional< int > | m_ViaDrill |
via drill hole diameter | |
std::optional< int > | m_uViaDia |
microvia diameter | |
std::optional< int > | m_uViaDrill |
microvia drill hole diameter | |
std::optional< int > | m_diffPairWidth |
std::optional< int > | m_diffPairGap |
std::optional< int > | m_diffPairViaGap |
std::optional< int > | m_wireWidth |
std::optional< int > | m_busWidth |
COLOR4D | m_schematicColor |
std::optional< int > | m_lineStyle |
COLOR4D | m_pcbColor |
Optional PCB color override for this netclass. | |
NETCLASS * | m_clearanceParent |
NETCLASS * | m_trackWidthParent |
NETCLASS * | m_viaDiameterParent |
NETCLASS * | m_viaDrillParent |
NETCLASS * | m_uViaDiaParent |
NETCLASS * | m_uViaDrillParent |
NETCLASS * | m_diffPairWidthParent |
NETCLASS * | m_diffPairGapParent |
NETCLASS * | m_diffPairViaGapParent |
NETCLASS * | m_pcbColorParent |
NETCLASS * | m_wireWidthParent |
NETCLASS * | m_busWidthParent |
NETCLASS * | m_schematicColorParent |
NETCLASS * | m_lineStyleParent |
A collection of nets and the parameters used to route or test these nets.
Definition at line 44 of file netclass.h.
NETCLASS::NETCLASS | ( | const wxString & | aName, |
bool | aInitWithDefaults = true |
||
) |
Create a NETCLASS instance with aName.
The units on the optional parameters are Internal Units (1 nm)
aName | is the name of this new netclass. |
aInitWithDefaults | if true, initalise the netclass with default values |
Definition at line 56 of file netclass.cpp.
References DEFAULT_BUS_WIDTH, DEFAULT_CLEARANCE, DEFAULT_DIFF_PAIR_GAP, DEFAULT_DIFF_PAIR_VIAGAP, DEFAULT_DIFF_PAIR_WIDTH, DEFAULT_LINE_STYLE, DEFAULT_TRACK_WIDTH, DEFAULT_UVIA_DIAMETER, DEFAULT_UVIA_DRILL, DEFAULT_VIA_DIAMETER, DEFAULT_VIA_DRILL, DEFAULT_WIRE_WIDTH, m_constituents, ResetParents(), SetBusWidth(), SetClearance(), SetDiffPairGap(), SetDiffPairViaGap(), SetDiffPairWidth(), SetLineStyle(), SetName(), SetPcbColor(), SetPriority(), SetSchematicColor(), SetTrackWidth(), SetuViaDiameter(), SetuViaDrill(), SetViaDiameter(), SetViaDrill(), and SetWireWidth().
|
inline |
Definition at line 57 of file netclass.h.
bool NETCLASS::ContainsNetclassWithName | ( | const wxString & | netclass | ) | const |
Determines if the given netclass name is a constituent of this (maybe aggregate) netclass.
Definition at line 276 of file netclass.cpp.
References m_constituents.
Referenced by hasNetclassFunc(), DIALOG_GLOBAL_EDIT_TEARDROPS::visitItem(), and DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::visitItem().
|
overridevirtual |
Deserializes the given protobuf message into this object.
aContainer | is an Any which should have a concrete type matching this object |
Reimplemented from SERIALIZABLE.
Definition at line 203 of file netclass.cpp.
References m_busWidth, m_Clearance, m_diffPairGap, m_diffPairViaGap, m_diffPairWidth, m_Name, m_pcbColor, m_Priority, m_schematicColor, m_TrackWidth, m_ViaDia, m_ViaDrill, m_wireWidth, and SetConstituentNetclasses().
|
inline |
Definition at line 209 of file netclass.h.
Referenced by NET_SETTINGS::makeEffectiveNetclass().
|
inline |
Definition at line 210 of file netclass.h.
|
inline |
Definition at line 214 of file netclass.h.
|
inline |
Definition at line 61 of file netclass.h.
|
inline |
Definition at line 114 of file netclass.h.
Referenced by NET_SETTINGS::makeEffectiveNetclass().
|
inline |
Definition at line 115 of file netclass.h.
|
inline |
Definition at line 119 of file netclass.h.
const std::vector< NETCLASS * > & NETCLASS::GetConstituentNetclasses | ( | ) | const |
Gets the netclasses which make up this netclass.
Definition at line 264 of file netclass.cpp.
References m_constituents.
|
inline |
Definition at line 110 of file netclass.h.
|
inline |
Definition at line 170 of file netclass.h.
Referenced by NET_SETTINGS::makeEffectiveNetclass().
|
inline |
Definition at line 171 of file netclass.h.
|
inline |
Definition at line 175 of file netclass.h.
|
inline |
Definition at line 178 of file netclass.h.
Referenced by NET_SETTINGS::makeEffectiveNetclass().
|
inline |
Definition at line 179 of file netclass.h.
|
inline |
Definition at line 183 of file netclass.h.
|
inline |
Definition at line 162 of file netclass.h.
Referenced by NET_SETTINGS::makeEffectiveNetclass().
|
inline |
Definition at line 163 of file netclass.h.
|
inline |
Definition at line 167 of file netclass.h.
const wxString NETCLASS::GetHumanReadableName | ( | ) | const |
Gets the consolidated name of this netclass (which may be an aggregate).
This is intended for display to users (e.g. in infobars or messages). WARNING: Do not use this to compare equivalence, or to export to other tools)
Definition at line 286 of file netclass.cpp.
References _, GetName(), m_constituents, m_Name, and name.
Referenced by BOARD_INSPECTION_TOOL::getItemDescription(), PCB_TUNING_PATTERN::GetMsgPanelInfo(), PCB_NET_INSPECTOR_PANEL::LIST_ITEM::LIST_ITEM(), and ROUTER_TOOL::UpdateMessagePanel().
|
inline |
Definition at line 231 of file netclass.h.
Referenced by NET_SETTINGS::makeEffectiveNetclass().
|
inline |
Definition at line 232 of file netclass.h.
|
inline |
Definition at line 236 of file netclass.h.
const wxString NETCLASS::GetName | ( | ) | const |
Gets the name of this (maybe aggregate) netclass in a format for internal usage or for export to external tools / netlists.
WARNING: Do not use this to display a netclass name to a user. Use GetHumanReadableName instead.
Definition at line 314 of file netclass.cpp.
References m_constituents, m_Name, and name.
Referenced by PCBEXPR_NETCLASS_VALUE::AsString(), GetHumanReadableName(), BOARD_CONNECTED_ITEM::GetNetClassName(), NETS_SEARCH_HANDLER::getResultCell(), RATSNEST_SEARCH_HANDLER::getResultCell(), API_HANDLER_PCB::handleGetNets(), PCB_NET_INSPECTOR_PANEL::netFilterMatches(), DIALOG_GLOBAL_EDIT_TEARDROPS::TransferDataToWindow(), and DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::TransferDataToWindow().
|
inline |
Definition at line 186 of file netclass.h.
References KIGFX::COLOR4D::UNSPECIFIED.
Referenced by PNS_KICAD_IFACE::DisplayRatline(), KIGFX::PCB_RENDER_SETTINGS::GetColor(), NET_SETTINGS::makeEffectiveNetclass(), and RATSNEST_VIEW_ITEM::ViewDraw().
|
inline |
Definition at line 198 of file netclass.h.
|
inline |
Definition at line 239 of file netclass.h.
|
inline |
Definition at line 216 of file netclass.h.
References KIGFX::COLOR4D::UNSPECIFIED.
Referenced by NET_SETTINGS::makeEffectiveNetclass().
|
inline |
Definition at line 228 of file netclass.h.
|
inline |
Definition at line 122 of file netclass.h.
Referenced by PCB_IO_EAGLE::LoadBoard(), and NET_SETTINGS::makeEffectiveNetclass().
|
inline |
Definition at line 123 of file netclass.h.
|
inline |
Definition at line 127 of file netclass.h.
|
inline |
Definition at line 146 of file netclass.h.
Referenced by EDIT_TOOL::ChangeTrackWidth(), NET_SETTINGS::makeEffectiveNetclass(), and PCB_EDIT_FRAME::SetTrackSegmentWidth().
|
inline |
Definition at line 147 of file netclass.h.
|
inline |
Definition at line 151 of file netclass.h.
|
inline |
Definition at line 154 of file netclass.h.
Referenced by EDIT_TOOL::ChangeTrackWidth(), PCB_VIA::GetDrillValue(), NET_SETTINGS::makeEffectiveNetclass(), and PCB_EDIT_FRAME::SetTrackSegmentWidth().
|
inline |
Definition at line 155 of file netclass.h.
|
inline |
Definition at line 159 of file netclass.h.
|
inline |
Definition at line 130 of file netclass.h.
Referenced by PCB_IO_EAGLE::LoadBoard(), and NET_SETTINGS::makeEffectiveNetclass().
|
inline |
Definition at line 131 of file netclass.h.
|
inline |
Definition at line 135 of file netclass.h.
|
inline |
Definition at line 138 of file netclass.h.
Referenced by PCB_VIA::GetDrillValue(), PCB_IO_EAGLE::LoadBoard(), and NET_SETTINGS::makeEffectiveNetclass().
|
inline |
Definition at line 139 of file netclass.h.
|
inline |
Definition at line 143 of file netclass.h.
|
inline |
Definition at line 201 of file netclass.h.
Referenced by NET_SETTINGS::makeEffectiveNetclass().
|
inline |
Definition at line 202 of file netclass.h.
|
inline |
Definition at line 206 of file netclass.h.
|
inline |
Definition at line 208 of file netclass.h.
Referenced by NET_SETTINGS::addMissingDefaults(), and NET_SETTINGS::makeEffectiveNetclass().
|
inline |
Definition at line 113 of file netclass.h.
Referenced by NET_SETTINGS::addMissingDefaults(), and NET_SETTINGS::makeEffectiveNetclass().
|
inline |
Definition at line 169 of file netclass.h.
Referenced by NET_SETTINGS::addMissingDefaults(), and NET_SETTINGS::makeEffectiveNetclass().
|
inline |
Definition at line 177 of file netclass.h.
Referenced by NET_SETTINGS::makeEffectiveNetclass().
|
inline |
Definition at line 161 of file netclass.h.
Referenced by NET_SETTINGS::addMissingDefaults(), and NET_SETTINGS::makeEffectiveNetclass().
|
inline |
Definition at line 230 of file netclass.h.
Referenced by NET_SETTINGS::makeEffectiveNetclass().
|
inline |
Definition at line 185 of file netclass.h.
References KIGFX::COLOR4D::UNSPECIFIED.
Referenced by PNS_KICAD_IFACE::DisplayRatline(), KIGFX::PCB_RENDER_SETTINGS::GetColor(), and RATSNEST_VIEW_ITEM::ViewDraw().
|
inline |
Definition at line 121 of file netclass.h.
Referenced by NET_SETTINGS::addMissingDefaults(), and NET_SETTINGS::makeEffectiveNetclass().
|
inline |
Definition at line 145 of file netclass.h.
Referenced by NET_SETTINGS::addMissingDefaults(), and NET_SETTINGS::makeEffectiveNetclass().
|
inline |
Definition at line 153 of file netclass.h.
Referenced by NET_SETTINGS::addMissingDefaults(), and NET_SETTINGS::makeEffectiveNetclass().
|
inline |
Definition at line 129 of file netclass.h.
Referenced by NET_SETTINGS::addMissingDefaults(), and NET_SETTINGS::makeEffectiveNetclass().
|
inline |
Definition at line 137 of file netclass.h.
Referenced by NET_SETTINGS::addMissingDefaults(), and NET_SETTINGS::makeEffectiveNetclass().
|
inline |
Definition at line 200 of file netclass.h.
Referenced by NET_SETTINGS::addMissingDefaults(), and NET_SETTINGS::makeEffectiveNetclass().
|
inline |
@ brief Determines if this is marked as the default netclass
Definition at line 88 of file netclass.h.
bool NETCLASS::operator== | ( | const NETCLASS & | other | ) | const |
Definition at line 128 of file netclass.cpp.
References m_constituents.
void NETCLASS::ResetParameters | ( | ) |
Resets all parameters (except Name and Description)
Definition at line 107 of file netclass.cpp.
References ResetParents(), SetBusWidth(), SetClearance(), SetDiffPairGap(), SetDiffPairViaGap(), SetDiffPairWidth(), SetLineStyle(), SetPcbColor(), SetSchematicColor(), SetTrackWidth(), SetuViaDiameter(), SetuViaDrill(), SetViaDiameter(), SetViaDrill(), and SetWireWidth().
void NETCLASS::ResetParents | ( | ) |
Resets all parent fields to point to this netclass.
Definition at line 88 of file netclass.cpp.
References SetBusWidthParent(), SetClearanceParent(), SetDiffPairGapParent(), SetDiffPairViaGapParent(), SetDiffPairWidthParent(), SetLineStyleParent(), SetPcbColorParent(), SetSchematicColorParent(), SetTrackWidthParent(), SetuViaDiameterParent(), SetuViaDrillParent(), SetViaDiameterParent(), SetViaDrillParent(), and SetWireWidthParent().
Referenced by NETCLASS(), and ResetParameters().
|
overridevirtual |
Serializes this object to the given Any message.
The Any message's concrete type will be specific to the object in question.
aContainer | will be filled with a message describing this object |
Reimplemented from SERIALIZABLE.
Definition at line 134 of file netclass.cpp.
References m_busWidth, m_Clearance, m_constituents, m_diffPairGap, m_diffPairViaGap, m_diffPairWidth, m_lineStyle, m_Name, m_pcbColor, m_Priority, m_schematicColor, m_TrackWidth, m_ViaDia, m_ViaDrill, and m_wireWidth.
Referenced by API_HANDLER_PCB::handleGetNetClassForNets().
|
inline |
Definition at line 211 of file netclass.h.
Referenced by NET_SETTINGS::addMissingDefaults(), NETCLASS(), and ResetParameters().
|
inline |
Definition at line 212 of file netclass.h.
|
inline |
Definition at line 213 of file netclass.h.
Referenced by NET_SETTINGS::addMissingDefaults(), and ResetParents().
|
inline |
Definition at line 116 of file netclass.h.
Referenced by NET_SETTINGS::addMissingDefaults(), NET_SETTINGS::makeEffectiveNetclass(), NETCLASS(), and ResetParameters().
|
inline |
Definition at line 117 of file netclass.h.
|
inline |
Definition at line 118 of file netclass.h.
Referenced by NET_SETTINGS::addMissingDefaults(), and ResetParents().
void NETCLASS::SetConstituentNetclasses | ( | std::vector< NETCLASS * > && | constituents | ) |
Sets the netclasses which make up this netclass.
Definition at line 270 of file netclass.cpp.
References m_constituents.
Referenced by Deserialize().
|
inline |
Definition at line 111 of file netclass.h.
|
inline |
Definition at line 172 of file netclass.h.
Referenced by NET_SETTINGS::addMissingDefaults(), NETCLASS(), and ResetParameters().
|
inline |
Definition at line 173 of file netclass.h.
|
inline |
Definition at line 174 of file netclass.h.
Referenced by NET_SETTINGS::addMissingDefaults(), and ResetParents().
|
inline |
Definition at line 180 of file netclass.h.
Referenced by NETCLASS(), and ResetParameters().
|
inline |
Definition at line 181 of file netclass.h.
|
inline |
Definition at line 182 of file netclass.h.
Referenced by ResetParents().
|
inline |
Definition at line 164 of file netclass.h.
Referenced by NET_SETTINGS::addMissingDefaults(), NETCLASS(), and ResetParameters().
|
inline |
Definition at line 165 of file netclass.h.
|
inline |
Definition at line 166 of file netclass.h.
Referenced by NET_SETTINGS::addMissingDefaults(), and ResetParents().
|
inline |
Definition at line 233 of file netclass.h.
Referenced by NETCLASS(), and ResetParameters().
|
inline |
Definition at line 234 of file netclass.h.
|
inline |
Definition at line 235 of file netclass.h.
Referenced by ResetParents().
|
inline |
Set the name of this netclass.
Only relevant for root netclasses (i.e. those which are not an aggregate)
Definition at line 92 of file netclass.h.
Referenced by NETCLASS().
|
inline |
Definition at line 196 of file netclass.h.
Referenced by NETCLASS(), and ResetParameters().
|
inline |
Definition at line 197 of file netclass.h.
Referenced by ResetParents().
|
inline |
Definition at line 238 of file netclass.h.
Referenced by NETCLASS().
|
inline |
Definition at line 226 of file netclass.h.
Referenced by NETCLASS(), and ResetParameters().
|
inline |
Definition at line 227 of file netclass.h.
Referenced by ResetParents().
|
inline |
Definition at line 124 of file netclass.h.
Referenced by NET_SETTINGS::addMissingDefaults(), NETCLASS(), and ResetParameters().
|
inline |
Definition at line 125 of file netclass.h.
|
inline |
Definition at line 126 of file netclass.h.
Referenced by NET_SETTINGS::addMissingDefaults(), and ResetParents().
|
inline |
Definition at line 148 of file netclass.h.
Referenced by NET_SETTINGS::addMissingDefaults(), NETCLASS(), and ResetParameters().
|
inline |
Definition at line 149 of file netclass.h.
|
inline |
Definition at line 150 of file netclass.h.
Referenced by NET_SETTINGS::addMissingDefaults(), and ResetParents().
|
inline |
Definition at line 156 of file netclass.h.
Referenced by NET_SETTINGS::addMissingDefaults(), NETCLASS(), and ResetParameters().
|
inline |
Definition at line 157 of file netclass.h.
|
inline |
Definition at line 158 of file netclass.h.
Referenced by NET_SETTINGS::addMissingDefaults(), and ResetParents().
|
inline |
Definition at line 132 of file netclass.h.
Referenced by NET_SETTINGS::addMissingDefaults(), NETCLASS(), and ResetParameters().
|
inline |
Definition at line 133 of file netclass.h.
|
inline |
Definition at line 134 of file netclass.h.
Referenced by NET_SETTINGS::addMissingDefaults(), and ResetParents().
|
inline |
Definition at line 140 of file netclass.h.
Referenced by NET_SETTINGS::addMissingDefaults(), NETCLASS(), and ResetParameters().
|
inline |
Definition at line 141 of file netclass.h.
|
inline |
Definition at line 142 of file netclass.h.
Referenced by NET_SETTINGS::addMissingDefaults(), and ResetParents().
|
inline |
Definition at line 203 of file netclass.h.
Referenced by NET_SETTINGS::addMissingDefaults(), NETCLASS(), and ResetParameters().
|
inline |
Definition at line 204 of file netclass.h.
|
inline |
Definition at line 205 of file netclass.h.
Referenced by NET_SETTINGS::addMissingDefaults(), and ResetParents().
|
static |
the name of the default NETCLASS
Definition at line 47 of file netclass.h.
Referenced by BOARD::BOARD(), DIALOG_ASSIGN_NETCLASS::DIALOG_ASSIGN_NETCLASS(), DSN::SPECCTRA_DB::exportNETCLASS(), NET_SETTINGS::GetEffectiveNetClass(), NET_SETTINGS::migrateSchema3to4(), NET_SETTINGS::NET_SETTINGS(), APPEARANCE_CONTROLS::onNetclassContextMenu(), PANEL_SETUP_NETCLASSES::OnRemoveNetclassClick(), and NET_SETTINGS::RecomputeEffectiveNetclasses().
|
protected |
Definition at line 264 of file netclass.h.
Referenced by Deserialize(), and Serialize().
|
protected |
Definition at line 282 of file netclass.h.
|
protected |
clearance when routing
Definition at line 250 of file netclass.h.
Referenced by Deserialize(), and Serialize().
|
protected |
Definition at line 271 of file netclass.h.
|
protected |
NETCLASSes contributing to an aggregate.
Definition at line 244 of file netclass.h.
Referenced by ContainsNetclassWithName(), GetConstituentNetclasses(), GetHumanReadableName(), GetName(), NETCLASS(), operator==(), Serialize(), and SetConstituentNetclasses().
|
protected |
what this NETCLASS is for.
Definition at line 248 of file netclass.h.
|
protected |
Definition at line 260 of file netclass.h.
Referenced by Deserialize(), and Serialize().
|
protected |
Definition at line 278 of file netclass.h.
|
protected |
Definition at line 261 of file netclass.h.
Referenced by Deserialize(), and Serialize().
|
protected |
Definition at line 279 of file netclass.h.
|
protected |
Definition at line 259 of file netclass.h.
Referenced by Deserialize(), and Serialize().
|
protected |
Definition at line 277 of file netclass.h.
|
protected |
Mark if this instance is the default netclass.
Definition at line 242 of file netclass.h.
|
protected |
Definition at line 266 of file netclass.h.
Referenced by Serialize().
|
protected |
Definition at line 284 of file netclass.h.
|
protected |
Name of the net class.
Definition at line 246 of file netclass.h.
Referenced by Deserialize(), GetHumanReadableName(), GetName(), and Serialize().
|
protected |
Optional PCB color override for this netclass.
Definition at line 268 of file netclass.h.
Referenced by Deserialize(), and Serialize().
|
protected |
Definition at line 280 of file netclass.h.
|
protected |
The priority for multiple netclass resolution.
Definition at line 247 of file netclass.h.
Referenced by Deserialize(), and Serialize().
|
protected |
Definition at line 265 of file netclass.h.
Referenced by Deserialize(), and Serialize().
|
protected |
Definition at line 283 of file netclass.h.
|
protected |
track width used to route nets
Definition at line 252 of file netclass.h.
Referenced by Deserialize(), and Serialize().
|
protected |
Definition at line 272 of file netclass.h.
|
protected |
microvia diameter
Definition at line 256 of file netclass.h.
|
protected |
Definition at line 275 of file netclass.h.
|
protected |
microvia drill hole diameter
Definition at line 257 of file netclass.h.
|
protected |
Definition at line 276 of file netclass.h.
|
protected |
via diameter
Definition at line 253 of file netclass.h.
Referenced by Deserialize(), and Serialize().
|
protected |
Definition at line 273 of file netclass.h.
|
protected |
via drill hole diameter
Definition at line 254 of file netclass.h.
Referenced by Deserialize(), and Serialize().
|
protected |
Definition at line 274 of file netclass.h.
|
protected |
Definition at line 263 of file netclass.h.
Referenced by Deserialize(), and Serialize().
|
protected |
Definition at line 281 of file netclass.h.