KiCad PCB EDA Suite
ATTENUATOR Class Reference

#include <attenuator_classes.h>

Inheritance diagram for ATTENUATOR:
ATTENUATOR_BRIDGE ATTENUATOR_PI ATTENUATOR_SPLITTER ATTENUATOR_TEE

Public Member Functions

virtual ~ATTENUATOR ()
 
virtual bool Calculate ()
 Function Calculate calculates the values of components in attenuator. More...
 
void ReadConfig ()
 Function ReadConfig Read values stored in config for this attenuator. More...
 
void WriteConfig ()
 Function WriteConfig Read values stored in config for this attenuator. More...
 

Public Attributes

wxString m_Name
 
int m_ResultCount
 
bool m_Error
 
double m_Zin
 
bool m_Zin_Enable
 
double m_Zout
 
double m_Attenuation
 
bool m_Attenuation_Enable
 
double m_MinimumATT
 
double m_R1
 
double m_R2
 
double m_R3
 
wxBitmap * m_SchBitMap
 
wxString * m_FormulaName
 

Protected Member Functions

 ATTENUATOR (ATTENUATORS_TYPE Topology)
 

Protected Attributes

ATTENUATORS_TYPE m_Topology
 
double Lmin
 
double L
 
double A
 

Detailed Description

Definition at line 25 of file attenuator_classes.h.

Constructor & Destructor Documentation

◆ ATTENUATOR()

ATTENUATOR::ATTENUATOR ( ATTENUATORS_TYPE  Topology)
protected

◆ ~ATTENUATOR()

virtual ATTENUATOR::~ATTENUATOR ( )
virtual

Member Function Documentation

◆ Calculate()

virtual bool ATTENUATOR::Calculate ( )
virtual

Function Calculate calculates the values of components in attenuator.

Returns
true if ok, false if some values cannot be calculated

Reimplemented in ATTENUATOR_SPLITTER, ATTENUATOR_BRIDGE, ATTENUATOR_TEE, and ATTENUATOR_PI.

Referenced by PCB_CALCULATOR_FRAME::OnCalculateAttenuator().

◆ ReadConfig()

void ATTENUATOR::ReadConfig ( )

Function ReadConfig Read values stored in config for this attenuator.

◆ WriteConfig()

void ATTENUATOR::WriteConfig ( )

Function WriteConfig Read values stored in config for this attenuator.

Member Data Documentation

◆ A

double ATTENUATOR::A
protected

Definition at line 46 of file attenuator_classes.h.

◆ L

double ATTENUATOR::L
protected

Definition at line 46 of file attenuator_classes.h.

◆ Lmin

double ATTENUATOR::Lmin
protected

Definition at line 46 of file attenuator_classes.h.

◆ m_Attenuation

double ATTENUATOR::m_Attenuation

◆ m_Attenuation_Enable

bool ATTENUATOR::m_Attenuation_Enable

◆ m_Error

bool ATTENUATOR::m_Error

◆ m_FormulaName

wxString* ATTENUATOR::m_FormulaName

◆ m_MinimumATT

double ATTENUATOR::m_MinimumATT

◆ m_Name

wxString ATTENUATOR::m_Name

Definition at line 30 of file attenuator_classes.h.

◆ m_R1

double ATTENUATOR::m_R1

◆ m_R2

double ATTENUATOR::m_R2

◆ m_R3

double ATTENUATOR::m_R3

◆ m_ResultCount

int ATTENUATOR::m_ResultCount

◆ m_SchBitMap

wxBitmap* ATTENUATOR::m_SchBitMap

◆ m_Topology

ATTENUATORS_TYPE ATTENUATOR::m_Topology
protected

Definition at line 28 of file attenuator_classes.h.

◆ m_Zin

◆ m_Zin_Enable

bool ATTENUATOR::m_Zin_Enable

◆ m_Zout


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