#include <SENervousSystem.h>

Inheritance diagram for biogears::SENervousSystem:

Public Member Functions

 SENervousSystem (Logger *logger)
 
 ~SENervousSystem () override
 
const char * classname () const override
 
size_t hash_code () const override
 
void Clear () override
 
const SEScalar * GetScalar (const char *name) override
 
const SEScalar * GetScalar (const std::string &name) override
 
bool Load (const CDM::NervousSystemData &in)
 
CDM::NervousSystemData * Unload () const override
 
Tree< const char * > GetPhysiologyRequestGraph () const override
 
bool HasComplianceScale () const
 
SEScalar & GetComplianceScale ()
 
double GetComplianceScale () const
 
bool HasHeartRateScale () const
 
SEScalar & GetHeartRateScale ()
 
double GetHeartRateScale () const
 
bool HasHeartElastanceScale () const
 
SEScalar & GetHeartElastanceScale ()
 
double GetHeartElastanceScale () const
 
bool HasResistanceScaleExtrasplanchnic () const
 
SEScalar & GetResistanceScaleExtrasplanchnic ()
 
double GetResistanceScaleExtrasplanchnic () const
 
bool HasResistanceScaleMuscle () const
 
SEScalar & GetResistanceScaleMuscle ()
 
double GetResistanceScaleMuscle () const
 
bool HasResistanceScaleMyocardium () const
 
SEScalar & GetResistanceScaleMyocardium ()
 
double GetResistanceScaleMyocardium () const
 
bool HasResistanceScaleSplanchnic () const
 
SEScalar & GetResistanceScaleSplanchnic ()
 
double GetResistanceScaleSplanchnic () const
 
bool HasLeftEyePupillaryResponse () const
 
SEPupillaryResponse & GetLeftEyePupillaryResponse ()
 
const SEPupillaryResponse * GetLeftEyePupillaryResponse () const
 
void RemoveLeftEyePupillaryResponse ()
 
bool HasPainVisualAnalogueScale () const
 
SEScalar & GetPainVisualAnalogueScale ()
 
double GetPainVisualAnalogueScale () const
 
bool HasRichmondAgitationSedationScale () const
 
SEScalar & GetRichmondAgitationSedationScale ()
 
double GetRichmondAgitationSedationScale () const
 
bool HasRightEyePupillaryResponse () const
 
SEPupillaryResponse & GetRightEyePupillaryResponse ()
 
const SEPupillaryResponse * GetRightEyePupillaryResponse () const
 
void RemoveRightEyePupillaryResponse ()
 
bool IsAsleep () const
 
SEScalarTime & GetSleepTime ()
 
double GetSleepTime (const TimeUnit &unit) const
 
CDM::enumSleepState::value GetSleepState () const
 
void SetSleepState (CDM::enumSleepState::value sleep)
 
void InvalidateSleepState ()
 
bool HasSleepState () const
 
bool IsAwake () const
 
SEScalarTime & GetWakeTime ()
 
double GetWakeTime (const TimeUnit &unit) const
 
bool HasBiologicalDebt () const
 
SEScalar & GetBiologicalDebt ()
 
double GetBiologicalDebt () const
 
bool HasReactionTime () const
 
SEScalarTime & GetReactionTime ()
 
double GetReactionTime (const TimeUnit &unit) const
 
bool HasAttentionLapses () const
 
SEScalar & GetAttentionLapses ()
 
double GetAttentionLapses () const
 
- Public Member Functions inherited from biogears::SESystem
 SESystem (Logger *logger)
 
virtual ~SESystem ()
 
bool Load (const CDM::SystemData &in)
 
- Public Member Functions inherited from biogears::Loggable
 Loggable ()
 
 Loggable (Logger *log)
 
virtual ~Loggable ()
 
virtual Logger * GetLogger () const
 

Static Public Member Functions

static size_t TypeHash ()
 
static constexpr char const *const TypeTag ()
 
- Static Public Member Functions inherited from biogears::SESystem
static const SEScalar * GetScalar (const char *name, std::vector< SESystem * > *systems)
 
static const SEScalar * GetScalar (const std::string &name, std::vector< SESystem * > *systems)
 

Protected Member Functions

void Unload (CDM::NervousSystemData &data) const
 
- Protected Member Functions inherited from biogears::SESystem
void Unload (CDM::SystemData &data) const
 
- Protected Member Functions inherited from biogears::Loggable
virtual void Debug (const char *msg, const char *origin="") const
 
virtual void Debug (const std::string &msg, const std::string &origin=empty) const
 
virtual void Debug (std::ostream &msg, const std::string &origin=empty) const
 
virtual void Info (const char *msg, const char *origin="") const
 
virtual void Info (const std::string &msg, const std::string &origin=empty) const
 
virtual void Info (std::ostream &msg, const std::string &origin=empty) const
 
virtual void Warning (const char *msg, const char *origin="") const
 
virtual void Warning (const std::string &msg, const std::string &origin=empty) const
 
virtual void Warning (std::ostream &msg, const std::string &origin=empty) const
 
virtual void Error (const char *msg, const char *origin="") const
 
virtual void Error (const std::string msg, const std::string origin=empty) const
 
virtual void Error (std::ostream &msg, const std::string &origin=empty) const
 
virtual void Fatal (const char *msg, const char *origin="") const
 
virtual void Fatal (const std::string &msg, const std::string &origin=empty) const
 
virtual void Fatal (std::ostream &msg, const std::string &origin=empty) const
 

Protected Attributes

SEScalar * m_ComplianceScale
 
SEScalar * m_HeartRateScale
 
SEScalar * m_HeartElastanceScale
 
SEPupillaryResponse * m_LeftEyePupillaryResponse
 
SEPupillaryResponse * m_RightEyePupillaryResponse
 
SEScalar * m_PainVisualAnalogueScale
 
SEScalar * m_ResistanceScaleExtrasplanchnic
 
SEScalar * m_ResistanceScaleMuscle
 
SEScalar * m_ResistanceScaleMyocardium
 
SEScalar * m_ResistanceScaleSplanchnic
 
SEScalarTime * m_SleepTime
 
SEScalarTime * m_WakeTime
 
CDM::enumSleepState::value m_SleepState
 
SEScalar * m_BiologicalDebt
 
SEScalarTime * m_ReactionTime
 
SEScalar * m_AttentionLapses
 
SEScalar * m_RichmondAgitationSedationScale
 
- Protected Attributes inherited from biogears::SESystem
std::stringstream m_ss
 
- Protected Attributes inherited from biogears::Loggable
Logger * m_Logger
 

Additional Inherited Members

- Static Public Attributes inherited from biogears::Loggable
static const std::string empty
 
static const char * empty_cStr
 

Constructor & Destructor Documentation

biogears::SENervousSystem::SENervousSystem ( Logger *  logger)
biogears::SENervousSystem::~SENervousSystem ( )
override

Member Function Documentation

const char* biogears::SENervousSystem::classname ( ) const
inlineoverridevirtual

Implements biogears::SESystem.

Reimplemented in biogears::Nervous.

void biogears::SENervousSystem::Clear ( )
overridevirtual

Reimplemented from biogears::SESystem.

Reimplemented in biogears::Nervous.

SEScalar & biogears::SENervousSystem::GetAttentionLapses ( )
double biogears::SENervousSystem::GetAttentionLapses ( ) const
SEScalar & biogears::SENervousSystem::GetBiologicalDebt ( )
double biogears::SENervousSystem::GetBiologicalDebt ( ) const
SEScalar & biogears::SENervousSystem::GetComplianceScale ( )
double biogears::SENervousSystem::GetComplianceScale ( ) const
SEScalar & biogears::SENervousSystem::GetHeartElastanceScale ( )
double biogears::SENervousSystem::GetHeartElastanceScale ( ) const
SEScalar & biogears::SENervousSystem::GetHeartRateScale ( )
double biogears::SENervousSystem::GetHeartRateScale ( ) const
SEPupillaryResponse & biogears::SENervousSystem::GetLeftEyePupillaryResponse ( )
const SEPupillaryResponse * biogears::SENervousSystem::GetLeftEyePupillaryResponse ( ) const
SEScalar & biogears::SENervousSystem::GetPainVisualAnalogueScale ( )
double biogears::SENervousSystem::GetPainVisualAnalogueScale ( ) const
Tree< const char * > biogears::SENervousSystem::GetPhysiologyRequestGraph ( ) const
overridevirtual

Implements biogears::SESystem.

SEScalarTime & biogears::SENervousSystem::GetReactionTime ( )
double biogears::SENervousSystem::GetReactionTime ( const TimeUnit &  unit) const
SEScalar & biogears::SENervousSystem::GetResistanceScaleExtrasplanchnic ( )
double biogears::SENervousSystem::GetResistanceScaleExtrasplanchnic ( ) const
SEScalar & biogears::SENervousSystem::GetResistanceScaleMuscle ( )
double biogears::SENervousSystem::GetResistanceScaleMuscle ( ) const
SEScalar & biogears::SENervousSystem::GetResistanceScaleMyocardium ( )
double biogears::SENervousSystem::GetResistanceScaleMyocardium ( ) const
SEScalar & biogears::SENervousSystem::GetResistanceScaleSplanchnic ( )
double biogears::SENervousSystem::GetResistanceScaleSplanchnic ( ) const
SEScalar & biogears::SENervousSystem::GetRichmondAgitationSedationScale ( )
double biogears::SENervousSystem::GetRichmondAgitationSedationScale ( ) const
SEPupillaryResponse & biogears::SENervousSystem::GetRightEyePupillaryResponse ( )
const SEPupillaryResponse * biogears::SENervousSystem::GetRightEyePupillaryResponse ( ) const
const SEScalar * biogears::SENervousSystem::GetScalar ( const char *  name)
overridevirtual

Implements biogears::SESystem.

const SEScalar * biogears::SENervousSystem::GetScalar ( const std::string &  name)
overridevirtual

Implements biogears::SESystem.

CDM::enumSleepState::value biogears::SENervousSystem::GetSleepState ( ) const
SEScalarTime & biogears::SENervousSystem::GetSleepTime ( )
double biogears::SENervousSystem::GetSleepTime ( const TimeUnit &  unit) const
SEScalarTime & biogears::SENervousSystem::GetWakeTime ( )
double biogears::SENervousSystem::GetWakeTime ( const TimeUnit &  unit) const
bool biogears::SENervousSystem::HasAttentionLapses ( ) const
bool biogears::SENervousSystem::HasBiologicalDebt ( ) const
bool biogears::SENervousSystem::HasComplianceScale ( ) const
size_t biogears::SENervousSystem::hash_code ( ) const
inlineoverridevirtual

Implements biogears::SESystem.

Reimplemented in biogears::Nervous.

bool biogears::SENervousSystem::HasHeartElastanceScale ( ) const
bool biogears::SENervousSystem::HasHeartRateScale ( ) const
bool biogears::SENervousSystem::HasLeftEyePupillaryResponse ( ) const
bool biogears::SENervousSystem::HasPainVisualAnalogueScale ( ) const
bool biogears::SENervousSystem::HasReactionTime ( ) const
bool biogears::SENervousSystem::HasResistanceScaleExtrasplanchnic ( ) const
bool biogears::SENervousSystem::HasResistanceScaleMuscle ( ) const
bool biogears::SENervousSystem::HasResistanceScaleMyocardium ( ) const
bool biogears::SENervousSystem::HasResistanceScaleSplanchnic ( ) const
bool biogears::SENervousSystem::HasRichmondAgitationSedationScale ( ) const
bool biogears::SENervousSystem::HasRightEyePupillaryResponse ( ) const
bool biogears::SENervousSystem::HasSleepState ( ) const
void biogears::SENervousSystem::InvalidateSleepState ( )
bool biogears::SENervousSystem::IsAsleep ( ) const
bool biogears::SENervousSystem::IsAwake ( ) const
bool biogears::SENervousSystem::Load ( const CDM::NervousSystemData &  in)
void biogears::SENervousSystem::RemoveLeftEyePupillaryResponse ( )
void biogears::SENervousSystem::RemoveRightEyePupillaryResponse ( )
void biogears::SENervousSystem::SetSleepState ( CDM::enumSleepState::value  sleep)
static size_t biogears::SENervousSystem::TypeHash ( )
inlinestatic
static constexpr char const* const biogears::SENervousSystem::TypeTag ( )
inlinestatic
CDM::NervousSystemData * biogears::SENervousSystem::Unload ( ) const
overridevirtual

Implements biogears::SESystem.

Reimplemented in biogears::Nervous.

void biogears::SENervousSystem::Unload ( CDM::NervousSystemData &  data) const
protected

Member Data Documentation

SEScalar* biogears::SENervousSystem::m_AttentionLapses
protected
SEScalar* biogears::SENervousSystem::m_BiologicalDebt
protected
SEScalar* biogears::SENervousSystem::m_ComplianceScale
protected
SEScalar* biogears::SENervousSystem::m_HeartElastanceScale
protected
SEScalar* biogears::SENervousSystem::m_HeartRateScale
protected
SEPupillaryResponse* biogears::SENervousSystem::m_LeftEyePupillaryResponse
protected
SEScalar* biogears::SENervousSystem::m_PainVisualAnalogueScale
protected
SEScalarTime* biogears::SENervousSystem::m_ReactionTime
protected
SEScalar* biogears::SENervousSystem::m_ResistanceScaleExtrasplanchnic
protected
SEScalar* biogears::SENervousSystem::m_ResistanceScaleMuscle
protected
SEScalar* biogears::SENervousSystem::m_ResistanceScaleMyocardium
protected
SEScalar* biogears::SENervousSystem::m_ResistanceScaleSplanchnic
protected
SEScalar* biogears::SENervousSystem::m_RichmondAgitationSedationScale
protected
SEPupillaryResponse* biogears::SENervousSystem::m_RightEyePupillaryResponse
protected
CDM::enumSleepState::value biogears::SENervousSystem::m_SleepState
protected
SEScalarTime* biogears::SENervousSystem::m_SleepTime
protected
SEScalarTime* biogears::SENervousSystem::m_WakeTime
protected