SEMechanicalVentilatorMode.h
1/* Distributed under the Apache License, Version 2.0.
2 See accompanying NOTICE file for details.*/
3#pragma once
4#include "cdm/system/equipment/mechanical_ventilator/actions/SEMechanicalVentilatorAction.h"
5#include "cdm/system/equipment/mechanical_ventilator/SEMechanicalVentilatorSettings.h"
6
8{
9 friend class PBEquipmentAction;//friend the serialization class
10public:
11
14
15 void Clear() override;
16
17 bool IsValid() const override;
18 bool IsActive() const override;
19
20 virtual bool ToSettings(SEMechanicalVentilatorSettings& s, const SESubstanceManager& subMgr);
21
22 virtual eSwitch GetConnection() const;
23 virtual void SetConnection(eSwitch c);
24
25protected:
26
27 eSwitch m_Connection;
28};
Definition: Logger.h:71
Definition: PBEquipmentActions.h:41
bool IsActive() const override
Definition: SEEquipmentAction.h:18
Definition: SEMechanicalVentilatorAction.h:7
bool IsValid() const override
Definition: SEMechanicalVentilatorAction.cpp:22
void Clear() override
Definition: SEMechanicalVentilatorAction.cpp:17
Definition: SEMechanicalVentilatorMode.h:8
eSwitch m_Connection
Definition: SEMechanicalVentilatorMode.h:27
Definition: SEMechanicalVentilatorSettings.h:13
Definition: SESubstanceManager.h:9

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.