<
The Pulse Team is excited to announce the Pulse Physiology Engine 4.1.0 release. Upgrade now to get the best in dynamic simulation.
×
SEForcedInhale.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
10  friend class SEConsciousRespiration;
11  SEForcedInhale(Logger* logger);
12 public:
13 
14  virtual ~SEForcedInhale();
15 
16  virtual void Clear(); //clear memory
17  virtual void Copy(const SEForcedInhale& src);
18 
19  virtual bool IsValid() const;
20  virtual bool IsActive() const;
21 
22  virtual bool HasInspiratoryCapacityFraction() const;
23  virtual SEScalar0To1& GetInspiratoryCapacityFraction();
24  virtual double GetInspiratoryCapacityFraction() const;
25 
26  virtual bool HasInhalePeriod() const;
27  virtual SEScalarTime& GetInhalePeriod();
28  virtual double GetInhalePeriod(const TimeUnit& unit) const;
29 
30  virtual bool HasHoldPeriod() const;
31  virtual SEScalarTime& GetHoldPeriod();
32  virtual double GetHoldPeriod(const TimeUnit& unit) const;
33 
34  virtual bool HasReleasePeriod() const;
35  virtual SEScalarTime& GetReleasePeriod();
36  virtual double GetReleasePeriod(const TimeUnit& unit) const;
37 
38  virtual void ToString(std::ostream &str) const;
39 protected:
44 };
SEScalarTime * m_InhalePeriod
Definition: SEForcedInhale.h:41
virtual void ToString(std::ostream &str) const =0
SEScalarTime * m_HoldPeriod
Definition: SEForcedInhale.h:42
Definition: SEForcedInhale.h:7
Definition: Logger.h:66
virtual void Copy(const SEConsciousRespiration &src, bool=false)
Definition: SEConsciousRespiration.cpp:31
Definition: SEConsciousRespiration.h:12
virtual void Clear()
Definition: SEConsciousRespirationCommand.cpp:17
SEScalarTime * m_ReleasePeriod
Definition: SEForcedInhale.h:43
Definition: SEScalarTime.h:7
virtual bool IsValid() const
Definition: SEConsciousRespirationCommand.cpp:22
Definition: SEConsciousRespirationCommand.h:7
virtual bool IsActive() const
Definition: SEConsciousRespirationCommand.cpp:27
Definition: PBPatientActions.h:46
Definition: SEScalarTime.h:27
SEScalar0To1 * m_InspiratoryCapacityFraction
Definition: SEForcedInhale.h:40
Definition: SEScalar0To1.h:7

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.