<
    Kitware and KbPort announce the launch of SimPulse
×
SEAnesthesiaMachineOxygenTankPressureLoss.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/anesthesia_machine/actions/SEAnesthesiaMachineAction.h"
5 #include "cdm/properties/SEScalar.h"
6 
8 {
9  friend class PBEquipmentAction;//friend the serialization class
10 public:
13 
14  virtual void Clear();
15  virtual void Copy(const SEAnesthesiaMachineOxygenTankPressureLoss& src, bool /*preserveState*/=false);
16 
17  virtual bool IsValid() const;
18  virtual bool IsActive() const;
19  virtual void Deactivate();
20 
21  virtual eSwitch GetState() const;
22  virtual void SetState(eSwitch state);
23 
24  virtual void ToString(std::ostream &str) const;
25 
26  virtual const SEScalar* GetScalar(const std::string& name);
27 
28 protected:
29 
31 };
virtual const SEScalar * GetScalar(const std::string &name)=0
virtual void ToString(std::ostream &str) const =0
Definition: SEScalar.h:34
Definition: Logger.h:66
virtual void Clear()
Definition: SEAnesthesiaMachineAction.cpp:17
Definition: SEAnesthesiaMachineAction.h:6
virtual void Deactivate()
Definition: SEAction.h:34
static SEAction * Copy(const SEAction &, const SESubstanceManager &)
Definition: SEAction.cpp:45
Definition: SEAnesthesiaMachineOxygenTankPressureLoss.h:7
virtual bool IsActive() const
Definition: SEAction.h:32
virtual bool IsValid() const
Definition: SEAnesthesiaMachineAction.cpp:22
SEScalarEnum< eSwitch > m_State
Definition: SEAnesthesiaMachineOxygenTankPressureLoss.h:30
Definition: PBEquipmentActions.h:38

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.