KiCad PCB EDA Suite
Loading...
Searching...
No Matches
SCH_CONNECTIVITY::RECORD_STORE Class Reference

Main-thread island record preparation and cache writes. More...

#include <conn_records.h>

Classes

struct  PREPARED_INSTANCE
 Input versions and scope that produced the current source claims of one instance. More...
 
struct  RECORD_INPUT
 Everything BuildIslandRecord() reads, as island flags and source claim versions. More...
 
struct  RECORD_ORDER
 

Public Types

using SOURCE_CACHE = CACHE_TABLE<ITEM_KEY, SOURCE_CLAIMS, KEY_LESS>
 
using RECORD_CACHE = CACHE_TABLE<RECORD_KEY, ISLAND_RECORD, KEY_LESS>
 

Public Member Functions

 RECORD_STORE (CACHE_VERSIONS &aVersions, SESSION_KEYS &aKeys)
 
void Update (const std::vector< FRAME_INSTANCE > &aFrame, INPUT_STORE &aInputs, const BUS_ALIASES &aAliases)
 
const RECORD_CACHERecords () const
 
void Clear ()
 
std::shared_ptr< const BUS_SCHEMA::NODEFindTree (const wxString &aText) const
 

Private Attributes

SESSION_KEYSm_keys
 
BUS_PARSE_CACHE m_parses
 
SOURCE_CACHE m_sources
 
RECORD_CACHE m_records
 
std::map< INST_ID, PREPARED_INSTANCEm_prepared
 
std::map< RECORD_KEY, RECORD_INPUT, RECORD_ORDERm_recordInputs
 

Detailed Description

Main-thread island record preparation and cache writes.

Record folding consumes only owned values.

See also
Schematic Connectivity Engine

Definition at line 32 of file conn_records.h.

Member Typedef Documentation

◆ RECORD_CACHE

◆ SOURCE_CACHE

Constructor & Destructor Documentation

◆ RECORD_STORE()

SCH_CONNECTIVITY::RECORD_STORE::RECORD_STORE ( CACHE_VERSIONS & aVersions,
SESSION_KEYS & aKeys )

Definition at line 29 of file conn_records.cpp.

References m_keys, m_parses, m_records, and m_sources.

Member Function Documentation

◆ Clear()

void SCH_CONNECTIVITY::RECORD_STORE::Clear ( )

Definition at line 248 of file conn_records.cpp.

References Clear(), m_parses, m_prepared, m_recordInputs, m_records, and m_sources.

Referenced by Clear().

◆ FindTree()

std::shared_ptr< const BUS_SCHEMA::NODE > SCH_CONNECTIVITY::RECORD_STORE::FindTree ( const wxString & aText) const
inline

Definition at line 46 of file conn_records.h.

References m_parses.

◆ Records()

const RECORD_CACHE & SCH_CONNECTIVITY::RECORD_STORE::Records ( ) const
inline

Definition at line 42 of file conn_records.h.

References m_records.

◆ Update()

Member Data Documentation

◆ m_keys

SESSION_KEYS& SCH_CONNECTIVITY::RECORD_STORE::m_keys
private

Definition at line 80 of file conn_records.h.

Referenced by RECORD_STORE(), and Update().

◆ m_parses

BUS_PARSE_CACHE SCH_CONNECTIVITY::RECORD_STORE::m_parses
private

Definition at line 81 of file conn_records.h.

Referenced by Clear(), FindTree(), RECORD_STORE(), and Update().

◆ m_prepared

std::map<INST_ID, PREPARED_INSTANCE> SCH_CONNECTIVITY::RECORD_STORE::m_prepared
private

Definition at line 84 of file conn_records.h.

Referenced by Clear(), and Update().

◆ m_recordInputs

std::map<RECORD_KEY, RECORD_INPUT, RECORD_ORDER> SCH_CONNECTIVITY::RECORD_STORE::m_recordInputs
private

Definition at line 85 of file conn_records.h.

Referenced by Clear(), and Update().

◆ m_records

RECORD_CACHE SCH_CONNECTIVITY::RECORD_STORE::m_records
private

Definition at line 83 of file conn_records.h.

Referenced by Clear(), RECORD_STORE(), Records(), and Update().

◆ m_sources

SOURCE_CACHE SCH_CONNECTIVITY::RECORD_STORE::m_sources
private

Definition at line 82 of file conn_records.h.

Referenced by Clear(), RECORD_STORE(), and Update().


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