Pulse adds COVID-19 Simulation Support
×
PulseMechanicalVentilator Class Referenceabstract

#include <PulsePhysiologySystems.h>

Inherits SEMechanicalVentilator, and PulseSystem.

Inherited by MechanicalVentilator.

Public Member Functions

 PulseMechanicalVentilator (Logger *logger)
 
virtual ~PulseMechanicalVentilator ()=default
 
virtual const SEScalarGetScalar (const std::string &name) override
 
virtual void ComputeExposedModelParameters ()=0
 
- Public Member Functions inherited from SEMechanicalVentilator
 SEMechanicalVentilator (Logger *logger)
 
virtual ~SEMechanicalVentilator ()
 
virtual void Clear ()
 
bool SerializeToString (std::string &output, SerializationFormat m) const
 
bool SerializeToFile (const std::string &filename) const
 
bool SerializeFromString (const std::string &src, SerializationFormat m, const SESubstanceManager &subMgr)
 
bool SerializeFromFile (const std::string &filename, const SESubstanceManager &subMgr)
 
virtual eMechanicalVentilator_Connection GetConnection () const
 
virtual void SetConnection (eMechanicalVentilator_Connection c)
 
virtual bool HasEndotrachealTubeResistance () const
 
virtual SEScalarPressureTimePerVolumeGetEndotrachealTubeResistance ()
 
virtual double GetEndotrachealTubeResistance (const PressureTimePerVolumeUnit &unit) const
 
virtual bool HasPositiveEndExpiredPressure () const
 
virtual SEScalarPressureGetPositiveEndExpiredPressure ()
 
virtual double GetPositiveEndExpiredPressure (const PressureUnit &unit) const
 
virtual bool HasFunctionalResidualCapacity () const
 
virtual SEScalarPressureGetFunctionalResidualCapacity ()
 
virtual double GetFunctionalResidualCapacity (const PressureUnit &unit) const
 
virtual bool HasExpirationCycleFlow () const
 
virtual SEScalarVolumePerTimeGetExpirationCycleFlow ()
 
virtual double GetExpirationCycleFlow (const VolumePerTimeUnit &unit) const
 
virtual bool HasExpirationCyclePressure () const
 
virtual SEScalarPressureGetExpirationCyclePressure ()
 
virtual double GetExpirationCyclePressure (const PressureUnit &unit) const
 
virtual bool HasExpirationCycleVolume () const
 
virtual SEScalarVolumeGetExpirationCycleVolume ()
 
virtual double GetExpirationCycleVolume (const VolumeUnit &unit) const
 
virtual bool HasExpirationCycleTime () const
 
virtual SEScalarTimeGetExpirationCycleTime ()
 
virtual double GetExpirationCycleTime (const TimeUnit &unit) const
 
virtual bool HasExpirationTubeResistance () const
 
virtual SEScalarPressureTimePerVolumeGetExpirationTubeResistance ()
 
virtual double GetExpirationTubeResistance (const PressureTimePerVolumeUnit &unit) const
 
virtual bool HasExpirationValveResistance () const
 
virtual SEScalarPressureTimePerVolumeGetExpirationValveResistance ()
 
virtual double GetExpirationValveResistance (const PressureTimePerVolumeUnit &unit) const
 
virtual eMechanicalVentilator_DriverWaveform GetExpirationWaveform () const
 
virtual void SetExpirationWaveform (eMechanicalVentilator_DriverWaveform w)
 
virtual bool HasInspirationLimitFlow () const
 
virtual SEScalarVolumePerTimeGetInspirationLimitFlow ()
 
virtual double GetInspirationLimitFlow (const VolumePerTimeUnit &unit) const
 
virtual bool HasInspirationLimitPressure () const
 
virtual SEScalarPressureGetInspirationLimitPressure ()
 
virtual double GetInspirationLimitPressure (const PressureUnit &unit) const
 
virtual bool HasInspirationLimitVolume () const
 
virtual SEScalarVolumeGetInspirationLimitVolume ()
 
virtual double GetInspirationLimitVolume (const VolumeUnit &unit) const
 
virtual bool HasInspirationPauseTime () const
 
virtual SEScalarTimeGetInspirationPauseTime ()
 
virtual double GetInspirationPauseTime (const TimeUnit &unit) const
 
virtual bool HasPeakInspiratoryPressure () const
 
virtual SEScalarPressureGetPeakInspiratoryPressure ()
 
virtual double GetPeakInspiratoryPressure (const PressureUnit &unit) const
 
virtual bool HasInspirationTargetFlow () const
 
virtual SEScalarVolumePerTimeGetInspirationTargetFlow ()
 
virtual double GetInspirationTargetFlow (const VolumePerTimeUnit &unit) const
 
virtual bool HasInspirationMachineTriggerTime () const
 
virtual SEScalarTimeGetInspirationMachineTriggerTime ()
 
virtual double GetInspirationMachineTriggerTime (const TimeUnit &unit) const
 
virtual bool HasInspirationPatientTriggerFlow () const
 
virtual SEScalarVolumePerTimeGetInspirationPatientTriggerFlow ()
 
virtual double GetInspirationPatientTriggerFlow (const VolumePerTimeUnit &unit) const
 
virtual bool HasInspirationPatientTriggerPressure () const
 
virtual SEScalarPressureGetInspirationPatientTriggerPressure ()
 
virtual double GetInspirationPatientTriggerPressure (const PressureUnit &unit) const
 
virtual bool HasInspirationTubeResistance () const
 
virtual SEScalarPressureTimePerVolumeGetInspirationTubeResistance ()
 
virtual double GetInspirationTubeResistance (const PressureTimePerVolumeUnit &unit) const
 
virtual bool HasInspirationValveResistance () const
 
virtual SEScalarPressureTimePerVolumeGetInspirationValveResistance ()
 
virtual double GetInspirationValveResistance (const PressureTimePerVolumeUnit &unit) const
 
virtual eMechanicalVentilator_DriverWaveform GetInspirationWaveform () const
 
virtual void SetInspirationWaveform (eMechanicalVentilator_DriverWaveform w)
 
bool HasFractionInspiredGas () const
 
bool HasFractionInspiredGas (const SESubstance &substance) const
 
const std::vector< SESubstanceFraction * > & GetFractionInspiredGases ()
 
const std::vector< const SESubstanceFraction * > & GetFractionInspiredGases () const
 
SESubstanceFractionGetFractionInspiredGas (const SESubstance &substance)
 
const SESubstanceFractionGetFractionInspiredGas (const SESubstance &substance) const
 
void RemoveFractionInspiredGas (const SESubstance &substance)
 
void RemoveFractionInspiredGases ()
 
bool HasConcentrationInspiredAerosol () const
 
bool HasConcentrationInspiredAerosol (const SESubstance &substance) const
 
const std::vector< SESubstanceConcentration * > & GetConcentrationInspiredAerosols ()
 
const std::vector< const SESubstanceConcentration * > & GetConcentrationInspiredAerosols () const
 
SESubstanceConcentrationGetConcentrationInspiredAerosol (const SESubstance &substance)
 
const SESubstanceConcentrationGetConcentrationInspiredAerosol (const SESubstance &substance) const
 
void RemoveConcentrationInspiredAerosol (const SESubstance &substance)
 
void RemoveConcentrationInspiredAerosols ()
 
- Public Member Functions inherited from SEEquipment
 SEEquipment (Logger *logger)
 
virtual ~SEEquipment ()
 
- 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 SEMechanicalVentilator
virtual void StateChange ()
 
virtual void Merge (const SEMechanicalVentilator &from, SESubstanceManager &subMgr)
 
virtual void ProcessConfiguration (SEMechanicalVentilatorConfiguration &config, SESubstanceManager &subMgr)
 
- 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 SEMechanicalVentilator
friend SEMechanicalVentilatorConfiguration
 
eMechanicalVentilator_Connection m_Connection
 
SEScalarPressureTimePerVolumem_EndotrachealTubeResistance
 
SEScalarPressurem_PositiveEndExpiredPressure
 
SEScalarPressurem_FunctionalResidualCapacity
 
SEScalarVolumePerTimem_ExpirationCycleFlow
 
SEScalarPressurem_ExpirationCyclePressure
 
SEScalarVolumem_ExpirationCycleVolume
 
SEScalarTimem_ExpirationCycleTime
 
SEScalarPressureTimePerVolumem_ExpirationTubeResistance
 
SEScalarPressureTimePerVolumem_ExpirationValveResistance
 
eMechanicalVentilator_DriverWaveform m_ExpirationWaveform
 
SEScalarVolumePerTimem_InspirationLimitFlow
 
SEScalarPressurem_InspirationLimitPressure
 
SEScalarVolumem_InspirationLimitVolume
 
SEScalarTimem_InspirationPauseTime
 
SEScalarPressurem_PeakInspiratoryPressure
 
SEScalarVolumePerTimem_InspirationTargetFlow
 
SEScalarTimem_InspirationMachineTriggerTime
 
SEScalarVolumePerTimem_InspirationPatientTriggerFlow
 
SEScalarPressurem_InspirationPatientTriggerPressure
 
SEScalarPressureTimePerVolumem_InspirationTubeResistance
 
SEScalarPressureTimePerVolumem_InspirationValveResistance
 
eMechanicalVentilator_DriverWaveform m_InspirationWaveform
 
std::vector< SESubstanceFraction * > m_FractionInspiredGases
 
std::vector< const SESubstanceFraction * > m_cFractionInspiredGases
 
std::vector< SESubstanceConcentration * > m_ConcentrationInspiredAerosols
 
std::vector< const SESubstanceConcentration * > m_cConcentrationInspiredAerosols
 
- Protected Attributes inherited from SESystem
std::stringstream m_ss
 
- Protected Attributes inherited from Loggable
bool myLogger
 
Loggerm_Logger
 

Constructor & Destructor Documentation

◆ PulseMechanicalVentilator()

PulseMechanicalVentilator::PulseMechanicalVentilator ( Logger logger)
inline

◆ ~PulseMechanicalVentilator()

virtual PulseMechanicalVentilator::~PulseMechanicalVentilator ( )
virtualdefault

Member Function Documentation

◆ ComputeExposedModelParameters()

virtual void PulseMechanicalVentilator::ComputeExposedModelParameters ( )
pure virtual

Implemented in MechanicalVentilator.

◆ GetScalar()

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

Reimplemented from SEMechanicalVentilator.

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.