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 ()
 Calculates the values of components in attenuator. More...
 
void ReadConfig ()
 Read values stored in config for this attenuator. More...
 
void 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
 
BITMAPS m_SchBitmapName
 
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 27 of file attenuator_classes.h.

Constructor & Destructor Documentation

◆ ~ATTENUATOR()

virtual ATTENUATOR::~ATTENUATOR ( )
virtual

◆ ATTENUATOR()

ATTENUATOR::ATTENUATOR ( ATTENUATORS_TYPE  Topology)
protected

Member Function Documentation

◆ Calculate()

virtual bool ATTENUATOR::Calculate ( )
virtual

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 PANEL_ATTENUATORS::OnCalculateAttenuator().

◆ ReadConfig()

void ATTENUATOR::ReadConfig ( )

Read values stored in config for this attenuator.

◆ WriteConfig()

void ATTENUATOR::WriteConfig ( )

Read values stored in config for this attenuator.

Member Data Documentation

◆ A

double ATTENUATOR::A
protected

Definition at line 71 of file attenuator_classes.h.

◆ L

double ATTENUATOR::L
protected

Definition at line 71 of file attenuator_classes.h.

◆ Lmin

double ATTENUATOR::Lmin
protected

Definition at line 71 of file attenuator_classes.h.

◆ m_Attenuation

double ATTENUATOR::m_Attenuation

◆ m_Attenuation_Enable

bool ATTENUATOR::m_Attenuation_Enable

Definition at line 61 of file attenuator_classes.h.

Referenced by PANEL_ATTENUATORS::TransfAttenuatorDataToPanel().

◆ m_Error

bool ATTENUATOR::m_Error

◆ m_FormulaName

wxString* ATTENUATOR::m_FormulaName

Definition at line 67 of file attenuator_classes.h.

Referenced by PANEL_ATTENUATORS::TransfAttenuatorDataToPanel().

◆ m_MinimumATT

double ATTENUATOR::m_MinimumATT

◆ m_Name

wxString ATTENUATOR::m_Name

Definition at line 54 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_SchBitmapName

◆ m_Topology

ATTENUATORS_TYPE ATTENUATOR::m_Topology
protected

Definition at line 70 of file attenuator_classes.h.

◆ m_Zin

◆ m_Zin_Enable

bool ATTENUATOR::m_Zin_Enable

Definition at line 58 of file attenuator_classes.h.

Referenced by PANEL_ATTENUATORS::TransfAttenuatorDataToPanel().

◆ m_Zout

double ATTENUATOR::m_Zout

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