#include <SEForcedExhale.h>

Inherits SEConsciousRespirationCommand.

Public Member Functions

virtual ~SEForcedExhale ()
 
std::string GetName () const override
 
void Clear () override
 
void Copy (const SEForcedExhale &src)
 
bool IsValid () const override
 
bool IsActive () const override
 
virtual bool HasExpiratoryReserveVolumeFraction () const
 
virtual SEScalar0To1GetExpiratoryReserveVolumeFraction ()
 
virtual double GetExpiratoryReserveVolumeFraction () const
 
virtual bool HasExhalePeriod () const
 
virtual SEScalarTimeGetExhalePeriod ()
 
virtual double GetExhalePeriod (const TimeUnit &unit) const
 
virtual bool HasHoldPeriod () const
 
virtual SEScalarTimeGetHoldPeriod ()
 
virtual double GetHoldPeriod (const TimeUnit &unit) const
 
virtual bool HasReleasePeriod () const
 
virtual SEScalarTimeGetReleasePeriod ()
 
virtual double GetReleasePeriod (const TimeUnit &unit) const
 
- Public Member Functions inherited from SEConsciousRespirationCommand
 SEConsciousRespirationCommand (Logger *logger)
 
virtual ~SEConsciousRespirationCommand ()
 
virtual std::string GetActionType () const
 
virtual std::string GetName () const =0
 
virtual void Clear ()
 
virtual bool IsValid () const
 
virtual bool IsActive () const
 
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) 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
 

Static Public Attributes

static constexpr char const * Name = "Forced Exhale"
 
- Static Public Attributes inherited from SEConsciousRespirationCommand
static constexpr char const * ActionType = "Conscious Respiration Command"
 

Protected Attributes

SEScalar0To1m_ExpiratoryReserveVolumeFraction
 
SEScalarTimem_ExhalePeriod
 
SEScalarTimem_HoldPeriod
 
SEScalarTimem_ReleasePeriod
 
- Protected Attributes inherited from SEConsciousRespirationCommand
std::string m_Comment
 
- Protected Attributes inherited from Loggable
bool myLogger
 
Loggerm_Logger
 

Private Member Functions

 SEForcedExhale (Logger *logger)
 

Friends

class PBPatientAction
 
class SEConsciousRespiration
 

Constructor & Destructor Documentation

◆ SEForcedExhale()

SEForcedExhale::SEForcedExhale ( Logger logger)
private

◆ ~SEForcedExhale()

SEForcedExhale::~SEForcedExhale ( )
virtual

Member Function Documentation

◆ Clear()

void SEForcedExhale::Clear ( )
overridevirtual

Reimplemented from SEConsciousRespirationCommand.

◆ Copy()

void SEForcedExhale::Copy ( const SEForcedExhale src)

◆ GetExhalePeriod() [1/2]

SEScalarTime & SEForcedExhale::GetExhalePeriod ( )
virtual

◆ GetExhalePeriod() [2/2]

double SEForcedExhale::GetExhalePeriod ( const TimeUnit unit) const
virtual

◆ GetExpiratoryReserveVolumeFraction() [1/2]

SEScalar0To1 & SEForcedExhale::GetExpiratoryReserveVolumeFraction ( )
virtual

◆ GetExpiratoryReserveVolumeFraction() [2/2]

double SEForcedExhale::GetExpiratoryReserveVolumeFraction ( ) const
virtual

◆ GetHoldPeriod() [1/2]

SEScalarTime & SEForcedExhale::GetHoldPeriod ( )
virtual

◆ GetHoldPeriod() [2/2]

double SEForcedExhale::GetHoldPeriod ( const TimeUnit unit) const
virtual

◆ GetName()

std::string SEForcedExhale::GetName ( ) const
inlineoverridevirtual

◆ GetReleasePeriod() [1/2]

SEScalarTime & SEForcedExhale::GetReleasePeriod ( )
virtual

◆ GetReleasePeriod() [2/2]

double SEForcedExhale::GetReleasePeriod ( const TimeUnit unit) const
virtual

◆ HasExhalePeriod()

bool SEForcedExhale::HasExhalePeriod ( ) const
virtual

◆ HasExpiratoryReserveVolumeFraction()

bool SEForcedExhale::HasExpiratoryReserveVolumeFraction ( ) const
virtual

◆ HasHoldPeriod()

bool SEForcedExhale::HasHoldPeriod ( ) const
virtual

◆ HasReleasePeriod()

bool SEForcedExhale::HasReleasePeriod ( ) const
virtual

◆ IsActive()

bool SEForcedExhale::IsActive ( ) const
overridevirtual

Reimplemented from SEConsciousRespirationCommand.

◆ IsValid()

bool SEForcedExhale::IsValid ( ) const
overridevirtual

Reimplemented from SEConsciousRespirationCommand.

Friends And Related Function Documentation

◆ PBPatientAction

friend class PBPatientAction
friend

◆ SEConsciousRespiration

friend class SEConsciousRespiration
friend

Member Data Documentation

◆ m_ExhalePeriod

SEScalarTime* SEForcedExhale::m_ExhalePeriod
protected

◆ m_ExpiratoryReserveVolumeFraction

SEScalar0To1* SEForcedExhale::m_ExpiratoryReserveVolumeFraction
protected

◆ m_HoldPeriod

SEScalarTime* SEForcedExhale::m_HoldPeriod
protected

◆ m_ReleasePeriod

SEScalarTime* SEForcedExhale::m_ReleasePeriod
protected

◆ Name

constexpr char const* SEForcedExhale::Name = "Forced Exhale"
staticconstexpr

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.