<
The Pulse Team is excited to announce the Pulse Physiology Engine 4.1.0 release. Upgrade now to get the best in dynamic simulation.
×
SEChestCompressionForceScale.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 
4 #pragma once
5 #include "cdm/patient/actions/SEPatientAction.h"
6 
8 {
9  friend class PBPatientAction;//friend the serialization class
10 public:
11  SEChestCompressionForceScale(Logger* logger=nullptr);
13 
14  virtual void Clear(); //clear memory
15  virtual void Copy(const SEChestCompressionForceScale& src, bool /*preserveState*/=false);
16 
17  virtual bool IsValid() const;
18  virtual bool IsActive() const;
19  virtual void Deactivate();
20 
21  virtual bool HasForceScale() const;
22  virtual SEScalar0To1& GetForceScale();
23  virtual double GetForceScale() const;
24 
25  virtual bool HasForcePeriod() const;
26  virtual SEScalarTime& GetForcePeriod();
27  virtual double GetForcePeriod(const TimeUnit& unit) const;
28 
29  virtual void ToString(std::ostream &str) const;
30 
31  virtual const SEScalar* GetScalar(const std::string& name);
32 
33 protected:
36 };
virtual const SEScalar * GetScalar(const std::string &name)=0
Definition: SEPatientAction.h:7
Definition: SEScalar.h:18
Definition: SEChestCompressionForceScale.h:7
SEScalar0To1 * m_ForceScale
Definition: SEChestCompressionForceScale.h:34
Definition: Logger.h:66
virtual void Clear()
Definition: SEPatientAction.cpp:17
Definition: SEScalarTime.h:7
virtual void Deactivate()
Definition: SEAction.h:34
virtual bool IsValid() const
Definition: SEPatientAction.cpp:22
static SEAction * Copy(const SEAction &, const SESubstanceManager &)
Definition: SEAction.cpp:45
virtual bool IsActive() const
Definition: SEAction.h:32
Definition: PBPatientActions.h:46
Definition: SEScalarTime.h:27
SEScalarTime * m_ForcePeriod
Definition: SEChestCompressionForceScale.h:35
virtual void ToString(std::ostream &str) const =0
Definition: SEScalar0To1.h:7

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.