SEElectricalCircuitNode Class Reference

#include <SEElectricalCircuitNode.h>

Inherits SECircuitNode< SEScalarElectricPotential, SEScalarElectricCharge >.

Public Member Functions

virtual ~SEElectricalCircuitNode ()
 
virtual void Clear ()
 
virtual bool HasVoltage () const
 
virtual SEScalarElectricPotentialGetVoltage ()
 
virtual double GetVoltage (const ElectricPotentialUnit &unit) const
 
virtual bool HasNextVoltage () const
 
virtual SEScalarElectricPotentialGetNextVoltage ()
 
virtual double GetNextVoltage (const ElectricPotentialUnit &unit) const
 
virtual bool HasCharge () const
 
virtual SEScalarElectricChargeGetCharge ()
 
virtual double GetCharge (const ElectricChargeUnit &unit) const
 
virtual bool HasNextCharge () const
 
virtual SEScalarElectricChargeGetNextCharge ()
 
virtual double GetNextCharge (const ElectricChargeUnit &unit) const
 
virtual bool HasChargeBaseline () const
 
virtual SEScalarElectricChargeGetChargeBaseline ()
 
virtual double GetChargeBaseline (const ElectricChargeUnit &unit) const
 
- Public Member Functions inherited from SECircuitNode< SEScalarElectricPotential, SEScalarElectricCharge >
virtual ~SECircuitNode ()
 
virtual std::string GetName () const
 
virtual bool HasPotential () const
 
virtual PotentialScalar & GetPotential ()
 
virtual bool HasNextPotential () const
 
virtual PotentialScalar & GetNextPotential ()
 
virtual bool HasQuantity () const
 
virtual QuantityScalar & GetQuantity ()
 
virtual bool HasNextQuantity () const
 
virtual QuantityScalar & GetNextQuantity ()
 
virtual bool HasQuantityBaseline () const
 
virtual QuantityScalar & GetQuantityBaseline ()
 
void SetCalculatorIndex (const size_t index)
 
size_t GetCalculatorIndex () const
 
bool IsReferenceNode () const
 
void SetAsReferenceNode ()
 
void RemoveAsReferenceNode ()
 
- 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

 SEElectricalCircuitNode (const std::string &name, Logger *logger)
 
- Protected Member Functions inherited from SECircuitNode< SEScalarElectricPotential, SEScalarElectricCharge >
 SECircuitNode (const std::string &name, Logger *logger)
 

Friends

class PBCircuit
 
class SECircuitManager
 

Additional Inherited Members

- Static Public Attributes inherited from Loggable
static const std::string empty
 
- Protected Attributes inherited from SECircuitNode< SEScalarElectricPotential, SEScalarElectricCharge >
std::string m_Name
 
PotentialScalar * m_Potential
 
PotentialScalar * m_NextPotential
 
QuantityScalar * m_Quantity
 
QuantityScalar * m_NextQuantity
 
QuantityScalar * m_QuantityBaseline
 
- Protected Attributes inherited from Loggable
Loggerm_Logger
 

Constructor & Destructor Documentation

◆ SEElectricalCircuitNode()

SEElectricalCircuitNode::SEElectricalCircuitNode ( const std::string &  name,
Logger logger 
)
protected

◆ ~SEElectricalCircuitNode()

SEElectricalCircuitNode::~SEElectricalCircuitNode ( )
virtual

Member Function Documentation

◆ Clear()

void SEElectricalCircuitNode::Clear ( )
virtual

◆ GetCharge() [1/2]

SEScalarElectricCharge & SEElectricalCircuitNode::GetCharge ( )
virtual

◆ GetCharge() [2/2]

double SEElectricalCircuitNode::GetCharge ( const ElectricChargeUnit unit) const
virtual

◆ GetChargeBaseline() [1/2]

SEScalarElectricCharge & SEElectricalCircuitNode::GetChargeBaseline ( )
virtual

◆ GetChargeBaseline() [2/2]

double SEElectricalCircuitNode::GetChargeBaseline ( const ElectricChargeUnit unit) const
virtual

◆ GetNextCharge() [1/2]

SEScalarElectricCharge & SEElectricalCircuitNode::GetNextCharge ( )
virtual

◆ GetNextCharge() [2/2]

double SEElectricalCircuitNode::GetNextCharge ( const ElectricChargeUnit unit) const
virtual

◆ GetNextVoltage() [1/2]

SEScalarElectricPotential & SEElectricalCircuitNode::GetNextVoltage ( )
virtual

◆ GetNextVoltage() [2/2]

double SEElectricalCircuitNode::GetNextVoltage ( const ElectricPotentialUnit unit) const
virtual

◆ GetVoltage() [1/2]

SEScalarElectricPotential & SEElectricalCircuitNode::GetVoltage ( )
virtual

◆ GetVoltage() [2/2]

double SEElectricalCircuitNode::GetVoltage ( const ElectricPotentialUnit unit) const
virtual

◆ HasCharge()

bool SEElectricalCircuitNode::HasCharge ( ) const
virtual

◆ HasChargeBaseline()

bool SEElectricalCircuitNode::HasChargeBaseline ( ) const
virtual

◆ HasNextCharge()

bool SEElectricalCircuitNode::HasNextCharge ( ) const
virtual

◆ HasNextVoltage()

bool SEElectricalCircuitNode::HasNextVoltage ( ) const
virtual

◆ HasVoltage()

bool SEElectricalCircuitNode::HasVoltage ( ) const
virtual

Friends And Related Function Documentation

◆ PBCircuit

friend class PBCircuit
friend

◆ SECircuitManager

friend class SECircuitManager
friend