pulse::CircuitManager Class Reference

Manages all circuits associated with all Pulse systems/equipement. More...

#include <CircuitManager.h>

Inherits SECircuitManager.

Public Member Functions

 CircuitManager (Data &data)
 
virtual ~CircuitManager ()
 
void Clear () override
 
void StateChange () override
 
void SetReadOnlyFluid (bool b) override
 
virtual SEFluidCircuitGetActiveCardiovascularCircuit ()
 
virtual SEFluidCircuitGetCardiovascularCircuit ()
 
virtual SEFluidCircuitGetRenalCircuit ()
 
virtual SEFluidCircuitGetActiveRespiratoryCircuit ()
 
virtual SEFluidCircuitGetRespiratoryCircuit ()
 
virtual SEFluidCircuitGetRespiratoryAndAnesthesiaMachineCircuit ()
 
virtual SEFluidCircuitGetRespiratoryAndBagValveMaskCircuit ()
 
virtual SEFluidCircuitGetRespiratoryAndInhalerCircuit ()
 
virtual SEFluidCircuitGetRespiratoryAndNasalCannulaCircuit ()
 
virtual SEFluidCircuitGetRespiratoryAndSimpleMaskCircuit ()
 
virtual SEFluidCircuitGetRespiratoryAndNonRebreatherMaskCircuit ()
 
virtual SEFluidCircuitGetRespiratoryAndMechanicalVentilationCircuit ()
 
virtual SEFluidCircuitGetRespiratoryAndMechanicalVentilatorCircuit ()
 
virtual SEThermalCircuitGetTemperatureCircuit ()
 
virtual SEThermalCircuitGetExternalTemperatureCircuit ()
 
virtual SEThermalCircuitGetInternalTemperatureCircuit ()
 
virtual SEFluidCircuitGetAnesthesiaMachineCircuit ()
 
virtual SEFluidCircuitGetBagValveMaskCircuit ()
 
virtual SEFluidCircuitGetMechanicalVentilatorCircuit ()
 
- Public Member Functions inherited from SECircuitManager
 SECircuitManager (Logger *logger)
 
virtual ~SECircuitManager ()
 
virtual void Clear ()
 
virtual void StateChange ()
 
void SetReadOnly (bool b)
 
virtual SEElectricalCircuitNodeCreateElectricalNode (const std::string &name)
 
virtual void DeleteElectricalNode (const std::string &name)
 
virtual bool HasElectricalNode (const std::string &name) const
 
virtual SEElectricalCircuitNodeGetElectricalNode (const std::string &name)
 
virtual const SEElectricalCircuitNodeGetElectricalNode (const std::string &name) const
 
virtual SEElectricalCircuitPathCreateElectricalPath (SEElectricalCircuitNode &src, SEElectricalCircuitNode &tgt, const std::string &name)
 
virtual void DeleteElectricalPath (const std::string &name)
 
virtual bool HasElectricalPath (const std::string &name) const
 
virtual SEElectricalCircuitPathGetElectricalPath (const std::string &name)
 
virtual const SEElectricalCircuitPathGetElectricalPath (const std::string &name) const
 
virtual SEElectricalCircuitCreateElectricalCircuit (const std::string &name)
 
virtual void DeleteElectricalCircuit (const std::string &name)
 
virtual bool HasElectricalCircuit (const std::string &name) const
 
virtual SEElectricalCircuitGetElectricalCircuit (const std::string &name)
 
virtual const SEElectricalCircuitGetElectricalCircuit (const std::string &name) const
 
virtual void SetReadOnlyElectrical (bool b)
 
virtual SEFluidCircuitNodeCreateFluidNode (const std::string &name)
 
virtual void DeleteFluidNode (const std::string &name)
 
virtual bool HasFluidNode (const std::string &name) const
 
virtual SEFluidCircuitNodeGetFluidNode (const std::string &name)
 
virtual const SEFluidCircuitNodeGetFluidNode (const std::string &name) const
 
virtual SEFluidCircuitPathCreateFluidPath (SEFluidCircuitNode &src, SEFluidCircuitNode &tgt, const std::string &name)
 
virtual void DeleteFluidPath (const std::string &name)
 
virtual bool HasFluidPath (const std::string &name) const
 
virtual SEFluidCircuitPathGetFluidPath (const std::string &name)
 
virtual const SEFluidCircuitPathGetFluidPath (const std::string &name) const
 
virtual SEFluidCircuitCreateFluidCircuit (const std::string &name)
 
virtual void DeleteFluidCircuit (const std::string &name)
 
virtual bool HasFluidCircuit (const std::string &name) const
 
virtual SEFluidCircuitGetFluidCircuit (const std::string &name)
 
virtual const SEFluidCircuitGetFluidCircuit (const std::string &name) const
 
virtual void SetReadOnlyFluid (bool b)
 
virtual SEThermalCircuitNodeCreateThermalNode (const std::string &name)
 
virtual void DeleteThermalNode (const std::string &name)
 
virtual bool HasThermalNode (const std::string &name) const
 
virtual SEThermalCircuitNodeGetThermalNode (const std::string &name)
 
virtual const SEThermalCircuitNodeGetThermalNode (const std::string &name) const
 
virtual SEThermalCircuitPathCreateThermalPath (SEThermalCircuitNode &src, SEThermalCircuitNode &tgt, const std::string &name)
 
virtual void DeleteThermalPath (const std::string &name)
 
virtual bool HasThermalPath (const std::string &name) const
 
virtual SEThermalCircuitPathGetThermalPath (const std::string &name)
 
virtual const SEThermalCircuitPathGetThermalPath (const std::string &name) const
 
virtual SEThermalCircuitCreateThermalCircuit (const std::string &name)
 
virtual void DeleteThermalCircuit (const std::string &name)
 
virtual bool HasThermalCircuit (const std::string &name) const
 
virtual SEThermalCircuitGetThermalCircuit (const std::string &name)
 
virtual const SEThermalCircuitGetThermalCircuit (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 LoggerGetLogger () 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 Attributes

Data & m_data
 
SEFluidCircuitm_CombinedCardiovascularCircuit
 
SEFluidCircuitm_CardiovascularCircuit
 
SEFluidCircuitm_RenalCircuit
 
SEFluidCircuitm_RespiratoryCircuit
 
SEFluidCircuitm_AnesthesiaMachineCircuit
 
SEFluidCircuitm_BagValveMaskCircuit
 
SEFluidCircuitm_MechanicalVentilatorCircuit
 
SEFluidCircuitm_CombinedRespiratoryAnesthesiaCircuit
 
SEFluidCircuitm_CombinedRespiratoryBagValveMaskCircuit
 
SEFluidCircuitm_CombinedRespiratoryInhalerCircuit
 
SEFluidCircuitm_CombinedRespiratoryNasalCannulaCircuit
 
SEFluidCircuitm_CombinedRespiratorySimpleMaskCircuit
 
SEFluidCircuitm_CombinedRespiratoryNonRebreatherMaskCircuit
 
SEFluidCircuitm_CombinedRespiratoryMechanicalVentilationCircuit
 
SEFluidCircuitm_CombinedRespiratoryMechanicalVentilatorCircuit
 
SEThermalCircuitm_TemperatureCircuit
 
SEThermalCircuitm_InternalTemperatureCircuit
 
SEThermalCircuitm_ExternalTemperatureCircuit
 
- Protected Attributes inherited from SECircuitManager
SECircuitLedger< SEElectricalCircuitNode, SEElectricalCircuitPath, SEElectricalCircuitm_ElectricalLedger
 
SECircuitLedger< SEFluidCircuitNode, SEFluidCircuitPath, SEFluidCircuitm_FluidLedger
 
SECircuitLedger< SEThermalCircuitNode, SEThermalCircuitPath, SEThermalCircuitm_ThermalLedger
 
- Protected Attributes inherited from Loggable
bool myLogger
 
Loggerm_Logger
 

Additional Inherited Members

- Protected Member Functions inherited from SECircuitManager
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
 

Detailed Description

Manages all circuits associated with all Pulse systems/equipement.

Constructor & Destructor Documentation

◆ CircuitManager()

pulse::CircuitManager::CircuitManager ( Data &  data)

◆ ~CircuitManager()

pulse::CircuitManager::~CircuitManager ( )
virtual

Member Function Documentation

◆ Clear()

void pulse::CircuitManager::Clear ( )
overridevirtual

Reimplemented from SECircuitManager.

◆ GetActiveCardiovascularCircuit()

SEFluidCircuit & pulse::CircuitManager::GetActiveCardiovascularCircuit ( )
virtual

◆ GetActiveRespiratoryCircuit()

SEFluidCircuit & pulse::CircuitManager::GetActiveRespiratoryCircuit ( )
virtual

◆ GetAnesthesiaMachineCircuit()

SEFluidCircuit & pulse::CircuitManager::GetAnesthesiaMachineCircuit ( )
virtual

◆ GetBagValveMaskCircuit()

SEFluidCircuit & pulse::CircuitManager::GetBagValveMaskCircuit ( )
virtual

◆ GetCardiovascularCircuit()

SEFluidCircuit & pulse::CircuitManager::GetCardiovascularCircuit ( )
virtual

◆ GetExternalTemperatureCircuit()

SEThermalCircuit & pulse::CircuitManager::GetExternalTemperatureCircuit ( )
virtual

◆ GetInternalTemperatureCircuit()

SEThermalCircuit & pulse::CircuitManager::GetInternalTemperatureCircuit ( )
virtual

◆ GetMechanicalVentilatorCircuit()

SEFluidCircuit & pulse::CircuitManager::GetMechanicalVentilatorCircuit ( )
virtual

◆ GetRenalCircuit()

SEFluidCircuit & pulse::CircuitManager::GetRenalCircuit ( )
virtual

◆ GetRespiratoryAndAnesthesiaMachineCircuit()

SEFluidCircuit & pulse::CircuitManager::GetRespiratoryAndAnesthesiaMachineCircuit ( )
virtual

◆ GetRespiratoryAndBagValveMaskCircuit()

SEFluidCircuit & pulse::CircuitManager::GetRespiratoryAndBagValveMaskCircuit ( )
virtual

◆ GetRespiratoryAndInhalerCircuit()

SEFluidCircuit & pulse::CircuitManager::GetRespiratoryAndInhalerCircuit ( )
virtual

◆ GetRespiratoryAndMechanicalVentilationCircuit()

SEFluidCircuit & pulse::CircuitManager::GetRespiratoryAndMechanicalVentilationCircuit ( )
virtual

◆ GetRespiratoryAndMechanicalVentilatorCircuit()

SEFluidCircuit & pulse::CircuitManager::GetRespiratoryAndMechanicalVentilatorCircuit ( )
virtual

◆ GetRespiratoryAndNasalCannulaCircuit()

SEFluidCircuit & pulse::CircuitManager::GetRespiratoryAndNasalCannulaCircuit ( )
virtual

◆ GetRespiratoryAndNonRebreatherMaskCircuit()

SEFluidCircuit & pulse::CircuitManager::GetRespiratoryAndNonRebreatherMaskCircuit ( )
virtual

◆ GetRespiratoryAndSimpleMaskCircuit()

SEFluidCircuit & pulse::CircuitManager::GetRespiratoryAndSimpleMaskCircuit ( )
virtual

◆ GetRespiratoryCircuit()

SEFluidCircuit & pulse::CircuitManager::GetRespiratoryCircuit ( )
virtual

◆ GetTemperatureCircuit()

SEThermalCircuit & pulse::CircuitManager::GetTemperatureCircuit ( )
virtual

◆ SetReadOnlyFluid()

void pulse::CircuitManager::SetReadOnlyFluid ( bool  b)
overridevirtual

Reimplemented from SECircuitManager.

◆ StateChange()

void pulse::CircuitManager::StateChange ( )
overridevirtual

Reimplemented from SECircuitManager.

Member Data Documentation

◆ m_AnesthesiaMachineCircuit

SEFluidCircuit* pulse::CircuitManager::m_AnesthesiaMachineCircuit
protected

◆ m_BagValveMaskCircuit

SEFluidCircuit* pulse::CircuitManager::m_BagValveMaskCircuit
protected

◆ m_CardiovascularCircuit

SEFluidCircuit* pulse::CircuitManager::m_CardiovascularCircuit
protected

◆ m_CombinedCardiovascularCircuit

SEFluidCircuit* pulse::CircuitManager::m_CombinedCardiovascularCircuit
protected

◆ m_CombinedRespiratoryAnesthesiaCircuit

SEFluidCircuit* pulse::CircuitManager::m_CombinedRespiratoryAnesthesiaCircuit
protected

◆ m_CombinedRespiratoryBagValveMaskCircuit

SEFluidCircuit* pulse::CircuitManager::m_CombinedRespiratoryBagValveMaskCircuit
protected

◆ m_CombinedRespiratoryInhalerCircuit

SEFluidCircuit* pulse::CircuitManager::m_CombinedRespiratoryInhalerCircuit
protected

◆ m_CombinedRespiratoryMechanicalVentilationCircuit

SEFluidCircuit* pulse::CircuitManager::m_CombinedRespiratoryMechanicalVentilationCircuit
protected

◆ m_CombinedRespiratoryMechanicalVentilatorCircuit

SEFluidCircuit* pulse::CircuitManager::m_CombinedRespiratoryMechanicalVentilatorCircuit
protected

◆ m_CombinedRespiratoryNasalCannulaCircuit

SEFluidCircuit* pulse::CircuitManager::m_CombinedRespiratoryNasalCannulaCircuit
protected

◆ m_CombinedRespiratoryNonRebreatherMaskCircuit

SEFluidCircuit* pulse::CircuitManager::m_CombinedRespiratoryNonRebreatherMaskCircuit
protected

◆ m_CombinedRespiratorySimpleMaskCircuit

SEFluidCircuit* pulse::CircuitManager::m_CombinedRespiratorySimpleMaskCircuit
protected

◆ m_data

Data& pulse::CircuitManager::m_data
protected

◆ m_ExternalTemperatureCircuit

SEThermalCircuit* pulse::CircuitManager::m_ExternalTemperatureCircuit
protected

◆ m_InternalTemperatureCircuit

SEThermalCircuit* pulse::CircuitManager::m_InternalTemperatureCircuit
protected

◆ m_MechanicalVentilatorCircuit

SEFluidCircuit* pulse::CircuitManager::m_MechanicalVentilatorCircuit
protected

◆ m_RenalCircuit

SEFluidCircuit* pulse::CircuitManager::m_RenalCircuit
protected

◆ m_RespiratoryCircuit

SEFluidCircuit* pulse::CircuitManager::m_RespiratoryCircuit
protected

◆ m_TemperatureCircuit

SEThermalCircuit* pulse::CircuitManager::m_TemperatureCircuit
protected

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.