|
KiCad PCB EDA Suite
|
#include <headless_sch_context.h>
Public Member Functions | |
| HEADLESS_SCH_CONTEXT (SCHEMATIC **aSchematicSlot, PROJECT *aProject, KIWAY *aKiway=nullptr) | |
| ~HEADLESS_SCH_CONTEXT () override | |
| SCHEMATIC * | GetSchematic () const override |
| PROJECT & | Prj () const override |
| TOOL_MANAGER * | GetToolManager () const override |
| KIWAY * | GetKiway () const override |
| wxString | GetCurrentFileName () const override |
| bool | CanAcceptApiCommands () const override |
| std::optional< SCH_SHEET_PATH > | GetCurrentSheet () const override |
| bool | SaveSchematic () override |
| bool | SaveSchematicCopy (const wxString &aFileName, bool aCreateProject) override |
| bool | RevertToSaved () override |
Private Attributes | |
| SCHEMATIC ** | m_schematicSlot |
| PROJECT * | m_project |
| KIWAY * | m_kiway |
| std::unique_ptr< TOOL_MANAGER > | m_toolManager |
Definition at line 37 of file headless_sch_context.h.
| HEADLESS_SCH_CONTEXT::HEADLESS_SCH_CONTEXT | ( | SCHEMATIC ** | aSchematicSlot, |
| PROJECT * | aProject, | ||
| KIWAY * | aKiway = nullptr ) |
Definition at line 32 of file headless_sch_context.cpp.
References Kiface(), m_kiway, m_project, m_schematicSlot, and m_toolManager.
|
overridedefault |
|
inlineoverridevirtual |
Implements SCH_CONTEXT.
Definition at line 54 of file headless_sch_context.h.
|
overridevirtual |
Implements SCH_CONTEXT.
Definition at line 69 of file headless_sch_context.cpp.
References SCHEMATIC::GetFileName(), and m_schematicSlot.
|
inlineoverridevirtual |
Implements SCH_CONTEXT.
Definition at line 56 of file headless_sch_context.h.
|
inlineoverridevirtual |
|
overridevirtual |
Implements SCH_CONTEXT.
Definition at line 50 of file headless_sch_context.cpp.
References m_schematicSlot.
|
overridevirtual |
Implements SCH_CONTEXT.
Definition at line 63 of file headless_sch_context.cpp.
References m_toolManager.
|
overridevirtual |
Implements SCH_CONTEXT.
Definition at line 56 of file headless_sch_context.cpp.
References m_project.
|
overridevirtual |
Implements SCH_CONTEXT.
Definition at line 94 of file headless_sch_context.cpp.
References SCHEMATIC::GetFileName(), Kiface(), EESCHEMA_HELPERS::LoadSchematic(), m_project, m_schematicSlot, and m_toolManager.
|
overridevirtual |
Implements SCH_CONTEXT.
Definition at line 80 of file headless_sch_context.cpp.
References m_project, m_schematicSlot, and SCH_API_SAVE::SaveSchematic().
|
overridevirtual |
Implements SCH_CONTEXT.
Definition at line 87 of file headless_sch_context.cpp.
References m_project, m_schematicSlot, and SCH_API_SAVE::SaveSchematicCopy().
|
private |
Definition at line 69 of file headless_sch_context.h.
Referenced by GetKiway(), and HEADLESS_SCH_CONTEXT().
|
private |
Definition at line 68 of file headless_sch_context.h.
Referenced by HEADLESS_SCH_CONTEXT(), Prj(), RevertToSaved(), SaveSchematic(), and SaveSchematicCopy().
|
private |
Definition at line 67 of file headless_sch_context.h.
Referenced by GetCurrentFileName(), GetSchematic(), HEADLESS_SCH_CONTEXT(), RevertToSaved(), SaveSchematic(), and SaveSchematicCopy().
|
private |
Definition at line 70 of file headless_sch_context.h.
Referenced by GetToolManager(), HEADLESS_SCH_CONTEXT(), and RevertToSaved().