KiCad PCB EDA Suite
Loading...
Searching...
No Matches
SPICE_GENERATOR_SPICE Class Reference

#include <sim_model_spice.h>

Inheritance diagram for SPICE_GENERATOR_SPICE:
SPICE_GENERATOR SPICE_GENERATOR_NGSPICE

Public Member Functions

std::string Preview (const SPICE_ITEM &aItem) const override
 
 SPICE_GENERATOR (const SIM_MODEL &aModel)
 
virtual std::string ModelName (const SPICE_ITEM &aItem) const
 
virtual std::string ModelLine (const SPICE_ITEM &aItem) const
 
virtual std::string ItemLine (const SPICE_ITEM &aItem) const
 
virtual std::string ItemName (const SPICE_ITEM &aItem) const
 
virtual std::string ItemPins (const SPICE_ITEM &aItem) const
 
virtual std::string ItemModelName (const SPICE_ITEM &aItem) const
 
virtual std::string ItemParams () const
 
virtual std::string TunerCommand (const SPICE_ITEM &aItem, double aValue) const
 
virtual std::vector< std::string > CurrentNames (const SPICE_ITEM &aItem) const
 

Protected Member Functions

virtual std::vector< std::reference_wrapper< const SIM_MODEL::PIN > > GetPins () const
 
virtual std::vector< std::reference_wrapper< const SIM_MODEL::PARAM > > GetInstanceParams () const
 

Protected Attributes

const SIM_MODELm_model
 

Detailed Description

Definition at line 35 of file sim_model_spice.h.

Member Function Documentation

◆ CurrentNames()

std::vector< std::string > SPICE_GENERATOR::CurrentNames ( const SPICE_ITEM aItem) const
virtualinherited

◆ GetInstanceParams()

std::vector< std::reference_wrapper< const SIM_MODEL::PARAM > > SPICE_GENERATOR::GetInstanceParams ( ) const
protectedvirtualinherited

◆ GetPins()

virtual std::vector< std::reference_wrapper< const SIM_MODEL::PIN > > SPICE_GENERATOR::GetPins ( ) const
inlineprotectedvirtualinherited

◆ ItemLine()

◆ ItemModelName()

std::string SPICE_GENERATOR::ItemModelName ( const SPICE_ITEM aItem) const
virtualinherited

Reimplemented in SPICE_GENERATOR_RAW_SPICE.

Definition at line 174 of file spice_generator.cpp.

References SPICE_ITEM::modelName.

Referenced by SPICE_GENERATOR::ItemLine().

◆ ItemName()

◆ ItemParams()

std::string SPICE_GENERATOR::ItemParams ( ) const
virtualinherited

◆ ItemPins()

std::string SPICE_GENERATOR::ItemPins ( const SPICE_ITEM aItem) const
virtualinherited

◆ ModelLine()

◆ ModelName()

std::string SPICE_GENERATOR::ModelName ( const SPICE_ITEM aItem) const
virtualinherited

◆ Preview()

std::string SPICE_GENERATOR_SPICE::Preview ( const SPICE_ITEM aItem) const
overridevirtual

◆ SPICE_GENERATOR()

SPICE_GENERATOR::SPICE_GENERATOR ( const SIM_MODEL aModel)
inline

Definition at line 49 of file spice_generator.h.

◆ TunerCommand()

std::string SPICE_GENERATOR::TunerCommand ( const SPICE_ITEM aItem,
double  aValue 
) const
virtualinherited

Reimplemented in SPICE_GENERATOR_IDEAL, and SPICE_GENERATOR_R_POT.

Definition at line 206 of file spice_generator.cpp.

Referenced by SIMULATOR_FRAME_UI::applyTuners().

Member Data Documentation

◆ m_model


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