SEForcedExhale.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/SEConsciousRespirationCommand.h"
6
8{
9 friend class PBPatientAction;//friend the serialization class
11 SEForcedExhale(Logger* logger);
12public:
13
14 virtual ~SEForcedExhale();
15
16 static constexpr char const* Name = "Forced Exhale";
17 std::string GetName() const override { return Name; }
18
19 void Clear() override;
20 void Copy(const SEForcedExhale& src);
21
22 bool IsValid() const override;
23 bool IsActive() const override;
24
25 virtual bool HasExpiratoryReserveVolumeFraction() const;
26 virtual SEScalar0To1& GetExpiratoryReserveVolumeFraction();
27 virtual double GetExpiratoryReserveVolumeFraction() const;
28
29 virtual bool HasExhalePeriod() const;
30 virtual SEScalarTime& GetExhalePeriod();
31 virtual double GetExhalePeriod(const TimeUnit& unit) const;
32
33 virtual bool HasHoldPeriod() const;
34 virtual SEScalarTime& GetHoldPeriod();
35 virtual double GetHoldPeriod(const TimeUnit& unit) const;
36
37 virtual bool HasReleasePeriod() const;
38 virtual SEScalarTime& GetReleasePeriod();
39 virtual double GetReleasePeriod(const TimeUnit& unit) const;
40
41protected:
46};
Definition: Logger.h:71
Definition: PBPatientActions.h:52
Definition: SEConsciousRespirationCommand.h:8
virtual bool IsActive() const
Definition: SEConsciousRespirationCommand.cpp:27
virtual bool IsValid() const
Definition: SEConsciousRespirationCommand.cpp:22
virtual void Clear()
Definition: SEConsciousRespirationCommand.cpp:17
Definition: SEConsciousRespiration.h:13
static constexpr char const * Name
Definition: SEConsciousRespiration.h:20
void Copy(const SEConsciousRespiration &src, bool=false)
Definition: SEConsciousRespiration.cpp:31
Definition: SEForcedExhale.h:8
SEScalarTime * m_ExhalePeriod
Definition: SEForcedExhale.h:43
SEScalarTime * m_HoldPeriod
Definition: SEForcedExhale.h:44
SEScalarTime * m_ReleasePeriod
Definition: SEForcedExhale.h:45
std::string GetName() const override
Definition: SEForcedExhale.h:17
SEScalar0To1 * m_ExpiratoryReserveVolumeFraction
Definition: SEForcedExhale.h:42
Definition: SEScalar0To1.h:8
Definition: SEScalarTime.h:28
Definition: SEScalarTime.h:8

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.