PBEquipment.h
1/* Distributed under the Apache License, Version 2.0.
2 See accompanying NOTICE file for details.*/
3
4#pragma once
5
6PULSE_BIND_DECL(AnesthesiaMachine)
7PULSE_BIND_DECL(BagValveMask)
8PULSE_BIND_DECL(ECMO)
9PULSE_BIND_DECL(ElectroCardioGram)
10PULSE_BIND_DECL(Inhaler)
11PULSE_BIND_DECL(MechanicalVentilator)
12#include "engine/common/system/equipment/AnesthesiaMachineModel.h"
13#include "engine/common/system/equipment/BagValveMaskModel.h"
14#include "engine/common/system/equipment/ECMOModel.h"
15#include "engine/common/system/equipment/ElectroCardioGramModel.h"
16#include "engine/common/system/equipment/InhalerModel.h"
17#include "engine/common/system/equipment/MechanicalVentilatorModel.h"
18
19namespace pulse
20{
21 class PULSE_DECL PBEquipment
22 {
23 public:
24
25 static void Load(const PULSE_BIND::AnesthesiaMachineData& src, AnesthesiaMachineModel& dst);
26 static PULSE_BIND::AnesthesiaMachineData* Unload(const AnesthesiaMachineModel& src);
27 static void Serialize(const PULSE_BIND::AnesthesiaMachineData& src, AnesthesiaMachineModel& dst);
28 static void Serialize(const AnesthesiaMachineModel& src, PULSE_BIND::AnesthesiaMachineData& dst);
29
30 static void Load(const PULSE_BIND::BagValveMaskData& src, BagValveMaskModel& dst);
31 static PULSE_BIND::BagValveMaskData* Unload(const BagValveMaskModel& src);
32 static void Serialize(const PULSE_BIND::BagValveMaskData& src, BagValveMaskModel& dst);
33 static void Serialize(const BagValveMaskModel& src, PULSE_BIND::BagValveMaskData& dst);
34
35 static void Load(const PULSE_BIND::ECMOData& src, ECMOModel& dst);
36 static PULSE_BIND::ECMOData* Unload(const ECMOModel& src);
37 static void Serialize(const PULSE_BIND::ECMOData& src, ECMOModel& dst);
38 static void Serialize(const ECMOModel& src, PULSE_BIND::ECMOData& dst);
39
40 static void Load(const PULSE_BIND::ElectroCardioGramData& src, ElectroCardioGramModel& dst);
41 static PULSE_BIND::ElectroCardioGramData* Unload(const ElectroCardioGramModel& src);
42 static void Serialize(const PULSE_BIND::ElectroCardioGramData& src, ElectroCardioGramModel& dst);
43 static void Serialize(const ElectroCardioGramModel& src, PULSE_BIND::ElectroCardioGramData& dst);
44
45 static void Load(const PULSE_BIND::InhalerData& src, InhalerModel& dst);
46 static PULSE_BIND::InhalerData* Unload(const InhalerModel& src);
47 static void Serialize(const PULSE_BIND::InhalerData& src, InhalerModel& dst);
48 static void Serialize(const InhalerModel& src, PULSE_BIND::InhalerData& dst);
49
50 static void Load(const PULSE_BIND::MechanicalVentilatorData& src, MechanicalVentilatorModel& dst);
51 static PULSE_BIND::MechanicalVentilatorData* Unload(const MechanicalVentilatorModel& src);
52 static void Serialize(const PULSE_BIND::MechanicalVentilatorData& src, MechanicalVentilatorModel& dst);
53 static void Serialize(const MechanicalVentilatorModel& src, PULSE_BIND::MechanicalVentilatorData& dst);
54 };
55}
Definition: PBEquipment.h:22
Definition: Logger.h:14

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.