#include <SEAnesthesiaMachineChamber.h>

Inherits Loggable.

Public Member Functions

 SEAnesthesiaMachineChamber (Logger *logger)
 
virtual ~SEAnesthesiaMachineChamber ()
 
virtual void Clear ()
 
virtual void Merge (const SEAnesthesiaMachineChamber &from, SESubstanceManager &subMgr)
 
virtual const SEScalarGetScalar (const std::string &name)
 
virtual eSwitch GetState () const
 
virtual void SetState (eSwitch s)
 
virtual bool HasSubstanceFraction () const
 
virtual SEScalar0To1GetSubstanceFraction ()
 
virtual double GetSubstanceFraction () const
 
virtual bool HasSubstance () const
 
virtual SESubstanceGetSubstance () const
 
virtual void SetSubstance (const SESubstance &substance)
 
virtual void RemoveSubstance ()
 
virtual void ToString (std::ostream &str) const
 

Protected Attributes

eSwitch m_State
 
const SESubstancem_Substance
 
SEScalar0To1m_SubstanceFraction
 

Private Attributes

friend SEAnesthesiaMachine
 
- Private Attributes inherited from Loggable
bool myLogger
 
Loggerm_Logger
 

Friends

class PBAnesthesiaMachine
 

Additional Inherited Members

- Private 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
 

Constructor & Destructor Documentation

◆ SEAnesthesiaMachineChamber()

SEAnesthesiaMachineChamber::SEAnesthesiaMachineChamber ( Logger logger)

◆ ~SEAnesthesiaMachineChamber()

SEAnesthesiaMachineChamber::~SEAnesthesiaMachineChamber ( )
virtual

Member Function Documentation

◆ Clear()

void SEAnesthesiaMachineChamber::Clear ( )
virtual

◆ GetScalar()

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

◆ GetState()

eSwitch SEAnesthesiaMachineChamber::GetState ( ) const
virtual

◆ GetSubstance()

SESubstance * SEAnesthesiaMachineChamber::GetSubstance ( ) const
virtual

◆ GetSubstanceFraction() [1/2]

SEScalar0To1 & SEAnesthesiaMachineChamber::GetSubstanceFraction ( )
virtual

◆ GetSubstanceFraction() [2/2]

double SEAnesthesiaMachineChamber::GetSubstanceFraction ( ) const
virtual

◆ HasSubstance()

bool SEAnesthesiaMachineChamber::HasSubstance ( ) const
virtual

◆ HasSubstanceFraction()

bool SEAnesthesiaMachineChamber::HasSubstanceFraction ( ) const
virtual

◆ Merge()

void SEAnesthesiaMachineChamber::Merge ( const SEAnesthesiaMachineChamber from,
SESubstanceManager subMgr 
)
virtual

◆ RemoveSubstance()

void SEAnesthesiaMachineChamber::RemoveSubstance ( )
virtual

◆ SetState()

void SEAnesthesiaMachineChamber::SetState ( eSwitch  s)
virtual

◆ SetSubstance()

void SEAnesthesiaMachineChamber::SetSubstance ( const SESubstance substance)
virtual

◆ ToString()

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

Friends And Related Function Documentation

◆ PBAnesthesiaMachine

friend class PBAnesthesiaMachine
friend

Member Data Documentation

◆ m_State

eSwitch SEAnesthesiaMachineChamber::m_State
protected

◆ m_Substance

const SESubstance* SEAnesthesiaMachineChamber::m_Substance
protected

◆ m_SubstanceFraction

SEScalar0To1* SEAnesthesiaMachineChamber::m_SubstanceFraction
protected

◆ SEAnesthesiaMachine

friend SEAnesthesiaMachineChamber::SEAnesthesiaMachine
private

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.