<
The Pulse Team is excited to announce the Pulse Physiology Engine 4.1.0 release. Upgrade now to get the best in dynamic simulation.
×
SEPatientAssessmentRequest.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 #include "cdm/patient/assessments/SEPatientAssessment.h"
7 
9 {
10  friend class PBPatientAction;//friend the serialization class
11 public:
12 
13  SEPatientAssessmentRequest(Logger* logger=nullptr);
14  virtual ~SEPatientAssessmentRequest();
15 
16  virtual void Clear(); //clear memory
17  virtual void Copy(const SEPatientAssessmentRequest& src, bool /*preserveState*/=false);
18 
19  virtual bool IsValid() const;
20  virtual bool IsActive() const;
21  virtual void Deactivate();
22 
23  virtual ePatientAssessment_Type GetType() const;
24  virtual void SetType(ePatientAssessment_Type type);
25 
26  virtual void ToString(std::ostream &str) const;
27 
28  virtual const SEScalar* GetScalar(const std::string& name);
29 
30 protected:
31 
32  ePatientAssessment_Type m_Type;
33 };
virtual const SEScalar * GetScalar(const std::string &name)=0
Definition: SEPatientAction.h:7
Definition: SEScalar.h:18
Definition: Logger.h:66
virtual void Clear()
Definition: SEPatientAction.cpp:17
virtual void Deactivate()
Definition: SEAction.h:34
virtual bool IsValid() const
Definition: SEPatientAction.cpp:22
static SEAction * Copy(const SEAction &, const SESubstanceManager &)
Definition: SEAction.cpp:45
virtual bool IsActive() const
Definition: SEAction.h:32
Definition: PBPatientActions.h:46
virtual void ToString(std::ostream &str) const =0
Definition: SEPatientAssessmentRequest.h:8
ePatientAssessment_Type m_Type
Definition: SEPatientAssessmentRequest.h:32

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.