<
The Pulse Team is excited to announce the Pulse Physiology Engine 4.1.0 release. Upgrade now to get the best in dynamic simulation.
×
SEForcedPause.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  SEForcedPause(Logger* logger);
12 public:
13 
14  virtual ~SEForcedPause();
15 
16  virtual void Clear(); //clear memory
17  virtual void Copy(const SEForcedPause& src);
18 
19  virtual bool IsValid() const;
20  virtual bool IsActive() const;
21 
22  virtual bool HasPeriod() const;
23  virtual SEScalarTime& GetPeriod();
24  virtual double GetPeriod(const TimeUnit& unit) const;
25 
26  virtual void ToString(std::ostream &str) const;
27 protected:
29 };
virtual void ToString(std::ostream &str) const =0
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
Definition: SEScalarTime.h:7
virtual bool IsValid() const
Definition: SEConsciousRespirationCommand.cpp:22
Definition: SEConsciousRespirationCommand.h:7
Definition: SEForcedPause.h:7
virtual bool IsActive() const
Definition: SEConsciousRespirationCommand.cpp:27
Definition: PBPatientActions.h:46
Definition: SEScalarTime.h:27
SEScalarTime * m_Period
Definition: SEForcedPause.h:28

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.