KiCad PCB EDA Suite
|
#include <sim_tab.h>
Public Member Functions | |
SIM_TAB () | |
SIM_TAB (const wxString &aSimCommand, wxWindow *parent) | |
virtual | ~SIM_TAB () |
virtual void | OnLanguageChanged ()=0 |
virtual void | ApplyPreferences (const SIM_PREFERENCES &aPrefs) |
SIM_TYPE | GetSimType () const |
const wxString & | GetSimCommand () const |
void | SetSimCommand (const wxString &aSimCommand) |
int | GetSimOptions () const |
void | SetSimOptions (int aOptions) |
wxString | GetLastSchTextSimCommand () const |
void | SetLastSchTextSimCommand (const wxString &aCmd) |
const wxString & | GetSpicePlotName () const |
void | SetSpicePlotName (const wxString &aPlotName) |
Static Public Member Functions | |
static bool | IsPlottable (SIM_TYPE aSimType) |
Private Attributes | |
wxString | m_simCommand |
unsigned | m_simOptions |
wxString | m_lastSchTextSimCommand |
wxString | m_spicePlotName |
SIM_TAB::SIM_TAB | ( | ) |
Definition at line 33 of file sim_tab.cpp.
SIM_TAB::SIM_TAB | ( | const wxString & | aSimCommand, |
wxWindow * | parent | ||
) |
Definition at line 40 of file sim_tab.cpp.
|
virtual |
Definition at line 48 of file sim_tab.cpp.
|
virtual |
Reimplemented in SIM_PLOT_TAB.
Definition at line 70 of file sim_tab.cpp.
|
inline |
Definition at line 58 of file sim_tab.h.
References m_lastSchTextSimCommand.
Referenced by SIMULATOR_FRAME_UI::SaveWorkbook(), and SIMULATOR_FRAME::StartSimulation().
|
inline |
Definition at line 52 of file sim_tab.h.
References m_simCommand.
Referenced by SIMULATOR_FRAME::EditAnalysis(), SIMULATOR_FRAME::GetCurrentSimCommand(), SIM_PLOT_TAB::prepareDCAxes(), SIMULATOR_FRAME_UI::rebuildSignalsGrid(), SIM_PLOT_TAB::ResetScales(), SIMULATOR_FRAME_UI::SaveWorkbook(), SIMULATOR_FRAME::StartSimulation(), and SIMULATOR_FRAME_UI::updateTrace().
|
inline |
Definition at line 55 of file sim_tab.h.
References m_simOptions.
Referenced by SIMULATOR_FRAME::EditAnalysis(), SIMULATOR_FRAME_UI::SaveWorkbook(), and SIMULATOR_FRAME::StartSimulation().
SIM_TYPE SIM_TAB::GetSimType | ( | ) | const |
Definition at line 75 of file sim_tab.cpp.
References SPICE_CIRCUIT_MODEL::CommandToSimType(), and m_simCommand.
Referenced by SIMULATOR_FRAME_UI::AddMeasurement(), SIM_PLOT_TAB::GetOrAddTrace(), SIMULATOR_FRAME_UI::GetSimTab(), SIMULATOR_FRAME_UI::onPlotClosed(), SIMULATOR_FRAME_UI::OnSimRefresh(), SIMULATOR_FRAME_UI::rebuildSignalsGrid(), SIM_PLOT_TAB::ResetScales(), SIMULATOR_FRAME_UI::SaveWorkbook(), SIM_PLOT_TAB::SetTraceData(), SIMULATOR_FRAME_UI::SetUserDefinedSignals(), SIM_PLOT_TAB::updateAxes(), SIMULATOR_FRAME_UI::UpdateMeasurement(), SIMULATOR_FRAME_UI::updatePlotCursors(), and SIMULATOR_FRAME_UI::vectorNameFromSignalName().
|
inline |
Definition at line 61 of file sim_tab.h.
References m_spicePlotName.
Referenced by SIMULATOR_FRAME::StartSimulation().
|
static |
Definition at line 53 of file sim_tab.cpp.
References ST_AC, ST_DC, ST_FFT, ST_NOISE, ST_SP, and ST_TRAN.
Referenced by SIMULATOR_FRAME_UI::AddTrace(), SIMULATOR_FRAME_UI::NewSimTab(), SIMULATOR_FRAME_UI::OnSimRefresh(), and SIMULATOR_FRAME_UI::updateTrace().
|
pure virtual |
Implemented in SIM_PLOT_TAB, and SIM_NOPLOT_TAB.
|
inline |
Definition at line 59 of file sim_tab.h.
References m_lastSchTextSimCommand.
Referenced by SIMULATOR_FRAME_UI::loadLegacyWorkbook(), and SIMULATOR_FRAME::StartSimulation().
|
inline |
Definition at line 53 of file sim_tab.h.
References m_simCommand.
Referenced by SIMULATOR_FRAME::EditAnalysis(), and SIMULATOR_FRAME::StartSimulation().
|
inline |
Definition at line 56 of file sim_tab.h.
References m_simOptions.
Referenced by DIALOG_SIM_COMMAND::ApplySettings(), SIMULATOR_FRAME_UI::InitWorkbook(), SIMULATOR_FRAME_UI::loadJsonWorkbook(), and SIMULATOR_FRAME_UI::loadLegacyWorkbook().
|
inline |
Definition at line 62 of file sim_tab.h.
References m_spicePlotName.
Referenced by SIMULATOR_FRAME_UI::OnSimRefresh(), and SIMULATOR_FRAME::StartSimulation().
|
private |
Definition at line 67 of file sim_tab.h.
Referenced by GetLastSchTextSimCommand(), and SetLastSchTextSimCommand().
|
private |
Definition at line 65 of file sim_tab.h.
Referenced by GetSimCommand(), GetSimType(), and SetSimCommand().
|
private |
Definition at line 66 of file sim_tab.h.
Referenced by GetSimOptions(), and SetSimOptions().
|
private |
Definition at line 68 of file sim_tab.h.
Referenced by GetSpicePlotName(), and SetSpicePlotName().