<
The Pulse Team is excited to announce the Pulse Physiology Engine 4.1.0 release. Upgrade now to get the best in dynamic simulation.
×
PBMechanicalVentilator.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 
4 #pragma once
6 CDM_BIND_DECL2(MechanicalVentilator)
7 CDM_BIND_DECL2(MechanicalVentilatorSettings)
8 
9 class CDM_DECL PBMechanicalVentilator
10 {
11 public:
12 
13  static void Load(const CDM_BIND::MechanicalVentilatorData& src, SEMechanicalVentilator& dst, const SESubstanceManager& subMgr);
14  static CDM_BIND::MechanicalVentilatorData* Unload(const SEMechanicalVentilator& src);
15  static void Serialize(const CDM_BIND::MechanicalVentilatorData& src, SEMechanicalVentilator& dst, const SESubstanceManager& subMgr);
16  static void Serialize(const SEMechanicalVentilator& src, CDM_BIND::MechanicalVentilatorData& dst);
17 
18  static void Load(const CDM_BIND::MechanicalVentilatorSettingsData& src, SEMechanicalVentilatorSettings& dst, const SESubstanceManager& subMgr);
19  static CDM_BIND::MechanicalVentilatorSettingsData* Unload(const SEMechanicalVentilatorSettings& src);
20  static void Serialize(const CDM_BIND::MechanicalVentilatorSettingsData& src, SEMechanicalVentilatorSettings& dst, const SESubstanceManager& subMgr);
21  static void Serialize(const SEMechanicalVentilatorSettings& src, CDM_BIND::MechanicalVentilatorSettingsData& dst);
22 
23  static bool SerializeToString(const SEMechanicalVentilatorSettings& src, std::string& output, eSerializationFormat m);
24  static bool SerializeToFile(const SEMechanicalVentilatorSettings& src, const std::string& filename);
25  static bool SerializeFromString(const std::string& src, SEMechanicalVentilatorSettings& dst, eSerializationFormat m, const SESubstanceManager& subMgr);
26  static bool SerializeFromFile(const std::string& filename, SEMechanicalVentilatorSettings& dst, const SESubstanceManager& subMgr);
27 
28 };
Definition: SESubstanceManager.h:8
Definition: SEMechanicalVentilator.h:9
Definition: PBMechanicalVentilator.h:9
Definition: SEMechanicalVentilatorSettings.h:16

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.