#include <simulator.h>
|
| SIMULATOR () |
|
virtual | ~SIMULATOR () |
| Create a simulator instance of particular type (currently only ngspice is handled)
|
|
std::mutex & | GetMutex () |
|
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 | Run ()=0 |
| Execute the simulation with currently loaded netlist.
|
|
virtual bool | Stop ()=0 |
| Halt the simulation.
|
|
virtual bool | IsRunning ()=0 |
| Check if simulation is running at the moment.
|
|
virtual void | Clean ()=0 |
| Cleans simulation data (i.e.
|
|
|
std::mutex | m_mutex |
| < For interprocess synchronisation.
|
|
Definition at line 36 of file simulator.h.
◆ SIMULATOR()
◆ ~SIMULATOR()
virtual SIMULATOR::~SIMULATOR |
( |
| ) |
|
|
inlinevirtual |
Create a simulator instance of particular type (currently only ngspice is handled)
Definition at line 43 of file simulator.h.
◆ Attach()
virtual bool SIMULATOR::Attach |
( |
const std::shared_ptr< SIMULATION_MODEL > & |
aModel, |
|
|
const wxString & |
aSimCommand, |
|
|
unsigned |
aSimOptions, |
|
|
const wxString & |
aInputPath, |
|
|
REPORTER & |
aReporter |
|
) |
| |
|
inlinevirtual |
◆ Clean()
virtual void SIMULATOR::Clean |
( |
| ) |
|
|
pure virtual |
Cleans simulation data (i.e.
all vectors)
Implemented in NGSPICE.
◆ CreateInstance()
std::shared_ptr< SPICE_SIMULATOR > SIMULATOR::CreateInstance |
( |
const std::string & |
aName | ) |
|
|
static |
◆ GetMutex()
std::mutex & SIMULATOR::GetMutex |
( |
| ) |
|
|
inline |
◆ IsRunning()
virtual bool SIMULATOR::IsRunning |
( |
| ) |
|
|
pure virtual |
Check if simulation is running at the moment.
- Returns
- True if simulation is currently executed.
Implemented in NGSPICE.
◆ Run()
virtual bool SIMULATOR::Run |
( |
| ) |
|
|
pure virtual |
Execute the simulation with currently loaded netlist.
- Returns
- True in case of success, false otherwise.
Implemented in NGSPICE.
◆ Stop()
virtual bool SIMULATOR::Stop |
( |
| ) |
|
|
pure virtual |
Halt the simulation.
- Returns
- True in case of success, false otherwise.
Implemented in NGSPICE.
◆ m_mutex
std::mutex SIMULATOR::m_mutex |
|
private |
◆ m_simModel
The documentation for this class was generated from the following files: