46    static std::shared_ptr<SPICE_SIMULATOR> 
CreateInstance( 
const std::string& aName );
 
   61    virtual bool Attach( 
const std::shared_ptr<SIMULATION_MODEL>& aModel,
 
   62                         const wxString& aSimCommand, 
unsigned aSimOptions,
 
   63                         const wxString& aInputPath, 
REPORTER& aReporter )
 
 
   74    virtual bool Run() = 0;
 
 
A pure virtual class used to derive REPORTER objects from.
 
virtual ~SIMULATION_MODEL()
 
virtual ~SIMULATOR()
Create a simulator instance of particular type (currently only ngspice is handled)
 
virtual bool Run()=0
Execute the simulation with currently loaded netlist.
 
std::mutex m_mutex
< For interprocess synchronisation.
 
virtual bool Attach(const std::shared_ptr< SIMULATION_MODEL > &aModel, const wxString &aSimCommand, unsigned aSimOptions, const wxString &aInputPath, REPORTER &aReporter)
Point out the model that will be used in future simulations.
 
virtual bool IsRunning()=0
Check if simulation is running at the moment.
 
static std::shared_ptr< SPICE_SIMULATOR > CreateInstance(const std::string &aName)
 
std::shared_ptr< SIMULATION_MODEL > m_simModel
< Model that should be simulated.
 
virtual bool Stop()=0
Halt the simulation.
 
virtual void Clean()=0
Cleans simulation data (i.e.