<
    Kitware and KbPort announce the launch of SimPulse
×
SEChestCompressionForce.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 
7 class CDM_DECL SEChestCompressionForce : public SEPatientAction
8 {
9  friend class PBPatientAction;//friend the serialization class
10 public:
11 
12  SEChestCompressionForce(Logger* logger=nullptr);
13  virtual ~SEChestCompressionForce();
14 
15  virtual void Clear(); //clear memory
16  virtual void Copy(const SEChestCompressionForce& src, bool /*preserveState*/=false);
17 
18  virtual bool IsValid() const;
19  virtual bool IsActive() const;
20  virtual void Deactivate();
21 
22  virtual bool HasForce() const;
23  virtual SEScalarForce& GetForce();
24  virtual double GetForce(const ForceUnit& unit) const;
25 
26  virtual void ToString(std::ostream &str) const;
27 
28  virtual const SEScalar* GetScalar(const std::string& name);
29 
30 protected:
32 };
virtual const SEScalar * GetScalar(const std::string &name)=0
SEScalarForce * m_Force
Definition: SEChestCompressionForce.h:31
Definition: SEPatientAction.h:7
Definition: SEScalar.h:34
Definition: Logger.h:66
virtual void Clear()
Definition: SEPatientAction.cpp:17
virtual void Deactivate()
Definition: SEAction.h:34
Definition: SEScalarForce.h:7
virtual bool IsValid() const
Definition: SEPatientAction.cpp:22
static SEAction * Copy(const SEAction &, const SESubstanceManager &)
Definition: SEAction.cpp:45
Definition: SEScalarForce.h:25
virtual bool IsActive() const
Definition: SEAction.h:32
Definition: SEChestCompressionForce.h:7
Definition: PBPatientActions.h:46
virtual void ToString(std::ostream &str) const =0

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.