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

#include <sim_property.h>

Inheritance diagram for SIM_PROPERTY:
SIM_BOOL_PROPERTY SIM_ENUM_PROPERTY SIM_STRING_PROPERTY

Public Member Functions

 SIM_PROPERTY (SIM_MODEL &aModel, int aParamIndex)
 wxPropertyGrid property specializations for simulator.
 
void Disable ()
 
const SIM_MODEL::PARAMGetParam () const
 

Protected Attributes

SIM_MODELm_model
 
int m_paramIndex
 
bool m_needsEval
 
NUMERIC_EVALUATOR m_eval
 
bool m_disabled
 If true, never access the models.
 

Detailed Description

Definition at line 53 of file sim_property.h.

Constructor & Destructor Documentation

◆ SIM_PROPERTY()

SIM_PROPERTY::SIM_PROPERTY ( SIM_MODEL & aModel,
int aParamIndex )

wxPropertyGrid property specializations for simulator.

Definition at line 41 of file sim_property.cpp.

References m_disabled, m_eval, m_model, m_needsEval, m_paramIndex, and UNSCALED.

Referenced by SIM_BOOL_PROPERTY::SIM_BOOL_PROPERTY(), SIM_ENUM_PROPERTY::SIM_ENUM_PROPERTY(), and SIM_STRING_PROPERTY::SIM_STRING_PROPERTY().

Member Function Documentation

◆ Disable()

void SIM_PROPERTY::Disable ( )

Definition at line 51 of file sim_property.cpp.

References m_disabled.

◆ GetParam()

const SIM_MODEL::PARAM & SIM_PROPERTY::GetParam ( ) const
inline

Member Data Documentation

◆ m_disabled

bool SIM_PROPERTY::m_disabled
protected

If true, never access the models.

Definition at line 69 of file sim_property.h.

Referenced by Disable(), SIM_ENUM_PROPERTY::IntToValue(), SIM_BOOL_PROPERTY::OnSetValue(), SIM_PROPERTY(), and SIM_STRING_PROPERTY::StringToValue().

◆ m_eval

NUMERIC_EVALUATOR SIM_PROPERTY::m_eval
mutableprotected

◆ m_model

◆ m_needsEval

bool SIM_PROPERTY::m_needsEval
protected

◆ m_paramIndex


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