Public Member Functions |
Protected Member Functions |
Protected Attributes |
Private Attributes |
Friends |
List of all members
SECircuitNode< CIRCUIT_NODE_TEMPLATE > Class Template Reference
#include <SECircuitNode.h>
Inherits Loggable.
Public Member Functions | |
virtual | ~SECircuitNode () |
virtual void | Clear () |
virtual std::string | GetName () const |
virtual bool | IsPartOfBlackBox () const |
virtual void | SetPartOfBlackBox (bool b) |
virtual bool | IsBlackBoxMiddle () const |
virtual bool | HasPotential () const |
virtual PotentialScalar & | GetPotential () |
virtual bool | HasNextPotential () const |
virtual PotentialScalar & | GetNextPotential () |
virtual void | RemoveImposedPotential () |
virtual bool | IsPotentialImposed () const |
virtual void | ImposePotential (const PotentialScalar &s) |
virtual void | ImposePotential (double v, const PotentialUnit &unit) |
virtual bool | HasQuantity () const |
virtual QuantityScalar & | GetQuantity () |
virtual bool | HasNextQuantity () const |
virtual QuantityScalar & | GetNextQuantity () |
virtual bool | HasQuantityBaseline () const |
virtual QuantityScalar & | GetQuantityBaseline () |
virtual void | RemoveImposedQuantity () |
virtual bool | IsQuantityImposed () const |
virtual void | ImposeQuantity (const QuantityScalar &s) |
virtual void | ImposeQuantity (double v, const QuantityUnit &unit) |
void | SetCalculatorIndex (const int index) |
int | GetCalculatorIndex () const |
bool | IsReferenceNode () const |
void | SetAsReferenceNode () |
void | RemoveAsReferenceNode () |
Public Member Functions inherited from Loggable | |
Loggable (Logger *logger=nullptr) | |
Loggable (std::string const &logfile) | |
virtual | ~Loggable () |
virtual Logger * | GetLogger () const |
virtual void | SetLogger (Logger &logger) |
virtual void | Debug (std::string const &msg) const |
virtual void | Debug (std::stringstream &msg) const |
virtual void | Debug (std::ostream &msg) const |
virtual void | Info (std::string const &msg) const |
virtual void | Info (std::stringstream &msg) const |
virtual void | Info (const std::stringstream &msg) const |
virtual void | Info (std::ostream &msg) const |
virtual void | Warning (std::string const &msg) const |
virtual void | Warning (std::stringstream &msg) const |
virtual void | Warning (std::ostream &msg) const |
virtual void | Error (std::string const &msg) const |
virtual void | Error (std::stringstream &msg) const |
virtual void | Error (std::ostream &msg) const |
virtual void | Fatal (std::string const &msg) const |
virtual void | Fatal (std::stringstream &msg) const |
virtual void | Fatal (std::ostream &msg) const |
Protected Member Functions | |
SECircuitNode (const std::string &name, Logger *logger) | |
Protected Attributes | |
std::string | m_Name |
bool | m_IsPartOfBlackBox = false |
bool | m_IsBlackBoxMiddle = false |
PotentialScalar * | m_Potential |
PotentialScalar * | m_NextPotential |
eBlackBox_Property_Type | m_PotentialType = eBlackBox_Property_Type::Calculate |
QuantityScalar * | m_Quantity |
QuantityScalar * | m_NextQuantity |
QuantityScalar * | m_QuantityBaseline |
eBlackBox_Property_Type | m_QuantityType = eBlackBox_Property_Type::Calculate |
Protected Attributes inherited from Loggable | |
bool | myLogger |
Logger * | m_Logger |
Private Attributes | |
int | m_CalculatorIndex |
bool | m_IsReferenceNode = false |
Friends | |
class | PBCircuit |
template<typename NodeType , typename PathType > | |
class | SECircuit |
Constructor & Destructor Documentation
◆ SECircuitNode()
template<CIRCUIT_NODE_TEMPLATE >
|
protected |
◆ ~SECircuitNode()
template<CIRCUIT_NODE_TEMPLATE >
|
virtual |
Member Function Documentation
◆ Clear()
template<CIRCUIT_NODE_TEMPLATE >
|
virtual |
Reimplemented in SEElectricalCircuitNode, SEFluidCircuitNode, and SEThermalCircuitNode.
◆ GetCalculatorIndex()
template<CIRCUIT_NODE_TEMPLATE >
int SECircuitNode< CIRCUIT_NODE_TEMPLATE >::GetCalculatorIndex | ( | ) | const |
◆ GetName()
template<CIRCUIT_NODE_TEMPLATE >
|
virtual |
◆ GetNextPotential()
template<CIRCUIT_NODE_TEMPLATE >
|
virtual |
◆ GetNextQuantity()
template<CIRCUIT_NODE_TEMPLATE >
|
virtual |
◆ GetPotential()
template<CIRCUIT_NODE_TEMPLATE >
|
virtual |
◆ GetQuantity()
template<CIRCUIT_NODE_TEMPLATE >
|
virtual |
◆ GetQuantityBaseline()
template<CIRCUIT_NODE_TEMPLATE >
|
virtual |
◆ HasNextPotential()
template<CIRCUIT_NODE_TEMPLATE >
|
virtual |
◆ HasNextQuantity()
template<CIRCUIT_NODE_TEMPLATE >
|
virtual |
◆ HasPotential()
template<CIRCUIT_NODE_TEMPLATE >
|
virtual |
◆ HasQuantity()
template<CIRCUIT_NODE_TEMPLATE >
|
virtual |
◆ HasQuantityBaseline()
template<CIRCUIT_NODE_TEMPLATE >
|
virtual |
◆ ImposePotential() [1/2]
template<CIRCUIT_NODE_TEMPLATE >
|
virtual |
◆ ImposePotential() [2/2]
template<CIRCUIT_NODE_TEMPLATE >
|
virtual |
◆ ImposeQuantity() [1/2]
template<CIRCUIT_NODE_TEMPLATE >
|
virtual |
◆ ImposeQuantity() [2/2]
template<CIRCUIT_NODE_TEMPLATE >
|
virtual |
◆ IsBlackBoxMiddle()
template<CIRCUIT_NODE_TEMPLATE >
|
virtual |
◆ IsPartOfBlackBox()
template<CIRCUIT_NODE_TEMPLATE >
|
virtual |
◆ IsPotentialImposed()
template<CIRCUIT_NODE_TEMPLATE >
|
virtual |
◆ IsQuantityImposed()
template<CIRCUIT_NODE_TEMPLATE >
|
virtual |
◆ IsReferenceNode()
template<CIRCUIT_NODE_TEMPLATE >
bool SECircuitNode< CIRCUIT_NODE_TEMPLATE >::IsReferenceNode | ( | ) | const |
◆ RemoveAsReferenceNode()
template<CIRCUIT_NODE_TEMPLATE >
void SECircuitNode< CIRCUIT_NODE_TEMPLATE >::RemoveAsReferenceNode | ( | ) |
◆ RemoveImposedPotential()
template<CIRCUIT_NODE_TEMPLATE >
|
virtual |
◆ RemoveImposedQuantity()
template<CIRCUIT_NODE_TEMPLATE >
|
virtual |
◆ SetAsReferenceNode()
template<CIRCUIT_NODE_TEMPLATE >
void SECircuitNode< CIRCUIT_NODE_TEMPLATE >::SetAsReferenceNode | ( | ) |
◆ SetCalculatorIndex()
template<CIRCUIT_NODE_TEMPLATE >
void SECircuitNode< CIRCUIT_NODE_TEMPLATE >::SetCalculatorIndex | ( | const int | index | ) |
◆ SetPartOfBlackBox()
template<CIRCUIT_NODE_TEMPLATE >
|
virtual |
Friends And Related Function Documentation
◆ PBCircuit
template<CIRCUIT_NODE_TEMPLATE >
|
friend |
◆ SECircuit
template<CIRCUIT_NODE_TEMPLATE >
template<typename NodeType , typename PathType >
|
friend |
Member Data Documentation
◆ m_CalculatorIndex
template<CIRCUIT_NODE_TEMPLATE >
|
private |
◆ m_IsBlackBoxMiddle
template<CIRCUIT_NODE_TEMPLATE >
|
protected |
◆ m_IsPartOfBlackBox
template<CIRCUIT_NODE_TEMPLATE >
|
protected |
◆ m_IsReferenceNode
template<CIRCUIT_NODE_TEMPLATE >
|
private |
◆ m_Name
template<CIRCUIT_NODE_TEMPLATE >
|
protected |
◆ m_NextPotential
template<CIRCUIT_NODE_TEMPLATE >
|
protected |
◆ m_NextQuantity
template<CIRCUIT_NODE_TEMPLATE >
|
protected |
◆ m_Potential
template<CIRCUIT_NODE_TEMPLATE >
|
protected |
◆ m_PotentialType
template<CIRCUIT_NODE_TEMPLATE >
|
protected |
◆ m_Quantity
template<CIRCUIT_NODE_TEMPLATE >
|
protected |
◆ m_QuantityBaseline
template<CIRCUIT_NODE_TEMPLATE >
|
protected |
◆ m_QuantityType
template<CIRCUIT_NODE_TEMPLATE >
|
protected |