The Pulse Team is excited to announce the Pulse Physiology Engine 4.1.0 release. Upgrade now to get the best in dynamic simulation.
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 #pragma once
4 #include "cdm/system/equipment/mechanical_ventilator/actions/SEMechanicalVentilatorMode.h"
9 {
10  friend class PBEquipmentAction;//friend the serialization class
11 public:
16  virtual void Clear();
17  virtual void Copy(const SEMechanicalVentilatorContinuousPositiveAirwayPressure& src, bool /*preserveState*/ = false);
18  virtual bool ToSettings(SEMechanicalVentilatorSettings& s, const SESubstanceManager& subMgr) override;
20  virtual bool IsValid() const;
21  virtual bool IsActive() const;
22  virtual void Deactivate();
24  virtual bool HasDeltaPressureSupport() const;
25  virtual SEScalarPressure& GetDeltaPressureSupport();
26  virtual double GetDeltaPressureSupport(const PressureUnit& unit) const;
28  virtual bool HasFractionInspiredOxygen() const;
29  virtual SEScalar0To1& GetFractionInspiredOxygen();
30  virtual double GetFractionInspiredOxygen() const;
32  virtual bool HasPositiveEndExpiredPressure() const;
33  virtual SEScalarPressure& GetPositiveEndExpiredPressure();
34  virtual double GetPositiveEndExpiredPressure(const PressureUnit& unit) const;
36  virtual bool HasSlope() const;
37  virtual SEScalarTime& GetSlope();
38  virtual double GetSlope(const TimeUnit& unit) const;
40  virtual void ToString(std::ostream& str) const;
42  virtual const SEScalar* GetScalar(const std::string& name);
44 protected:
50 };
Definition: SESubstanceManager.h:8
virtual const SEScalar * GetScalar(const std::string &name)=0
SEScalarPressure * m_PositiveEndExpiredPressure
Definition: SEMechanicalVentilatorContinuousPositiveAirwayPressure.h:48
Definition: SEScalar.h:18
Definition: Logger.h:66
virtual bool ToSettings(SEMechanicalVentilatorSettings &s, const SESubstanceManager &subMgr)
Definition: SEMechanicalVentilatorMode.cpp:34
SEScalar0To1 * m_FractionInspiredOxygen
Definition: SEMechanicalVentilatorContinuousPositiveAirwayPressure.h:47
virtual void ToString(std::ostream &str) const =0
Definition: SEMechanicalVentilator.h:9
Definition: SEScalarPressure.h:28
Definition: SEScalarTime.h:7
virtual void Deactivate()
Definition: SEAction.h:34
Definition: SEScalarPressure.h:7
static SEAction * Copy(const SEAction &, const SESubstanceManager &)
Definition: SEAction.cpp:45
SEScalarTime * m_Slope
Definition: SEMechanicalVentilatorContinuousPositiveAirwayPressure.h:49
virtual bool IsActive() const
Definition: SEMechanicalVentilatorMode.cpp:29
virtual bool IsValid() const
Definition: SEMechanicalVentilatorMode.cpp:22
Definition: SEScalarTime.h:27
virtual void Clear()
Definition: SEMechanicalVentilatorMode.cpp:16
Definition: PBEquipmentActions.h:38
Definition: SEMechanicalVentilatorMode.h:7
SEScalarPressure * m_DeltaPressureSupport
Definition: SEMechanicalVentilatorContinuousPositiveAirwayPressure.h:46
Definition: SEMechanicalVentilatorContinuousPositiveAirwayPressure.h:8
Definition: SEScalar0To1.h:7
Definition: SEMechanicalVentilatorSettings.h:16

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.