KiCad PCB EDA Suite
Loading...
Searching...
No Matches
CN_VISITOR Class Reference

#include <connectivity_algo.h>

Public Member Functions

 CN_VISITOR (CN_ITEM *aItem, std::vector< std::pair< BOARD_CONNECTED_ITEM *, int > > *aDeferredNetCodes, std::mutex *aDeferredNetCodesMutex)
 
bool operator() (CN_ITEM *aCandidate)
 

Protected Member Functions

void checkZoneItemConnection (CN_ZONE_LAYER *aZoneLayer, CN_ITEM *aItem)
 
void checkZoneZoneConnection (CN_ZONE_LAYER *aZoneLayerA, CN_ZONE_LAYER *aZoneLayerB)
 

Protected Attributes

CN_ITEMm_item
 The item we are looking for connections to.
 
std::vector< std::pair< BOARD_CONNECTED_ITEM *, int > > * m_deferredNetCodes
 Deferred net code changes collected during parallel connectivity search.
 
std::mutex * m_deferredNetCodesMutex
 

Detailed Description

Definition at line 344 of file connectivity_algo.h.

Constructor & Destructor Documentation

◆ CN_VISITOR()

CN_VISITOR::CN_VISITOR ( CN_ITEM * aItem,
std::vector< std::pair< BOARD_CONNECTED_ITEM *, int > > * aDeferredNetCodes,
std::mutex * aDeferredNetCodesMutex )
inline

Definition at line 347 of file connectivity_algo.h.

References m_deferredNetCodes, m_deferredNetCodesMutex, and m_item.

Member Function Documentation

◆ checkZoneItemConnection()

◆ checkZoneZoneConnection()

◆ operator()()

Member Data Documentation

◆ m_deferredNetCodes

std::vector<std::pair<BOARD_CONNECTED_ITEM*, int> >* CN_VISITOR::m_deferredNetCodes
protected

Deferred net code changes collected during parallel connectivity search.

Thread-safe collection via mutex. Processed after parallel search completes.

Definition at line 366 of file connectivity_algo.h.

Referenced by checkZoneItemConnection(), and CN_VISITOR().

◆ m_deferredNetCodesMutex

std::mutex* CN_VISITOR::m_deferredNetCodesMutex
protected

Definition at line 367 of file connectivity_algo.h.

Referenced by checkZoneItemConnection(), and CN_VISITOR().

◆ m_item

CN_ITEM* CN_VISITOR::m_item
protected

The item we are looking for connections to.

Definition at line 362 of file connectivity_algo.h.

Referenced by CN_VISITOR(), and operator()().


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