| 
    KiCad PCB EDA Suite
    
   | 
 
#include <eda_draw_frame.h>#include <frame_type.h>#include <libraries/library_table.h>#include <sch_draw_panel.h>#include <sch_screen.h>#include <schematic_settings.h>#include <stddef.h>#include <utility>#include <future>#include <vector>#include <wx/event.h>#include <wx/datetime.h>#include <wx/gdicmn.h>#include <wx/string.h>#include <wx/timer.h>#include <template_fieldnames.h>Go to the source code of this file.
Classes | |
| class | SCH_BASE_FRAME | 
| A shim class between EDA_DRAW_FRAME and several derived classes: SYMBOL_EDIT_FRAME, SYMBOL_VIEWER_FRAME, and SCH_EDIT_FRAME, and it brings in a common way of handling the provided virtual functions for the derived classes.  More... | |
Macros | |
| #define | wxFileSystemWatcher wxPollingFileSystemWatcher | 
Functions | |
| LIB_SYMBOL * | SchGetLibSymbol (const LIB_ID &aLibId, SYMBOL_LIBRARY_ADAPTER *aLibMgr, LEGACY_SYMBOL_LIB *aCacheLib=nullptr, wxWindow *aParent=nullptr, bool aShowErrorMsg=false) | 
| Load symbol from symbol library table.   | |
| #define wxFileSystemWatcher wxPollingFileSystemWatcher | 
Definition at line 81 of file sch_base_frame.h.
Referenced by PROJECT_TREE_PANE::FileWatcherReset().
| LIB_SYMBOL * SchGetLibSymbol | ( | const LIB_ID & | aLibId, | 
| SYMBOL_LIBRARY_ADAPTER * | aLibMgr, | ||
| LEGACY_SYMBOL_LIB * | aCacheLib = nullptr, | ||
| wxWindow * | aParent = nullptr, | ||
| bool | aShowErrorMsg = false ) | 
Load symbol from symbol library table.
Check the symbol library table for the part defined by aLibId and optionally check the optional cache library.
| aLibId | is the symbol library identifier to load. | 
| aLibMgr | is the #SYMBOL_LIBRARY_MANAGER_ADAPTER to load the alias from. | 
| aCacheLib | is an optional cache library. | 
| aParent | is an optional parent window when displaying an error message. | 
| aShowErrorMessage | set to true to show any error messages. | 
Definition at line 76 of file sch_base_frame.cpp.
References _, DisplayErrorMessage(), LEGACY_SYMBOL_LIB::FindSymbol(), LIB_ID::GetLibItemName(), LIB_ID::GetLibNickname(), LEGACY_SYMBOL_LIB::IsCache(), SYMBOL_LIBRARY_ADAPTER::LoadSymbol(), IO_ERROR::What(), and UTF8::wx_str().
Referenced by RESCUE_SYMBOL_LIB_TABLE_CANDIDATE::FindRescues(), SCH_BASE_FRAME::GetLibSymbol(), and SCH_DRAWING_TOOLS::PlaceSymbol().