PBMechanicalVentilator.h
1/* Distributed under the Apache License, Version 2.0.
2 See accompanying NOTICE file for details.*/
3
4#pragma once
6CDM_BIND_DECL2(MechanicalVentilator)
7CDM_BIND_DECL2(MechanicalVentilatorSettings)
8
10{
11public:
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: PBMechanicalVentilator.h:10
Definition: SEMechanicalVentilator.h:10
Definition: SEMechanicalVentilatorSettings.h:13
Definition: SESubstanceManager.h:9

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.