projects/biogears/src/engine/Systems/Nervous.cpp
void Nervous::Initialize()
{
  BioGearsSystem::Initialize();
  m_FeedbackActive = false;
  m_blockActive = false;
  GetBaroreceptorHeartRateScale().SetValue(1.0);
  GetBaroreceptorHeartElastanceScale().SetValue(1.0);
  GetBaroreceptorResistanceScale().SetValue(1.0);
  GetBaroreceptorComplianceScale().SetValue(1.0);
  GetLeftEyePupillaryResponse().GetSizeModifier().SetValue(0);
  GetLeftEyePupillaryResponse().GetReactivityModifier().SetValue(0);
  GetRightEyePupillaryResponse().GetSizeModifier().SetValue(0);
  GetRightEyePupillaryResponse().GetReactivityModifier().SetValue(0);
}
//--------------------------------------------------------------------------------------------------
/// \brief
/// Initializes system properties to valid homeostatic values.
//--------------------------------------------------------------------------------------------------
\brief
Initializes system properties to valid homeostatic values.
\ brief Initializes system properties to valid homeostatic values .
void Nervous::Initialize()
{
  BioGearsSystem::Initialize();
  m_FeedbackActive = false;
  m_blockActive = false;
  GetBaroreceptorHeartRateScale().SetValue(1.0);
  GetBaroreceptorHeartElastanceScale().SetValue(1.0);
  GetBaroreceptorResistanceScale().SetValue(1.0);
  GetBaroreceptorComplianceScale().SetValue(1.0);
  GetLeftEyePupillaryResponse().GetSizeModifier().SetValue(0);
  GetLeftEyePupillaryResponse().GetReactivityModifier().SetValue(0);
  GetRightEyePupillaryResponse().GetSizeModifier().SetValue(0);
  GetRightEyePupillaryResponse().GetReactivityModifier().SetValue(0);
}
void Nervous :: Initialize ( ) { BioGearsSystem :: Initialize ( ) ; m_FeedbackActive = false ; m_blockActive = false ; GetBaroreceptorHeartRateScale ( ) . SetValue ( 1.0 ) ; GetBaroreceptorHeartElastanceScale ( ) . SetValue ( 1.0 ) ; GetBaroreceptorResistanceScale ( ) . SetValue ( 1.0 ) ; GetBaroreceptorComplianceScale ( ) . SetValue ( 1.0 ) ; GetLeftEyePupillaryResponse ( ) . GetSizeModifier ( ) . SetValue ( 0 ) ; GetLeftEyePupillaryResponse ( ) . GetReactivityModifier ( ) . SetValue ( 0 ) ; GetRightEyePupillaryResponse ( ) . GetSizeModifier ( ) . SetValue ( 0 ) ; GetRightEyePupillaryResponse ( ) . GetReactivityModifier ( ) . SetValue ( 0 ) ; }
\brief
Initializes system properties to valid homeostatic values.
\ brief Initializes system properties to valid homeostatic values .