<
The Pulse Team is excited to announce the Pulse Physiology Engine 4.1.0 release. Upgrade now to get the best in dynamic simulation.
×
SEMechanicalVentilatorMode.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"
5 #include "cdm/system/equipment/mechanical_ventilator/SEMechanicalVentilatorSettings.h"
6 
8 {
9  friend class PBEquipmentAction;//friend the serialization class
10 public:
11 
13  virtual ~SEMechanicalVentilatorMode();
14 
15  virtual void Clear();
16 
17  virtual bool IsValid() const;
18  virtual bool IsActive() const;
19 
20  virtual bool ToSettings(SEMechanicalVentilatorSettings& s, const SESubstanceManager& subMgr);
21 
22  virtual eSwitch GetConnection() const;
23  virtual void SetConnection(eSwitch c);
24 
25  virtual void ToString(std::ostream &str) const = 0;
26 
27 protected:
28 
29  eSwitch m_Connection;
30 };
Definition: SESubstanceManager.h:8
Definition: SEMechanicalVentilatorAction.h:6
virtual void Clear()
Definition: SEMechanicalVentilatorAction.cpp:17
Definition: Logger.h:66
virtual void ToString(std::ostream &str) const =0
virtual bool IsActive() const
Definition: SEAction.h:32
eSwitch m_Connection
Definition: SEMechanicalVentilatorMode.h:29
Definition: PBEquipmentActions.h:38
Definition: SEMechanicalVentilatorMode.h:7
virtual bool IsValid() const
Definition: SEMechanicalVentilatorAction.cpp:22
Definition: SEMechanicalVentilatorSettings.h:16

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.