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

One sequence for all cache tables for the lifetime of an engine session. More...

#include <conn_cache.h>

Public Member Functions

 CACHE_VERSIONS ()=default
 
 CACHE_VERSIONS (const CACHE_VERSIONS &)=delete
 
CACHE_VERSIONSoperator= (const CACHE_VERSIONS &)=delete
 
uint64_t Next ()
 

Private Attributes

uint64_t m_latest = 0
 

Detailed Description

One sequence for all cache tables for the lifetime of an engine session.

Main thread only.

Versions start at one and never repeat, so zero never names a cached value.

Definition at line 36 of file conn_cache.h.

Constructor & Destructor Documentation

◆ CACHE_VERSIONS() [1/2]

SCH_CONNECTIVITY::CACHE_VERSIONS::CACHE_VERSIONS ( )
default

Referenced by CACHE_VERSIONS(), and operator=().

◆ CACHE_VERSIONS() [2/2]

SCH_CONNECTIVITY::CACHE_VERSIONS::CACHE_VERSIONS ( const CACHE_VERSIONS & )
delete

References CACHE_VERSIONS().

Member Function Documentation

◆ Next()

uint64_t SCH_CONNECTIVITY::CACHE_VERSIONS::Next ( )
inline

Definition at line 43 of file conn_cache.h.

References m_latest.

◆ operator=()

CACHE_VERSIONS & SCH_CONNECTIVITY::CACHE_VERSIONS::operator= ( const CACHE_VERSIONS & )
delete

References CACHE_VERSIONS().

Member Data Documentation

◆ m_latest

uint64_t SCH_CONNECTIVITY::CACHE_VERSIONS::m_latest = 0
private

Definition at line 52 of file conn_cache.h.

Referenced by Next().


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