SEOxygenTankPressureLoss.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 #pragma once
4 #include "system/equipment/anesthesiamachine/actions/SEAnesthesiaMachineAction.h"
5 
7 {
8  friend class PBAnesthesiaMachineAction;//friend the serialization class
9 public:
11  virtual ~SEOxygenTankPressureLoss();
12 
13  virtual void Clear();
14  virtual void Copy(const SEOxygenTankPressureLoss& src);
15 
16  virtual bool IsValid() const;
17  virtual bool IsActive() const;
18  virtual void SetActive(bool b);
19 
20  virtual void ToString(std::ostream &str) const;
21 
22 protected:
23 
24  eSwitch m_State;
25 };
virtual void ToString(std::ostream &str) const =0
eSwitch m_State
Definition: SEOxygenTankPressureLoss.h:24
Definition: SEOxygenTankPressureLoss.h:6
virtual void Clear()
Definition: SEAnesthesiaMachineAction.cpp:17
Definition: SEAnesthesiaMachineAction.h:6
static void Copy(const SEAnesthesiaMachineConfiguration &src, SEAnesthesiaMachineConfiguration &dst)
Definition: PBAnesthesiaMachineActions.cpp:61
virtual bool IsActive() const
Definition: SEAction.h:21
virtual bool IsValid() const
Definition: SEAnesthesiaMachineAction.cpp:22
Definition: PBAnesthesiaMachineActions.h:22