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

#include <sim_tab.h>

Inheritance diagram for SIM_TAB:
SIM_NOPLOT_TAB SIM_PLOT_TAB

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
 

Detailed Description

Definition at line 37 of file sim_tab.h.

Constructor & Destructor Documentation

◆ SIM_TAB() [1/2]

SIM_TAB::SIM_TAB ( )

Definition at line 33 of file sim_tab.cpp.

◆ SIM_TAB() [2/2]

SIM_TAB::SIM_TAB ( const wxString &  aSimCommand,
wxWindow *  parent 
)

Definition at line 40 of file sim_tab.cpp.

◆ ~SIM_TAB()

SIM_TAB::~SIM_TAB ( )
virtual

Definition at line 48 of file sim_tab.cpp.

Member Function Documentation

◆ ApplyPreferences()

void SIM_TAB::ApplyPreferences ( const SIM_PREFERENCES aPrefs)
virtual

Reimplemented in SIM_PLOT_TAB.

Definition at line 70 of file sim_tab.cpp.

◆ GetLastSchTextSimCommand()

wxString SIM_TAB::GetLastSchTextSimCommand ( ) const
inline

◆ GetSimCommand()

◆ GetSimOptions()

int SIM_TAB::GetSimOptions ( ) const
inline

◆ GetSimType()

◆ GetSpicePlotName()

const wxString & SIM_TAB::GetSpicePlotName ( ) const
inline

Definition at line 61 of file sim_tab.h.

References m_spicePlotName.

Referenced by SIMULATOR_FRAME::StartSimulation().

◆ IsPlottable()

bool SIM_TAB::IsPlottable ( SIM_TYPE  aSimType)
static

◆ OnLanguageChanged()

virtual void SIM_TAB::OnLanguageChanged ( )
pure virtual

Implemented in SIM_PLOT_TAB, and SIM_NOPLOT_TAB.

◆ SetLastSchTextSimCommand()

void SIM_TAB::SetLastSchTextSimCommand ( const wxString &  aCmd)
inline

◆ SetSimCommand()

void SIM_TAB::SetSimCommand ( const wxString &  aSimCommand)
inline

Definition at line 53 of file sim_tab.h.

References m_simCommand.

Referenced by SIMULATOR_FRAME::EditAnalysis(), and SIMULATOR_FRAME::StartSimulation().

◆ SetSimOptions()

void SIM_TAB::SetSimOptions ( int  aOptions)
inline

◆ SetSpicePlotName()

void SIM_TAB::SetSpicePlotName ( const wxString &  aPlotName)
inline

Definition at line 62 of file sim_tab.h.

References m_spicePlotName.

Referenced by SIMULATOR_FRAME_UI::OnSimRefresh(), and SIMULATOR_FRAME::StartSimulation().

Member Data Documentation

◆ m_lastSchTextSimCommand

wxString SIM_TAB::m_lastSchTextSimCommand
private

Definition at line 67 of file sim_tab.h.

Referenced by GetLastSchTextSimCommand(), and SetLastSchTextSimCommand().

◆ m_simCommand

wxString SIM_TAB::m_simCommand
private

Definition at line 65 of file sim_tab.h.

Referenced by GetSimCommand(), GetSimType(), and SetSimCommand().

◆ m_simOptions

unsigned SIM_TAB::m_simOptions
private

Definition at line 66 of file sim_tab.h.

Referenced by GetSimOptions(), and SetSimOptions().

◆ m_spicePlotName

wxString SIM_TAB::m_spicePlotName
private

Definition at line 68 of file sim_tab.h.

Referenced by GetSpicePlotName(), and SetSpicePlotName().


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