#include <SEECMOSettings.h>

Inherits Loggable.

Public Member Functions

 SEECMOSettings (Logger *logger)
 
virtual ~SEECMOSettings ()
 
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, const SESubstanceManager &subMgr)
 
bool SerializeFromFile (const std::string &filename, const SESubstanceManager &subMgr)
 
virtual void Merge (const SEECMOSettings &from)
 
virtual void ProcessConfiguration (SEECMOConfiguration &config, SESubstanceManager &subMgr)
 
virtual const SEScalarGetScalar (const std::string &name)
 
virtual bool HasInflowLocation () const
 
virtual eECMO_CannulationLocation GetInflowLocation () const
 
virtual void SetInflowLocation (eECMO_CannulationLocation c)
 
virtual bool HasOutflowLocation () const
 
virtual eECMO_CannulationLocation GetOutflowLocation () const
 
virtual void SetOutflowLocation (eECMO_CannulationLocation c)
 
virtual bool HasOxygenatorVolume () const
 
virtual SEScalarVolumeGetOxygenatorVolume ()
 
virtual double GetOxygenatorVolume (const VolumeUnit &unit) const
 
virtual bool HasTransfusionFlow () const
 
virtual SEScalarVolumePerTimeGetTransfusionFlow ()
 
virtual double GetTransfusionFlow (const VolumePerTimeUnit &unit) const
 
bool HasSubstanceConcentrations () const
 
bool HasSubstanceConcentration (const SESubstance &substance) const
 
const std::vector< SESubstanceConcentration * > & GetSubstanceConcentrations ()
 
const std::vector< const SESubstanceConcentration * > GetSubstanceConcentrations () const
 
SESubstanceConcentrationGetSubstanceConcentration (const SESubstance &substance)
 
const SESubstanceConcentrationGetSubstanceConcentration (const SESubstance &substance) const
 
void RemoveSubstanceConcentration (const SESubstance &substance)
 
void RemoveSubstanceConcentrations ()
 
virtual bool HasSubstanceCompound () const
 
virtual void SetSubstanceCompound (const SESubstanceCompound &c)
 
virtual const SESubstanceCompoundGetSubstanceCompound () const
 
virtual void RemoveSubstanceCompound ()
 
- 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
 

Protected Attributes

eECMO_CannulationLocation m_InflowLocation
 
eECMO_CannulationLocation m_OutflowLocation
 
SEScalarVolumem_OxygenatorVolume
 
SEScalarVolumePerTimem_TransfusionFlow
 
const SESubstanceCompoundm_SubstanceCompound
 
std::vector< SESubstanceConcentration * > m_SubstanceConcentrations
 
- Protected Attributes inherited from Loggable
bool myLogger
 
Loggerm_Logger
 

Friends

class PBECMO
 

Constructor & Destructor Documentation

◆ SEECMOSettings()

SEECMOSettings::SEECMOSettings ( Logger logger)

◆ ~SEECMOSettings()

SEECMOSettings::~SEECMOSettings ( )
virtual

Member Function Documentation

◆ Clear()

void SEECMOSettings::Clear ( )
virtual

◆ GetInflowLocation()

eECMO_CannulationLocation SEECMOSettings::GetInflowLocation ( ) const
virtual

◆ GetOutflowLocation()

eECMO_CannulationLocation SEECMOSettings::GetOutflowLocation ( ) const
virtual

◆ GetOxygenatorVolume() [1/2]

SEScalarVolume & SEECMOSettings::GetOxygenatorVolume ( )
virtual

◆ GetOxygenatorVolume() [2/2]

double SEECMOSettings::GetOxygenatorVolume ( const VolumeUnit unit) const
virtual

◆ GetScalar()

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

◆ GetSubstanceCompound()

const SESubstanceCompound * SEECMOSettings::GetSubstanceCompound ( ) const
virtual

◆ GetSubstanceConcentration() [1/2]

SESubstanceConcentration & SEECMOSettings::GetSubstanceConcentration ( const SESubstance substance)

◆ GetSubstanceConcentration() [2/2]

const SESubstanceConcentration * SEECMOSettings::GetSubstanceConcentration ( const SESubstance substance) const

◆ GetSubstanceConcentrations() [1/2]

const std::vector< SESubstanceConcentration * > & SEECMOSettings::GetSubstanceConcentrations ( )

◆ GetSubstanceConcentrations() [2/2]

const std::vector< const SESubstanceConcentration * > SEECMOSettings::GetSubstanceConcentrations ( ) const

◆ GetTransfusionFlow() [1/2]

SEScalarVolumePerTime & SEECMOSettings::GetTransfusionFlow ( )
virtual

◆ GetTransfusionFlow() [2/2]

double SEECMOSettings::GetTransfusionFlow ( const VolumePerTimeUnit unit) const
virtual

◆ HasInflowLocation()

bool SEECMOSettings::HasInflowLocation ( ) const
virtual

◆ HasOutflowLocation()

bool SEECMOSettings::HasOutflowLocation ( ) const
virtual

◆ HasOxygenatorVolume()

bool SEECMOSettings::HasOxygenatorVolume ( ) const
virtual

◆ HasSubstanceCompound()

bool SEECMOSettings::HasSubstanceCompound ( ) const
virtual

◆ HasSubstanceConcentration()

bool SEECMOSettings::HasSubstanceConcentration ( const SESubstance substance) const

◆ HasSubstanceConcentrations()

bool SEECMOSettings::HasSubstanceConcentrations ( ) const

◆ HasTransfusionFlow()

bool SEECMOSettings::HasTransfusionFlow ( ) const
virtual

◆ Merge()

void SEECMOSettings::Merge ( const SEECMOSettings from)
virtual

◆ ProcessConfiguration()

void SEECMOSettings::ProcessConfiguration ( SEECMOConfiguration config,
SESubstanceManager subMgr 
)
virtual

◆ RemoveSubstanceCompound()

void SEECMOSettings::RemoveSubstanceCompound ( )
virtual

◆ RemoveSubstanceConcentration()

void SEECMOSettings::RemoveSubstanceConcentration ( const SESubstance substance)

◆ RemoveSubstanceConcentrations()

void SEECMOSettings::RemoveSubstanceConcentrations ( )

◆ SerializeFromFile()

bool SEECMOSettings::SerializeFromFile ( const std::string &  filename,
const SESubstanceManager subMgr 
)

◆ SerializeFromString()

bool SEECMOSettings::SerializeFromString ( const std::string &  src,
eSerializationFormat  m,
const SESubstanceManager subMgr 
)

◆ SerializeToFile()

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

◆ SerializeToString()

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

◆ SetInflowLocation()

void SEECMOSettings::SetInflowLocation ( eECMO_CannulationLocation  c)
virtual

◆ SetOutflowLocation()

void SEECMOSettings::SetOutflowLocation ( eECMO_CannulationLocation  c)
virtual

◆ SetSubstanceCompound()

void SEECMOSettings::SetSubstanceCompound ( const SESubstanceCompound c)
virtual

Friends And Related Function Documentation

◆ PBECMO

friend class PBECMO
friend

Member Data Documentation

◆ m_InflowLocation

eECMO_CannulationLocation SEECMOSettings::m_InflowLocation
protected

◆ m_OutflowLocation

eECMO_CannulationLocation SEECMOSettings::m_OutflowLocation
protected

◆ m_OxygenatorVolume

SEScalarVolume* SEECMOSettings::m_OxygenatorVolume
protected

◆ m_SubstanceCompound

const SESubstanceCompound* SEECMOSettings::m_SubstanceCompound
protected

◆ m_SubstanceConcentrations

std::vector<SESubstanceConcentration*> SEECMOSettings::m_SubstanceConcentrations
protected

◆ m_TransfusionFlow

SEScalarVolumePerTime* SEECMOSettings::m_TransfusionFlow
protected

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.