<
The Pulse Team is excited to announce the Pulse Physiology Engine 4.1.0 release. Upgrade now to get the best in dynamic simulation.
×
SEBagValveMaskAutomated.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 #pragma once
4 #include "cdm/system/equipment/bag_valve_mask/actions/SEBagValveMaskAction.h"
5 class SEBagValveMask;
7 
9 {
10  friend class PBEquipmentAction;//friend the serialization class
11 public:
12 
13  SEBagValveMaskAutomated(Logger* logger=nullptr);
14  virtual ~SEBagValveMaskAutomated();
15 
16  virtual void Clear();
17  virtual void Copy(const SEBagValveMaskAutomated& src);
18 
19  virtual bool IsValid() const;
20  virtual bool IsActive() const;
21  virtual void Deactivate();
22 
23  virtual bool HasBreathFrequency() const;
24  virtual SEScalarFrequency& GetBreathFrequency();
25  virtual double GetBreathFrequency(const FrequencyUnit& unit) const;
26 
27  virtual bool HasInspiratoryExpiratoryRatio() const;
28  virtual SEScalar& GetInspiratoryExpiratoryRatio();
29  virtual double GetInspiratoryExpiratoryRatio() const;
30 
31  virtual bool HasSqueezePressure() const;
32  virtual SEScalarPressure& GetSqueezePressure();
33  virtual double GetSqueezePressure(const PressureUnit& unit) const;
34 
35  virtual bool HasSqueezeVolume() const;
36  virtual SEScalarVolume& GetSqueezeVolume();
37  virtual double GetSqueezeVolume(const VolumeUnit& unit) const;
38 
39  virtual void ToString(std::ostream &str) const;
40 
41  virtual const SEScalar* GetScalar(const std::string& name);
42 
43 protected:
44 
49 };
SEScalarFrequency * m_BreathFrequency
Definition: SEBagValveMaskAutomated.h:45
Definition: SESubstanceManager.h:8
virtual const SEScalar * GetScalar(const std::string &name)=0
Definition: SEScalar.h:18
virtual bool IsValid() const
Definition: SEBagValveMaskAction.cpp:22
Definition: SEScalarVolume.h:7
Definition: SEBagValveMaskAction.h:6
Definition: SEScalarVolume.h:27
Definition: Logger.h:66
Definition: SEScalarPressure.h:28
virtual void Deactivate()
Definition: SEAction.h:34
Definition: SEBagValveMask.h:13
Definition: SEScalarPressure.h:7
SEScalarVolume * m_SqueezeVolume
Definition: SEBagValveMaskAutomated.h:48
static SEAction * Copy(const SEAction &, const SESubstanceManager &)
Definition: SEAction.cpp:45
SEScalarPressure * m_SqueezePressure
Definition: SEBagValveMaskAutomated.h:47
virtual bool IsActive() const
Definition: SEAction.h:32
Definition: SEScalarFrequency.h:7
virtual void ToString(std::ostream &str) const =0
Definition: PBEquipmentActions.h:38
Definition: SEScalarFrequency.h:25
SEScalar * m_InspiratoryExpiratoryRatio
Definition: SEBagValveMaskAutomated.h:46
virtual void Clear()
Definition: SEBagValveMaskAction.cpp:17
Definition: SEBagValveMaskAutomated.h:8

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.