Public Member Functions |
Static Public Attributes |
Protected Attributes |
Friends |
List of all members
SEMechanicalVentilatorVolumeControl Class Reference
#include <SEMechanicalVentilatorVolumeControl.h>
Inherits SEMechanicalVentilatorMode.
Public Member Functions | |
SEMechanicalVentilatorVolumeControl (Logger *logger=nullptr) | |
virtual | ~SEMechanicalVentilatorVolumeControl () |
virtual std::string | GetName () const override |
void | Clear () override |
virtual void | Copy (const SEMechanicalVentilatorVolumeControl &src, bool=false) |
virtual bool | ToSettings (SEMechanicalVentilatorSettings &s, const SESubstanceManager &subMgr) override |
bool | IsValid () const override |
bool | IsActive () const override |
void | Deactivate () override |
virtual eMechanicalVentilator_VolumeControlMode | GetMode () const |
virtual void | SetMode (eMechanicalVentilator_VolumeControlMode c) |
virtual bool | HasFlow () const |
virtual SEScalarVolumePerTime & | GetFlow () |
virtual double | GetFlow (const VolumePerTimeUnit &unit) const |
virtual bool | HasFractionInspiredOxygen () const |
virtual SEScalar0To1 & | GetFractionInspiredOxygen () |
virtual double | GetFractionInspiredOxygen () const |
virtual bool | HasInspirationPatientTriggerFlow () const |
virtual SEScalarVolumePerTime & | GetInspirationPatientTriggerFlow () |
virtual double | GetInspirationPatientTriggerFlow (const VolumePerTimeUnit &unit) const |
virtual bool | HasInspirationPatientTriggerPressure () const |
virtual SEScalarPressure & | GetInspirationPatientTriggerPressure () |
virtual double | GetInspirationPatientTriggerPressure (const PressureUnit &unit) const |
virtual bool | HasInspirationWaveform () const |
virtual eDriverWaveform | GetInspirationWaveform () const |
virtual void | SetInspirationWaveform (eDriverWaveform w) |
virtual bool | HasInspiratoryPeriod () const |
virtual SEScalarTime & | GetInspiratoryPeriod () |
virtual double | GetInspiratoryPeriod (const TimeUnit &unit) const |
virtual bool | HasPositiveEndExpiratoryPressure () const |
virtual SEScalarPressure & | GetPositiveEndExpiratoryPressure () |
virtual double | GetPositiveEndExpiratoryPressure (const PressureUnit &unit) const |
virtual bool | HasRespirationRate () const |
virtual SEScalarFrequency & | GetRespirationRate () |
virtual double | GetRespirationRate (const FrequencyUnit &unit) const |
virtual bool | HasTidalVolume () const |
virtual SEScalarVolume & | GetTidalVolume () |
virtual double | GetTidalVolume (const VolumeUnit &unit) const |
virtual bool | HasSlope () const |
virtual SEScalarTime & | GetSlope () |
virtual double | GetSlope (const TimeUnit &unit) const |
const SEScalar * | GetScalar (const std::string &name) override |
Public Member Functions inherited from SEMechanicalVentilatorMode | |
SEMechanicalVentilatorMode (Logger *logger) | |
virtual | ~SEMechanicalVentilatorMode () |
void | Clear () override |
bool | IsValid () const override |
bool | IsActive () const override |
virtual bool | ToSettings (SEMechanicalVentilatorSettings &s, const SESubstanceManager &subMgr) |
virtual eSwitch | GetConnection () const |
virtual void | SetConnection (eSwitch c) |
Public Member Functions inherited from SEMechanicalVentilatorAction | |
SEMechanicalVentilatorAction (Logger *logger) | |
virtual | ~SEMechanicalVentilatorAction () |
std::string | GetActionType () const override |
void | Clear () override |
bool | IsValid () const override |
Public Member Functions inherited from SEEquipmentAction | |
SEEquipmentAction (Logger *logger) | |
virtual | ~SEEquipmentAction () |
void | Clear () override |
bool | IsValid () const override |
void | Activate () override |
bool | IsActive () const override |
void | Deactivate () override |
Public Member Functions inherited from SEAction | |
SEAction (Logger *logger) | |
virtual | ~SEAction () |
SEAction (const SEAction &)=delete | |
SEAction & | operator= (const SEAction &)=delete |
virtual std::string | GetName () const =0 |
virtual std::string | GetActionType () const |
virtual void | Clear () |
virtual bool | SerializeToString (std::string &dst, eSerializationFormat fmt) const |
virtual bool | IsValid () const |
virtual void | Activate () |
virtual bool | IsActive () const |
virtual void | Deactivate () |
virtual std::string | GetComment () const |
virtual void | SetComment (const std::string &comment) |
virtual bool | HasComment () const |
virtual void | InvalidateComment () |
virtual const SEScalar * | GetScalar (const std::string &name)=0 |
virtual std::string | ToJSON () const |
virtual std::string | ToString () const |
Public Member Functions inherited from Loggable | |
Loggable (Logger *logger=nullptr) | |
Loggable (std::string const &logfile) | |
virtual | ~Loggable () |
virtual Logger * | GetLogger () 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 = "Volume Control" |
Static Public Attributes inherited from SEMechanicalVentilatorAction | |
static constexpr char const * | ActionType = "Mechanical Ventilator" |
Static Public Attributes inherited from SEAction | |
static constexpr char const * | ActionType = "Action" |
Protected Attributes | |
eMechanicalVentilator_VolumeControlMode | m_Mode |
SEScalarVolumePerTime * | m_Flow |
SEScalar0To1 * | m_FractionInspiredOxygen |
SEScalarVolumePerTime * | m_InspirationPatientTriggerFlow |
SEScalarPressure * | m_InspirationPatientTriggerPressure |
eDriverWaveform | m_InspirationWaveform |
SEScalarTime * | m_InspiratoryPeriod |
SEScalarPressure * | m_PositiveEndExpiratoryPressure |
SEScalarFrequency * | m_RespirationRate |
SEScalarVolume * | m_TidalVolume |
SEScalarTime * | m_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 |
Logger * | m_Logger |
Friends | |
class | PBEquipmentAction |
Additional Inherited Members | |
Static Public Member Functions inherited from SEAction | |
static SEAction * | Copy (const SEAction &, const SESubstanceManager &) |
static SEAction * | SerializeFromString (const std::string, eSerializationFormat fmt, const SESubstanceManager &) |
static std::string | PrettyPrint (const std::string &str) |
Constructor & Destructor Documentation
◆ SEMechanicalVentilatorVolumeControl()
SEMechanicalVentilatorVolumeControl::SEMechanicalVentilatorVolumeControl | ( | Logger * | logger = nullptr | ) |
◆ ~SEMechanicalVentilatorVolumeControl()
|
virtual |
Member Function Documentation
◆ Clear()
|
overridevirtual |
Reimplemented from SEMechanicalVentilatorMode.
◆ Copy()
|
virtual |
◆ Deactivate()
|
overridevirtual |
Reimplemented from SEAction.
◆ GetFlow() [1/2]
|
virtual |
◆ GetFlow() [2/2]
|
virtual |
◆ GetFractionInspiredOxygen() [1/2]
|
virtual |
◆ GetFractionInspiredOxygen() [2/2]
|
virtual |
◆ GetInspirationPatientTriggerFlow() [1/2]
|
virtual |
◆ GetInspirationPatientTriggerFlow() [2/2]
|
virtual |
◆ GetInspirationPatientTriggerPressure() [1/2]
|
virtual |
◆ GetInspirationPatientTriggerPressure() [2/2]
|
virtual |
◆ GetInspirationWaveform()
|
virtual |
◆ GetInspiratoryPeriod() [1/2]
|
virtual |
◆ GetInspiratoryPeriod() [2/2]
|
virtual |
◆ GetMode()
|
virtual |
◆ GetName()
|
inlineoverridevirtual |
Implements SEAction.
◆ GetPositiveEndExpiratoryPressure() [1/2]
|
virtual |
◆ GetPositiveEndExpiratoryPressure() [2/2]
|
virtual |
◆ GetRespirationRate() [1/2]
|
virtual |
◆ GetRespirationRate() [2/2]
|
virtual |
◆ GetScalar()
|
overridevirtual |
Implements SEAction.
◆ GetSlope() [1/2]
|
virtual |
◆ GetSlope() [2/2]
|
virtual |
◆ GetTidalVolume() [1/2]
|
virtual |
◆ GetTidalVolume() [2/2]
|
virtual |
◆ HasFlow()
|
virtual |
◆ HasFractionInspiredOxygen()
|
virtual |
◆ HasInspirationPatientTriggerFlow()
|
virtual |
◆ HasInspirationPatientTriggerPressure()
|
virtual |
◆ HasInspirationWaveform()
|
virtual |
◆ HasInspiratoryPeriod()
|
virtual |
◆ HasPositiveEndExpiratoryPressure()
|
virtual |
◆ HasRespirationRate()
|
virtual |
◆ HasSlope()
|
virtual |
◆ HasTidalVolume()
|
virtual |
◆ IsActive()
|
overridevirtual |
Reimplemented from SEMechanicalVentilatorMode.
◆ IsValid()
|
overridevirtual |
Test if the action has all data it needs
Reimplemented from SEMechanicalVentilatorMode.
◆ SetInspirationWaveform()
|
virtual |
◆ SetMode()
|
virtual |
◆ ToSettings()
|
overridevirtual |
Reimplemented from SEMechanicalVentilatorMode.
Friends And Related Function Documentation
◆ PBEquipmentAction
|
friend |
Member Data Documentation
◆ m_Flow
|
protected |
◆ m_FractionInspiredOxygen
|
protected |
◆ m_InspirationPatientTriggerFlow
|
protected |
◆ m_InspirationPatientTriggerPressure
|
protected |
◆ m_InspirationWaveform
|
protected |
◆ m_InspiratoryPeriod
|
protected |
◆ m_Mode
|
protected |
◆ m_PositiveEndExpiratoryPressure
|
protected |
◆ m_RespirationRate
|
protected |
◆ m_Slope
|
protected |
◆ m_TidalVolume
|
protected |
◆ Name
|
staticconstexpr |