KiCad PCB EDA Suite
Loading...
Searching...
No Matches
SHEET_FILE_CHANGE_NOTIFIER Class Reference

Used to sync the modifications between the mutiple instances of a sheet file. More...

#include <sheet_synchronization_notifier.h>

Inheritance diagram for SHEET_FILE_CHANGE_NOTIFIER:
SHEET_SYNCHRONIZATION_NOTIFIER

Public Member Functions

 SHEET_FILE_CHANGE_NOTIFIER (SHEET_SYNCHRONIZATION_MODEL *aOwner, PANEL_SYNC_SHEET_PINS *aPanel)
 
void Notify ()
 
SHEET_SYNCHRONIZATION_MODELGetOwner () const
 

Protected Member Functions

bool ShouldIgnore () const override
 
void Sync () override
 

Private Attributes

PANEL_SYNC_SHEET_PINSm_panel
 
SHEET_SYNCHRONIZATION_MODELm_owner
 

Detailed Description

Used to sync the modifications between the mutiple instances of a sheet file.

Definition at line 62 of file sheet_synchronization_notifier.h.

Constructor & Destructor Documentation

◆ SHEET_FILE_CHANGE_NOTIFIER()

SHEET_FILE_CHANGE_NOTIFIER::SHEET_FILE_CHANGE_NOTIFIER ( SHEET_SYNCHRONIZATION_MODEL * aOwner,
PANEL_SYNC_SHEET_PINS * aPanel )

Member Function Documentation

◆ GetOwner()

SHEET_SYNCHRONIZATION_MODEL * SHEET_SYNCHRONIZATION_NOTIFIER::GetOwner ( ) const
inlineinherited

Definition at line 45 of file sheet_synchronization_notifier.h.

References m_owner.

◆ Notify()

void SHEET_SYNCHRONIZATION_NOTIFIER::Notify ( )
inlineinherited

Definition at line 39 of file sheet_synchronization_notifier.h.

References ShouldIgnore(), and Sync().

◆ ShouldIgnore()

bool SHEET_FILE_CHANGE_NOTIFIER::ShouldIgnore ( ) const
overrideprotectedvirtual

Implements SHEET_SYNCHRONIZATION_NOTIFIER.

Definition at line 44 of file sheet_synchronization_notifier.cpp.

◆ Sync()

void SHEET_FILE_CHANGE_NOTIFIER::Sync ( )
overrideprotectedvirtual

Implements SHEET_SYNCHRONIZATION_NOTIFIER.

Definition at line 50 of file sheet_synchronization_notifier.cpp.

References m_panel.

Member Data Documentation

◆ m_owner

SHEET_SYNCHRONIZATION_MODEL* SHEET_SYNCHRONIZATION_NOTIFIER::m_owner
privateinherited

Definition at line 54 of file sheet_synchronization_notifier.h.

Referenced by GetOwner(), and SHEET_SYNCHRONIZATION_NOTIFIER().

◆ m_panel

PANEL_SYNC_SHEET_PINS* SHEET_FILE_CHANGE_NOTIFIER::m_panel
private

Definition at line 74 of file sheet_synchronization_notifier.h.

Referenced by SHEET_FILE_CHANGE_NOTIFIER(), and Sync().


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