What’s New in the Pulse Physiology Engine 4.4.0
×

#include <SEThermalBurn.h>

Inherits SEPatientAction.

Public Member Functions

 SEThermalBurn (Logger *logger=nullptr)
 
virtual ~SEThermalBurn ()
 
std::string GetName () const override
 
void Clear () override
 
void Copy (const SEThermalBurn &src, bool preserveState=false)
 
const SEScalar * GetScalar (const std::string &name) override
 
bool IsValid () const override
 
bool IsActive () const override
 
void Activate () override
 
void Deactivate () override
 
virtual bool HasWound () const
 
virtual BurnWoundMap & GetWounds ()
 
virtual const BurnWoundMap & GetWounds () const
 
virtual bool HasWound (eThermalBurn_Compartment cmpt) const
 
virtual SEBurnWound & GetWound (eThermalBurn_Compartment cmpt)
 
virtual const SEBurnWound * GetWound (eThermalBurn_Compartment cmpt) const
 
virtual bool HasTotalBodySurfaceArea () const
 
virtual SEScalar0To1 & GetTotalBodySurfaceArea ()
 
virtual double GetTotalBodySurfaceArea () const
 
virtual bool HasTotalWeightedSeverity () const
 
virtual SEScalar0To1 & GetTotalWeightedSeverity ()
 
virtual double GetTotalWeightedSeverity () const
 
- Public Member Functions inherited from SEPatientAction
 SEPatientAction (Logger *logger=nullptr)
 
virtual ~SEPatientAction ()
 
std::string GetActionType () const override
 
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 = "Thermal Burn"
 
- Static Public Attributes inherited from SEPatientAction
static constexpr char const * ActionType = "Patient"
 
- Static Public Attributes inherited from SEAction
static constexpr char const * ActionType = "Action"
 

Protected Attributes

BurnWoundMap m_Wounds
 
SEScalar0To1 * m_TotalBodySurfaceArea
 
SEScalar0To1 * m_TotalWeightedSeverity
 
- 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 PBPatientAction
 

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

◆ SEThermalBurn()

SEThermalBurn::SEThermalBurn ( Logger *  logger = nullptr)

◆ ~SEThermalBurn()

SEThermalBurn::~SEThermalBurn ( )
virtual

Member Function Documentation

◆ Activate()

void SEThermalBurn::Activate ( )
overridevirtual

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

Reimplemented from SEPatientAction.

◆ Clear()

void SEThermalBurn::Clear ( )
overridevirtual

Reimplemented from SEPatientAction.

◆ Copy()

void SEThermalBurn::Copy ( const SEThermalBurn &  src,
bool  preserveState = false 
)

◆ Deactivate()

void SEThermalBurn::Deactivate ( )
overridevirtual

Reimplemented from SEPatientAction.

◆ GetName()

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

Implements SEAction.

◆ GetScalar()

const SEScalar * SEThermalBurn::GetScalar ( const std::string &  name)
overridevirtual

Implements SEAction.

◆ GetTotalBodySurfaceArea() [1/2]

SEScalar0To1 & SEThermalBurn::GetTotalBodySurfaceArea ( )
virtual

◆ GetTotalBodySurfaceArea() [2/2]

double SEThermalBurn::GetTotalBodySurfaceArea ( ) const
virtual

◆ GetTotalWeightedSeverity() [1/2]

SEScalar0To1 & SEThermalBurn::GetTotalWeightedSeverity ( )
virtual

◆ GetTotalWeightedSeverity() [2/2]

double SEThermalBurn::GetTotalWeightedSeverity ( ) const
virtual

◆ GetWound() [1/2]

SEBurnWound & SEThermalBurn::GetWound ( eThermalBurn_Compartment  cmpt)
virtual

◆ GetWound() [2/2]

const SEBurnWound * SEThermalBurn::GetWound ( eThermalBurn_Compartment  cmpt) const
virtual

◆ GetWounds() [1/2]

BurnWoundMap & SEThermalBurn::GetWounds ( )
virtual

◆ GetWounds() [2/2]

const BurnWoundMap & SEThermalBurn::GetWounds ( ) const
virtual

◆ HasTotalBodySurfaceArea()

bool SEThermalBurn::HasTotalBodySurfaceArea ( ) const
virtual

◆ HasTotalWeightedSeverity()

bool SEThermalBurn::HasTotalWeightedSeverity ( ) const
virtual

◆ HasWound() [1/2]

bool SEThermalBurn::HasWound ( ) const
virtual

◆ HasWound() [2/2]

bool SEThermalBurn::HasWound ( eThermalBurn_Compartment  cmpt) const
virtual

◆ IsActive()

bool SEThermalBurn::IsActive ( ) const
overridevirtual

Reimplemented from SEPatientAction.

◆ IsValid()

bool SEThermalBurn::IsValid ( ) const
overridevirtual

Test if the action has all data it needs

Reimplemented from SEPatientAction.

Friends And Related Function Documentation

◆ PBPatientAction

friend class PBPatientAction
friend

Member Data Documentation

◆ m_TotalBodySurfaceArea

SEScalar0To1* SEThermalBurn::m_TotalBodySurfaceArea
protected

◆ m_TotalWeightedSeverity

SEScalar0To1* SEThermalBurn::m_TotalWeightedSeverity
protected

◆ m_Wounds

BurnWoundMap SEThermalBurn::m_Wounds
protected

◆ Name

constexpr char const* SEThermalBurn::Name = "Thermal Burn"
staticconstexpr

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.