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

Primary data item for entries in the Net Inspector list. More...

#include <pcb_net_inspector_panel_data_model.h>

Public Types

enum class  GROUP_TYPE { NONE , USER_DEFINED , NETCLASS }
 

Public Member Functions

 LIST_ITEM (unsigned int aGroupNumber, const wxString &aGroupName, GROUP_TYPE aGroupType)
 
 LIST_ITEM (NETINFO_ITEM *aNet)
 
 LIST_ITEM ()
 
LIST_ITEMoperator= (const LIST_ITEM &)=delete
 
bool GetIsGroup () const
 
const wxString & GetGroupName () const
 
GROUP_TYPE GetGroupType () const
 
int GetGroupNumber () const
 
auto ChildrenBegin () const
 
auto ChildrenEnd () const
 
unsigned int ChildrenCount () const
 
void SetLayerCount (unsigned int aValue)
 
NETINFO_ITEMGetNet () const
 
int GetNetCode () const
 
const wxString & GetNetName () const
 
const wxString & GetNetclassName () 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)
 
int64_t GetViaLength () const
 
bool ViaLengthChanged () const
 
void SetViaLength (unsigned int aValue)
 
void AddViaLength (unsigned int aValue)
 
void SubViaLength (int64_t aValue)
 
int64_t GetViaDelay () const
 
void SetViaDelay (unsigned int aValue)
 
void AddViaDelay (unsigned int aValue)
 
void SubViaDelay (int64_t aValue)
 
int64_t GetBoardWireLength () const
 
int64_t GetBoardWireDelay () const
 
int64_t GetLayerWireLength (PCB_LAYER_ID aLayer) const
 
int64_t GetLayerWireDelay (PCB_LAYER_ID aLayer) const
 
bool BoardWireLengthChanged () const
 
void SetLayerWireLength (const int64_t aValue, PCB_LAYER_ID aLayer)
 
std::map< PCB_LAYER_ID, int64_t > GetLayerWireLengths () const
 
std::map< PCB_LAYER_ID, int64_t > GetLayerWireDelays () const
 
void SetLayerWireLengths (const std::map< PCB_LAYER_ID, int64_t > &aValue)
 
void AddLayerWireLength (const int64_t aValue, PCB_LAYER_ID aLayer)
 
void SubLayerWireLength (const int64_t aValue, PCB_LAYER_ID aLayer)
 
void SetLayerWireDelays (const std::map< PCB_LAYER_ID, int64_t > &aValue)
 
void AddLayerWireDelay (const int64_t aValue, PCB_LAYER_ID aLayer)
 
void SubLayerWireDelay (const int64_t aValue, PCB_LAYER_ID aLayer)
 
int64_t GetPadDieLength () const
 
bool PadDieLengthChanged () const
 
void SetPadDieLength (int64_t aValue)
 
void AddPadDieLength (int64_t aValue)
 
void SubPadDieLength (int64_t aValue)
 
int64_t GetPadDieDelay () const
 
void SetPadDieDelay (int64_t aValue)
 
void AddPadDieDelay (int64_t aValue)
 
void SubPadDieDelay (int64_t aValue)
 
unsigned long long int GetTotalLength () const
 
unsigned long long int GetTotalDelay () const
 
bool TotalLengthChanged () const
 
LIST_ITEMParent () const
 
void SetParent (LIST_ITEM *aParent)
 

Private Attributes

LIST_ITEMm_parent = nullptr
 
std::vector< LIST_ITEM * > m_children
 
GROUP_TYPE m_group_type = GROUP_TYPE::NONE
 
unsigned int m_group_number = 0
 
NETINFO_ITEMm_net = nullptr
 
unsigned int m_pad_count = 0
 
unsigned int m_via_count = 0
 
int64_t m_via_length = 0
 
int64_t m_via_delay = 0
 
int64_t m_pad_die_length = 0
 
int64_t m_pad_die_delay = 0
 
std::map< PCB_LAYER_ID, int64_t > m_layer_wire_length {}
 
std::map< PCB_LAYER_ID, int64_t > m_layer_wire_delay {}
 
std::vector< int > m_column_changed
 
wxString m_net_name
 
wxString m_net_class
 
wxString m_group_name
 

Detailed Description

Primary data item for entries in the Net Inspector list.

This class tracks all data for a given net entry in the net inspector list.

Definition at line 31 of file pcb_net_inspector_panel_data_model.h.

Member Enumeration Documentation

◆ GROUP_TYPE

Enumerator
NONE 
USER_DEFINED 
NETCLASS 

Definition at line 34 of file pcb_net_inspector_panel_data_model.h.

Constructor & Destructor Documentation

◆ LIST_ITEM() [1/3]

PCB_NET_INSPECTOR_PANEL::LIST_ITEM::LIST_ITEM ( unsigned int  aGroupNumber,
const wxString &  aGroupName,
GROUP_TYPE  aGroupType 
)
inline

◆ LIST_ITEM() [2/3]

◆ LIST_ITEM() [3/3]

PCB_NET_INSPECTOR_PANEL::LIST_ITEM::LIST_ITEM ( )
inline

Member Function Documentation

◆ AddLayerWireDelay()

void PCB_NET_INSPECTOR_PANEL::LIST_ITEM::AddLayerWireDelay ( const int64_t  aValue,
PCB_LAYER_ID  aLayer 
)
inline

◆ AddLayerWireLength()

void PCB_NET_INSPECTOR_PANEL::LIST_ITEM::AddLayerWireLength ( const int64_t  aValue,
PCB_LAYER_ID  aLayer 
)
inline

◆ AddPadCount()

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

◆ AddPadDieDelay()

void PCB_NET_INSPECTOR_PANEL::LIST_ITEM::AddPadDieDelay ( int64_t  aValue)
inline

◆ AddPadDieLength()

void PCB_NET_INSPECTOR_PANEL::LIST_ITEM::AddPadDieLength ( int64_t  aValue)
inline

◆ AddViaCount()

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

◆ AddViaDelay()

void PCB_NET_INSPECTOR_PANEL::LIST_ITEM::AddViaDelay ( unsigned int  aValue)
inline

◆ AddViaLength()

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

◆ BoardWireLengthChanged()

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

◆ ChildrenBegin()

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

◆ ChildrenCount()

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

◆ ChildrenEnd()

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

◆ GetBoardWireDelay()

int64_t PCB_NET_INSPECTOR_PANEL::LIST_ITEM::GetBoardWireDelay ( ) const
inline

◆ GetBoardWireLength()

int64_t PCB_NET_INSPECTOR_PANEL::LIST_ITEM::GetBoardWireLength ( ) const
inline

◆ GetGroupName()

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

◆ GetGroupNumber()

int PCB_NET_INSPECTOR_PANEL::LIST_ITEM::GetGroupNumber ( ) const
inline

Definition at line 67 of file pcb_net_inspector_panel_data_model.h.

References m_group_number.

◆ GetGroupType()

GROUP_TYPE PCB_NET_INSPECTOR_PANEL::LIST_ITEM::GetGroupType ( ) const
inline

Definition at line 66 of file pcb_net_inspector_panel_data_model.h.

References m_group_type.

◆ GetIsGroup()

◆ GetLayerWireDelay()

int64_t PCB_NET_INSPECTOR_PANEL::LIST_ITEM::GetLayerWireDelay ( PCB_LAYER_ID  aLayer) const
inline

◆ GetLayerWireDelays()

std::map< PCB_LAYER_ID, int64_t > PCB_NET_INSPECTOR_PANEL::LIST_ITEM::GetLayerWireDelays ( ) const
inline

Definition at line 269 of file pcb_net_inspector_panel_data_model.h.

References m_layer_wire_delay.

◆ GetLayerWireLength()

int64_t PCB_NET_INSPECTOR_PANEL::LIST_ITEM::GetLayerWireLength ( PCB_LAYER_ID  aLayer) const
inline

◆ GetLayerWireLengths()

std::map< PCB_LAYER_ID, int64_t > PCB_NET_INSPECTOR_PANEL::LIST_ITEM::GetLayerWireLengths ( ) const
inline

Definition at line 267 of file pcb_net_inspector_panel_data_model.h.

References m_layer_wire_length.

◆ GetNet()

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

Definition at line 78 of file pcb_net_inspector_panel_data_model.h.

References m_net.

Referenced by PCB_NET_INSPECTOR_PANEL::onRenameSelectedNet().

◆ GetNetclassName()

const wxString & PCB_NET_INSPECTOR_PANEL::LIST_ITEM::GetNetclassName ( ) const
inline

Definition at line 86 of file pcb_net_inspector_panel_data_model.h.

References m_net_class.

◆ GetNetCode()

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

◆ GetNetName()

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

◆ GetPadCount()

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

◆ GetPadDieDelay()

int64_t PCB_NET_INSPECTOR_PANEL::LIST_ITEM::GetPadDieDelay ( ) const
inline

◆ GetPadDieLength()

int64_t PCB_NET_INSPECTOR_PANEL::LIST_ITEM::GetPadDieLength ( ) const
inline

◆ GetTotalDelay()

unsigned long long int PCB_NET_INSPECTOR_PANEL::LIST_ITEM::GetTotalDelay ( ) const
inline

◆ GetTotalLength()

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

◆ GetViaCount()

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

◆ GetViaDelay()

int64_t PCB_NET_INSPECTOR_PANEL::LIST_ITEM::GetViaDelay ( ) const
inline

◆ GetViaLength()

int64_t PCB_NET_INSPECTOR_PANEL::LIST_ITEM::GetViaLength ( ) const
inline

◆ operator=()

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

◆ PadCountChanged()

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

◆ PadDieLengthChanged()

bool PCB_NET_INSPECTOR_PANEL::LIST_ITEM::PadDieLengthChanged ( ) const
inline

◆ Parent()

◆ ResetColumnChangedBits()

void PCB_NET_INSPECTOR_PANEL::LIST_ITEM::ResetColumnChangedBits ( )
inline

Definition at line 88 of file pcb_net_inspector_panel_data_model.h.

References m_column_changed.

◆ SetLayerCount()

void PCB_NET_INSPECTOR_PANEL::LIST_ITEM::SetLayerCount ( unsigned int  aValue)
inline

◆ SetLayerWireDelays()

void PCB_NET_INSPECTOR_PANEL::LIST_ITEM::SetLayerWireDelays ( const std::map< PCB_LAYER_ID, int64_t > &  aValue)
inline

◆ SetLayerWireLength()

void PCB_NET_INSPECTOR_PANEL::LIST_ITEM::SetLayerWireLength ( const int64_t  aValue,
PCB_LAYER_ID  aLayer 
)
inline

◆ SetLayerWireLengths()

void PCB_NET_INSPECTOR_PANEL::LIST_ITEM::SetLayerWireLengths ( const std::map< PCB_LAYER_ID, int64_t > &  aValue)
inline

◆ SetPadCount()

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

◆ SetPadDieDelay()

void PCB_NET_INSPECTOR_PANEL::LIST_ITEM::SetPadDieDelay ( int64_t  aValue)
inline

◆ SetPadDieLength()

void PCB_NET_INSPECTOR_PANEL::LIST_ITEM::SetPadDieLength ( int64_t  aValue)
inline

◆ SetParent()

◆ SetViaCount()

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

◆ SetViaDelay()

void PCB_NET_INSPECTOR_PANEL::LIST_ITEM::SetViaDelay ( unsigned int  aValue)
inline

◆ SetViaLength()

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

◆ SubLayerWireDelay()

void PCB_NET_INSPECTOR_PANEL::LIST_ITEM::SubLayerWireDelay ( const int64_t  aValue,
PCB_LAYER_ID  aLayer 
)
inline

◆ SubLayerWireLength()

void PCB_NET_INSPECTOR_PANEL::LIST_ITEM::SubLayerWireLength ( const int64_t  aValue,
PCB_LAYER_ID  aLayer 
)
inline

◆ SubPadCount()

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

◆ SubPadDieDelay()

void PCB_NET_INSPECTOR_PANEL::LIST_ITEM::SubPadDieDelay ( int64_t  aValue)
inline

◆ SubPadDieLength()

void PCB_NET_INSPECTOR_PANEL::LIST_ITEM::SubPadDieLength ( int64_t  aValue)
inline

◆ SubViaCount()

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

◆ SubViaDelay()

void PCB_NET_INSPECTOR_PANEL::LIST_ITEM::SubViaDelay ( int64_t  aValue)
inline

◆ SubViaLength()

void PCB_NET_INSPECTOR_PANEL::LIST_ITEM::SubViaLength ( int64_t  aValue)
inline

◆ TotalLengthChanged()

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

◆ ViaCountChanged()

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

◆ ViaLengthChanged()

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

Member Data Documentation

◆ m_children

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

◆ m_column_changed

◆ m_group_name

wxString PCB_NET_INSPECTOR_PANEL::LIST_ITEM::m_group_name
private

Definition at line 483 of file pcb_net_inspector_panel_data_model.h.

Referenced by GetGroupName(), and LIST_ITEM().

◆ m_group_number

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

Definition at line 462 of file pcb_net_inspector_panel_data_model.h.

Referenced by GetGroupNumber(), and GetNetCode().

◆ m_group_type

GROUP_TYPE PCB_NET_INSPECTOR_PANEL::LIST_ITEM::m_group_type = GROUP_TYPE::NONE
private

Definition at line 461 of file pcb_net_inspector_panel_data_model.h.

Referenced by GetGroupType(), and GetIsGroup().

◆ m_layer_wire_delay

std::map<PCB_LAYER_ID, int64_t> PCB_NET_INSPECTOR_PANEL::LIST_ITEM::m_layer_wire_delay {}
private

◆ m_layer_wire_length

std::map<PCB_LAYER_ID, int64_t> PCB_NET_INSPECTOR_PANEL::LIST_ITEM::m_layer_wire_length {}
private

◆ m_net

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

Definition at line 463 of file pcb_net_inspector_panel_data_model.h.

Referenced by GetNet(), and GetNetCode().

◆ m_net_class

wxString PCB_NET_INSPECTOR_PANEL::LIST_ITEM::m_net_class
private

Definition at line 482 of file pcb_net_inspector_panel_data_model.h.

Referenced by GetNetclassName(), and LIST_ITEM().

◆ m_net_name

wxString PCB_NET_INSPECTOR_PANEL::LIST_ITEM::m_net_name
private

Definition at line 481 of file pcb_net_inspector_panel_data_model.h.

Referenced by GetNetName(), and LIST_ITEM().

◆ m_pad_count

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

◆ m_pad_die_delay

int64_t PCB_NET_INSPECTOR_PANEL::LIST_ITEM::m_pad_die_delay = 0
private

◆ m_pad_die_length

int64_t PCB_NET_INSPECTOR_PANEL::LIST_ITEM::m_pad_die_length = 0
private

◆ m_parent

◆ m_via_count

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

◆ m_via_delay

int64_t PCB_NET_INSPECTOR_PANEL::LIST_ITEM::m_via_delay = 0
private

◆ m_via_length

int64_t PCB_NET_INSPECTOR_PANEL::LIST_ITEM::m_via_length = 0
private

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