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

#include <sim_panel_base.h>

Inheritance diagram for SIM_PANEL_BASE:
SIM_NOPLOT_PANEL SIM_PLOT_PANEL

Public Member Functions

 SIM_PANEL_BASE ()
 
 SIM_PANEL_BASE (const wxString &aCommand, int aOptions, wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=wxPanelNameStr)
 
virtual ~SIM_PANEL_BASE ()
 
virtual void OnLanguageChanged ()=0
 
SIM_TYPE GetType () const
 
const wxString & GetSimCommand () const
 
void SetSimCommand (const wxString &aSimCommand)
 
int GetSimOptions () const
 
void SetSimOptions (int aOptions)
 

Static Public Member Functions

static bool IsPlottable (SIM_TYPE aSimType)
 

Private Attributes

wxString m_simCommand
 
int m_simOptions
 

Detailed Description

Definition at line 36 of file sim_panel_base.h.

Constructor & Destructor Documentation

◆ SIM_PANEL_BASE() [1/2]

SIM_PANEL_BASE::SIM_PANEL_BASE ( )

Definition at line 33 of file sim_panel_base.cpp.

◆ SIM_PANEL_BASE() [2/2]

SIM_PANEL_BASE::SIM_PANEL_BASE ( const wxString &  aCommand,
int  aOptions,
wxWindow *  parent,
wxWindowID  id,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = 0,
const wxString &  name = wxPanelNameStr 
)

Definition at line 40 of file sim_panel_base.cpp.

◆ ~SIM_PANEL_BASE()

SIM_PANEL_BASE::~SIM_PANEL_BASE ( )
virtual

Definition at line 50 of file sim_panel_base.cpp.

Member Function Documentation

◆ GetSimCommand()

◆ GetSimOptions()

int SIM_PANEL_BASE::GetSimOptions ( ) const
inline

◆ GetType()

◆ IsPlottable()

bool SIM_PANEL_BASE::IsPlottable ( SIM_TYPE  aSimType)
static

◆ OnLanguageChanged()

virtual void SIM_PANEL_BASE::OnLanguageChanged ( )
pure virtual

Implemented in SIM_NOPLOT_PANEL, and SIM_PLOT_PANEL.

◆ SetSimCommand()

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

◆ SetSimOptions()

void SIM_PANEL_BASE::SetSimOptions ( int  aOptions)
inline

Definition at line 61 of file sim_panel_base.h.

References m_simOptions.

Referenced by SIMULATOR_FRAME::EditSimCommand().

Member Data Documentation

◆ m_simCommand

wxString SIM_PANEL_BASE::m_simCommand
private

Definition at line 64 of file sim_panel_base.h.

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

◆ m_simOptions

int SIM_PANEL_BASE::m_simOptions
private

Definition at line 65 of file sim_panel_base.h.

Referenced by GetSimOptions(), and SetSimOptions().


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