SERespiratoryMechanics Class Reference

#include <SERespiratoryMechanics.h>

Inherits Loggable.

Public Member Functions

 SERespiratoryMechanics (Logger *logger)
 
virtual ~SERespiratoryMechanics ()
 
virtual void Clear ()
 
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 void Merge (const SERespiratoryMechanics &from)
 
virtual void ProcessConfiguration (SERespiratoryMechanicsConfiguration &config)
 
virtual bool HasActive () const
 
virtual eSwitch GetActive () const
 
virtual void SetActive (eSwitch s)
 
bool HasLeftComplianceCurve () const
 
SECurveGetLeftComplianceCurve ()
 
const SECurveGetLeftComplianceCurve () const
 
bool HasRightComplianceCurve () const
 
SECurveGetRightComplianceCurve ()
 
const SECurveGetRightComplianceCurve () 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, 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
 

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
eSwitch m_Active
 
SECurvem_LeftComplianceCurve
 
SECurvem_RightComplianceCurve
 
SEScalarPressureTimePerVolumem_LeftExpiratoryResistance
 
SEScalarPressureTimePerVolumem_LeftInspiratoryResistance
 
SEScalarPressureTimePerVolumem_RightExpiratoryResistance
 
SEScalarPressureTimePerVolumem_RightInspiratoryResistance
 
SEScalarPressureTimePerVolumem_UpperExpiratoryResistance
 
SEScalarPressureTimePerVolumem_UpperInspiratoryResistance
 
SEScalarPressurem_InspiratoryPeakPressure
 
SEScalarPressurem_ExpiratoryPeakPressure
 
SEScalarTimem_InspiratoryRiseTime
 
SEScalarTimem_InspiratoryHoldTime
 
SEScalarTimem_InspiratoryReleaseTime
 
SEScalarTimem_InspiratoryToExpiratoryPauseTime
 
SEScalarTimem_ExpiratoryRiseTime
 
SEScalarTimem_ExpiratoryHoldTime
 
SEScalarTimem_ExpiratoryReleaseTime
 
SEScalarTimem_ResidueTime
 
virtual const SEScalarGetScalar (const std::string &name)
 
virtual bool HasLeftExpiratoryResistance () const
 
virtual SEScalarPressureTimePerVolumeGetLeftExpiratoryResistance ()
 
virtual double GetLeftExpiratoryResistance (const PressureTimePerVolumeUnit &unit) const
 
virtual bool HasLeftInspiratoryResistance () const
 
virtual SEScalarPressureTimePerVolumeGetLeftInspiratoryResistance ()
 
virtual double GetLeftInspiratoryResistance (const PressureTimePerVolumeUnit &unit) const
 
virtual bool HasRightExpiratoryResistance () const
 
virtual SEScalarPressureTimePerVolumeGetRightExpiratoryResistance ()
 
virtual double GetRightExpiratoryResistance (const PressureTimePerVolumeUnit &unit) const
 
virtual bool HasRightInspiratoryResistance () const
 
virtual SEScalarPressureTimePerVolumeGetRightInspiratoryResistance ()
 
virtual double GetRightInspiratoryResistance (const PressureTimePerVolumeUnit &unit) const
 
virtual bool HasUpperExpiratoryResistance () const
 
virtual SEScalarPressureTimePerVolumeGetUpperExpiratoryResistance ()
 
virtual double GetUpperExpiratoryResistance (const PressureTimePerVolumeUnit &unit) const
 
virtual bool HasUpperInspiratoryResistance () const
 
virtual SEScalarPressureTimePerVolumeGetUpperInspiratoryResistance ()
 
virtual double GetUpperInspiratoryResistance (const PressureTimePerVolumeUnit &unit) const
 
virtual bool HasInspiratoryPeakPressure () const
 
virtual SEScalarPressureGetInspiratoryPeakPressure ()
 
virtual double GetInspiratoryPeakPressure (const PressureUnit &unit) const
 
virtual bool HasExpiratoryPeakPressure () const
 
virtual SEScalarPressureGetExpiratoryPeakPressure ()
 
virtual double GetExpiratoryPeakPressure (const PressureUnit &unit) const
 
virtual bool HasInspiratoryRiseTime () const
 
virtual SEScalarTimeGetInspiratoryRiseTime ()
 
virtual double GetInspiratoryRiseTime (const TimeUnit &unit) const
 
virtual bool HasInspiratoryHoldTime () const
 
virtual SEScalarTimeGetInspiratoryHoldTime ()
 
virtual double GetInspiratoryHoldTime (const TimeUnit &unit) const
 
virtual bool HasInspiratoryReleaseTime () const
 
virtual SEScalarTimeGetInspiratoryReleaseTime ()
 
virtual double GetInspiratoryReleaseTime (const TimeUnit &unit) const
 
virtual bool HasInspiratoryToExpiratoryPauseTime () const
 
virtual SEScalarTimeGetInspiratoryToExpiratoryPauseTime ()
 
virtual double GetInspiratoryToExpiratoryPauseTime (const TimeUnit &unit) const
 
virtual bool HasExpiratoryRiseTime () const
 
virtual SEScalarTimeGetExpiratoryRiseTime ()
 
virtual double GetExpiratoryRiseTime (const TimeUnit &unit) const
 
virtual bool HasExpiratoryHoldTime () const
 
virtual SEScalarTimeGetExpiratoryHoldTime ()
 
virtual double GetExpiratoryHoldTime (const TimeUnit &unit) const
 
virtual bool HasExpiratoryReleaseTime () const
 
virtual SEScalarTimeGetExpiratoryReleaseTime ()
 
virtual double GetExpiratoryReleaseTime (const TimeUnit &unit) const
 
virtual bool HasResidueTime () const
 
virtual SEScalarTimeGetResidueTime ()
 
virtual double GetResidueTime (const TimeUnit &unit) const
 
virtual std::string ToString () const
 
virtual void ToString (std::ostream &str) const
 

Additional Inherited Members

- Static Public Attributes inherited from Loggable
static const std::string empty
 
- Protected Attributes inherited from Loggable
bool myLogger
 
Loggerm_Logger
 

Constructor & Destructor Documentation

◆ SERespiratoryMechanics()

SERespiratoryMechanics::SERespiratoryMechanics ( Logger logger)

◆ ~SERespiratoryMechanics()

SERespiratoryMechanics::~SERespiratoryMechanics ( )
virtual

Member Function Documentation

◆ Clear()

void SERespiratoryMechanics::Clear ( )
virtual

◆ GetActive()

eSwitch SERespiratoryMechanics::GetActive ( ) const
virtual

◆ GetExpiratoryHoldTime() [1/2]

SEScalarTime & SERespiratoryMechanics::GetExpiratoryHoldTime ( )
virtual

◆ GetExpiratoryHoldTime() [2/2]

double SERespiratoryMechanics::GetExpiratoryHoldTime ( const TimeUnit unit) const
virtual

◆ GetExpiratoryPeakPressure() [1/2]

SEScalarPressure & SERespiratoryMechanics::GetExpiratoryPeakPressure ( )
virtual

◆ GetExpiratoryPeakPressure() [2/2]

double SERespiratoryMechanics::GetExpiratoryPeakPressure ( const PressureUnit unit) const
virtual

◆ GetExpiratoryReleaseTime() [1/2]

SEScalarTime & SERespiratoryMechanics::GetExpiratoryReleaseTime ( )
virtual

◆ GetExpiratoryReleaseTime() [2/2]

double SERespiratoryMechanics::GetExpiratoryReleaseTime ( const TimeUnit unit) const
virtual

◆ GetExpiratoryRiseTime() [1/2]

SEScalarTime & SERespiratoryMechanics::GetExpiratoryRiseTime ( )
virtual

◆ GetExpiratoryRiseTime() [2/2]

double SERespiratoryMechanics::GetExpiratoryRiseTime ( const TimeUnit unit) const
virtual

◆ GetInspiratoryHoldTime() [1/2]

SEScalarTime & SERespiratoryMechanics::GetInspiratoryHoldTime ( )
virtual

◆ GetInspiratoryHoldTime() [2/2]

double SERespiratoryMechanics::GetInspiratoryHoldTime ( const TimeUnit unit) const
virtual

◆ GetInspiratoryPeakPressure() [1/2]

SEScalarPressure & SERespiratoryMechanics::GetInspiratoryPeakPressure ( )
virtual

◆ GetInspiratoryPeakPressure() [2/2]

double SERespiratoryMechanics::GetInspiratoryPeakPressure ( const PressureUnit unit) const
virtual

◆ GetInspiratoryReleaseTime() [1/2]

SEScalarTime & SERespiratoryMechanics::GetInspiratoryReleaseTime ( )
virtual

◆ GetInspiratoryReleaseTime() [2/2]

double SERespiratoryMechanics::GetInspiratoryReleaseTime ( const TimeUnit unit) const
virtual

◆ GetInspiratoryRiseTime() [1/2]

SEScalarTime & SERespiratoryMechanics::GetInspiratoryRiseTime ( )
virtual

◆ GetInspiratoryRiseTime() [2/2]

double SERespiratoryMechanics::GetInspiratoryRiseTime ( const TimeUnit unit) const
virtual

◆ GetInspiratoryToExpiratoryPauseTime() [1/2]

SEScalarTime & SERespiratoryMechanics::GetInspiratoryToExpiratoryPauseTime ( )
virtual

◆ GetInspiratoryToExpiratoryPauseTime() [2/2]

double SERespiratoryMechanics::GetInspiratoryToExpiratoryPauseTime ( const TimeUnit unit) const
virtual

◆ GetLeftComplianceCurve() [1/2]

SECurve & SERespiratoryMechanics::GetLeftComplianceCurve ( )

◆ GetLeftComplianceCurve() [2/2]

const SECurve * SERespiratoryMechanics::GetLeftComplianceCurve ( ) const

◆ GetLeftExpiratoryResistance() [1/2]

SEScalarPressureTimePerVolume & SERespiratoryMechanics::GetLeftExpiratoryResistance ( )
virtual

◆ GetLeftExpiratoryResistance() [2/2]

double SERespiratoryMechanics::GetLeftExpiratoryResistance ( const PressureTimePerVolumeUnit unit) const
virtual

◆ GetLeftInspiratoryResistance() [1/2]

SEScalarPressureTimePerVolume & SERespiratoryMechanics::GetLeftInspiratoryResistance ( )
virtual

◆ GetLeftInspiratoryResistance() [2/2]

double SERespiratoryMechanics::GetLeftInspiratoryResistance ( const PressureTimePerVolumeUnit unit) const
virtual

◆ GetResidueTime() [1/2]

SEScalarTime & SERespiratoryMechanics::GetResidueTime ( )
virtual

◆ GetResidueTime() [2/2]

double SERespiratoryMechanics::GetResidueTime ( const TimeUnit unit) const
virtual

◆ GetRightComplianceCurve() [1/2]

SECurve & SERespiratoryMechanics::GetRightComplianceCurve ( )

◆ GetRightComplianceCurve() [2/2]

const SECurve * SERespiratoryMechanics::GetRightComplianceCurve ( ) const

◆ GetRightExpiratoryResistance() [1/2]

SEScalarPressureTimePerVolume & SERespiratoryMechanics::GetRightExpiratoryResistance ( )
virtual

◆ GetRightExpiratoryResistance() [2/2]

double SERespiratoryMechanics::GetRightExpiratoryResistance ( const PressureTimePerVolumeUnit unit) const
virtual

◆ GetRightInspiratoryResistance() [1/2]

SEScalarPressureTimePerVolume & SERespiratoryMechanics::GetRightInspiratoryResistance ( )
virtual

◆ GetRightInspiratoryResistance() [2/2]

double SERespiratoryMechanics::GetRightInspiratoryResistance ( const PressureTimePerVolumeUnit unit) const
virtual

◆ GetScalar()

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

◆ GetUpperExpiratoryResistance() [1/2]

SEScalarPressureTimePerVolume & SERespiratoryMechanics::GetUpperExpiratoryResistance ( )
virtual

◆ GetUpperExpiratoryResistance() [2/2]

double SERespiratoryMechanics::GetUpperExpiratoryResistance ( const PressureTimePerVolumeUnit unit) const
virtual

◆ GetUpperInspiratoryResistance() [1/2]

SEScalarPressureTimePerVolume & SERespiratoryMechanics::GetUpperInspiratoryResistance ( )
virtual

◆ GetUpperInspiratoryResistance() [2/2]

double SERespiratoryMechanics::GetUpperInspiratoryResistance ( const PressureTimePerVolumeUnit unit) const
virtual

◆ HasActive()

bool SERespiratoryMechanics::HasActive ( ) const
virtual

◆ HasExpiratoryHoldTime()

bool SERespiratoryMechanics::HasExpiratoryHoldTime ( ) const
virtual

◆ HasExpiratoryPeakPressure()

bool SERespiratoryMechanics::HasExpiratoryPeakPressure ( ) const
virtual

◆ HasExpiratoryReleaseTime()

bool SERespiratoryMechanics::HasExpiratoryReleaseTime ( ) const
virtual

◆ HasExpiratoryRiseTime()

bool SERespiratoryMechanics::HasExpiratoryRiseTime ( ) const
virtual

◆ HasInspiratoryHoldTime()

bool SERespiratoryMechanics::HasInspiratoryHoldTime ( ) const
virtual

◆ HasInspiratoryPeakPressure()

bool SERespiratoryMechanics::HasInspiratoryPeakPressure ( ) const
virtual

◆ HasInspiratoryReleaseTime()

bool SERespiratoryMechanics::HasInspiratoryReleaseTime ( ) const
virtual

◆ HasInspiratoryRiseTime()

bool SERespiratoryMechanics::HasInspiratoryRiseTime ( ) const
virtual

◆ HasInspiratoryToExpiratoryPauseTime()

bool SERespiratoryMechanics::HasInspiratoryToExpiratoryPauseTime ( ) const
virtual

◆ HasLeftComplianceCurve()

bool SERespiratoryMechanics::HasLeftComplianceCurve ( ) const

◆ HasLeftExpiratoryResistance()

bool SERespiratoryMechanics::HasLeftExpiratoryResistance ( ) const
virtual

◆ HasLeftInspiratoryResistance()

bool SERespiratoryMechanics::HasLeftInspiratoryResistance ( ) const
virtual

◆ HasResidueTime()

bool SERespiratoryMechanics::HasResidueTime ( ) const
virtual

◆ HasRightComplianceCurve()

bool SERespiratoryMechanics::HasRightComplianceCurve ( ) const

◆ HasRightExpiratoryResistance()

bool SERespiratoryMechanics::HasRightExpiratoryResistance ( ) const
virtual

◆ HasRightInspiratoryResistance()

bool SERespiratoryMechanics::HasRightInspiratoryResistance ( ) const
virtual

◆ HasUpperExpiratoryResistance()

bool SERespiratoryMechanics::HasUpperExpiratoryResistance ( ) const
virtual

◆ HasUpperInspiratoryResistance()

bool SERespiratoryMechanics::HasUpperInspiratoryResistance ( ) const
virtual

◆ Merge()

void SERespiratoryMechanics::Merge ( const SERespiratoryMechanics from)
virtual

◆ ProcessConfiguration()

void SERespiratoryMechanics::ProcessConfiguration ( SERespiratoryMechanicsConfiguration config)
virtual

◆ SerializeFromFile()

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

◆ SerializeFromString()

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

◆ SerializeToFile()

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

◆ SerializeToString()

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

◆ SetActive()

void SERespiratoryMechanics::SetActive ( eSwitch  s)
virtual

◆ ToString() [1/2]

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

◆ ToString() [2/2]

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

Friends And Related Function Documentation

◆ PBPhysiology

friend class PBPhysiology
friend

Member Data Documentation

◆ m_Active

eSwitch SERespiratoryMechanics::m_Active
protected

◆ m_ExpiratoryHoldTime

SEScalarTime* SERespiratoryMechanics::m_ExpiratoryHoldTime
protected

◆ m_ExpiratoryPeakPressure

SEScalarPressure* SERespiratoryMechanics::m_ExpiratoryPeakPressure
protected

◆ m_ExpiratoryReleaseTime

SEScalarTime* SERespiratoryMechanics::m_ExpiratoryReleaseTime
protected

◆ m_ExpiratoryRiseTime

SEScalarTime* SERespiratoryMechanics::m_ExpiratoryRiseTime
protected

◆ m_InspiratoryHoldTime

SEScalarTime* SERespiratoryMechanics::m_InspiratoryHoldTime
protected

◆ m_InspiratoryPeakPressure

SEScalarPressure* SERespiratoryMechanics::m_InspiratoryPeakPressure
protected

◆ m_InspiratoryReleaseTime

SEScalarTime* SERespiratoryMechanics::m_InspiratoryReleaseTime
protected

◆ m_InspiratoryRiseTime

SEScalarTime* SERespiratoryMechanics::m_InspiratoryRiseTime
protected

◆ m_InspiratoryToExpiratoryPauseTime

SEScalarTime* SERespiratoryMechanics::m_InspiratoryToExpiratoryPauseTime
protected

◆ m_LeftComplianceCurve

SECurve* SERespiratoryMechanics::m_LeftComplianceCurve
protected

◆ m_LeftExpiratoryResistance

SEScalarPressureTimePerVolume* SERespiratoryMechanics::m_LeftExpiratoryResistance
protected

◆ m_LeftInspiratoryResistance

SEScalarPressureTimePerVolume* SERespiratoryMechanics::m_LeftInspiratoryResistance
protected

◆ m_ResidueTime

SEScalarTime* SERespiratoryMechanics::m_ResidueTime
protected

◆ m_RightComplianceCurve

SECurve* SERespiratoryMechanics::m_RightComplianceCurve
protected

◆ m_RightExpiratoryResistance

SEScalarPressureTimePerVolume* SERespiratoryMechanics::m_RightExpiratoryResistance
protected

◆ m_RightInspiratoryResistance

SEScalarPressureTimePerVolume* SERespiratoryMechanics::m_RightInspiratoryResistance
protected

◆ m_UpperExpiratoryResistance

SEScalarPressureTimePerVolume* SERespiratoryMechanics::m_UpperExpiratoryResistance
protected

◆ m_UpperInspiratoryResistance

SEScalarPressureTimePerVolume* SERespiratoryMechanics::m_UpperInspiratoryResistance
protected

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.