<
The Pulse Team is excited to announce the Pulse Physiology Engine 4.1.0 release. Upgrade now to get the best in dynamic simulation.
×
PBAnesthesiaMachine.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(AnesthesiaMachine)
7 CDM_BIND_DECL2(AnesthesiaMachineChamber)
8 CDM_BIND_DECL2(AnesthesiaMachineOxygenBottle)
9 
10 class CDM_DECL PBAnesthesiaMachine
11 {
12 public:
13 
14  static void Load(const CDM_BIND::AnesthesiaMachineData& src, SEAnesthesiaMachine& dst, const SESubstanceManager& subMgr);
15  static CDM_BIND::AnesthesiaMachineData* Unload(const SEAnesthesiaMachine& src);
16  static void Serialize(const CDM_BIND::AnesthesiaMachineData& src, SEAnesthesiaMachine& dst, const SESubstanceManager& subMgr);
17  static void Serialize(const SEAnesthesiaMachine& src, CDM_BIND::AnesthesiaMachineData& dst);
18 
19  static bool SerializeToString(const SEAnesthesiaMachine& src, std::string& output, eSerializationFormat m);
20  static bool SerializeToFile(const SEAnesthesiaMachine& src, const std::string& filename);
21  static bool SerializeFromString(const std::string& src, SEAnesthesiaMachine& dst, eSerializationFormat m, const SESubstanceManager& subMgr);
22  static bool SerializeFromFile(const std::string& filename, SEAnesthesiaMachine& dst, const SESubstanceManager& subMgr);
23 
24  static void Load(const CDM_BIND::AnesthesiaMachineChamberData& src, SEAnesthesiaMachineChamber& dst, const SESubstanceManager& subMgr);
25  static CDM_BIND::AnesthesiaMachineChamberData* Unload(const SEAnesthesiaMachineChamber& src);
26  static void Serialize(const CDM_BIND::AnesthesiaMachineChamberData& src, SEAnesthesiaMachineChamber& dst, const SESubstanceManager& subMgr);
27  static void Serialize(const SEAnesthesiaMachineChamber& src, CDM_BIND::AnesthesiaMachineChamberData& dst);
28 
29  static void Load(const CDM_BIND::AnesthesiaMachineOxygenBottleData& src, SEAnesthesiaMachineOxygenBottle& dst);
30  static CDM_BIND::AnesthesiaMachineOxygenBottleData* Unload(const SEAnesthesiaMachineOxygenBottle& src);
31  static void Serialize(const CDM_BIND::AnesthesiaMachineOxygenBottleData& src, SEAnesthesiaMachineOxygenBottle& dst);
32  static void Serialize(const SEAnesthesiaMachineOxygenBottle& src, CDM_BIND::AnesthesiaMachineOxygenBottleData& dst);
33 
34 };
Definition: SESubstanceManager.h:8
Definition: SEAnesthesiaMachineChamber.h:9
Definition: PBAnesthesiaMachine.h:10
Definition: SEAnesthesiaMachine.h:23
Definition: SEAnesthesiaMachineOxygenBottle.h:7

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.