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

Reconciles current bundles with persistent, exact-value slot versions. More...

#include <conn_bindings.h>

Public Types

using SLOT_CACHE = CACHE_TABLE<SLOT_KEY, SLOT_INPUT, KEY_LESS>
 

Public Member Functions

 SLOT_STORE (CACHE_VERSIONS &aVersions, SESSION_KEYS &aKeys)
 
void Update (const COMPONENT_CACHE< BUNDLE_BINDING > &aBundles)
 
const SLOT_CACHESlots () const
 
void Clear ()
 

Private Attributes

SLOT_CACHE m_slots
 
std::map< NODE_ID, uint64_t > m_bundleInputs
 

Detailed Description

Reconciles current bundles with persistent, exact-value slot versions.

The store replaces the slots of a bundle only when the bundle version changed.

Definition at line 116 of file conn_bindings.h.

Member Typedef Documentation

◆ SLOT_CACHE

Constructor & Destructor Documentation

◆ SLOT_STORE()

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

Definition at line 221 of file conn_bindings.cpp.

References m_slots.

Member Function Documentation

◆ Clear()

void SCH_CONNECTIVITY::SLOT_STORE::Clear ( )

Definition at line 276 of file conn_bindings.cpp.

References m_bundleInputs, and m_slots.

Referenced by Update().

◆ Slots()

const SLOT_CACHE & SCH_CONNECTIVITY::SLOT_STORE::Slots ( ) const
inline

Definition at line 123 of file conn_bindings.h.

References m_slots.

◆ Update()

Member Data Documentation

◆ m_bundleInputs

std::map<NODE_ID, uint64_t> SCH_CONNECTIVITY::SLOT_STORE::m_bundleInputs
private

Definition at line 128 of file conn_bindings.h.

Referenced by Clear(), and Update().

◆ m_slots

SLOT_CACHE SCH_CONNECTIVITY::SLOT_STORE::m_slots
private

Definition at line 127 of file conn_bindings.h.

Referenced by Clear(), SLOT_STORE(), Slots(), and Update().


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