KiCad PCB EDA Suite
Loading...
Searching...
No Matches
DIALOG_NET_INSPECTOR::LIST_ITEM Class Reference

Public Member Functions

 LIST_ITEM (unsigned int aGroupNumber, const wxString &aGroupName)
 
 LIST_ITEM (NETINFO_ITEM *aNet)
 
 LIST_ITEM ()
 
LIST_ITEMoperator= (const LIST_ITEM &)=delete
 
bool GetIsGroup () const
 
auto ChildrenBegin () const
 
auto ChildrenEnd () const
 
unsigned int ChildrenCount () const
 
NETINFO_ITEMGetNet () const
 
int GetNetCode () const
 
const wxString & GetNetName () const
 
const wxString & GetGroupName () const
 
void ResetColumnChangedBits ()
 
unsigned int GetPadCount () const
 
bool PadCountChanged () const
 
void SetPadCount (unsigned int aValue)
 
void AddPadCount (unsigned int aValue)
 
void SubPadCount (unsigned int aValue)
 
unsigned GetViaCount () const
 
bool ViaCountChanged () const
 
void SetViaCount (unsigned int aValue)
 
void AddViaCount (unsigned int aValue)
 
void SubViaCount (unsigned int aValue)
 
uint64_t GetViaLength () const
 
bool ViaLengthChanged () const
 
void SetViaLength (unsigned int aValue)
 
void AddViaLength (unsigned int aValue)
 
void SubViaLength (uint64_t aValue)
 
uint64_t GetBoardWireLength () const
 
uint64_t GetLayerWireLength (size_t aLayer) const
 
bool BoardWireLengthChanged () const
 
void SetLayerWireLength (const uint64_t aValue, size_t aLayer)
 
void AddLayerWireLength (const uint64_t aValue, size_t aLayer)
 
void SubLayerWireLength (const uint64_t aValue, size_t aLayer)
 
uint64_t GetChipWireLength () const
 
bool ChipWireLengthChanged () const
 
void SetChipWireLength (uint64_t aValue)
 
void AddChipWireLength (uint64_t aValue)
 
void SubChipWireLength (uint64_t aValue)
 
unsigned long long int GetTotalLength () const
 
bool TotalLengthChanged () const
 
LIST_ITEMParent () const
 
void SetParent (LIST_ITEM *aParent)
 

Private Attributes

LIST_ITEMm_parent = nullptr
 
std::vector< LIST_ITEM * > m_children
 
bool m_is_group = false
 
unsigned int m_group_number = 0
 
NETINFO_ITEMm_net = nullptr
 
unsigned int m_pad_count = 0
 
unsigned int m_via_count = 0
 
uint64_t m_via_length = 0
 
uint64_t m_chip_wire_length = 0
 
std::array< uint64_t, MAX_CU_LAYERSm_layer_wire_length {}
 
std::vector< char > m_column_changed
 
wxString m_net_name
 

Detailed Description

Definition at line 99 of file dialog_net_inspector.cpp.

Constructor & Destructor Documentation

◆ LIST_ITEM() [1/3]

DIALOG_NET_INSPECTOR::LIST_ITEM::LIST_ITEM ( unsigned int  aGroupNumber,
const wxString &  aGroupName 
)
inline

Definition at line 102 of file dialog_net_inspector.cpp.

References COLUMN_NUM_STATIC_COL, m_column_changed, and MAX_CU_LAYERS.

◆ LIST_ITEM() [2/3]

DIALOG_NET_INSPECTOR::LIST_ITEM::LIST_ITEM ( NETINFO_ITEM aNet)
inline

◆ LIST_ITEM() [3/3]

DIALOG_NET_INSPECTOR::LIST_ITEM::LIST_ITEM ( )
inline

Definition at line 117 of file dialog_net_inspector.cpp.

References COLUMN_NUM_STATIC_COL, m_column_changed, and MAX_CU_LAYERS.

Member Function Documentation

◆ AddChipWireLength()

void DIALOG_NET_INSPECTOR::LIST_ITEM::AddChipWireLength ( uint64_t  aValue)
inline

◆ AddLayerWireLength()

void DIALOG_NET_INSPECTOR::LIST_ITEM::AddLayerWireLength ( const uint64_t  aValue,
size_t  aLayer 
)
inline

◆ AddPadCount()

void DIALOG_NET_INSPECTOR::LIST_ITEM::AddPadCount ( unsigned int  aValue)
inline

Definition at line 164 of file dialog_net_inspector.cpp.

References AddPadCount(), COLUMN_PAD_COUNT, m_column_changed, m_pad_count, and m_parent.

Referenced by AddPadCount(), and SetParent().

◆ AddViaCount()

void DIALOG_NET_INSPECTOR::LIST_ITEM::AddViaCount ( unsigned int  aValue)
inline

Definition at line 201 of file dialog_net_inspector.cpp.

References AddViaCount(), COLUMN_VIA_COUNT, m_column_changed, m_parent, and m_via_count.

Referenced by AddViaCount(), and SetParent().

◆ AddViaLength()

void DIALOG_NET_INSPECTOR::LIST_ITEM::AddViaLength ( unsigned int  aValue)
inline

◆ BoardWireLengthChanged()

bool DIALOG_NET_INSPECTOR::LIST_ITEM::BoardWireLengthChanged ( ) const
inline

◆ ChildrenBegin()

auto DIALOG_NET_INSPECTOR::LIST_ITEM::ChildrenBegin ( ) const
inline

◆ ChildrenCount()

unsigned int DIALOG_NET_INSPECTOR::LIST_ITEM::ChildrenCount ( ) const
inline

◆ ChildrenEnd()

auto DIALOG_NET_INSPECTOR::LIST_ITEM::ChildrenEnd ( ) const
inline

◆ ChipWireLengthChanged()

bool DIALOG_NET_INSPECTOR::LIST_ITEM::ChipWireLengthChanged ( ) const
inline

◆ GetBoardWireLength()

uint64_t DIALOG_NET_INSPECTOR::LIST_ITEM::GetBoardWireLength ( ) const
inline

◆ GetChipWireLength()

uint64_t DIALOG_NET_INSPECTOR::LIST_ITEM::GetChipWireLength ( ) const
inline

◆ GetGroupName()

const wxString & DIALOG_NET_INSPECTOR::LIST_ITEM::GetGroupName ( ) const
inline

Definition at line 138 of file dialog_net_inspector.cpp.

References m_net_name.

Referenced by DIALOG_NET_INSPECTOR::onDeleteNet().

◆ GetIsGroup()

◆ GetLayerWireLength()

uint64_t DIALOG_NET_INSPECTOR::LIST_ITEM::GetLayerWireLength ( size_t  aLayer) const
inline

Definition at line 266 of file dialog_net_inspector.cpp.

References m_layer_wire_length.

Referenced by DIALOG_NET_INSPECTOR::DATA_MODEL::Compare().

◆ GetNet()

NETINFO_ITEM * DIALOG_NET_INSPECTOR::LIST_ITEM::GetNet ( ) const
inline

Definition at line 130 of file dialog_net_inspector.cpp.

References m_net.

Referenced by DIALOG_NET_INSPECTOR::onRenameNet().

◆ GetNetCode()

int DIALOG_NET_INSPECTOR::LIST_ITEM::GetNetCode ( ) const
inline

◆ GetNetName()

const wxString & DIALOG_NET_INSPECTOR::LIST_ITEM::GetNetName ( ) const
inline

Definition at line 137 of file dialog_net_inspector.cpp.

References m_net_name.

Referenced by DIALOG_NET_INSPECTOR::DATA_MODEL::Compare().

◆ GetPadCount()

unsigned int DIALOG_NET_INSPECTOR::LIST_ITEM::GetPadCount ( ) const
inline

◆ GetTotalLength()

unsigned long long int DIALOG_NET_INSPECTOR::LIST_ITEM::GetTotalLength ( ) const
inline

◆ GetViaCount()

unsigned DIALOG_NET_INSPECTOR::LIST_ITEM::GetViaCount ( ) const
inline

◆ GetViaLength()

uint64_t DIALOG_NET_INSPECTOR::LIST_ITEM::GetViaLength ( ) const
inline

◆ operator=()

LIST_ITEM & DIALOG_NET_INSPECTOR::LIST_ITEM::operator= ( const LIST_ITEM )
delete

◆ PadCountChanged()

bool DIALOG_NET_INSPECTOR::LIST_ITEM::PadCountChanged ( ) const
inline

◆ Parent()

LIST_ITEM * DIALOG_NET_INSPECTOR::LIST_ITEM::Parent ( ) const
inline

◆ ResetColumnChangedBits()

void DIALOG_NET_INSPECTOR::LIST_ITEM::ResetColumnChangedBits ( )
inline

Definition at line 140 of file dialog_net_inspector.cpp.

References m_column_changed.

◆ SetChipWireLength()

void DIALOG_NET_INSPECTOR::LIST_ITEM::SetChipWireLength ( uint64_t  aValue)
inline

◆ SetLayerWireLength()

void DIALOG_NET_INSPECTOR::LIST_ITEM::SetLayerWireLength ( const uint64_t  aValue,
size_t  aLayer 
)
inline

◆ SetPadCount()

void DIALOG_NET_INSPECTOR::LIST_ITEM::SetPadCount ( unsigned int  aValue)
inline

◆ SetParent()

◆ SetViaCount()

void DIALOG_NET_INSPECTOR::LIST_ITEM::SetViaCount ( unsigned int  aValue)
inline

◆ SetViaLength()

void DIALOG_NET_INSPECTOR::LIST_ITEM::SetViaLength ( unsigned int  aValue)
inline

◆ SubChipWireLength()

void DIALOG_NET_INSPECTOR::LIST_ITEM::SubChipWireLength ( uint64_t  aValue)
inline

◆ SubLayerWireLength()

void DIALOG_NET_INSPECTOR::LIST_ITEM::SubLayerWireLength ( const uint64_t  aValue,
size_t  aLayer 
)
inline

◆ SubPadCount()

void DIALOG_NET_INSPECTOR::LIST_ITEM::SubPadCount ( unsigned int  aValue)
inline

Definition at line 173 of file dialog_net_inspector.cpp.

References COLUMN_PAD_COUNT, m_column_changed, m_pad_count, m_parent, and SubPadCount().

Referenced by SetParent(), and SubPadCount().

◆ SubViaCount()

void DIALOG_NET_INSPECTOR::LIST_ITEM::SubViaCount ( unsigned int  aValue)
inline

Definition at line 210 of file dialog_net_inspector.cpp.

References COLUMN_VIA_COUNT, m_column_changed, m_parent, m_via_count, and SubViaCount().

Referenced by SetParent(), and SubViaCount().

◆ SubViaLength()

void DIALOG_NET_INSPECTOR::LIST_ITEM::SubViaLength ( uint64_t  aValue)
inline

◆ TotalLengthChanged()

bool DIALOG_NET_INSPECTOR::LIST_ITEM::TotalLengthChanged ( ) const
inline

◆ ViaCountChanged()

bool DIALOG_NET_INSPECTOR::LIST_ITEM::ViaCountChanged ( ) const
inline

◆ ViaLengthChanged()

bool DIALOG_NET_INSPECTOR::LIST_ITEM::ViaLengthChanged ( ) const
inline

Member Data Documentation

◆ m_children

std::vector<LIST_ITEM*> DIALOG_NET_INSPECTOR::LIST_ITEM::m_children
private

Definition at line 403 of file dialog_net_inspector.cpp.

Referenced by ChildrenBegin(), ChildrenCount(), ChildrenEnd(), and SetParent().

◆ m_chip_wire_length

uint64_t DIALOG_NET_INSPECTOR::LIST_ITEM::m_chip_wire_length = 0
private

◆ m_column_changed

◆ m_group_number

unsigned int DIALOG_NET_INSPECTOR::LIST_ITEM::m_group_number = 0
private

Definition at line 406 of file dialog_net_inspector.cpp.

Referenced by GetNetCode().

◆ m_is_group

bool DIALOG_NET_INSPECTOR::LIST_ITEM::m_is_group = false
private

Definition at line 405 of file dialog_net_inspector.cpp.

Referenced by GetIsGroup().

◆ m_layer_wire_length

std::array<uint64_t, MAX_CU_LAYERS> DIALOG_NET_INSPECTOR::LIST_ITEM::m_layer_wire_length {}
private

◆ m_net

NETINFO_ITEM* DIALOG_NET_INSPECTOR::LIST_ITEM::m_net = nullptr
private

Definition at line 407 of file dialog_net_inspector.cpp.

Referenced by GetNet(), and GetNetCode().

◆ m_net_name

wxString DIALOG_NET_INSPECTOR::LIST_ITEM::m_net_name
private

Definition at line 420 of file dialog_net_inspector.cpp.

Referenced by GetGroupName(), GetNetName(), and LIST_ITEM().

◆ m_pad_count

unsigned int DIALOG_NET_INSPECTOR::LIST_ITEM::m_pad_count = 0
private

Definition at line 408 of file dialog_net_inspector.cpp.

Referenced by AddPadCount(), GetPadCount(), SetPadCount(), and SubPadCount().

◆ m_parent

◆ m_via_count

unsigned int DIALOG_NET_INSPECTOR::LIST_ITEM::m_via_count = 0
private

Definition at line 409 of file dialog_net_inspector.cpp.

Referenced by AddViaCount(), GetViaCount(), SetViaCount(), and SubViaCount().

◆ m_via_length

uint64_t DIALOG_NET_INSPECTOR::LIST_ITEM::m_via_length = 0
private

Definition at line 410 of file dialog_net_inspector.cpp.

Referenced by AddViaLength(), GetViaLength(), SetViaLength(), and SubViaLength().


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