<
The Pulse Team is excited to announce the Pulse Physiology Engine 4.1.0 release. Upgrade now to get the best in dynamic simulation.
×
SEMechanicalVentilatorLeak.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/mechanical_ventilator/actions/SEMechanicalVentilatorAction.h"
7 
9 {
10  friend class PBEquipmentAction;//friend the serialization class
11 public:
12 
13  SEMechanicalVentilatorLeak(Logger* logger = nullptr);
14  virtual ~SEMechanicalVentilatorLeak();
15 
16  virtual void Clear();
17  virtual void Copy(const SEMechanicalVentilatorLeak& src, bool /*preserveState*/ = false);
18 
19  virtual bool IsValid() const;
20  virtual bool IsActive() const;
21  virtual void Deactivate();
22 
23  virtual bool HasSeverity() const;
24  virtual SEScalar0To1& GetSeverity();
25  virtual double GetSeverity() const;
26 
27  virtual void ToString(std::ostream& str) const;
28 
29  virtual const SEScalar* GetScalar(const std::string& name);
30 
31 protected:
32 
34 };
Definition: SESubstanceManager.h:8
Definition: SEMechanicalVentilatorAction.h:6
virtual const SEScalar * GetScalar(const std::string &name)=0
Definition: SEScalar.h:18
virtual void Clear()
Definition: SEMechanicalVentilatorAction.cpp:17
Definition: Logger.h:66
Definition: SEMechanicalVentilator.h:9
Definition: SEMechanicalVentilatorLeak.h:8
virtual void Deactivate()
Definition: SEAction.h:34
static SEAction * Copy(const SEAction &, const SESubstanceManager &)
Definition: SEAction.cpp:45
SEScalar0To1 * m_Severity
Definition: SEMechanicalVentilatorLeak.h:33
virtual void ToString(std::ostream &str) const =0
virtual bool IsActive() const
Definition: SEAction.h:32
Definition: PBEquipmentActions.h:38
virtual bool IsValid() const
Definition: SEMechanicalVentilatorAction.cpp:22
Definition: SEScalar0To1.h:7

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.