| 
    KiCad PCB EDA Suite
    
   | 
 
#include <from_to_cache.h>
Classes | |
| struct | FT_ENDPOINT | 
| struct | FT_PATH | 
Public Member Functions | |
| FROM_TO_CACHE (BOARD *aBoard=nullptr) | |
| ~FROM_TO_CACHE () | |
| void | Rebuild (BOARD *aBoard) | 
| bool | IsOnFromToPath (BOARD_CONNECTED_ITEM *aItem, const wxString &aFrom, const wxString &aTo) | 
| FT_PATH * | QueryFromToPath (const std::set< BOARD_CONNECTED_ITEM * > &aItems) | 
Private Member Functions | |
| int | cacheFromToPaths (const wxString &aFrom, const wxString &aTo) | 
| void | buildEndpointList () | 
Private Attributes | |
| std::vector< FT_ENDPOINT > | m_ftEndpoints | 
| std::vector< FT_PATH > | m_ftPaths | 
| BOARD * | m_board | 
Definition at line 28 of file from_to_cache.h.
      
  | 
  inline | 
Definition at line 49 of file from_to_cache.h.
References m_board.
      
  | 
  inline | 
Definition at line 54 of file from_to_cache.h.
      
  | 
  private | 
Definition at line 33 of file from_to_cache.cpp.
References m_board, m_ftEndpoints, FROM_TO_CACHE::FT_ENDPOINT::name, pad, and FROM_TO_CACHE::FT_ENDPOINT::parent.
Referenced by Rebuild().
      
  | 
  private | 
Definition at line 124 of file from_to_cache.cpp.
References EXCLUDE_ZONES, FROM_TO_CACHE::FT_PATH::from, m_board, m_ftEndpoints, m_ftPaths, FROM_TO_CACHE::FT_PATH::net, pad, path, PCB_PAD_T, PS_NO_PATH, PS_OK, result, FROM_TO_CACHE::FT_PATH::to, uniquePathBetweenNodes(), and WildCompareString().
Referenced by IsOnFromToPath().
| bool FROM_TO_CACHE::IsOnFromToPath | ( | BOARD_CONNECTED_ITEM * | aItem, | 
| const wxString & | aFrom, | ||
| const wxString & | aTo ) | 
Definition at line 222 of file from_to_cache.cpp.
References cacheFromToPaths(), m_board, and m_ftPaths.
| FROM_TO_CACHE::FT_PATH * FROM_TO_CACHE::QueryFromToPath | ( | const std::set< BOARD_CONNECTED_ITEM * > & | aItems | ) | 
Definition at line 261 of file from_to_cache.cpp.
References m_ftPaths.
| void FROM_TO_CACHE::Rebuild | ( | BOARD * | aBoard | ) | 
Definition at line 253 of file from_to_cache.cpp.
References buildEndpointList(), m_board, and m_ftPaths.
      
  | 
  private | 
Definition at line 71 of file from_to_cache.h.
Referenced by buildEndpointList(), cacheFromToPaths(), FROM_TO_CACHE(), IsOnFromToPath(), and Rebuild().
      
  | 
  private | 
Definition at line 68 of file from_to_cache.h.
Referenced by buildEndpointList(), and cacheFromToPaths().
      
  | 
  private | 
Definition at line 69 of file from_to_cache.h.
Referenced by cacheFromToPaths(), IsOnFromToPath(), QueryFromToPath(), and Rebuild().