SENervousSystem.h
1/* Distributed under the Apache License, Version 2.0.
2 See accompanying NOTICE file for details.*/
3
4#pragma once
5#include "cdm/system/SESystem.h"
7
8class CDM_DECL SENervousSystem : public SESystem
9{
10 friend class PBPhysiology;//friend the serialization class
11public:
12
13 SENervousSystem(Logger* logger);
14 virtual ~SENervousSystem();
15
16 void Clear() override;// Deletes all members
17
18 const SEScalar* GetScalar(const std::string& name) override;
19
20 virtual eSwitch GetBaroreceptorFeedback() const;
21 virtual void SetBaroreceptorFeedback(eSwitch s);
22
23 virtual bool HasBaroreceptorHeartRateScale() const;
24 virtual SEScalar& GetBaroreceptorHeartRateScale();
25 virtual double GetBaroreceptorHeartRateScale() const;
26
27 virtual bool HasBaroreceptorHeartElastanceScale() const;
28 virtual SEScalar& GetBaroreceptorHeartElastanceScale();
29 virtual double GetBaroreceptorHeartElastanceScale() const;
30
31 virtual bool HasBaroreceptorResistanceScale() const;
32 virtual SEScalar& GetBaroreceptorResistanceScale();
33 virtual double GetBaroreceptorResistanceScale() const;
34
35 virtual bool HasBaroreceptorComplianceScale() const;
36 virtual SEScalar& GetBaroreceptorComplianceScale();
37 virtual double GetBaroreceptorComplianceScale() const;
38
39 virtual eSwitch GetChemoreceptorFeedback() const;
40 virtual void SetChemoreceptorFeedback(eSwitch s);
41
42 virtual bool HasChemoreceptorHeartRateScale() const;
43 virtual SEScalar& GetChemoreceptorHeartRateScale();
44 virtual double GetChemoreceptorHeartRateScale() const;
45
46 virtual bool HasChemoreceptorHeartElastanceScale() const;
47 virtual SEScalar& GetChemoreceptorHeartElastanceScale();
48 virtual double GetChemoreceptorHeartElastanceScale() const;
49
50 virtual bool HasLeftEyePupillaryResponse() const;
51 virtual SEPupillaryResponse& GetLeftEyePupillaryResponse();
52 virtual const SEPupillaryResponse* GetLeftEyePupillaryResponse() const;
53 virtual void RemoveLeftEyePupillaryResponse();
54
55 virtual bool HasRightEyePupillaryResponse() const;
56 virtual SEPupillaryResponse& GetRightEyePupillaryResponse();
57 virtual const SEPupillaryResponse* GetRightEyePupillaryResponse() const;
58 virtual void RemoveRightEyePupillaryResponse();
59
60
61protected:
62
73};
Definition: Logger.h:71
Definition: PBPhysiology.h:24
Definition: SENervousSystem.h:9
SEScalar * m_BaroreceptorHeartRateScale
Definition: SENervousSystem.h:64
SEScalar * m_ChemoreceptorHeartElastanceScale
Definition: SENervousSystem.h:70
SEScalar * m_BaroreceptorHeartElastanceScale
Definition: SENervousSystem.h:65
SEPupillaryResponse * m_RightEyePupillaryResponse
Definition: SENervousSystem.h:72
eSwitch m_ChemoreceptorFeedback
Definition: SENervousSystem.h:68
SEScalar * m_BaroreceptorResistanceScale
Definition: SENervousSystem.h:66
eSwitch m_BaroreceptorFeedback
Definition: SENervousSystem.h:63
SEPupillaryResponse * m_LeftEyePupillaryResponse
Definition: SENervousSystem.h:71
SEScalar * m_ChemoreceptorHeartRateScale
Definition: SENervousSystem.h:69
SEScalar * m_BaroreceptorComplianceScale
Definition: SENervousSystem.h:67
Definition: SEPupillaryResponse.h:8
Definition: SEScalar.h:19
Definition: SESystem.h:8
virtual const SEScalar * GetScalar(const std::string &name)=0
virtual void Clear()
Definition: SESystem.cpp:17

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.