Pulse adds COVID-19 Simulation Support
×
PulseDrugSystem Class Referenceabstract

#include <PulsePhysiologySystems.h>

Inherits SEDrugSystem, and PulseSystem.

Inherited by Drugs.

Public Member Functions

 PulseDrugSystem (Logger *logger)
 
virtual ~PulseDrugSystem ()=default
 
virtual const SEScalarGetScalar (const std::string &name) override
 
virtual void ComputeExposedModelParameters ()=0
 
- Public Member Functions inherited from SEDrugSystem
 SEDrugSystem (Logger *logger)
 
virtual ~SEDrugSystem ()
 
virtual void Clear ()
 
virtual bool HasBronchodilationLevel () const
 
virtual SEScalarNegative1To1GetBronchodilationLevel ()
 
virtual double GetBronchodilationLevel () const
 
virtual bool HasHeartRateChange () const
 
virtual SEScalarFrequencyGetHeartRateChange ()
 
virtual double GetHeartRateChange (const FrequencyUnit &unit) const
 
virtual bool HasMeanBloodPressureChange () const
 
virtual SEScalarPressureGetMeanBloodPressureChange ()
 
virtual double GetMeanBloodPressureChange (const PressureUnit &unit) const
 
virtual bool HasNeuromuscularBlockLevel () const
 
virtual SEScalar0To1GetNeuromuscularBlockLevel ()
 
virtual double GetNeuromuscularBlockLevel () const
 
virtual bool HasPulsePressureChange () const
 
virtual SEScalarPressureGetPulsePressureChange ()
 
virtual double GetPulsePressureChange (const PressureUnit &unit) const
 
virtual bool HasPupillaryResponse () const
 
virtual SEPupillaryResponseGetPupillaryResponse ()
 
virtual const SEPupillaryResponseGetPupillaryResponse () const
 
virtual void RemovePupillaryResponse ()
 
virtual bool HasRespirationRateChange () const
 
virtual SEScalarFrequencyGetRespirationRateChange ()
 
virtual double GetRespirationRateChange (const FrequencyUnit &unit) const
 
virtual bool HasSedationLevel () const
 
virtual SEScalar0To1GetSedationLevel ()
 
virtual double GetSedationLevel () const
 
virtual bool HasTidalVolumeChange () const
 
virtual SEScalarVolumeGetTidalVolumeChange ()
 
virtual double GetTidalVolumeChange (const VolumeUnit &unit) const
 
virtual bool HasTubularPermeabilityChange () const
 
virtual SEScalarNegative1To1GetTubularPermeabilityChange ()
 
virtual double GetTubularPermeabilityChange () const
 
- Public Member Functions inherited from SESystem
 SESystem (Logger *logger)
 
virtual ~SESystem ()
 
- Public Member Functions inherited from Loggable
 Loggable (Logger *logger=nullptr)
 
 Loggable (std::string const &logfile)
 
virtual ~Loggable ()
 
virtual LoggerGetLogger () const
 
virtual void SetLogger (Logger &logger)
 
virtual void Debug (std::string const &msg, std::string const &origin=empty) const
 
virtual void Debug (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Debug (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Info (std::string const &msg, std::string const &origin=empty) const
 
virtual void Info (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Info (const std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Info (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Warning (std::string const &msg, std::string const &origin=empty) const
 
virtual void Warning (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Warning (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Error (std::string const &msg, std::string const &origin=empty) const
 
virtual void Error (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Error (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Fatal (std::string const &msg, std::string const &origin=empty) const
 
virtual void Fatal (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Fatal (std::ostream &msg, std::string const &origin=empty) const
 
std::string to_string (int i)
 
std::string to_string (unsigned int i)
 
std::string to_string (size_t t)
 
std::string to_string (float f)
 
std::string to_string (double d)
 

Additional Inherited Members

- Static Public Member Functions inherited from SESystem
static const SEScalarGetScalar (const std::string &name, std::vector< SESystem *> *systems)
 
- Static Public Attributes inherited from Loggable
static const std::string empty
 
- Protected Member Functions inherited from PulseSystem
virtual void Initialize ()
 
  • Default system values to their homeostatic values
More...
 
virtual void SetUp ()=0
 
virtual void AtSteadyState ()=0
 Notify systems that steady state has been achieved. More...
 
virtual void PreProcess ()=0
 
virtual void Process (bool solve_and_transport=true)=0
 
virtual void PostProcess (bool solve_and_transport=true)=0
 
- Protected Attributes inherited from SEDrugSystem
SEScalarNegative1To1m_BronchodilationLevel
 
SEScalarFrequencym_HeartRateChange
 
SEScalarPressurem_MeanBloodPressureChange
 
SEScalar0To1m_NeuromuscularBlockLevel
 
SEScalarPressurem_PulsePressureChange
 
SEPupillaryResponsem_PupillaryResponse
 
SEScalarFrequencym_RespirationRateChange
 
SEScalar0To1m_SedationLevel
 
SEScalarVolumem_TidalVolumeChange
 
SEScalarNegative1To1m_TubularPermeabilityChange
 
- Protected Attributes inherited from SESystem
std::stringstream m_ss
 
- Protected Attributes inherited from Loggable
bool myLogger
 
Loggerm_Logger
 

Constructor & Destructor Documentation

◆ PulseDrugSystem()

PulseDrugSystem::PulseDrugSystem ( Logger logger)
inline

◆ ~PulseDrugSystem()

virtual PulseDrugSystem::~PulseDrugSystem ( )
virtualdefault

Member Function Documentation

◆ ComputeExposedModelParameters()

virtual void PulseDrugSystem::ComputeExposedModelParameters ( )
pure virtual

Implemented in Drugs.

◆ GetScalar()

virtual const SEScalar* PulseDrugSystem::GetScalar ( const std::string &  name)
inlineoverridevirtual

Reimplemented from SEDrugSystem.

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.