SEMechanicalVentilatorContinuousPositiveAirwayPressure Class Reference

#include <SEMechanicalVentilatorContinuousPositiveAirwayPressure.h>

Inherits SEMechanicalVentilatorMode.

Public Member Functions

 SEMechanicalVentilatorContinuousPositiveAirwayPressure (Logger *logger=nullptr)
 
virtual ~SEMechanicalVentilatorContinuousPositiveAirwayPressure ()
 
virtual void Clear ()
 
virtual void Copy (const SEMechanicalVentilatorContinuousPositiveAirwayPressure &src, bool=false)
 
virtual bool ToSettings (SEMechanicalVentilatorSettings &s, const SESubstanceManager &subMgr) override
 
virtual bool IsValid () const
 
virtual bool IsActive () const
 
virtual void Deactivate ()
 
virtual bool HasDeltaPressureSupport () const
 
virtual SEScalarPressureGetDeltaPressureSupport ()
 
virtual double GetDeltaPressureSupport (const PressureUnit &unit) const
 
virtual bool HasFractionInspiredOxygen () const
 
virtual SEScalar0To1GetFractionInspiredOxygen ()
 
virtual double GetFractionInspiredOxygen () const
 
virtual bool HasPositiveEndExpiredPressure () const
 
virtual SEScalarPressureGetPositiveEndExpiredPressure ()
 
virtual double GetPositiveEndExpiredPressure (const PressureUnit &unit) const
 
virtual bool HasSlope () const
 
virtual SEScalarTimeGetSlope ()
 
virtual double GetSlope (const TimeUnit &unit) const
 
virtual void ToString (std::ostream &str) const
 
virtual const SEScalarGetScalar (const std::string &name)
 
- Public Member Functions inherited from SEMechanicalVentilatorMode
 SEMechanicalVentilatorMode (Logger *logger)
 
virtual ~SEMechanicalVentilatorMode ()
 
virtual eSwitch GetConnection () const
 
virtual void SetConnection (eSwitch c)
 
- Public Member Functions inherited from SEMechanicalVentilatorAction
 SEMechanicalVentilatorAction (Logger *logger)
 
virtual ~SEMechanicalVentilatorAction ()
 
- Public Member Functions inherited from SEEquipmentAction
 SEEquipmentAction (Logger *logger)
 
virtual ~SEEquipmentAction ()
 
- Public Member Functions inherited from SEAction
 SEAction (Logger *logger)
 
virtual ~SEAction ()
 
 SEAction (const SEAction &)=delete
 
SEActionoperator= (const SEAction &)=delete
 
virtual void Activate ()
 
virtual std::string GetComment () const
 
virtual void SetComment (const std::string &comment)
 
virtual bool HasComment () const
 
virtual void InvalidateComment ()
 
- 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
 

Protected Attributes

SEScalarPressurem_DeltaPressureSupport
 
SEScalar0To1m_FractionInspiredOxygen
 
SEScalarPressurem_PositiveEndExpiredPressure
 
SEScalarTimem_Slope
 
- Protected Attributes inherited from SEMechanicalVentilatorMode
eSwitch m_Connection
 
- Protected Attributes inherited from SEAction
bool m_Active = true
 
std::string m_Comment
 
- Protected Attributes inherited from Loggable
bool myLogger
 
Loggerm_Logger
 

Friends

class PBEquipmentAction
 

Additional Inherited Members

- Static Public Member Functions inherited from SEAction
static SEActionCopy (const SEAction &, const SESubstanceManager &)
 
- Static Public Attributes inherited from Loggable
static const std::string empty
 

Constructor & Destructor Documentation

◆ SEMechanicalVentilatorContinuousPositiveAirwayPressure()

SEMechanicalVentilatorContinuousPositiveAirwayPressure::SEMechanicalVentilatorContinuousPositiveAirwayPressure ( Logger logger = nullptr)

◆ ~SEMechanicalVentilatorContinuousPositiveAirwayPressure()

SEMechanicalVentilatorContinuousPositiveAirwayPressure::~SEMechanicalVentilatorContinuousPositiveAirwayPressure ( )
virtual

Member Function Documentation

◆ Clear()

void SEMechanicalVentilatorContinuousPositiveAirwayPressure::Clear ( )
virtual

Reimplemented from SEMechanicalVentilatorMode.

◆ Copy()

void SEMechanicalVentilatorContinuousPositiveAirwayPressure::Copy ( const SEMechanicalVentilatorContinuousPositiveAirwayPressure src,
bool  = false 
)
virtual

◆ Deactivate()

void SEMechanicalVentilatorContinuousPositiveAirwayPressure::Deactivate ( )
virtual

Reimplemented from SEAction.

◆ GetDeltaPressureSupport() [1/2]

SEScalarPressure & SEMechanicalVentilatorContinuousPositiveAirwayPressure::GetDeltaPressureSupport ( )
virtual

◆ GetDeltaPressureSupport() [2/2]

double SEMechanicalVentilatorContinuousPositiveAirwayPressure::GetDeltaPressureSupport ( const PressureUnit unit) const
virtual

◆ GetFractionInspiredOxygen() [1/2]

SEScalar0To1 & SEMechanicalVentilatorContinuousPositiveAirwayPressure::GetFractionInspiredOxygen ( )
virtual

◆ GetFractionInspiredOxygen() [2/2]

double SEMechanicalVentilatorContinuousPositiveAirwayPressure::GetFractionInspiredOxygen ( ) const
virtual

◆ GetPositiveEndExpiredPressure() [1/2]

SEScalarPressure & SEMechanicalVentilatorContinuousPositiveAirwayPressure::GetPositiveEndExpiredPressure ( )
virtual

◆ GetPositiveEndExpiredPressure() [2/2]

double SEMechanicalVentilatorContinuousPositiveAirwayPressure::GetPositiveEndExpiredPressure ( const PressureUnit unit) const
virtual

◆ GetScalar()

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

Implements SEAction.

◆ GetSlope() [1/2]

SEScalarTime & SEMechanicalVentilatorContinuousPositiveAirwayPressure::GetSlope ( )
virtual

◆ GetSlope() [2/2]

double SEMechanicalVentilatorContinuousPositiveAirwayPressure::GetSlope ( const TimeUnit unit) const
virtual

◆ HasDeltaPressureSupport()

bool SEMechanicalVentilatorContinuousPositiveAirwayPressure::HasDeltaPressureSupport ( ) const
virtual

◆ HasFractionInspiredOxygen()

bool SEMechanicalVentilatorContinuousPositiveAirwayPressure::HasFractionInspiredOxygen ( ) const
virtual

◆ HasPositiveEndExpiredPressure()

bool SEMechanicalVentilatorContinuousPositiveAirwayPressure::HasPositiveEndExpiredPressure ( ) const
virtual

◆ HasSlope()

bool SEMechanicalVentilatorContinuousPositiveAirwayPressure::HasSlope ( ) const
virtual

◆ IsActive()

bool SEMechanicalVentilatorContinuousPositiveAirwayPressure::IsActive ( ) const
virtual

Actions can be turned off or on with various data combinations This method will encapsulate that logic in a single function

Reimplemented from SEMechanicalVentilatorMode.

◆ IsValid()

bool SEMechanicalVentilatorContinuousPositiveAirwayPressure::IsValid ( ) const
virtual

Test if the action has all data it needs

Reimplemented from SEMechanicalVentilatorMode.

◆ ToSettings()

bool SEMechanicalVentilatorContinuousPositiveAirwayPressure::ToSettings ( SEMechanicalVentilatorSettings s,
const SESubstanceManager subMgr 
)
overridevirtual

Reimplemented from SEMechanicalVentilatorMode.

◆ ToString()

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

Friends And Related Function Documentation

◆ PBEquipmentAction

friend class PBEquipmentAction
friend

Member Data Documentation

◆ m_DeltaPressureSupport

SEScalarPressure* SEMechanicalVentilatorContinuousPositiveAirwayPressure::m_DeltaPressureSupport
protected

◆ m_FractionInspiredOxygen

SEScalar0To1* SEMechanicalVentilatorContinuousPositiveAirwayPressure::m_FractionInspiredOxygen
protected

◆ m_PositiveEndExpiredPressure

SEScalarPressure* SEMechanicalVentilatorContinuousPositiveAirwayPressure::m_PositiveEndExpiredPressure
protected

◆ m_Slope

SEScalarTime* SEMechanicalVentilatorContinuousPositiveAirwayPressure::m_Slope
protected

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.