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

#include <Circuits.h>

Inherits SECircuitManager.

Public Member Functions

 PulseCircuits (PulseController &data)
 
virtual ~PulseCircuits ()
 
virtual void Clear ()
 
virtual void StateChange ()
 
virtual void SetReadOnlyFluid (bool b)
 
SEFluidCircuitGetActiveCardiovascularCircuit ()
 
SEFluidCircuitGetCardiovascularCircuit ()
 
SEFluidCircuitGetRenalCircuit ()
 
SEFluidCircuitGetActiveRespiratoryCircuit ()
 
SEFluidCircuitGetRespiratoryCircuit ()
 
SEFluidCircuitGetRespiratoryAndAnesthesiaMachineCircuit ()
 
SEFluidCircuitGetRespiratoryAndInhalerCircuit ()
 
SEFluidCircuitGetRespiratoryAndMechanicalVentilatorCircuit ()
 
SEThermalCircuitGetTemperatureCircuit ()
 
SEThermalCircuitGetExternalTemperatureCircuit ()
 
SEThermalCircuitGetInternalTemperatureCircuit ()
 
SEFluidCircuitGetAnesthesiaMachineCircuit ()
 
- Public Member Functions inherited from SECircuitManager
 SECircuitManager (Logger *logger)
 
virtual ~SECircuitManager ()
 
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 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 ()
 
 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 Attributes

PulseControllerm_data
 
SEFluidCircuitm_CombinedCardiovascularCircuit
 
SEFluidCircuitm_CardiovascularCircuit
 
SEFluidCircuitm_RenalCircuit
 
SEFluidCircuitm_RespiratoryCircuit
 
SEFluidCircuitm_AnesthesiaMachineCircuit
 
SEFluidCircuitm_CombinedRespiratoryAnesthesiaCircuit
 
SEFluidCircuitm_CombinedRespiratoryInhalerCircuit
 
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
Loggerm_Logger
 

Additional Inherited Members

- Static Public Attributes inherited from Loggable
static const std::string empty
 
- 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

◆ PulseCircuits()

PulseCircuits::PulseCircuits ( PulseController data)

◆ ~PulseCircuits()

PulseCircuits::~PulseCircuits ( )
virtual

Member Function Documentation

◆ Clear()

void PulseCircuits::Clear ( )
virtual

Reimplemented from SECircuitManager.

◆ GetActiveCardiovascularCircuit()

SEFluidCircuit & PulseCircuits::GetActiveCardiovascularCircuit ( )

◆ GetActiveRespiratoryCircuit()

SEFluidCircuit & PulseCircuits::GetActiveRespiratoryCircuit ( )

◆ GetAnesthesiaMachineCircuit()

SEFluidCircuit & PulseCircuits::GetAnesthesiaMachineCircuit ( )

◆ GetCardiovascularCircuit()

SEFluidCircuit & PulseCircuits::GetCardiovascularCircuit ( )

◆ GetExternalTemperatureCircuit()

SEThermalCircuit & PulseCircuits::GetExternalTemperatureCircuit ( )

◆ GetInternalTemperatureCircuit()

SEThermalCircuit & PulseCircuits::GetInternalTemperatureCircuit ( )

◆ GetRenalCircuit()

SEFluidCircuit & PulseCircuits::GetRenalCircuit ( )

◆ GetRespiratoryAndAnesthesiaMachineCircuit()

SEFluidCircuit & PulseCircuits::GetRespiratoryAndAnesthesiaMachineCircuit ( )

◆ GetRespiratoryAndInhalerCircuit()

SEFluidCircuit & PulseCircuits::GetRespiratoryAndInhalerCircuit ( )

◆ GetRespiratoryAndMechanicalVentilatorCircuit()

SEFluidCircuit & PulseCircuits::GetRespiratoryAndMechanicalVentilatorCircuit ( )

◆ GetRespiratoryCircuit()

SEFluidCircuit & PulseCircuits::GetRespiratoryCircuit ( )

◆ GetTemperatureCircuit()

SEThermalCircuit & PulseCircuits::GetTemperatureCircuit ( )

◆ SetReadOnlyFluid()

void PulseCircuits::SetReadOnlyFluid ( bool  b)
virtual

Reimplemented from SECircuitManager.

◆ StateChange()

void PulseCircuits::StateChange ( )
virtual

Reimplemented from SECircuitManager.

Member Data Documentation

◆ m_AnesthesiaMachineCircuit

SEFluidCircuit* PulseCircuits::m_AnesthesiaMachineCircuit
protected

◆ m_CardiovascularCircuit

SEFluidCircuit* PulseCircuits::m_CardiovascularCircuit
protected

◆ m_CombinedCardiovascularCircuit

SEFluidCircuit* PulseCircuits::m_CombinedCardiovascularCircuit
protected

◆ m_CombinedRespiratoryAnesthesiaCircuit

SEFluidCircuit* PulseCircuits::m_CombinedRespiratoryAnesthesiaCircuit
protected

◆ m_CombinedRespiratoryInhalerCircuit

SEFluidCircuit* PulseCircuits::m_CombinedRespiratoryInhalerCircuit
protected

◆ m_CombinedRespiratoryMechanicalVentilatorCircuit

SEFluidCircuit* PulseCircuits::m_CombinedRespiratoryMechanicalVentilatorCircuit
protected

◆ m_data

PulseController& PulseCircuits::m_data
protected

◆ m_ExternalTemperatureCircuit

SEThermalCircuit* PulseCircuits::m_ExternalTemperatureCircuit
protected

◆ m_InternalTemperatureCircuit

SEThermalCircuit* PulseCircuits::m_InternalTemperatureCircuit
protected

◆ m_RenalCircuit

SEFluidCircuit* PulseCircuits::m_RenalCircuit
protected

◆ m_RespiratoryCircuit

SEFluidCircuit* PulseCircuits::m_RespiratoryCircuit
protected

◆ m_TemperatureCircuit

SEThermalCircuit* PulseCircuits::m_TemperatureCircuit
protected