SEVaporizerFailure.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:
10 
12  virtual ~SEVaporizerFailure();
13 
14  virtual void Clear();
15  virtual void Copy(const SEVaporizerFailure& src);
16 
17  virtual bool IsValid() const;
18  virtual bool IsActive() const;
19 
20  virtual bool HasSeverity() const;
21  virtual SEScalar0To1& GetSeverity();
22  virtual double GetSeverity() const;
23 
24  virtual void ToString(std::ostream &str) const;
25 
26 protected:
27 
29 };
virtual void ToString(std::ostream &str) const =0
SEScalar0To1 * m_Severity
Definition: SEVaporizerFailure.h:28
virtual void Clear()
Definition: SEAnesthesiaMachineAction.cpp:17
Definition: SEAnesthesiaMachineAction.h:6
static void Copy(const SEAnesthesiaMachineConfiguration &src, SEAnesthesiaMachineConfiguration &dst)
Definition: PBAnesthesiaMachineActions.cpp:61
Definition: SEVaporizerFailure.h:6
virtual bool IsActive() const
Definition: SEAction.h:21
virtual bool IsValid() const
Definition: SEAnesthesiaMachineAction.cpp:22
Definition: PBAnesthesiaMachineActions.h:22
Definition: SEScalar0To1.h:7