Pulse adds COVID-19 Simulation Support
×
PulseInhaler Class Referenceabstract

#include <PulsePhysiologySystems.h>

Inherits SEInhaler, and PulseSystem.

Inherited by Inhaler.

Public Member Functions

 PulseInhaler (Logger *logger)
 
virtual ~PulseInhaler ()=default
 
virtual const SEScalarGetScalar (const std::string &name) override
 
virtual void ComputeExposedModelParameters ()=0
 
- Public Member Functions inherited from SEInhaler
 SEInhaler (Logger *logger)
 
virtual ~SEInhaler ()
 
virtual void Clear ()
 
bool SerializeToString (std::string &output, SerializationFormat m) const
 
bool SerializeToFile (const std::string &filename) const
 
bool SerializeFromString (const std::string &src, SerializationFormat m, const SESubstanceManager &subMgr)
 
bool SerializeFromFile (const std::string &filename, const SESubstanceManager &subMgr)
 
virtual eSwitch GetState () const
 
virtual void SetState (eSwitch name)
 
virtual bool HasMeteredDose () const
 
virtual SEScalarMassGetMeteredDose ()
 
virtual double GetMeteredDose (const MassUnit &unit) const
 
virtual bool HasNozzleLoss () const
 
virtual SEScalar0To1GetNozzleLoss ()
 
virtual double GetNozzleLoss () const
 
virtual bool HasSpacerVolume () const
 
virtual SEScalarVolumeGetSpacerVolume ()
 
virtual double GetSpacerVolume (const VolumeUnit &unit) const
 
virtual bool HasSubstance () const
 
virtual void SetSubstance (const SESubstance *sub)
 
virtual SESubstanceGetSubstance () const
 
- Public Member Functions inherited from SEEquipment
 SEEquipment (Logger *logger)
 
virtual ~SEEquipment ()
 
- 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 SEInhaler
virtual void StateChange ()
 
virtual void Merge (const SEInhaler &from, SESubstanceManager &subMgr)
 
virtual void ProcessConfiguration (SEInhalerConfiguration &config, SESubstanceManager &subMgr)
 
- 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 SEInhaler
eSwitch m_State
 
SEScalarMassm_MeteredDose
 
SEScalar0To1m_NozzleLoss
 
SEScalarVolumem_SpacerVolume
 
const SESubstancem_Substance
 
- Protected Attributes inherited from SESystem
std::stringstream m_ss
 
- Protected Attributes inherited from Loggable
bool myLogger
 
Loggerm_Logger
 

Constructor & Destructor Documentation

◆ PulseInhaler()

PulseInhaler::PulseInhaler ( Logger logger)
inline

◆ ~PulseInhaler()

virtual PulseInhaler::~PulseInhaler ( )
virtualdefault

Member Function Documentation

◆ ComputeExposedModelParameters()

virtual void PulseInhaler::ComputeExposedModelParameters ( )
pure virtual

Implemented in Inhaler.

◆ GetScalar()

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

Reimplemented from SEInhaler.

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.