KiCad PCB EDA Suite
Loading...
Searching...
No Matches
SHEET_SYNCHRONIZATION_NOTIFIER Class Referenceabstract

#include <sheet_synchronization_notifier.h>

Inheritance diagram for SHEET_SYNCHRONIZATION_NOTIFIER:
SHEET_FILE_CHANGE_NOTIFIER

Public Member Functions

 SHEET_SYNCHRONIZATION_NOTIFIER (SHEET_SYNCHRONIZATION_MODEL *aOwner)
 
virtual ~SHEET_SYNCHRONIZATION_NOTIFIER ()=default
 
void Notify ()
 
SHEET_SYNCHRONIZATION_MODELGetOwner () const
 

Protected Member Functions

virtual bool ShouldIgnore () const =0
 
virtual void Sync ()=0
 

Private Attributes

SHEET_SYNCHRONIZATION_MODELm_owner
 

Detailed Description

Definition at line 32 of file sheet_synchronization_notifier.h.

Constructor & Destructor Documentation

◆ SHEET_SYNCHRONIZATION_NOTIFIER()

SHEET_SYNCHRONIZATION_NOTIFIER::SHEET_SYNCHRONIZATION_NOTIFIER ( SHEET_SYNCHRONIZATION_MODEL aOwner)

Definition at line 29 of file sheet_synchronization_notifier.cpp.

◆ ~SHEET_SYNCHRONIZATION_NOTIFIER()

virtual SHEET_SYNCHRONIZATION_NOTIFIER::~SHEET_SYNCHRONIZATION_NOTIFIER ( )
virtualdefault

Member Function Documentation

◆ GetOwner()

SHEET_SYNCHRONIZATION_MODEL * SHEET_SYNCHRONIZATION_NOTIFIER::GetOwner ( ) const
inline

Definition at line 45 of file sheet_synchronization_notifier.h.

References m_owner.

◆ Notify()

void SHEET_SYNCHRONIZATION_NOTIFIER::Notify ( )
inline

Definition at line 39 of file sheet_synchronization_notifier.h.

References ShouldIgnore(), and Sync().

◆ ShouldIgnore()

virtual bool SHEET_SYNCHRONIZATION_NOTIFIER::ShouldIgnore ( ) const
protectedpure virtual

Implemented in SHEET_FILE_CHANGE_NOTIFIER.

Referenced by Notify().

◆ Sync()

virtual void SHEET_SYNCHRONIZATION_NOTIFIER::Sync ( )
protectedpure virtual

Implemented in SHEET_FILE_CHANGE_NOTIFIER.

Referenced by Notify().

Member Data Documentation

◆ m_owner

SHEET_SYNCHRONIZATION_MODEL* SHEET_SYNCHRONIZATION_NOTIFIER::m_owner
private

Definition at line 54 of file sheet_synchronization_notifier.h.

Referenced by GetOwner().


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