Public Member Functions |
Protected Member Functions |
Protected Attributes |
Friends |
List of all members
SECircuitManager Class Reference
#include <SECircuitManager.h>
Inherits Loggable.
Inherited by pulse::CircuitManager.
Public Member Functions | |
SECircuitManager (Logger *logger) | |
virtual | ~SECircuitManager () |
virtual void | Clear () |
virtual void | StateChange () |
void | SetReadOnly (bool b) |
virtual SEElectricalCircuitNode & | CreateElectricalNode (const std::string &name) |
virtual void | DeleteElectricalNode (const std::string &name) |
virtual bool | HasElectricalNode (const std::string &name) const |
virtual SEElectricalCircuitNode * | GetElectricalNode (const std::string &name) |
virtual const SEElectricalCircuitNode * | GetElectricalNode (const std::string &name) const |
virtual SEElectricalCircuitPath & | CreateElectricalPath (SEElectricalCircuitNode &src, SEElectricalCircuitNode &tgt, const std::string &name) |
virtual void | DeleteElectricalPath (const std::string &name) |
virtual bool | HasElectricalPath (const std::string &name) const |
virtual SEElectricalCircuitPath * | GetElectricalPath (const std::string &name) |
virtual const SEElectricalCircuitPath * | GetElectricalPath (const std::string &name) const |
virtual SEElectricalCircuit & | CreateElectricalCircuit (const std::string &name) |
virtual void | DeleteElectricalCircuit (const std::string &name) |
virtual bool | HasElectricalCircuit (const std::string &name) const |
virtual SEElectricalCircuit * | GetElectricalCircuit (const std::string &name) |
virtual const SEElectricalCircuit * | GetElectricalCircuit (const std::string &name) const |
virtual void | SetReadOnlyElectrical (bool b) |
virtual SEFluidCircuitNode & | CreateFluidNode (const std::string &name) |
virtual void | DeleteFluidNode (const std::string &name) |
virtual bool | HasFluidNode (const std::string &name) const |
virtual SEFluidCircuitNode * | GetFluidNode (const std::string &name) |
virtual const SEFluidCircuitNode * | GetFluidNode (const std::string &name) const |
virtual SEFluidCircuitPath & | CreateFluidPath (SEFluidCircuitNode &src, SEFluidCircuitNode &tgt, const std::string &name) |
virtual void | DeleteFluidPath (const std::string &name) |
virtual bool | HasFluidPath (const std::string &name) const |
virtual SEFluidCircuitPath * | GetFluidPath (const std::string &name) |
virtual const SEFluidCircuitPath * | GetFluidPath (const std::string &name) const |
virtual SEFluidCircuit & | CreateFluidCircuit (const std::string &name) |
virtual void | DeleteFluidCircuit (const std::string &name) |
virtual bool | HasFluidCircuit (const std::string &name) const |
virtual SEFluidCircuit * | GetFluidCircuit (const std::string &name) |
virtual const SEFluidCircuit * | GetFluidCircuit (const std::string &name) const |
virtual void | SetReadOnlyFluid (bool b) |
virtual SEThermalCircuitNode & | CreateThermalNode (const std::string &name) |
virtual void | DeleteThermalNode (const std::string &name) |
virtual bool | HasThermalNode (const std::string &name) const |
virtual SEThermalCircuitNode * | GetThermalNode (const std::string &name) |
virtual const SEThermalCircuitNode * | GetThermalNode (const std::string &name) const |
virtual SEThermalCircuitPath & | CreateThermalPath (SEThermalCircuitNode &src, SEThermalCircuitNode &tgt, const std::string &name) |
virtual void | DeleteThermalPath (const std::string &name) |
virtual bool | HasThermalPath (const std::string &name) const |
virtual SEThermalCircuitPath * | GetThermalPath (const std::string &name) |
virtual const SEThermalCircuitPath * | GetThermalPath (const std::string &name) const |
virtual SEThermalCircuit & | CreateThermalCircuit (const std::string &name) |
virtual void | DeleteThermalCircuit (const std::string &name) |
virtual bool | HasThermalCircuit (const std::string &name) const |
virtual SEThermalCircuit * | GetThermalCircuit (const std::string &name) |
virtual const SEThermalCircuit * | GetThermalCircuit (const std::string &name) const |
virtual void | SetReadOnlyThermal (bool b) |
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 | |
template<CIRCUIT_LEDGER_TEMPLATE > | |
NodeType & | CreateNode (const std::string &name, SECircuitLedger< CIRCUIT_LEDGER_TYPES > &ledger) |
template<CIRCUIT_LEDGER_TEMPLATE > | |
void | DeleteNode (const std::string &name, SECircuitLedger< CIRCUIT_LEDGER_TYPES > &ledger) |
template<CIRCUIT_LEDGER_TEMPLATE > | |
bool | HasNode (const std::string &name, const SECircuitLedger< CIRCUIT_LEDGER_TYPES > &ledger) const |
template<CIRCUIT_LEDGER_TEMPLATE > | |
NodeType * | GetNode (const std::string &name, SECircuitLedger< CIRCUIT_LEDGER_TYPES > &ledger) |
template<CIRCUIT_LEDGER_TEMPLATE > | |
const NodeType * | GetNode (const std::string &name, const SECircuitLedger< CIRCUIT_LEDGER_TYPES > &ledger) const |
template<CIRCUIT_LEDGER_TEMPLATE > | |
PathType & | CreatePath (NodeType &src, NodeType &tgt, const std::string &name, SECircuitLedger< CIRCUIT_LEDGER_TYPES > &ledger) |
template<CIRCUIT_LEDGER_TEMPLATE > | |
void | DeletePath (const std::string &name, SECircuitLedger< CIRCUIT_LEDGER_TYPES > &ledger) |
template<CIRCUIT_LEDGER_TEMPLATE > | |
bool | HasPath (const std::string &name, const SECircuitLedger< CIRCUIT_LEDGER_TYPES > &ledger) const |
template<CIRCUIT_LEDGER_TEMPLATE > | |
PathType * | GetPath (const std::string &name, SECircuitLedger< CIRCUIT_LEDGER_TYPES > &ledger) |
template<CIRCUIT_LEDGER_TEMPLATE > | |
const PathType * | GetPath (const std::string &name, const SECircuitLedger< CIRCUIT_LEDGER_TYPES > &ledger) const |
template<CIRCUIT_LEDGER_TEMPLATE > | |
CircuitType & | CreateCircuit (const std::string &name, SECircuitLedger< CIRCUIT_LEDGER_TYPES > &ledger) |
template<CIRCUIT_LEDGER_TEMPLATE > | |
void | DeleteCircuit (const std::string &name, SECircuitLedger< CIRCUIT_LEDGER_TYPES > &ledger) |
template<CIRCUIT_LEDGER_TEMPLATE > | |
bool | HasCircuit (const std::string &name, const SECircuitLedger< CIRCUIT_LEDGER_TYPES > &ledger) const |
template<CIRCUIT_LEDGER_TEMPLATE > | |
CircuitType * | GetCircuit (const std::string &name, SECircuitLedger< CIRCUIT_LEDGER_TYPES > &ledger) |
template<CIRCUIT_LEDGER_TEMPLATE > | |
const CircuitType * | GetCircuit (const std::string &name, const SECircuitLedger< CIRCUIT_LEDGER_TYPES > &ledger) const |
Protected Attributes | |
SECircuitLedger< SEElectricalCircuitNode, SEElectricalCircuitPath, SEElectricalCircuit > | m_ElectricalLedger |
SECircuitLedger< SEFluidCircuitNode, SEFluidCircuitPath, SEFluidCircuit > | m_FluidLedger |
SECircuitLedger< SEThermalCircuitNode, SEThermalCircuitPath, SEThermalCircuit > | m_ThermalLedger |
Protected Attributes inherited from Loggable | |
bool | myLogger |
Logger * | m_Logger |
Friends | |
class | PBCircuit |
Constructor & Destructor Documentation
◆ SECircuitManager()
SECircuitManager::SECircuitManager | ( | Logger * | logger | ) |
◆ ~SECircuitManager()
|
virtual |
Member Function Documentation
◆ Clear()
|
virtual |
Reimplemented in pulse::CircuitManager.
◆ CreateCircuit()
template<CIRCUIT_LEDGER_TEMPLATE >
|
protected |
◆ CreateElectricalCircuit()
|
virtual |
◆ CreateElectricalNode()
|
virtual |
◆ CreateElectricalPath()
|
virtual |
◆ CreateFluidCircuit()
|
virtual |
◆ CreateFluidNode()
|
virtual |
◆ CreateFluidPath()
|
virtual |
◆ CreateNode()
template<CIRCUIT_LEDGER_TEMPLATE >
|
protected |
◆ CreatePath()
template<CIRCUIT_LEDGER_TEMPLATE >
|
protected |
◆ CreateThermalCircuit()
|
virtual |
◆ CreateThermalNode()
|
virtual |
◆ CreateThermalPath()
|
virtual |
◆ DeleteCircuit()
template<CIRCUIT_LEDGER_TEMPLATE >
|
protected |
◆ DeleteElectricalCircuit()
|
virtual |
◆ DeleteElectricalNode()
|
virtual |
◆ DeleteElectricalPath()
|
virtual |
◆ DeleteFluidCircuit()
|
virtual |
◆ DeleteFluidNode()
|
virtual |
◆ DeleteFluidPath()
|
virtual |
◆ DeleteNode()
template<CIRCUIT_LEDGER_TEMPLATE >
|
protected |
◆ DeletePath()
template<CIRCUIT_LEDGER_TEMPLATE >
|
protected |
◆ DeleteThermalCircuit()
|
virtual |
◆ DeleteThermalNode()
|
virtual |
◆ DeleteThermalPath()
|
virtual |
◆ GetCircuit() [1/2]
template<CIRCUIT_LEDGER_TEMPLATE >
|
protected |
◆ GetCircuit() [2/2]
template<CIRCUIT_LEDGER_TEMPLATE >
|
protected |
◆ GetElectricalCircuit() [1/2]
|
virtual |
◆ GetElectricalCircuit() [2/2]
|
virtual |
◆ GetElectricalNode() [1/2]
|
virtual |
◆ GetElectricalNode() [2/2]
|
virtual |
◆ GetElectricalPath() [1/2]
|
virtual |
◆ GetElectricalPath() [2/2]
|
virtual |
◆ GetFluidCircuit() [1/2]
|
virtual |
◆ GetFluidCircuit() [2/2]
|
virtual |
◆ GetFluidNode() [1/2]
|
virtual |
◆ GetFluidNode() [2/2]
|
virtual |
◆ GetFluidPath() [1/2]
|
virtual |
◆ GetFluidPath() [2/2]
|
virtual |
◆ GetNode() [1/2]
template<CIRCUIT_LEDGER_TEMPLATE >
|
protected |
◆ GetNode() [2/2]
template<CIRCUIT_LEDGER_TEMPLATE >
|
protected |
◆ GetPath() [1/2]
template<CIRCUIT_LEDGER_TEMPLATE >
|
protected |
◆ GetPath() [2/2]
template<CIRCUIT_LEDGER_TEMPLATE >
|
protected |
◆ GetThermalCircuit() [1/2]
|
virtual |
◆ GetThermalCircuit() [2/2]
|
virtual |
◆ GetThermalNode() [1/2]
|
virtual |
◆ GetThermalNode() [2/2]
|
virtual |
◆ GetThermalPath() [1/2]
|
virtual |
◆ GetThermalPath() [2/2]
|
virtual |
◆ HasCircuit()
template<CIRCUIT_LEDGER_TEMPLATE >
|
protected |
◆ HasElectricalCircuit()
|
virtual |
◆ HasElectricalNode()
|
virtual |
◆ HasElectricalPath()
|
virtual |
◆ HasFluidCircuit()
|
virtual |
◆ HasFluidNode()
|
virtual |
◆ HasFluidPath()
|
virtual |
◆ HasNode()
template<CIRCUIT_LEDGER_TEMPLATE >
|
protected |
◆ HasPath()
template<CIRCUIT_LEDGER_TEMPLATE >
|
protected |
◆ HasThermalCircuit()
|
virtual |
◆ HasThermalNode()
|
virtual |
◆ HasThermalPath()
|
virtual |
◆ SetReadOnly()
void SECircuitManager::SetReadOnly | ( | bool | b | ) |
◆ SetReadOnlyElectrical()
|
virtual |
◆ SetReadOnlyFluid()
|
virtual |
Reimplemented in pulse::CircuitManager.
◆ SetReadOnlyThermal()
|
virtual |
◆ StateChange()
|
inlinevirtual |
Reimplemented in pulse::CircuitManager.
Friends And Related Function Documentation
◆ PBCircuit
|
friend |
Member Data Documentation
◆ m_ElectricalLedger
|
protected |
◆ m_FluidLedger
|
protected |
◆ m_ThermalLedger
|
protected |