KiCad PCB EDA Suite
|
#include <topo_match.h>
Public Member Functions | |
COMPONENT (const wxString &aRef, FOOTPRINT *aParentFp, std::optional< VECTOR2I > aRaOffset=std::optional< VECTOR2I >()) | |
~COMPONENT () | |
bool | IsSameKind (const COMPONENT &b) const |
void | AddPin (PIN *p) |
int | GetPinCount () const |
bool | MatchesWith (COMPONENT *b) |
std::vector< PIN * > & | Pins () |
FOOTPRINT * | GetParent () const |
bool | HasRAOffset () const |
const VECTOR2I | GetRAOffset () const |
Private Member Functions | |
void | sortPinsByName () |
Private Attributes | |
std::optional< VECTOR2I > | m_raOffset |
wxString | m_reference |
wxString | m_prefix |
FOOTPRINT * | m_parentFootprint = nullptr |
std::vector< PIN * > | m_pins |
Friends | |
class | PIN |
class | CONNECTION_GRAPH |
Definition at line 45 of file topo_match.h.
COMPONENT::COMPONENT | ( | const wxString & | aRef, |
FOOTPRINT * | aParentFp, | ||
std::optional< VECTOR2I > | aRaOffset = std::optional<VECTOR2I>() |
||
) |
Definition at line 457 of file topo_match.cpp.
References UTIL::GetRefDesPrefix(), and m_prefix.
COMPONENT::~COMPONENT | ( | ) |
Definition at line 552 of file topo_match.cpp.
References m_pins.
void COMPONENT::AddPin | ( | PIN * | p | ) |
Definition at line 468 of file topo_match.cpp.
References m_pins, and TMATCH::PIN::SetParent().
|
inline |
Definition at line 59 of file topo_match.h.
References m_parentFootprint.
Referenced by TMATCH::checkIfPadNetsMatch().
|
inline |
|
inline |
Definition at line 62 of file topo_match.h.
References m_raOffset.
|
inline |
Definition at line 61 of file topo_match.h.
References m_raOffset.
bool COMPONENT::IsSameKind | ( | const COMPONENT & | b | ) | const |
Definition at line 463 of file topo_match.cpp.
References FOOTPRINT::GetFPID(), m_parentFootprint, and m_prefix.
Referenced by TMATCH::PIN::IsTopologicallySimilar().
bool COMPONENT::MatchesWith | ( | COMPONENT * | b | ) |
Definition at line 474 of file topo_match.cpp.
References FOOTPRINT::GetFPID(), GetPinCount(), m_parentFootprint, m_pins, m_prefix, and pin.
Referenced by TMATCH::CONNECTION_GRAPH::findMatchingComponents().
|
inline |
Definition at line 58 of file topo_match.h.
References m_pins.
Referenced by TMATCH::checkIfPadNetsMatch().
|
private |
Definition at line 239 of file topo_match.cpp.
References m_pins.
|
friend |
Definition at line 48 of file topo_match.h.
|
friend |
Definition at line 47 of file topo_match.h.
|
private |
Definition at line 71 of file topo_match.h.
Referenced by GetParent(), IsSameKind(), and MatchesWith().
|
private |
Definition at line 72 of file topo_match.h.
Referenced by AddPin(), GetPinCount(), MatchesWith(), Pins(), sortPinsByName(), and ~COMPONENT().
|
private |
Definition at line 70 of file topo_match.h.
Referenced by COMPONENT(), IsSameKind(), and MatchesWith().
|
private |
Definition at line 68 of file topo_match.h.
Referenced by GetRAOffset(), and HasRAOffset().
|
private |
Definition at line 69 of file topo_match.h.
Referenced by TMATCH::CONNECTION_GRAPH::findMatchingComponents(), TMATCH::PIN::Format(), and TMATCH::PIN::IsIsomorphic().