SERespiratoryMechanicsModifiers Class Reference

#include <SERespiratoryMechanicsModifiers.h>

Inherits Loggable.

Public Member Functions

 SERespiratoryMechanicsModifiers (Logger *logger)
 
virtual ~SERespiratoryMechanicsModifiers ()
 
virtual void Clear ()
 
virtual void Activate ()
 
virtual bool IsActive () const
 
- 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) const
 
virtual void Debug (std::stringstream &msg) const
 
virtual void Debug (std::ostream &msg) const
 
virtual void Info (std::string const &msg) const
 
virtual void Info (std::stringstream &msg) const
 
virtual void Info (const std::stringstream &msg) const
 
virtual void Info (std::ostream &msg) const
 
virtual void Warning (std::string const &msg) const
 
virtual void Warning (std::stringstream &msg) const
 
virtual void Warning (std::ostream &msg) const
 
virtual void Error (std::string const &msg) const
 
virtual void Error (std::stringstream &msg) const
 
virtual void Error (std::ostream &msg) const
 
virtual void Fatal (std::string const &msg) const
 
virtual void Fatal (std::stringstream &msg) const
 
virtual void Fatal (std::ostream &msg) const
 

Friends

class PBPhysiology
 

GetScalar

  • A reflextion type call that will return the Scalar associated with the string. ex. GetScalar("Hematocrit") will return the SEScalarPercent object associated with Hematocrit
    • Note this is an expensive call as it will string compare many times This is best used, and intended for, you to dynamically prepopulate a mapping data structure that will help access what you need
SEScalarUnsignedm_LeftComplianceMultiplier
 
SEScalarUnsignedm_RightComplianceMultiplier
 
SEScalarUnsignedm_LeftExpiratoryResistanceMultiplier
 
SEScalarUnsignedm_LeftInspiratoryResistanceMultiplier
 
SEScalarUnsignedm_RightExpiratoryResistanceMultiplier
 
SEScalarUnsignedm_RightInspiratoryResistanceMultiplier
 
SEScalarUnsignedm_UpperExpiratoryResistanceMultiplier
 
SEScalarUnsignedm_UpperInspiratoryResistanceMultiplier
 
SEScalarUnsignedm_RespirationRateMultiplier
 
SEScalarUnsignedm_TidalVolumeMultiplier
 
LungVolumeIncrementMap m_VolumeIncrements
 
virtual const SEScalarGetScalar (const std::string &name)
 
bool SerializeToString (std::string &output, eSerializationFormat m) const
 
bool SerializeToFile (const std::string &filename) const
 
bool SerializeFromString (const std::string &src, eSerializationFormat m)
 
bool SerializeFromFile (const std::string &filename)
 
virtual bool HasLeftComplianceMultiplier () const
 
virtual SEScalarUnsignedGetLeftComplianceMultiplier ()
 
virtual double GetLeftComplianceMultiplier () const
 
virtual bool HasRightComplianceMultiplier () const
 
virtual SEScalarUnsignedGetRightComplianceMultiplier ()
 
virtual double GetRightComplianceMultiplier () const
 
virtual bool HasLeftExpiratoryResistanceMultiplier () const
 
virtual SEScalarUnsignedGetLeftExpiratoryResistanceMultiplier ()
 
virtual double GetLeftExpiratoryResistanceMultiplier () const
 
virtual bool HasLeftInspiratoryResistanceMultiplier () const
 
virtual SEScalarUnsignedGetLeftInspiratoryResistanceMultiplier ()
 
virtual double GetLeftInspiratoryResistanceMultiplier () const
 
virtual bool HasRightExpiratoryResistanceMultiplier () const
 
virtual SEScalarUnsignedGetRightExpiratoryResistanceMultiplier ()
 
virtual double GetRightExpiratoryResistanceMultiplier () const
 
virtual bool HasRightInspiratoryResistanceMultiplier () const
 
virtual SEScalarUnsignedGetRightInspiratoryResistanceMultiplier ()
 
virtual double GetRightInspiratoryResistanceMultiplier () const
 
virtual bool HasUpperExpiratoryResistanceMultiplier () const
 
virtual SEScalarUnsignedGetUpperExpiratoryResistanceMultiplier ()
 
virtual double GetUpperExpiratoryResistanceMultiplier () const
 
virtual bool HasUpperInspiratoryResistanceMultiplier () const
 
virtual SEScalarUnsignedGetUpperInspiratoryResistanceMultiplier ()
 
virtual double GetUpperInspiratoryResistanceMultiplier () const
 
virtual bool HasRespirationRateMultiplier () const
 
virtual SEScalarUnsignedGetRespirationRateMultiplier ()
 
virtual double GetRespirationRateMultiplier () const
 
virtual bool HasTidalVolumeMultiplier () const
 
virtual SEScalarUnsignedGetTidalVolumeMultiplier ()
 
virtual double GetTidalVolumeMultiplier () const
 
virtual bool HasLungVolumeIncrement () const
 
virtual LungVolumeIncrementMap & GetLungVolumeIncrements ()
 
virtual const LungVolumeIncrementMap & GetLungVolumeIncrements () const
 
virtual bool HasLungVolumeIncrement (eLungCompartment cmpt) const
 
virtual SEScalarVolumeGetLungVolumeIncrement (eLungCompartment cmpt)
 
virtual double GetLungVolumeIncrement (eLungCompartment cmpt, const VolumeUnit &unit) const
 
virtual std::string ToString () const
 
virtual void ToString (std::ostream &str) const
 

Additional Inherited Members

- Protected Attributes inherited from Loggable
bool myLogger
 
Loggerm_Logger
 

Constructor & Destructor Documentation

◆ SERespiratoryMechanicsModifiers()

SERespiratoryMechanicsModifiers::SERespiratoryMechanicsModifiers ( Logger logger)

◆ ~SERespiratoryMechanicsModifiers()

SERespiratoryMechanicsModifiers::~SERespiratoryMechanicsModifiers ( )
virtual

Member Function Documentation

◆ Activate()

void SERespiratoryMechanicsModifiers::Activate ( )
virtual

◆ Clear()

void SERespiratoryMechanicsModifiers::Clear ( )
virtual

◆ GetLeftComplianceMultiplier() [1/2]

SEScalarUnsigned & SERespiratoryMechanicsModifiers::GetLeftComplianceMultiplier ( )
virtual

◆ GetLeftComplianceMultiplier() [2/2]

double SERespiratoryMechanicsModifiers::GetLeftComplianceMultiplier ( ) const
virtual

◆ GetLeftExpiratoryResistanceMultiplier() [1/2]

SEScalarUnsigned & SERespiratoryMechanicsModifiers::GetLeftExpiratoryResistanceMultiplier ( )
virtual

◆ GetLeftExpiratoryResistanceMultiplier() [2/2]

double SERespiratoryMechanicsModifiers::GetLeftExpiratoryResistanceMultiplier ( ) const
virtual

◆ GetLeftInspiratoryResistanceMultiplier() [1/2]

SEScalarUnsigned & SERespiratoryMechanicsModifiers::GetLeftInspiratoryResistanceMultiplier ( )
virtual

◆ GetLeftInspiratoryResistanceMultiplier() [2/2]

double SERespiratoryMechanicsModifiers::GetLeftInspiratoryResistanceMultiplier ( ) const
virtual

◆ GetLungVolumeIncrement() [1/2]

SEScalarVolume & SERespiratoryMechanicsModifiers::GetLungVolumeIncrement ( eLungCompartment  cmpt)
virtual

◆ GetLungVolumeIncrement() [2/2]

double SERespiratoryMechanicsModifiers::GetLungVolumeIncrement ( eLungCompartment  cmpt,
const VolumeUnit unit 
) const
virtual

◆ GetLungVolumeIncrements() [1/2]

LungVolumeIncrementMap & SERespiratoryMechanicsModifiers::GetLungVolumeIncrements ( )
virtual

◆ GetLungVolumeIncrements() [2/2]

const LungVolumeIncrementMap & SERespiratoryMechanicsModifiers::GetLungVolumeIncrements ( ) const
virtual

◆ GetRespirationRateMultiplier() [1/2]

SEScalarUnsigned & SERespiratoryMechanicsModifiers::GetRespirationRateMultiplier ( )
virtual

◆ GetRespirationRateMultiplier() [2/2]

double SERespiratoryMechanicsModifiers::GetRespirationRateMultiplier ( ) const
virtual

◆ GetRightComplianceMultiplier() [1/2]

SEScalarUnsigned & SERespiratoryMechanicsModifiers::GetRightComplianceMultiplier ( )
virtual

◆ GetRightComplianceMultiplier() [2/2]

double SERespiratoryMechanicsModifiers::GetRightComplianceMultiplier ( ) const
virtual

◆ GetRightExpiratoryResistanceMultiplier() [1/2]

SEScalarUnsigned & SERespiratoryMechanicsModifiers::GetRightExpiratoryResistanceMultiplier ( )
virtual

◆ GetRightExpiratoryResistanceMultiplier() [2/2]

double SERespiratoryMechanicsModifiers::GetRightExpiratoryResistanceMultiplier ( ) const
virtual

◆ GetRightInspiratoryResistanceMultiplier() [1/2]

SEScalarUnsigned & SERespiratoryMechanicsModifiers::GetRightInspiratoryResistanceMultiplier ( )
virtual

◆ GetRightInspiratoryResistanceMultiplier() [2/2]

double SERespiratoryMechanicsModifiers::GetRightInspiratoryResistanceMultiplier ( ) const
virtual

◆ GetScalar()

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

◆ GetTidalVolumeMultiplier() [1/2]

SEScalarUnsigned & SERespiratoryMechanicsModifiers::GetTidalVolumeMultiplier ( )
virtual

◆ GetTidalVolumeMultiplier() [2/2]

double SERespiratoryMechanicsModifiers::GetTidalVolumeMultiplier ( ) const
virtual

◆ GetUpperExpiratoryResistanceMultiplier() [1/2]

SEScalarUnsigned & SERespiratoryMechanicsModifiers::GetUpperExpiratoryResistanceMultiplier ( )
virtual

◆ GetUpperExpiratoryResistanceMultiplier() [2/2]

double SERespiratoryMechanicsModifiers::GetUpperExpiratoryResistanceMultiplier ( ) const
virtual

◆ GetUpperInspiratoryResistanceMultiplier() [1/2]

SEScalarUnsigned & SERespiratoryMechanicsModifiers::GetUpperInspiratoryResistanceMultiplier ( )
virtual

◆ GetUpperInspiratoryResistanceMultiplier() [2/2]

double SERespiratoryMechanicsModifiers::GetUpperInspiratoryResistanceMultiplier ( ) const
virtual

◆ HasLeftComplianceMultiplier()

bool SERespiratoryMechanicsModifiers::HasLeftComplianceMultiplier ( ) const
virtual

◆ HasLeftExpiratoryResistanceMultiplier()

bool SERespiratoryMechanicsModifiers::HasLeftExpiratoryResistanceMultiplier ( ) const
virtual

◆ HasLeftInspiratoryResistanceMultiplier()

bool SERespiratoryMechanicsModifiers::HasLeftInspiratoryResistanceMultiplier ( ) const
virtual

◆ HasLungVolumeIncrement() [1/2]

bool SERespiratoryMechanicsModifiers::HasLungVolumeIncrement ( ) const
virtual

◆ HasLungVolumeIncrement() [2/2]

bool SERespiratoryMechanicsModifiers::HasLungVolumeIncrement ( eLungCompartment  cmpt) const
virtual

◆ HasRespirationRateMultiplier()

bool SERespiratoryMechanicsModifiers::HasRespirationRateMultiplier ( ) const
virtual

◆ HasRightComplianceMultiplier()

bool SERespiratoryMechanicsModifiers::HasRightComplianceMultiplier ( ) const
virtual

◆ HasRightExpiratoryResistanceMultiplier()

bool SERespiratoryMechanicsModifiers::HasRightExpiratoryResistanceMultiplier ( ) const
virtual

◆ HasRightInspiratoryResistanceMultiplier()

bool SERespiratoryMechanicsModifiers::HasRightInspiratoryResistanceMultiplier ( ) const
virtual

◆ HasTidalVolumeMultiplier()

bool SERespiratoryMechanicsModifiers::HasTidalVolumeMultiplier ( ) const
virtual

◆ HasUpperExpiratoryResistanceMultiplier()

bool SERespiratoryMechanicsModifiers::HasUpperExpiratoryResistanceMultiplier ( ) const
virtual

◆ HasUpperInspiratoryResistanceMultiplier()

bool SERespiratoryMechanicsModifiers::HasUpperInspiratoryResistanceMultiplier ( ) const
virtual

◆ IsActive()

bool SERespiratoryMechanicsModifiers::IsActive ( ) const
virtual

◆ SerializeFromFile()

bool SERespiratoryMechanicsModifiers::SerializeFromFile ( const std::string &  filename)

◆ SerializeFromString()

bool SERespiratoryMechanicsModifiers::SerializeFromString ( const std::string &  src,
eSerializationFormat  m 
)

◆ SerializeToFile()

bool SERespiratoryMechanicsModifiers::SerializeToFile ( const std::string &  filename) const

◆ SerializeToString()

bool SERespiratoryMechanicsModifiers::SerializeToString ( std::string &  output,
eSerializationFormat  m 
) const

◆ ToString() [1/2]

std::string SERespiratoryMechanicsModifiers::ToString ( ) const
virtual

◆ ToString() [2/2]

void SERespiratoryMechanicsModifiers::ToString ( std::ostream &  str) const
virtual

Friends And Related Function Documentation

◆ PBPhysiology

friend class PBPhysiology
friend

Member Data Documentation

◆ m_LeftComplianceMultiplier

SEScalarUnsigned* SERespiratoryMechanicsModifiers::m_LeftComplianceMultiplier
protected

◆ m_LeftExpiratoryResistanceMultiplier

SEScalarUnsigned* SERespiratoryMechanicsModifiers::m_LeftExpiratoryResistanceMultiplier
protected

◆ m_LeftInspiratoryResistanceMultiplier

SEScalarUnsigned* SERespiratoryMechanicsModifiers::m_LeftInspiratoryResistanceMultiplier
protected

◆ m_RespirationRateMultiplier

SEScalarUnsigned* SERespiratoryMechanicsModifiers::m_RespirationRateMultiplier
protected

◆ m_RightComplianceMultiplier

SEScalarUnsigned* SERespiratoryMechanicsModifiers::m_RightComplianceMultiplier
protected

◆ m_RightExpiratoryResistanceMultiplier

SEScalarUnsigned* SERespiratoryMechanicsModifiers::m_RightExpiratoryResistanceMultiplier
protected

◆ m_RightInspiratoryResistanceMultiplier

SEScalarUnsigned* SERespiratoryMechanicsModifiers::m_RightInspiratoryResistanceMultiplier
protected

◆ m_TidalVolumeMultiplier

SEScalarUnsigned* SERespiratoryMechanicsModifiers::m_TidalVolumeMultiplier
protected

◆ m_UpperExpiratoryResistanceMultiplier

SEScalarUnsigned* SERespiratoryMechanicsModifiers::m_UpperExpiratoryResistanceMultiplier
protected

◆ m_UpperInspiratoryResistanceMultiplier

SEScalarUnsigned* SERespiratoryMechanicsModifiers::m_UpperInspiratoryResistanceMultiplier
protected

◆ m_VolumeIncrements

LungVolumeIncrementMap SERespiratoryMechanicsModifiers::m_VolumeIncrements
protected

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.