SEChestCompressionForce.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 
4 #pragma once
5 #include "patient/actions/SEChestCompression.h"
6 
8 {
9  friend class PBPatientAction;//friend the serialization class
10 public:
11 
13  virtual ~SEChestCompressionForce();
14 
15  virtual void Clear(); //clear memory
16  virtual void Copy(const SEChestCompressionForce& src);
17 
18  virtual bool IsValid() const;
19  virtual bool IsActive() const;
20 
21  virtual bool HasForce() const;
22  virtual SEScalarForce& GetForce();
23  virtual double GetForce(const ForceUnit& unit) const;
24 
25  virtual void ToString(std::ostream &str) const;
26 
27 protected:
29 };
SEScalarForce * m_Force
Definition: SEChestCompressionForce.h:28
virtual void ToString(std::ostream &str) const =0
static void Copy(const SEAcuteStress &src, SEAcuteStress &dst)
Definition: PBPatientActions.cpp:76
Definition: SEScalarForce.h:7
virtual bool IsValid() const
Definition: SEChestCompression.cpp:23
Definition: SEScalarForce.h:21
Definition: SEChestCompressionForce.h:7
Definition: PBPatientActions.h:38
virtual void Clear()
Definition: SEChestCompression.cpp:18
virtual bool IsActive() const
Definition: SEChestCompression.cpp:28
Definition: SEChestCompression.h:7