30#define TRANSLINE_WARNING 1
31#define TRANSLINE_ERROR 2
121 void setResult(
int aLine,
double aValue,
const char* aText );
122 void setResult(
int aLine,
const char* aText );
196 bool aIncludeFillsGaps =
false )
const;
A color representation with 4 components: red, green, blue, alpha.
The base class for all transmission line calculations.
virtual void showSynthesize()
Show analysis results and checks for errors / warnings.
bool isSelected(enum PRMS_ID aPrmId)
Return true if the param aPrmId is selected.
double getProperty(enum PRMS_ID aPrmId)
Return a property value.
virtual void calcSynthesize()
Computation for synthesis.
void SetExtraParameter(enum EXTRA_PRMS_ID aPrmId, double aValue)
Setter for panel-level parameters that are shared across every calculator type.
void setResult(int aLine, double aValue, const char *aText)
Put the text into the given result line.
double m_parameters[EXTRA_PRMS_COUNT]
virtual void getProperties()
Get all properties from the UI.
void checkProperties()
Check the input parameters (ie: negative length).
virtual void synthesize()
static char convertParameterStatusCode(TRANSLINE_STATUS aStatus)
Convert a TRANSLINE_STATUS status to a PCB Calculation status.
void setProperty(enum PRMS_ID aPrmId, double aValue)
Set a named property to the given value, access through the application.
void pushSoldermaskParameters(TRANSLINE_CALCULATION_BASE &aCalc, bool aIncludeFillsGaps=false) const
Push the mask-eligible subset of soldermask parameters (PRESENT, THICKNESS, EPSILONR,...
virtual void showAnalyze()
Show synthesis results and checks for errors / warnings.
double skin_depth()
Calculate skin depth.
virtual void show_results()
Show results.
virtual void calcAnalyze()
Computation for analysis.
void setErrorLevel(PRMS_ID, char)
Set an error / warning level for a given parameter.
@ SOLDERMASK_FILLS_GAPS_PRM
@ SOLDERMASK_EPSILONR_PRM
@ SOLDERMASK_THICKNESS_PRM
@ TWISTEDPAIR_EPSILONR_ENV_PRM
TRANSLINE_STATUS
Parameter status values.