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

#include <spice_generator.h>

Inheritance diagram for SPICE_GENERATOR:
SPICE_GENERATOR_BEHAVIORAL SPICE_GENERATOR_IDEAL SPICE_GENERATOR_KIBIS SPICE_GENERATOR_L_MUTUAL SPICE_GENERATOR_RAW_SPICE SPICE_GENERATOR_R_POT SPICE_GENERATOR_SOURCE SPICE_GENERATOR_SPICE SPICE_GENERATOR_SUBCKT SPICE_GENERATOR_SWITCH SPICE_GENERATOR_TLINE

Public Member Functions

 SPICE_GENERATOR (const SIM_MODEL &aModel)
 
virtual ~SPICE_GENERATOR ()=default
 
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
 
virtual std::string Preview (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 45 of file spice_generator.h.

Constructor & Destructor Documentation

◆ SPICE_GENERATOR()

SPICE_GENERATOR::SPICE_GENERATOR ( const SIM_MODEL aModel)
inline

Definition at line 49 of file spice_generator.h.

◆ ~SPICE_GENERATOR()

virtual SPICE_GENERATOR::~SPICE_GENERATOR ( )
virtualdefault

Member Function Documentation

◆ CurrentNames()

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

◆ GetInstanceParams()

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

◆ GetPins()

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

◆ ItemLine()

◆ ItemModelName()

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

Reimplemented in SPICE_GENERATOR_L_MUTUAL, and SPICE_GENERATOR_RAW_SPICE.

Definition at line 174 of file spice_generator.cpp.

References SPICE_ITEM::modelName.

Referenced by ItemLine().

◆ ItemName()

◆ ItemParams()

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

◆ ItemPins()

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

Reimplemented in SPICE_GENERATOR_RAW_SPICE.

Definition at line 149 of file spice_generator.cpp.

References GetPins(), pin, SPICE_ITEM::pinNetNames, SPICE_ITEM::pinNumbers, and SPICE_ITEM::refName.

Referenced by ItemLine().

◆ ModelLine()

◆ ModelName()

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

◆ Preview()

std::string SPICE_GENERATOR::Preview ( const SPICE_ITEM aItem) const
virtual

◆ TunerCommand()

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

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: