kicad/eeschema/sim/sim_plot_frame.h

52 lines
1.1 KiB
C
Raw Normal View History

2016-08-11 12:41:01 +00:00
#ifndef __sim_plot_frame__
#define __sim_plot_frame__
/**
@file
Subclass of SIM_PLOT_FRAME_BASE, which is generated by wxFormBuilder.
*/
#include "sim_plot_frame_base.h"
#include "kiway_player.h"
#include <netlist_exporters/netlist_exporter_pspice.h>
//// end generated include
class SPICE_SIMULATOR;
class NETLIST_EXPORTER_PSPICE;
2016-08-11 12:41:01 +00:00
class SIM_PLOT_PANEL;
2016-08-11 12:41:01 +00:00
/** Implementing SIM_PLOT_FRAME_BASE */
class SIM_PLOT_FRAME : public SIM_PLOT_FRAME_BASE
{
public:
/** Constructor */
SIM_PLOT_FRAME( KIWAY* aKiway, wxWindow* aParent );
~SIM_PLOT_FRAME();
2016-08-11 12:41:01 +00:00
void SetSchFrame( SCH_EDIT_FRAME* schFrame )
{
m_schematicFrame = schFrame;
}
2016-08-11 12:41:01 +00:00
void StartSimulation();
2016-08-11 12:41:01 +00:00
void NewPlot();
2016-08-11 12:41:01 +00:00
void TogglePythonConsole();
2016-08-11 12:41:01 +00:00
private:
virtual void onNewPlot( wxCommandEvent& event ) { NewPlot(); }
2016-08-11 12:41:01 +00:00
SIM_PLOT_PANEL* m_currentPlot;
SCH_EDIT_FRAME* m_schematicFrame;
NETLIST_EXPORTER_PSPICE* m_exporter;
SPICE_SIMULATOR* m_simulator;
wxWindow* m_pyConsole;
2016-08-11 12:41:01 +00:00
//// end generated class members
2016-08-11 12:41:01 +00:00
};
#endif // __sim_plot_frame__