5#include "cdm/patient/actions/SEPatientAction.h"
15 static constexpr char const* Name =
"Chest Compression";
16 std::string
GetName()
const override {
return Name; }
18 void Clear()
override;
27 virtual bool HasForce()
const;
29 virtual double GetForce(
const ForceUnit& unit)
const;
31 virtual bool HasDepth()
const;
33 virtual double GetDepth(
const LengthUnit& unit)
const;
35 virtual bool HasCompressionPeriod()
const;
37 virtual double GetCompressionPeriod(
const TimeUnit& unit)
const;
Definition: SEScalarForce.h:8
Definition: SEScalarLength.h:8
Definition: PBPatientActions.h:52
virtual const SEScalar * GetScalar(const std::string &name)=0
static SEAction * Copy(const SEAction &, const SESubstanceManager &)
Definition: SEAction.cpp:53
Definition: SEChestCompression.h:8
std::string GetName() const override
Definition: SEChestCompression.h:16
SEScalarForce * m_Force
Definition: SEChestCompression.h:40
SEScalarTime * m_CompressionPeriod
Definition: SEChestCompression.h:42
SEScalarLength * m_Depth
Definition: SEChestCompression.h:41
Definition: SEPatientAction.h:8
void Deactivate() override
Definition: SEPatientAction.h:23
void Clear() override
Definition: SEPatientAction.h:18
bool IsValid() const override
Definition: SEPatientAction.h:19
bool IsActive() const override
Definition: SEPatientAction.h:22
Definition: SEScalarForce.h:26
Definition: SEScalar.h:19
Definition: SEScalarLength.h:29
Definition: SEScalarTime.h:28
Definition: SEScalarTime.h:8