Do not store Spice vector names, but regenerate them
This commit is contained in:
parent
ed8f555331
commit
fb56420654
|
@ -88,9 +88,6 @@ TRACE_DESC::TRACE_DESC( const NETLIST_EXPORTER_PSPICE_SIM& aExporter, const wxSt
|
|||
SIM_PLOT_TYPE aType, const wxString& aParam )
|
||||
: m_name( aName ), m_type( aType ), m_param( aParam )
|
||||
{
|
||||
// Spice vector generation
|
||||
m_spiceVector = aExporter.GetSpiceVector( aName, aType, aParam );
|
||||
|
||||
// Title generation
|
||||
m_title = wxString::Format( "%s(%s)", aParam, aName );
|
||||
|
||||
|
@ -350,7 +347,8 @@ bool SIM_PLOT_FRAME::updatePlot( const TRACE_DESC& aDescriptor, SIM_PLOT_PANEL*
|
|||
return false;
|
||||
|
||||
SIM_TYPE simType = m_exporter->GetSimType();
|
||||
wxString spiceVector = aDescriptor.GetSpiceVector();
|
||||
wxString spiceVector = m_exporter->GetSpiceVector( aDescriptor.GetName(),
|
||||
aDescriptor.GetType(), aDescriptor.GetParam() );
|
||||
|
||||
if( !SIM_PLOT_PANEL::IsPlottable( simType ) )
|
||||
{
|
||||
|
|
|
@ -83,11 +83,6 @@ public:
|
|||
return m_type;
|
||||
}
|
||||
|
||||
const wxString& GetSpiceVector() const
|
||||
{
|
||||
return m_spiceVector;
|
||||
}
|
||||
|
||||
private:
|
||||
// Three basic parameters
|
||||
///> Name of the measured net/device
|
||||
|
@ -102,9 +97,6 @@ private:
|
|||
// Generated data
|
||||
///> Title displayed in the signal list/plot legend
|
||||
wxString m_title;
|
||||
|
||||
///> Spice vector name
|
||||
wxString m_spiceVector;
|
||||
};
|
||||
|
||||
/** Implementing SIM_PLOT_FRAME_BASE */
|
||||
|
|
Loading…
Reference in New Issue