PBEquipmentActions.h
1/* Distributed under the Apache License, Version 2.0.
2 See accompanying NOTICE file for details.*/
3
4#pragma once
5CDM_BIND_DECL2(EquipmentAction)
6CDM_BIND_DECL(AnyEquipmentActionData)
7CDM_BIND_DECL2(AnesthesiaMachineAction)
8CDM_BIND_DECL2(AnesthesiaMachineConfiguration)
9CDM_BIND_DECL2(AnesthesiaMachineExpiratoryValveLeak)
10CDM_BIND_DECL2(AnesthesiaMachineExpiratoryValveObstruction)
11CDM_BIND_DECL2(AnesthesiaMachineInspiratoryValveLeak)
12CDM_BIND_DECL2(AnesthesiaMachineInspiratoryValveObstruction)
13CDM_BIND_DECL2(AnesthesiaMachineMaskLeak)
14CDM_BIND_DECL2(AnesthesiaMachineOxygenTankPressureLoss)
15CDM_BIND_DECL2(AnesthesiaMachineOxygenWallPortPressureLoss)
16CDM_BIND_DECL2(AnesthesiaMachineSodaLimeFailure)
17CDM_BIND_DECL2(AnesthesiaMachineTubeCuffLeak)
18CDM_BIND_DECL2(AnesthesiaMachineVaporizerFailure)
19CDM_BIND_DECL2(AnesthesiaMachineVentilatorPressureLoss)
20CDM_BIND_DECL2(AnesthesiaMachineYPieceDisconnect)
21CDM_BIND_DECL2(BagValveMaskAction)
22CDM_BIND_DECL2(BagValveMaskConfiguration)
23CDM_BIND_DECL2(BagValveMaskAutomated)
24CDM_BIND_DECL2(BagValveMaskSqueeze)
25CDM_BIND_DECL2(BagValveMaskInstantaneous)
26CDM_BIND_DECL2(ECMOAction)
27CDM_BIND_DECL2(ECMOConfiguration)
28CDM_BIND_DECL2(InhalerAction)
29CDM_BIND_DECL2(InhalerConfiguration)
30CDM_BIND_DECL2(MechanicalVentilatorAction)
31CDM_BIND_DECL2(MechanicalVentilatorConfiguration)
32CDM_BIND_DECL2(MechanicalVentilatorHold)
33CDM_BIND_DECL2(MechanicalVentilatorLeak)
34CDM_BIND_DECL2(MechanicalVentilatorMode)
35CDM_BIND_DECL2(MechanicalVentilatorContinuousPositiveAirwayPressure)
36CDM_BIND_DECL2(MechanicalVentilatorPressureControl)
37CDM_BIND_DECL2(MechanicalVentilatorVolumeControl)
39
40class CDM_DECL PBEquipmentAction
41{
42public:
43
45 static SEEquipmentAction* Load(const CDM_BIND::AnyEquipmentActionData& any, const SESubstanceManager& subMgr);
47 static CDM_BIND::AnyEquipmentActionData* Unload(const SEEquipmentAction& action);
48
49 static void Serialize(const CDM_BIND::EquipmentActionData& src, SEEquipmentAction& dst);
50 static void Serialize(const SEEquipmentAction& src, CDM_BIND::EquipmentActionData& dst);
51
53 // Anesthesia Machine //
55
56 static void Serialize(const CDM_BIND::AnesthesiaMachineActionData& src, SEAnesthesiaMachineAction& dst);
57 static void Serialize(const SEAnesthesiaMachineAction& src, CDM_BIND::AnesthesiaMachineActionData& dst);
58
59 static void Load(const CDM_BIND::AnesthesiaMachineConfigurationData& src, SEAnesthesiaMachineConfiguration& dst, const SESubstanceManager& subMgr);
60 static CDM_BIND::AnesthesiaMachineConfigurationData* Unload(const SEAnesthesiaMachineConfiguration& src);
61 static void Serialize(const CDM_BIND::AnesthesiaMachineConfigurationData& src, SEAnesthesiaMachineConfiguration& dst, const SESubstanceManager& subMgr);
62 static void Serialize(const SEAnesthesiaMachineConfiguration& src, CDM_BIND::AnesthesiaMachineConfigurationData& dst);
63 static void Copy(const SEAnesthesiaMachineConfiguration& src, SEAnesthesiaMachineConfiguration& dst, const SESubstanceManager& subMgr);
64
65 static void Load(const CDM_BIND::AnesthesiaMachineExpiratoryValveLeakData& src, SEAnesthesiaMachineExpiratoryValveLeak& dst);
66 static CDM_BIND::AnesthesiaMachineExpiratoryValveLeakData* Unload(const SEAnesthesiaMachineExpiratoryValveLeak& src);
67 static void Serialize(const CDM_BIND::AnesthesiaMachineExpiratoryValveLeakData& src, SEAnesthesiaMachineExpiratoryValveLeak& dst);
68 static void Serialize(const SEAnesthesiaMachineExpiratoryValveLeak& src, CDM_BIND::AnesthesiaMachineExpiratoryValveLeakData& dst);
70
71 static void Load(const CDM_BIND::AnesthesiaMachineExpiratoryValveObstructionData& src, SEAnesthesiaMachineExpiratoryValveObstruction& dst);
72 static CDM_BIND::AnesthesiaMachineExpiratoryValveObstructionData* Unload(const SEAnesthesiaMachineExpiratoryValveObstruction& src);
73 static void Serialize(const CDM_BIND::AnesthesiaMachineExpiratoryValveObstructionData& src, SEAnesthesiaMachineExpiratoryValveObstruction& dst);
74 static void Serialize(const SEAnesthesiaMachineExpiratoryValveObstruction& src, CDM_BIND::AnesthesiaMachineExpiratoryValveObstructionData& dst);
76
77 static void Load(const CDM_BIND::AnesthesiaMachineInspiratoryValveLeakData& src, SEAnesthesiaMachineInspiratoryValveLeak& dst);
78 static CDM_BIND::AnesthesiaMachineInspiratoryValveLeakData* Unload(const SEAnesthesiaMachineInspiratoryValveLeak& src);
79 static void Serialize(const CDM_BIND::AnesthesiaMachineInspiratoryValveLeakData& src, SEAnesthesiaMachineInspiratoryValveLeak& dst);
80 static void Serialize(const SEAnesthesiaMachineInspiratoryValveLeak& src, CDM_BIND::AnesthesiaMachineInspiratoryValveLeakData& dst);
82
83 static void Load(const CDM_BIND::AnesthesiaMachineInspiratoryValveObstructionData& src, SEAnesthesiaMachineInspiratoryValveObstruction& dst);
84 static CDM_BIND::AnesthesiaMachineInspiratoryValveObstructionData* Unload(const SEAnesthesiaMachineInspiratoryValveObstruction& src);
85 static void Serialize(const CDM_BIND::AnesthesiaMachineInspiratoryValveObstructionData& src, SEAnesthesiaMachineInspiratoryValveObstruction& dst);
86 static void Serialize(const SEAnesthesiaMachineInspiratoryValveObstruction& src, CDM_BIND::AnesthesiaMachineInspiratoryValveObstructionData& dst);
88
89 static void Load(const CDM_BIND::AnesthesiaMachineMaskLeakData& src, SEAnesthesiaMachineMaskLeak& dst);
90 static CDM_BIND::AnesthesiaMachineMaskLeakData* Unload(const SEAnesthesiaMachineMaskLeak& src);
91 static void Serialize(const CDM_BIND::AnesthesiaMachineMaskLeakData& src, SEAnesthesiaMachineMaskLeak& dst);
92 static void Serialize(const SEAnesthesiaMachineMaskLeak& src, CDM_BIND::AnesthesiaMachineMaskLeakData& dst);
93 static void Copy(const SEAnesthesiaMachineMaskLeak& src, SEAnesthesiaMachineMaskLeak& dst);
94
95 static void Load(const CDM_BIND::AnesthesiaMachineOxygenTankPressureLossData& src, SEAnesthesiaMachineOxygenTankPressureLoss& dst);
96 static CDM_BIND::AnesthesiaMachineOxygenTankPressureLossData* Unload(const SEAnesthesiaMachineOxygenTankPressureLoss& src);
97 static void Serialize(const CDM_BIND::AnesthesiaMachineOxygenTankPressureLossData& src, SEAnesthesiaMachineOxygenTankPressureLoss& dst);
98 static void Serialize(const SEAnesthesiaMachineOxygenTankPressureLoss& src, CDM_BIND::AnesthesiaMachineOxygenTankPressureLossData& dst);
100
101 static void Load(const CDM_BIND::AnesthesiaMachineOxygenWallPortPressureLossData& src, SEAnesthesiaMachineOxygenWallPortPressureLoss& dst);
102 static CDM_BIND::AnesthesiaMachineOxygenWallPortPressureLossData* Unload(const SEAnesthesiaMachineOxygenWallPortPressureLoss& src);
103 static void Serialize(const CDM_BIND::AnesthesiaMachineOxygenWallPortPressureLossData& src, SEAnesthesiaMachineOxygenWallPortPressureLoss& dst);
104 static void Serialize(const SEAnesthesiaMachineOxygenWallPortPressureLoss& src, CDM_BIND::AnesthesiaMachineOxygenWallPortPressureLossData& dst);
106
107 static void Load(const CDM_BIND::AnesthesiaMachineSodaLimeFailureData& src, SEAnesthesiaMachineSodaLimeFailure& dst);
108 static CDM_BIND::AnesthesiaMachineSodaLimeFailureData* Unload(const SEAnesthesiaMachineSodaLimeFailure& src);
109 static void Serialize(const CDM_BIND::AnesthesiaMachineSodaLimeFailureData& src, SEAnesthesiaMachineSodaLimeFailure& dst);
110 static void Serialize(const SEAnesthesiaMachineSodaLimeFailure& src, CDM_BIND::AnesthesiaMachineSodaLimeFailureData& dst);
112
113 static void Load(const CDM_BIND::AnesthesiaMachineTubeCuffLeakData& src, SEAnesthesiaMachineTubeCuffLeak& dst);
114 static CDM_BIND::AnesthesiaMachineTubeCuffLeakData* Unload(const SEAnesthesiaMachineTubeCuffLeak& src);
115 static void Serialize(const CDM_BIND::AnesthesiaMachineTubeCuffLeakData& src, SEAnesthesiaMachineTubeCuffLeak& dst);
116 static void Serialize(const SEAnesthesiaMachineTubeCuffLeak& src, CDM_BIND::AnesthesiaMachineTubeCuffLeakData& dst);
117 static void Copy(const SEAnesthesiaMachineTubeCuffLeak& src, SEAnesthesiaMachineTubeCuffLeak& dst);
118
119 static void Load(const CDM_BIND::AnesthesiaMachineVaporizerFailureData& src, SEAnesthesiaMachineVaporizerFailure& dst);
120 static CDM_BIND::AnesthesiaMachineVaporizerFailureData* Unload(const SEAnesthesiaMachineVaporizerFailure& src);
121 static void Serialize(const CDM_BIND::AnesthesiaMachineVaporizerFailureData& src, SEAnesthesiaMachineVaporizerFailure& dst);
122 static void Serialize(const SEAnesthesiaMachineVaporizerFailure& src, CDM_BIND::AnesthesiaMachineVaporizerFailureData& dst);
124
125 static void Load(const CDM_BIND::AnesthesiaMachineVentilatorPressureLossData& src, SEAnesthesiaMachineVentilatorPressureLoss& dst);
126 static CDM_BIND::AnesthesiaMachineVentilatorPressureLossData* Unload(const SEAnesthesiaMachineVentilatorPressureLoss& src);
127 static void Serialize(const CDM_BIND::AnesthesiaMachineVentilatorPressureLossData& src, SEAnesthesiaMachineVentilatorPressureLoss& dst);
128 static void Serialize(const SEAnesthesiaMachineVentilatorPressureLoss& src, CDM_BIND::AnesthesiaMachineVentilatorPressureLossData& dst);
130
131 static void Load(const CDM_BIND::AnesthesiaMachineYPieceDisconnectData& src, SEAnesthesiaMachineYPieceDisconnect& dst);
132 static CDM_BIND::AnesthesiaMachineYPieceDisconnectData* Unload(const SEAnesthesiaMachineYPieceDisconnect& src);
133 static void Serialize(const CDM_BIND::AnesthesiaMachineYPieceDisconnectData& src, SEAnesthesiaMachineYPieceDisconnect& dst);
134 static void Serialize(const SEAnesthesiaMachineYPieceDisconnect& src, CDM_BIND::AnesthesiaMachineYPieceDisconnectData& dst);
136
138 // Bag Valve Mask //
140
141 static void Serialize(const CDM_BIND::BagValveMaskActionData& src, SEBagValveMaskAction& dst);
142 static void Serialize(const SEBagValveMaskAction& src, CDM_BIND::BagValveMaskActionData& dst);
143
144 static void Load(const CDM_BIND::BagValveMaskConfigurationData& src, SEBagValveMaskConfiguration& dst, const SESubstanceManager& subMgr);
145 static CDM_BIND::BagValveMaskConfigurationData* Unload(const SEBagValveMaskConfiguration& src);
146 static void Serialize(const CDM_BIND::BagValveMaskConfigurationData& src, SEBagValveMaskConfiguration& dst, const SESubstanceManager& subMgr);
147 static void Serialize(const SEBagValveMaskConfiguration& src, CDM_BIND::BagValveMaskConfigurationData& dst);
148 static void Copy(const SEBagValveMaskConfiguration& src, SEBagValveMaskConfiguration& dst, const SESubstanceManager& subMgr);
149
150 static void Load(const CDM_BIND::BagValveMaskAutomatedData& src, SEBagValveMaskAutomated& dst);
151 static CDM_BIND::BagValveMaskAutomatedData* Unload(const SEBagValveMaskAutomated& src);
152 static void Serialize(const CDM_BIND::BagValveMaskAutomatedData& src, SEBagValveMaskAutomated& dst);
153 static void Serialize(const SEBagValveMaskAutomated& src, CDM_BIND::BagValveMaskAutomatedData& dst);
154 static void Copy(const SEBagValveMaskAutomated& src, SEBagValveMaskAutomated& dst);
155
156 static void Load(const CDM_BIND::BagValveMaskSqueezeData& src, SEBagValveMaskSqueeze& dst);
157 static CDM_BIND::BagValveMaskSqueezeData* Unload(const SEBagValveMaskSqueeze& src);
158 static void Serialize(const CDM_BIND::BagValveMaskSqueezeData& src, SEBagValveMaskSqueeze& dst);
159 static void Serialize(const SEBagValveMaskSqueeze& src, CDM_BIND::BagValveMaskSqueezeData& dst);
160 static void Copy(const SEBagValveMaskSqueeze& src, SEBagValveMaskSqueeze& dst);
161
162 static void Load(const CDM_BIND::BagValveMaskInstantaneousData& src, SEBagValveMaskInstantaneous& dst);
163 static CDM_BIND::BagValveMaskInstantaneousData* Unload(const SEBagValveMaskInstantaneous& src);
164 static void Serialize(const CDM_BIND::BagValveMaskInstantaneousData& src, SEBagValveMaskInstantaneous& dst);
165 static void Serialize(const SEBagValveMaskInstantaneous& src, CDM_BIND::BagValveMaskInstantaneousData& dst);
166 static void Copy(const SEBagValveMaskInstantaneous& src, SEBagValveMaskInstantaneous& dst);
167
169 // Inhaler //
171
172 static void Serialize(const CDM_BIND::InhalerActionData& src, SEInhalerAction& dst);
173 static void Serialize(const SEInhalerAction& src, CDM_BIND::InhalerActionData& dst);
174
175 static void Load(const CDM_BIND::InhalerConfigurationData& src, SEInhalerConfiguration& dst, const SESubstanceManager& subMgr);
176 static CDM_BIND::InhalerConfigurationData* Unload(const SEInhalerConfiguration& src);
177 static void Serialize(const CDM_BIND::InhalerConfigurationData& src, SEInhalerConfiguration& dst, const SESubstanceManager& subMgr);
178 static void Serialize(const SEInhalerConfiguration& src, CDM_BIND::InhalerConfigurationData& dst);
179 static void Copy(const SEInhalerConfiguration& src, SEInhalerConfiguration& dst, const SESubstanceManager& subMgr);
180
182 // ECMO //
184
185 static void Serialize(const CDM_BIND::ECMOActionData& src, SEECMOAction& dst);
186 static void Serialize(const SEECMOAction& src, CDM_BIND::ECMOActionData& dst);
187
188 static void Load(const CDM_BIND::ECMOConfigurationData& src, SEECMOConfiguration& dst, const SESubstanceManager& subMgr);
189 static CDM_BIND::ECMOConfigurationData* Unload(const SEECMOConfiguration& src);
190 static void Serialize(const CDM_BIND::ECMOConfigurationData& src, SEECMOConfiguration& dst, const SESubstanceManager& subMgr);
191 static void Serialize(const SEECMOConfiguration& src, CDM_BIND::ECMOConfigurationData& dst);
192 static void Copy(const SEECMOConfiguration& src, SEECMOConfiguration& dst, const SESubstanceManager& subMgr);
193
195 // Mechanical Ventilator //
197
198 static void Serialize(const CDM_BIND::MechanicalVentilatorActionData& src, SEMechanicalVentilatorAction& dst);
199 static void Serialize(const SEMechanicalVentilatorAction& src, CDM_BIND::MechanicalVentilatorActionData& dst);
200
201 static void Load(const CDM_BIND::MechanicalVentilatorConfigurationData& src, SEMechanicalVentilatorConfiguration& dst, const SESubstanceManager& subMgr);
202 static CDM_BIND::MechanicalVentilatorConfigurationData* Unload(const SEMechanicalVentilatorConfiguration& src);
203 static void Serialize(const CDM_BIND::MechanicalVentilatorConfigurationData& src, SEMechanicalVentilatorConfiguration& dst, const SESubstanceManager& subMgr);
204 static void Serialize(const SEMechanicalVentilatorConfiguration& src, CDM_BIND::MechanicalVentilatorConfigurationData& dst);
206
207 static void Load(const CDM_BIND::MechanicalVentilatorHoldData& src, SEMechanicalVentilatorHold& dst);
208 static CDM_BIND::MechanicalVentilatorHoldData* Unload(const SEMechanicalVentilatorHold& src);
209 static void Serialize(const CDM_BIND::MechanicalVentilatorHoldData& src, SEMechanicalVentilatorHold& dst);
210 static void Serialize(const SEMechanicalVentilatorHold& src, CDM_BIND::MechanicalVentilatorHoldData& dst);
211 static void Copy(const SEMechanicalVentilatorHold& src, SEMechanicalVentilatorHold& dst);
212
213 static void Load(const CDM_BIND::MechanicalVentilatorLeakData& src, SEMechanicalVentilatorLeak& dst);
214 static CDM_BIND::MechanicalVentilatorLeakData* Unload(const SEMechanicalVentilatorLeak& src);
215 static void Serialize(const CDM_BIND::MechanicalVentilatorLeakData& src, SEMechanicalVentilatorLeak& dst);
216 static void Serialize(const SEMechanicalVentilatorLeak& src, CDM_BIND::MechanicalVentilatorLeakData& dst);
217 static void Copy(const SEMechanicalVentilatorLeak& src, SEMechanicalVentilatorLeak& dst);
218
219 static void Load(const CDM_BIND::MechanicalVentilatorModeData& src, SEMechanicalVentilatorMode& dst);
220 static CDM_BIND::MechanicalVentilatorModeData* Unload(const SEMechanicalVentilatorMode& src);
221 static void Serialize(const CDM_BIND::MechanicalVentilatorModeData& src, SEMechanicalVentilatorMode& dst);
222 static void Serialize(const SEMechanicalVentilatorMode& src, CDM_BIND::MechanicalVentilatorModeData& dst);
223
224 static void Load(const CDM_BIND::MechanicalVentilatorContinuousPositiveAirwayPressureData& src, SEMechanicalVentilatorContinuousPositiveAirwayPressure& dst);
225 static CDM_BIND::MechanicalVentilatorContinuousPositiveAirwayPressureData* Unload(const SEMechanicalVentilatorContinuousPositiveAirwayPressure& src);
226 static void Serialize(const CDM_BIND::MechanicalVentilatorContinuousPositiveAirwayPressureData& src, SEMechanicalVentilatorContinuousPositiveAirwayPressure& dst);
227 static void Serialize(const SEMechanicalVentilatorContinuousPositiveAirwayPressure& src, CDM_BIND::MechanicalVentilatorContinuousPositiveAirwayPressureData& dst);
229
230 static void Load(const CDM_BIND::MechanicalVentilatorPressureControlData& src, SEMechanicalVentilatorPressureControl& dst);
231 static CDM_BIND::MechanicalVentilatorPressureControlData* Unload(const SEMechanicalVentilatorPressureControl& src);
232 static void Serialize(const CDM_BIND::MechanicalVentilatorPressureControlData& src, SEMechanicalVentilatorPressureControl& dst);
233 static void Serialize(const SEMechanicalVentilatorPressureControl& src, CDM_BIND::MechanicalVentilatorPressureControlData& dst);
235
236 static void Load(const CDM_BIND::MechanicalVentilatorVolumeControlData& src, SEMechanicalVentilatorVolumeControl& dst);
237 static CDM_BIND::MechanicalVentilatorVolumeControlData* Unload(const SEMechanicalVentilatorVolumeControl& src);
238 static void Serialize(const CDM_BIND::MechanicalVentilatorVolumeControlData& src, SEMechanicalVentilatorVolumeControl& dst);
239 static void Serialize(const SEMechanicalVentilatorVolumeControl& src, CDM_BIND::MechanicalVentilatorVolumeControlData& dst);
241};
Definition: PBEquipmentActions.h:41
Definition: SEAnesthesiaMachineAction.h:7
Definition: SEAnesthesiaMachineConfiguration.h:9
Definition: SEAnesthesiaMachineExpiratoryValveLeak.h:7
Definition: SEAnesthesiaMachineExpiratoryValveObstruction.h:7
Definition: SEAnesthesiaMachineInspiratoryValveLeak.h:7
Definition: SEAnesthesiaMachineInspiratoryValveObstruction.h:7
Definition: SEAnesthesiaMachineMaskLeak.h:7
Definition: SEAnesthesiaMachineOxygenTankPressureLoss.h:8
Definition: SEAnesthesiaMachineOxygenWallPortPressureLoss.h:8
Definition: SEAnesthesiaMachineSodaLimeFailure.h:7
Definition: SEAnesthesiaMachineTubeCuffLeak.h:7
Definition: SEAnesthesiaMachineVaporizerFailure.h:7
Definition: SEAnesthesiaMachineVentilatorPressureLoss.h:7
Definition: SEAnesthesiaMachineYPieceDisconnect.h:7
Definition: SEBagValveMaskAction.h:7
Definition: SEBagValveMaskAutomated.h:9
Definition: SEBagValveMaskConfiguration.h:9
Definition: SEBagValveMaskInstantaneous.h:9
Definition: SEBagValveMaskSqueeze.h:9
Definition: SEECMOAction.h:7
Definition: SEECMOConfiguration.h:9
Definition: SEEquipmentAction.h:7
Definition: SEInhalerAction.h:8
Definition: SEInhalerConfiguration.h:9
Definition: SEMechanicalVentilatorAction.h:7
Definition: SEMechanicalVentilatorConfiguration.h:9
Definition: SEMechanicalVentilatorContinuousPositiveAirwayPressure.h:9
Definition: SEMechanicalVentilatorHold.h:9
Definition: SEMechanicalVentilatorLeak.h:9
Definition: SEMechanicalVentilatorMode.h:8
Definition: SEMechanicalVentilatorPressureControl.h:11
Definition: SEMechanicalVentilatorVolumeControl.h:11
Definition: SESubstanceManager.h:9

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.