QElectroTech  0.8-dev
Public Member Functions | Private Attributes | List of all members
NewConductorPotentialSelector Class Reference

The NewConductorPotentialSelector class Use for get the conductor propertie when two potentials is linked by a conductor. More...

Inheritance diagram for NewConductorPotentialSelector:
Inheritance graph
Collaboration diagram for NewConductorPotentialSelector:
Collaboration graph

Public Member Functions

 NewConductorPotentialSelector (Conductor *conductor)
 
bool isValid () const override
 
void getPotential (Terminal *terminal, autonum::sequentialNumbers &seq_num, int &number, QList< ConductorProperties > &properties_list, QList< Conductor * > &c_list)
 getPotential Get the conductor propertie of the potential at terminal, and the number of wire in this potential. More...
 
 ~NewConductorPotentialSelector () override
 
- Public Member Functions inherited from AbstractPotentialSelector
 AbstractPotentialSelector ()
 
virtual ~AbstractPotentialSelector ()
 

Private Attributes

bool m_is_valid
 

Additional Inherited Members

- Public Attributes inherited from AbstractPotentialSelector
autonum::sequentialNumbers m_seq_num_1
 
autonum::sequentialNumbers m_seq_num_2
 
int m_conductor_number_1
 
int m_conductor_number_2
 
QList< ConductorPropertiesm_properties_list_1
 
QList< ConductorPropertiesm_properties_list_2
 
QList< Conductor * > m_conductors_list_1
 
QList< Conductor * > m_conductors_list_2
 

Detailed Description

The NewConductorPotentialSelector class Use for get the conductor propertie when two potentials is linked by a conductor.

Constructor & Destructor Documentation

◆ NewConductorPotentialSelector()

NewConductorPotentialSelector::NewConductorPotentialSelector ( Conductor conductor)
inline
Here is the call graph for this function:

◆ ~NewConductorPotentialSelector()

NewConductorPotentialSelector::~NewConductorPotentialSelector ( )
inlineoverride

Member Function Documentation

◆ getPotential()

void NewConductorPotentialSelector::getPotential ( Terminal terminal,
autonum::sequentialNumbers seq_num,
int &  number,
QList< ConductorProperties > &  properties_list,
QList< Conductor * > &  c_list 
)
inline

getPotential Get the conductor propertie of the potential at terminal, and the number of wire in this potential.

Parameters
terminal
seq_num
number
properties_list
c_list
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isValid()

bool NewConductorPotentialSelector::isValid ( ) const
inlineoverridevirtual

Member Data Documentation

◆ m_is_valid

bool NewConductorPotentialSelector::m_is_valid
private

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