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

This is a bridge class to help the schematic be able to affect SCH_EDIT_FRAME without doing anything too wild in terms of passing callbacks constantly in numerous files. More...

#include <schematic_holder.h>

Inheritance diagram for SCHEMATIC_HOLDER:
SCH_BASE_FRAME SCH_EDIT_FRAME SYMBOL_CHOOSER_FRAME SYMBOL_DIFF_FRAME SYMBOL_EDIT_FRAME SYMBOL_VIEWER_FRAME

Public Member Functions

virtual void AddToScreen (EDA_ITEM *aItem, SCH_SCREEN *aScreen=nullptr)=0
 Add an item to the screen (and view) aScreen is the screen the item is located on, if not the current screen.
 
virtual SCH_SELECTION_TOOLGetSelectionTool ()
 
virtual void RemoveFromScreen (EDA_ITEM *aItem, SCH_SCREEN *aScreen)=0
 
virtual void IntersheetRefUpdate (SCH_GLOBALLABEL *aItem)
 

Detailed Description

This is a bridge class to help the schematic be able to affect SCH_EDIT_FRAME without doing anything too wild in terms of passing callbacks constantly in numerous files.

The long term goal would be to fix the internal structure and make the relationship between frame and schematic less intertwined

Definition at line 34 of file schematic_holder.h.

Member Function Documentation

◆ AddToScreen()

virtual void SCHEMATIC_HOLDER::AddToScreen ( EDA_ITEM aItem,
SCH_SCREEN aScreen = nullptr 
)
pure virtual

Add an item to the screen (and view) aScreen is the screen the item is located on, if not the current screen.

Implemented in SCH_BASE_FRAME.

Referenced by SCHEMATIC::BreakSegment().

◆ GetSelectionTool()

virtual SCH_SELECTION_TOOL * SCHEMATIC_HOLDER::GetSelectionTool ( )
inlinevirtual

Reimplemented in SCH_BASE_FRAME.

Definition at line 43 of file schematic_holder.h.

Referenced by SCHEMATIC::CleanUp().

◆ IntersheetRefUpdate()

virtual void SCHEMATIC_HOLDER::IntersheetRefUpdate ( SCH_GLOBALLABEL aItem)
inlinevirtual

Reimplemented in SCH_EDIT_FRAME.

Definition at line 47 of file schematic_holder.h.

Referenced by SCHEMATIC::RecomputeIntersheetRefs().

◆ RemoveFromScreen()

virtual void SCHEMATIC_HOLDER::RemoveFromScreen ( EDA_ITEM aItem,
SCH_SCREEN aScreen 
)
pure virtual

Implemented in SCH_BASE_FRAME.

Referenced by SCHEMATIC::CleanUp().


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