#include <SEElectricalCircuitPath.h>

Inherits SECircuitPath< SEScalarElectricCurrent, SEScalarElectricResistance, SEScalarElectricCapacitance, SEScalarElectricInductance, SEScalarElectricPotential, SEScalarElectricCharge >.

Public Member Functions

virtual ~SEElectricalCircuitPath ()
 
virtual void Clear ()
 
virtual SEElectricalCircuitNodeGetSourceNode () const
 
virtual SEElectricalCircuitNodeGetTargetNode () const
 
virtual bool HasResistance () const
 
virtual SEScalarElectricResistanceGetResistance ()
 
virtual double GetResistance (const ElectricResistanceUnit &unit) const
 
virtual bool HasNextResistance () const
 
virtual SEScalarElectricResistanceGetNextResistance ()
 
virtual double GetNextResistance (const ElectricResistanceUnit &unit) const
 
virtual bool HasResistanceBaseline () const
 
virtual SEScalarElectricResistanceGetResistanceBaseline ()
 
virtual double GetResistanceBaseline (const ElectricResistanceUnit &unit) const
 
virtual bool HasCapacitance () const
 
virtual SEScalarElectricCapacitanceGetCapacitance ()
 
virtual double GetCapacitance (const ElectricCapacitanceUnit &unit) const
 
virtual bool HasNextCapacitance () const
 
virtual SEScalarElectricCapacitanceGetNextCapacitance ()
 
virtual double GetNextCapacitance (const ElectricCapacitanceUnit &unit) const
 
virtual bool HasCapacitanceBaseline () const
 
virtual SEScalarElectricCapacitanceGetCapacitanceBaseline ()
 
virtual double GetCapacitanceBaseline (const ElectricCapacitanceUnit &unit) const
 
virtual bool HasInductance () const
 
virtual SEScalarElectricInductanceGetInductance ()
 
virtual double GetInductance (const ElectricInductanceUnit &unit) const
 
virtual bool HasNextInductance () const
 
virtual SEScalarElectricInductanceGetNextInductance ()
 
virtual double GetNextInductance (const ElectricInductanceUnit &unit) const
 
virtual bool HasInductanceBaseline () const
 
virtual SEScalarElectricInductanceGetInductanceBaseline ()
 
virtual double GetInductanceBaseline (const ElectricInductanceUnit &unit) const
 
virtual bool HasCurrent () const
 
virtual SEScalarElectricCurrentGetCurrent ()
 
virtual double GetCurrent (const ElectricCurrentUnit &unit) const
 
virtual bool HasNextCurrent () const
 
virtual SEScalarElectricCurrentGetNextCurrent ()
 
virtual double GetNextCurrent (const ElectricCurrentUnit &unit) const
 
virtual bool HasCurrentSource () const
 
virtual SEScalarElectricCurrentGetCurrentSource ()
 
virtual double GetCurrentSource (const ElectricCurrentUnit &unit) const
 
virtual bool HasNextCurrentSource () const
 
virtual SEScalarElectricCurrentGetNextCurrentSource ()
 
virtual double GetNextCurrentSource (const ElectricCurrentUnit &unit) const
 
virtual bool HasCurrentSourceBaseline () const
 
virtual SEScalarElectricCurrentGetCurrentSourceBaseline ()
 
virtual double GetCurrentSourceBaseline (const ElectricCurrentUnit &unit) const
 
virtual bool HasVoltageSource () const
 
virtual SEScalarElectricPotentialGetVoltageSource ()
 
virtual double GetVoltageSource (const ElectricPotentialUnit &unit) const
 
virtual bool HasNextVoltageSource () const
 
virtual SEScalarElectricPotentialGetNextVoltageSource ()
 
virtual double GetNextVoltageSource (const ElectricPotentialUnit &unit) const
 
virtual bool HasVoltageSourceBaseline () const
 
virtual SEScalarElectricPotentialGetVoltageSourceBaseline ()
 
virtual double GetVoltageSourceBaseline (const ElectricPotentialUnit &unit) const
 
virtual bool HasValveBreakdownVoltage () const
 
virtual SEScalarElectricPotentialGetValveBreakdownVoltage ()
 
virtual double GetValveBreakdownVoltage (const ElectricPotentialUnit &unit) const
 
- Public Member Functions inherited from SECircuitPath< SEScalarElectricCurrent, SEScalarElectricResistance, SEScalarElectricCapacitance, SEScalarElectricInductance, SEScalarElectricPotential, SEScalarElectricCharge >
virtual ~SECircuitPath ()
 
virtual std::string GetName () const
 
virtual bool HasFlux () const
 
virtual FluxScalar & GetFlux ()
 
virtual bool HasNextFlux () const
 
virtual FluxScalar & GetNextFlux ()
 
virtual bool HasFluxSource () const
 
virtual FluxScalar & GetFluxSource ()
 
virtual bool HasNextFluxSource () const
 
virtual FluxScalar & GetNextFluxSource ()
 
virtual bool HasFluxSourceBaseline () const
 
virtual FluxScalar & GetFluxSourceBaseline ()
 
virtual bool HasPotentialSource () const
 
virtual PotentialScalar & GetPotentialSource ()
 
virtual bool HasNextPotentialSource () const
 
virtual PotentialScalar & GetNextPotentialSource ()
 
virtual bool HasPotentialSourceBaseline () const
 
virtual PotentialScalar & GetPotentialSourceBaseline ()
 
virtual bool HasValveBreakdownPotential () const
 
virtual PotentialScalar & GetValveBreakdownPotential ()
 
virtual bool HasValidElements () const
 
virtual unsigned short NumberOfElements () const
 
virtual unsigned short NumberOfNextElements () const
 
virtual eGate GetSwitch () const
 
virtual void SetSwitch (eGate state)
 
virtual void FlipSwitch ()
 
virtual bool HasSwitch () const
 
virtual void InvalidateSwitch ()
 
virtual eGate GetNextSwitch () const
 
virtual void SetNextSwitch (eGate state)
 
virtual void FlipNextSwitch ()
 
virtual bool HasNextSwitch () const
 
virtual void InvalidateNextSwitch ()
 
virtual eGate GetValve () const
 
virtual void SetValve (eGate state)
 
virtual void FlipValve ()
 
virtual bool HasValve () const
 
virtual void InvalidateValve ()
 
virtual eGate GetNextValve () const
 
virtual void SetNextValve (eGate state)
 
virtual void FlipNextValve ()
 
virtual bool HasNextValve () const
 
virtual void InvalidateNextValve ()
 
virtual eGate GetPolarizedState () const
 
virtual void SetPolarizedState (eGate state)
 
virtual void FlipPolarizedState ()
 
virtual bool HasPolarizedState () const
 
virtual void InvalidatePolarizedState ()
 
virtual eGate GetNextPolarizedState () const
 
virtual void SetNextPolarizedState (eGate state)
 
virtual void FlipNextPolarizedState ()
 
virtual bool HasNextPolarizedState () const
 
virtual void InvalidateNextPolarizedState ()
 
- Public Member Functions inherited from Loggable
 Loggable ()
 
 Loggable (Logger *log)
 
virtual ~Loggable ()
 
virtual LoggerGetLogger () const
 
virtual void Debug (std::string const &msg, std::string const &origin=empty) const
 
virtual void Debug (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Debug (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Info (std::string const &msg, std::string const &origin=empty) const
 
virtual void Info (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Info (const std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Info (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Warning (std::string const &msg, std::string const &origin=empty) const
 
virtual void Warning (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Warning (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Error (std::string const &msg, std::string const &origin=empty) const
 
virtual void Error (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Error (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Fatal (std::string const &msg, std::string const &origin=empty) const
 
virtual void Fatal (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Fatal (std::ostream &msg, std::string const &origin=empty) const
 

Protected Member Functions

 SEElectricalCircuitPath (SEElectricalCircuitNode &src, SEElectricalCircuitNode &tgt, const std::string &name)
 
- Protected Member Functions inherited from SECircuitPath< SEScalarElectricCurrent, SEScalarElectricResistance, SEScalarElectricCapacitance, SEScalarElectricInductance, SEScalarElectricPotential, SEScalarElectricCharge >
 SECircuitPath (SECircuitNode< PotentialScalar, QuantityScalar > &src, SECircuitNode< PotentialScalar, QuantityScalar > &tgt, const std::string &name)
 

Protected Attributes

SEElectricalCircuitNodem_ElectricalSourceNode
 
SEElectricalCircuitNodem_ElectricalTargetNode
 
- Protected Attributes inherited from SECircuitPath< SEScalarElectricCurrent, SEScalarElectricResistance, SEScalarElectricCapacitance, SEScalarElectricInductance, SEScalarElectricPotential, SEScalarElectricCharge >
std::string m_Name
 
SECircuitNode< CIRCUIT_NODE_TYPES > & m_SourceNode
 
SECircuitNode< CIRCUIT_NODE_TYPES > & m_TargetNode
 
unsigned short m_NumElements
 
unsigned short m_NumNextElements
 
eGate m_Switch
 
eGate m_NextSwitch
 
eGate m_Valve
 
eGate m_NextValve
 
eGate m_PolarizedState
 
eGate m_NextPolarizedState
 
ResistanceScalar * m_Resistance
 
ResistanceScalar * m_NextResistance
 
ResistanceScalar * m_ResistanceBaseline
 
CapacitanceScalar * m_Capacitance
 
CapacitanceScalar * m_NextCapacitance
 
CapacitanceScalar * m_CapacitanceBaseline
 
InductanceScalar * m_Inductance
 
InductanceScalar * m_NextInductance
 
InductanceScalar * m_InductanceBaseline
 
FluxScalar * m_Flux
 
FluxScalar * m_NextFlux
 
FluxScalar * m_FluxSource
 
FluxScalar * m_NextFluxSource
 
FluxScalar * m_FluxSourceBaseline
 
PotentialScalar * m_PotentialSource
 
PotentialScalar * m_NextPotentialSource
 
PotentialScalar * m_PotentialSourceBaseline
 
PotentialScalar * m_ValveBreakdownPotential
 
- Protected Attributes inherited from Loggable
Loggerm_Logger
 

Friends

class PBCircuit
 
class SECircuitManager
 

Additional Inherited Members

- Static Public Attributes inherited from Loggable
static const std::string empty
 

Constructor & Destructor Documentation

◆ SEElectricalCircuitPath()

SEElectricalCircuitPath::SEElectricalCircuitPath ( SEElectricalCircuitNode src,
SEElectricalCircuitNode tgt,
const std::string &  name 
)
protected

◆ ~SEElectricalCircuitPath()

SEElectricalCircuitPath::~SEElectricalCircuitPath ( )
virtual

Member Function Documentation

◆ Clear()

◆ GetCapacitance() [1/2]

◆ GetCapacitance() [2/2]

double SEElectricalCircuitPath::GetCapacitance ( const ElectricCapacitanceUnit unit) const
virtual

◆ GetCapacitanceBaseline() [1/2]

◆ GetCapacitanceBaseline() [2/2]

double SEElectricalCircuitPath::GetCapacitanceBaseline ( const ElectricCapacitanceUnit unit) const
virtual

◆ GetCurrent() [1/2]

SEScalarElectricCurrent & SEElectricalCircuitPath::GetCurrent ( )
virtual

◆ GetCurrent() [2/2]

double SEElectricalCircuitPath::GetCurrent ( const ElectricCurrentUnit unit) const
virtual

◆ GetCurrentSource() [1/2]

SEScalarElectricCurrent & SEElectricalCircuitPath::GetCurrentSource ( )
virtual

◆ GetCurrentSource() [2/2]

double SEElectricalCircuitPath::GetCurrentSource ( const ElectricCurrentUnit unit) const
virtual

◆ GetCurrentSourceBaseline() [1/2]

SEScalarElectricCurrent & SEElectricalCircuitPath::GetCurrentSourceBaseline ( )
virtual

◆ GetCurrentSourceBaseline() [2/2]

double SEElectricalCircuitPath::GetCurrentSourceBaseline ( const ElectricCurrentUnit unit) const
virtual

◆ GetInductance() [1/2]

◆ GetInductance() [2/2]

double SEElectricalCircuitPath::GetInductance ( const ElectricInductanceUnit unit) const
virtual

◆ GetInductanceBaseline() [1/2]

◆ GetInductanceBaseline() [2/2]

double SEElectricalCircuitPath::GetInductanceBaseline ( const ElectricInductanceUnit unit) const
virtual

◆ GetNextCapacitance() [1/2]

◆ GetNextCapacitance() [2/2]

double SEElectricalCircuitPath::GetNextCapacitance ( const ElectricCapacitanceUnit unit) const
virtual

◆ GetNextCurrent() [1/2]

SEScalarElectricCurrent & SEElectricalCircuitPath::GetNextCurrent ( )
virtual

◆ GetNextCurrent() [2/2]

double SEElectricalCircuitPath::GetNextCurrent ( const ElectricCurrentUnit unit) const
virtual

◆ GetNextCurrentSource() [1/2]

SEScalarElectricCurrent & SEElectricalCircuitPath::GetNextCurrentSource ( )
virtual

◆ GetNextCurrentSource() [2/2]

double SEElectricalCircuitPath::GetNextCurrentSource ( const ElectricCurrentUnit unit) const
virtual

◆ GetNextInductance() [1/2]

◆ GetNextInductance() [2/2]

double SEElectricalCircuitPath::GetNextInductance ( const ElectricInductanceUnit unit) const
virtual

◆ GetNextResistance() [1/2]

◆ GetNextResistance() [2/2]

double SEElectricalCircuitPath::GetNextResistance ( const ElectricResistanceUnit unit) const
virtual

◆ GetNextVoltageSource() [1/2]

SEScalarElectricPotential & SEElectricalCircuitPath::GetNextVoltageSource ( )
virtual

◆ GetNextVoltageSource() [2/2]

double SEElectricalCircuitPath::GetNextVoltageSource ( const ElectricPotentialUnit unit) const
virtual

◆ GetResistance() [1/2]

◆ GetResistance() [2/2]

double SEElectricalCircuitPath::GetResistance ( const ElectricResistanceUnit unit) const
virtual

◆ GetResistanceBaseline() [1/2]

◆ GetResistanceBaseline() [2/2]

double SEElectricalCircuitPath::GetResistanceBaseline ( const ElectricResistanceUnit unit) const
virtual

◆ GetSourceNode()

◆ GetTargetNode()

◆ GetValveBreakdownVoltage() [1/2]

SEScalarElectricPotential & SEElectricalCircuitPath::GetValveBreakdownVoltage ( )
virtual

◆ GetValveBreakdownVoltage() [2/2]

double SEElectricalCircuitPath::GetValveBreakdownVoltage ( const ElectricPotentialUnit unit) const
virtual

◆ GetVoltageSource() [1/2]

SEScalarElectricPotential & SEElectricalCircuitPath::GetVoltageSource ( )
virtual

◆ GetVoltageSource() [2/2]

double SEElectricalCircuitPath::GetVoltageSource ( const ElectricPotentialUnit unit) const
virtual

◆ GetVoltageSourceBaseline() [1/2]

SEScalarElectricPotential & SEElectricalCircuitPath::GetVoltageSourceBaseline ( )
virtual

◆ GetVoltageSourceBaseline() [2/2]

double SEElectricalCircuitPath::GetVoltageSourceBaseline ( const ElectricPotentialUnit unit) const
virtual

◆ HasCapacitance()

◆ HasCapacitanceBaseline()

◆ HasCurrent()

bool SEElectricalCircuitPath::HasCurrent ( ) const
virtual

◆ HasCurrentSource()

bool SEElectricalCircuitPath::HasCurrentSource ( ) const
virtual

◆ HasCurrentSourceBaseline()

bool SEElectricalCircuitPath::HasCurrentSourceBaseline ( ) const
virtual

◆ HasInductance()

◆ HasInductanceBaseline()

◆ HasNextCapacitance()

◆ HasNextCurrent()

bool SEElectricalCircuitPath::HasNextCurrent ( ) const
virtual

◆ HasNextCurrentSource()

bool SEElectricalCircuitPath::HasNextCurrentSource ( ) const
virtual

◆ HasNextInductance()

◆ HasNextResistance()

◆ HasNextVoltageSource()

bool SEElectricalCircuitPath::HasNextVoltageSource ( ) const
virtual

◆ HasResistance()

◆ HasResistanceBaseline()

◆ HasValveBreakdownVoltage()

bool SEElectricalCircuitPath::HasValveBreakdownVoltage ( ) const
virtual

◆ HasVoltageSource()

bool SEElectricalCircuitPath::HasVoltageSource ( ) const
virtual

◆ HasVoltageSourceBaseline()

bool SEElectricalCircuitPath::HasVoltageSourceBaseline ( ) const
virtual

Friends And Related Function Documentation

◆ PBCircuit

friend class PBCircuit
friend

◆ SECircuitManager

friend class SECircuitManager
friend

Member Data Documentation

◆ m_ElectricalSourceNode

SEElectricalCircuitNode& SEElectricalCircuitPath::m_ElectricalSourceNode
protected

◆ m_ElectricalTargetNode

SEElectricalCircuitNode& SEElectricalCircuitPath::m_ElectricalTargetNode
protected