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

Keep the last publication readable while a batch stages edits before its single commit. More...

#include <conn_facade.h>

Public Member Functions

 PUBLICATION_HOLD (const FACADE &aFacade)
 
 ~PUBLICATION_HOLD ()
 
 PUBLICATION_HOLD (const PUBLICATION_HOLD &)=delete
 
PUBLICATION_HOLDoperator= (const PUBLICATION_HOLD &)=delete
 

Private Attributes

std::weak_ptr< FACADE_STATEm_state
 

Detailed Description

Keep the last publication readable while a batch stages edits before its single commit.

Staging bumps screen revisions, which otherwise hides every later query on that screen. Release the hold before recalculating or pushing the commit.

See also
Modification

Definition at line 193 of file conn_facade.h.

Constructor & Destructor Documentation

◆ PUBLICATION_HOLD() [1/2]

SCH_CONNECTIVITY::PUBLICATION_HOLD::PUBLICATION_HOLD ( const FACADE & aFacade)
explicit

Definition at line 995 of file conn_facade.cpp.

References SCH_CONNECTIVITY::FACADE::m_state, and m_state.

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

◆ ~PUBLICATION_HOLD()

SCH_CONNECTIVITY::PUBLICATION_HOLD::~PUBLICATION_HOLD ( )

Definition at line 1001 of file conn_facade.cpp.

References m_state.

◆ PUBLICATION_HOLD() [2/2]

SCH_CONNECTIVITY::PUBLICATION_HOLD::PUBLICATION_HOLD ( const PUBLICATION_HOLD & )
delete

References PUBLICATION_HOLD().

Member Function Documentation

◆ operator=()

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

References PUBLICATION_HOLD().

Member Data Documentation

◆ m_state

std::weak_ptr<FACADE_STATE> SCH_CONNECTIVITY::PUBLICATION_HOLD::m_state
private

Definition at line 203 of file conn_facade.h.

Referenced by PUBLICATION_HOLD(), and ~PUBLICATION_HOLD().


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