Pulse adds COVID-19 Simulation Support
×
PulseRespiratorySystem Class Referenceabstract

#include <PulsePhysiologySystems.h>

Inherits SERespiratorySystem, and PulseSystem.

Inherited by Respiratory.

Public Member Functions

 PulseRespiratorySystem (Logger *logger)
 
virtual ~PulseRespiratorySystem ()=default
 
virtual const SEScalarGetScalar (const std::string &name) override
 
virtual void ComputeExposedModelParameters ()=0
 
 DEFINE_UNIT_SCALAR (TotalRespiratoryModelCompliance, VolumePerPressure)
 
 DEFINE_UNIT_SCALAR (TotalRespiratoryModelResistance, PressureTimePerVolume)
 
- Public Member Functions inherited from SERespiratorySystem
 SERespiratorySystem (Logger *logger)
 
virtual ~SERespiratorySystem ()
 
virtual void Clear ()
 
virtual bool HasAlveolarArterialGradient () const
 
virtual SEScalarPressureGetAlveolarArterialGradient ()
 
virtual double GetAlveolarArterialGradient (const PressureUnit &unit) const
 
virtual bool HasAlveolarDeadSpace () const
 
virtual SEScalarVolumeGetAlveolarDeadSpace ()
 
virtual double GetAlveolarDeadSpace (const VolumeUnit &unit) const
 
virtual bool HasAnatomicDeadSpace () const
 
virtual SEScalarVolumeGetAnatomicDeadSpace ()
 
virtual double GetAnatomicDeadSpace (const VolumeUnit &unit) const
 
virtual bool HasCarricoIndex () const
 
virtual SEScalarPressureGetCarricoIndex ()
 
virtual double GetCarricoIndex (const PressureUnit &unit) const
 
virtual bool HasChestWallCompliance () const
 
virtual SEScalarVolumePerPressureGetChestWallCompliance ()
 
virtual double GetChestWallCompliance (const VolumePerPressureUnit &unit) const
 
virtual bool HasElasticWorkOfBreathing () const
 
virtual SEScalarEnergyGetElasticWorkOfBreathing ()
 
virtual double GetElasticWorkOfBreathing (const EnergyUnit &unit) const
 
virtual bool HasEndTidalCarbonDioxideFraction () const
 
virtual SEScalar0To1GetEndTidalCarbonDioxideFraction ()
 
virtual double GetEndTidalCarbonDioxideFraction () const
 
virtual bool HasEndTidalCarbonDioxidePressure () const
 
virtual SEScalarPressureGetEndTidalCarbonDioxidePressure ()
 
virtual double GetEndTidalCarbonDioxidePressure (const PressureUnit &unit) const
 
virtual bool HasEndTidalOxygenFraction () const
 
virtual SEScalar0To1GetEndTidalOxygenFraction ()
 
virtual double GetEndTidalOxygenFraction () const
 
virtual bool HasEndTidalOxygenPressure () const
 
virtual SEScalarPressureGetEndTidalOxygenPressure ()
 
virtual double GetEndTidalOxygenPressure (const PressureUnit &unit) const
 
virtual bool HasExpiratoryFlow () const
 
virtual SEScalarVolumePerTimeGetExpiratoryFlow ()
 
virtual double GetExpiratoryFlow (const VolumePerTimeUnit &unit) const
 
virtual bool HasExpiratoryPulmonaryResistance () const
 
virtual SEScalarPressureTimePerVolumeGetExpiratoryPulmonaryResistance ()
 
virtual double GetExpiratoryPulmonaryResistance (const PressureTimePerVolumeUnit &unit) const
 
virtual bool HasFractionOfInsipredOxygen () const
 
virtual SEScalar0To1GetFractionOfInsipredOxygen ()
 
virtual double GetFractionOfInsipredOxygen () const
 
virtual bool HasImposedPowerOfBreathing () const
 
virtual SEScalarPowerGetImposedPowerOfBreathing ()
 
virtual double GetImposedPowerOfBreathing (const PowerUnit &unit) const
 
virtual bool HasImposedWorkOfBreathing () const
 
virtual SEScalarEnergyGetImposedWorkOfBreathing ()
 
virtual double GetImposedWorkOfBreathing (const EnergyUnit &unit) const
 
virtual bool HasInspiratoryExpiratoryRatio () const
 
virtual SEScalarGetInspiratoryExpiratoryRatio ()
 
virtual double GetInspiratoryExpiratoryRatio () const
 
virtual bool HasInspiratoryFlow () const
 
virtual SEScalarVolumePerTimeGetInspiratoryFlow ()
 
virtual double GetInspiratoryFlow (const VolumePerTimeUnit &unit) const
 
virtual bool HasInspiratoryPulmonaryResistance () const
 
virtual SEScalarPressureTimePerVolumeGetInspiratoryPulmonaryResistance ()
 
virtual double GetInspiratoryPulmonaryResistance (const PressureTimePerVolumeUnit &unit) const
 
virtual bool HasIntrapleuralPressure () const
 
virtual SEScalarPressureGetIntrapleuralPressure ()
 
virtual double GetIntrapleuralPressure (const PressureUnit &unit) const
 
virtual bool HasIntrapulmonaryPressure () const
 
virtual SEScalarPressureGetIntrapulmonaryPressure ()
 
virtual double GetIntrapulmonaryPressure (const PressureUnit &unit) const
 
virtual bool HasLungCompliance () const
 
virtual SEScalarVolumePerPressureGetLungCompliance ()
 
virtual double GetLungCompliance (const VolumePerPressureUnit &unit) const
 
virtual bool HasMaximalInspiratoryPressure () const
 
virtual SEScalarPressureGetMaximalInspiratoryPressure ()
 
virtual double GetMaximalInspiratoryPressure (const PressureUnit &unit) const
 
virtual bool HasMeanAirwayPressure () const
 
virtual SEScalarPressureGetMeanAirwayPressure ()
 
virtual double GetMeanAirwayPressure (const PressureUnit &unit) const
 
virtual bool HasOxygenationIndex () const
 
virtual SEScalarGetOxygenationIndex ()
 
virtual double GetOxygenationIndex () const
 
virtual bool HasOxygenSaturationIndex () const
 
virtual SEScalarPressureGetOxygenSaturationIndex ()
 
virtual double GetOxygenSaturationIndex (const PressureUnit &unit) const
 
virtual bool HasPatientPowerOfBreathing () const
 
virtual SEScalarPowerGetPatientPowerOfBreathing ()
 
virtual double GetPatientPowerOfBreathing (const PowerUnit &unit) const
 
virtual bool HasPatientWorkOfBreathing () const
 
virtual SEScalarEnergyGetPatientWorkOfBreathing ()
 
virtual double GetPatientWorkOfBreathing (const EnergyUnit &unit) const
 
virtual bool HasPeakInspiratoryPressure () const
 
virtual SEScalarPressureGetPeakInspiratoryPressure ()
 
virtual double GetPeakInspiratoryPressure (const PressureUnit &unit) const
 
virtual bool HasPhysiologicDeadSpace () const
 
virtual SEScalarVolumeGetPhysiologicDeadSpace ()
 
virtual double GetPhysiologicDeadSpace (const VolumeUnit &unit) const
 
virtual bool HasPositiveEndExpiratoryPressure () const
 
virtual SEScalarPressureGetPositiveEndExpiratoryPressure ()
 
virtual double GetPositiveEndExpiratoryPressure (const PressureUnit &unit) const
 
virtual bool HasPulmonaryCompliance () const
 
virtual SEScalarVolumePerPressureGetPulmonaryCompliance ()
 
virtual double GetPulmonaryCompliance (const VolumePerPressureUnit &unit) const
 
virtual bool HasPulmonaryElastance () const
 
virtual SEScalarPressurePerVolumeGetPulmonaryElastance ()
 
virtual double GetPulmonaryElastance (const PressurePerVolumeUnit &unit) const
 
virtual bool HasResistiveExpiratoryWorkOfBreathing () const
 
virtual SEScalarEnergyGetResistiveExpiratoryWorkOfBreathing ()
 
virtual double GetResistiveExpiratoryWorkOfBreathing (const EnergyUnit &unit) const
 
virtual bool HasResistiveInspiratoryWorkOfBreathing () const
 
virtual SEScalarEnergyGetResistiveInspiratoryWorkOfBreathing ()
 
virtual double GetResistiveInspiratoryWorkOfBreathing (const EnergyUnit &unit) const
 
virtual bool HasRespirationRate () const
 
virtual SEScalarFrequencyGetRespirationRate ()
 
virtual double GetRespirationRate (const FrequencyUnit &unit) const
 
virtual bool HasRespiratoryMuscleFatigue () const
 
virtual SEScalar0To1GetRespiratoryMuscleFatigue ()
 
virtual double GetRespiratoryMuscleFatigue () const
 
virtual bool HasRespiratoryMusclePressure () const
 
virtual SEScalarPressureGetRespiratoryMusclePressure ()
 
virtual double GetRespiratoryMusclePressure (const PressureUnit &unit) const
 
virtual bool HasSaturationAndFractionOfInspiredOxygenRatio () const
 
virtual SEScalarGetSaturationAndFractionOfInspiredOxygenRatio ()
 
virtual double GetSaturationAndFractionOfInspiredOxygenRatio () const
 
virtual bool HasSpecificVentilation () const
 
virtual SEScalarGetSpecificVentilation ()
 
virtual double GetSpecificVentilation () const
 
virtual bool HasTidalVolume () const
 
virtual SEScalarVolumeGetTidalVolume ()
 
virtual double GetTidalVolume (const VolumeUnit &unit) const
 
virtual bool HasTotalAlveolarVentilation () const
 
virtual SEScalarVolumePerTimeGetTotalAlveolarVentilation ()
 
virtual double GetTotalAlveolarVentilation (const VolumePerTimeUnit &unit) const
 
virtual bool HasTotalDeadSpaceVentilation () const
 
virtual SEScalarVolumePerTimeGetTotalDeadSpaceVentilation ()
 
virtual double GetTotalDeadSpaceVentilation (const VolumePerTimeUnit &unit) const
 
virtual bool HasTotalLungVolume () const
 
virtual SEScalarVolumeGetTotalLungVolume ()
 
virtual double GetTotalLungVolume (const VolumeUnit &unit) const
 
virtual bool HasTotalPowerOfBreathing () const
 
virtual SEScalarPowerGetTotalPowerOfBreathing ()
 
virtual double GetTotalPowerOfBreathing (const PowerUnit &unit) const
 
virtual bool HasTotalPulmonaryVentilation () const
 
virtual SEScalarVolumePerTimeGetTotalPulmonaryVentilation ()
 
virtual double GetTotalPulmonaryVentilation (const VolumePerTimeUnit &unit) const
 
virtual bool HasTotalWorkOfBreathing () const
 
virtual SEScalarEnergyGetTotalWorkOfBreathing ()
 
virtual double GetTotalWorkOfBreathing (const EnergyUnit &unit) const
 
virtual bool HasTransairwayPressure () const
 
virtual SEScalarPressureGetTransairwayPressure ()
 
virtual double GetTransairwayPressure (const PressureUnit &unit) const
 
virtual bool HasTransalveolarPressure () const
 
virtual SEScalarPressureGetTransalveolarPressure ()
 
virtual double GetTransalveolarPressure (const PressureUnit &unit) const
 
virtual bool HasTransChestWallPressure () const
 
virtual SEScalarPressureGetTransChestWallPressure ()
 
virtual double GetTransChestWallPressure (const PressureUnit &unit) const
 
virtual bool HasTransMusclePressure () const
 
virtual SEScalarPressureGetTransMusclePressure ()
 
virtual double GetTransMusclePressure (const PressureUnit &unit) const
 
virtual bool HasTranspulmonaryPressure () const
 
virtual SEScalarPressureGetTranspulmonaryPressure ()
 
virtual double GetTranspulmonaryPressure (const PressureUnit &unit) const
 
virtual bool HasTransrespiratoryPressure () const
 
virtual SEScalarPressureGetTransrespiratoryPressure ()
 
virtual double GetTransrespiratoryPressure (const PressureUnit &unit) const
 
virtual bool HasTransthoracicPressure () const
 
virtual SEScalarPressureGetTransthoracicPressure ()
 
virtual double GetTransthoracicPressure (const PressureUnit &unit) const
 
- Public Member Functions inherited from SESystem
 SESystem (Logger *logger)
 
virtual ~SESystem ()
 
- 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, 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
 
std::string to_string (int i)
 
std::string to_string (unsigned int i)
 
std::string to_string (size_t t)
 
std::string to_string (float f)
 
std::string to_string (double d)
 

Additional Inherited Members

- Static Public Member Functions inherited from SESystem
static const SEScalarGetScalar (const std::string &name, std::vector< SESystem *> *systems)
 
- Static Public Attributes inherited from Loggable
static const std::string empty
 
- Protected Member Functions inherited from PulseSystem
virtual void Initialize ()
 
  • Default system values to their homeostatic values
More...
 
virtual void SetUp ()=0
 
virtual void AtSteadyState ()=0
 Notify systems that steady state has been achieved. More...
 
virtual void PreProcess ()=0
 
virtual void Process (bool solve_and_transport=true)=0
 
virtual void PostProcess (bool solve_and_transport=true)=0
 
- Protected Attributes inherited from SERespiratorySystem
SEScalarPressurem_AlveolarArterialGradient
 
SEScalarVolumem_AlveolarDeadSpace
 
SEScalarVolumem_AnatomicDeadSpace
 
SEScalarPressurem_CarricoIndex
 
SEScalarVolumePerPressurem_ChestWallCompliance
 
SEScalarEnergym_ElasticWorkOfBreathing
 
SEScalar0To1m_EndTidalCarbonDioxideFraction
 
SEScalarPressurem_EndTidalCarbonDioxidePressure
 
SEScalar0To1m_EndTidalOxygenFraction
 
SEScalarPressurem_EndTidalOxygenPressure
 
SEScalarVolumePerTimem_ExpiratoryFlow
 
SEScalarPressureTimePerVolumem_ExpiratoryPulmonaryResistance
 
SEScalar0To1m_FractionOfInsipredOxygen
 
SEScalarPowerm_ImposedPowerOfBreathing
 
SEScalarEnergym_ImposedWorkOfBreathing
 
SEScalarm_InspiratoryExpiratoryRatio
 
SEScalarVolumePerTimem_InspiratoryFlow
 
SEScalarPressureTimePerVolumem_InspiratoryPulmonaryResistance
 
SEScalarPressurem_IntrapleuralPressure
 
SEScalarPressurem_IntrapulmonaryPressure
 
SEScalarVolumePerPressurem_LungCompliance
 
SEScalarPressurem_MaximalInspiratoryPressure
 
SEScalarPressurem_MeanAirwayPressure
 
SEScalarm_OxygenationIndex
 
SEScalarPressurem_OxygenSaturationIndex
 
SEScalarPowerm_PatientPowerOfBreathing
 
SEScalarEnergym_PatientWorkOfBreathing
 
SEScalarPressurem_PeakInspiratoryPressure
 
SEScalarVolumem_PhysiologicDeadSpace
 
SEScalarPressurem_PositiveEndExpiratoryPressure
 
SEScalarVolumePerPressurem_PulmonaryCompliance
 
SEScalarPressurePerVolumem_PulmonaryElastance
 
SEScalarEnergym_ResistiveExpiratoryWorkOfBreathing
 
SEScalarEnergym_ResistiveInspiratoryWorkOfBreathing
 
SEScalarFrequencym_RespirationRate
 
SEScalar0To1m_RespiratoryMuscleFatigue
 
SEScalarPressurem_RespiratoryMusclePressure
 
SEScalarm_SaturationAndFractionOfInspiredOxygenRatio
 
SEScalarm_SpecificVentilation
 
SEScalarVolumem_TidalVolume
 
SEScalarVolumePerTimem_TotalAlveolarVentilation
 
SEScalarVolumePerTimem_TotalDeadSpaceVentilation
 
SEScalarVolumem_TotalLungVolume
 
SEScalarPowerm_TotalPowerOfBreathing
 
SEScalarVolumePerTimem_TotalPulmonaryVentilation
 
SEScalarEnergym_TotalWorkOfBreathing
 
SEScalarPressurem_TransairwayPressure
 
SEScalarPressurem_TransalveolarPressure
 
SEScalarPressurem_TransChestWallPressure
 
SEScalarPressurem_TransMusclePressure
 
SEScalarPressurem_TranspulmonaryPressure
 
SEScalarPressurem_TransrespiratoryPressure
 
SEScalarPressurem_TransthoracicPressure
 
- Protected Attributes inherited from SESystem
std::stringstream m_ss
 
- Protected Attributes inherited from Loggable
bool myLogger
 
Loggerm_Logger
 

Constructor & Destructor Documentation

◆ PulseRespiratorySystem()

PulseRespiratorySystem::PulseRespiratorySystem ( Logger logger)
inline

◆ ~PulseRespiratorySystem()

virtual PulseRespiratorySystem::~PulseRespiratorySystem ( )
virtualdefault

Member Function Documentation

◆ ComputeExposedModelParameters()

virtual void PulseRespiratorySystem::ComputeExposedModelParameters ( )
pure virtual

Implemented in Respiratory.

◆ DEFINE_UNIT_SCALAR() [1/2]

PulseRespiratorySystem::DEFINE_UNIT_SCALAR ( TotalRespiratoryModelCompliance  ,
VolumePerPressure   
)

◆ DEFINE_UNIT_SCALAR() [2/2]

PulseRespiratorySystem::DEFINE_UNIT_SCALAR ( TotalRespiratoryModelResistance  ,
PressureTimePerVolume   
)

◆ GetScalar()

virtual const SEScalar* PulseRespiratorySystem::GetScalar ( const std::string &  name)
inlineoverridevirtual

Reimplemented from SERespiratorySystem.

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.