|
KiCad PCB EDA Suite
|
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_CACHE & | Slots () const |
| void | Clear () |
Private Attributes | |
| SLOT_CACHE | m_slots |
| std::map< NODE_ID, uint64_t > | m_bundleInputs |
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.
Definition at line 119 of file conn_bindings.h.
| SCH_CONNECTIVITY::SLOT_STORE::SLOT_STORE | ( | CACHE_VERSIONS & | aVersions, |
| SESSION_KEYS & | aKeys ) |
Definition at line 221 of file conn_bindings.cpp.
References m_slots.
| void SCH_CONNECTIVITY::SLOT_STORE::Clear | ( | ) |
Definition at line 276 of file conn_bindings.cpp.
References m_bundleInputs, and m_slots.
Referenced by Update().
|
inline |
Definition at line 123 of file conn_bindings.h.
References m_slots.
| void SCH_CONNECTIVITY::SLOT_STORE::Update | ( | const COMPONENT_CACHE< BUNDLE_BINDING > & | aBundles | ) |
Definition at line 226 of file conn_bindings.cpp.
References Clear(), SCH_CONNECTIVITY::COMPONENT_CACHE< VALUE >::Entries(), SCH_CONNECTIVITY::SLOT_INPUT::key, m_bundleInputs, m_slots, and SCH_CONNECTIVITY::SLOT_INPUT::parentBundle.
|
private |
Definition at line 128 of file conn_bindings.h.
|
private |
Definition at line 127 of file conn_bindings.h.
Referenced by Clear(), SLOT_STORE(), Slots(), and Update().