#include <SEAnesthesiaMachineChamber.h>

Inherits Loggable.

Public Member Functions

 SEAnesthesiaMachineChamber (SESubstanceManager &substances)
 
virtual ~SEAnesthesiaMachineChamber ()
 
virtual void Clear ()
 
virtual void Merge (const SEAnesthesiaMachineChamber &from)
 
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
 
SESubstanceManagerm_Substances
 

Private Attributes

friend SEAnesthesiaMachine
 
- Private Attributes inherited from Loggable
Loggerm_Logger
 

Friends

class PBAnesthesiaMachine
 

Additional Inherited Members

- Private Member Functions inherited from Loggable
 Loggable ()
 
 Loggable (Logger *log)
 
virtual ~Loggable ()
 
virtual LoggerGetLogger () const
 
virtual void Debug (std::string const &msg, std::string const &origin=empty) const
 
virtual void Debug (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Debug (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Info (std::string const &msg, std::string const &origin=empty) const
 
virtual void Info (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Info (const std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Info (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Warning (std::string const &msg, std::string const &origin=empty) const
 
virtual void Warning (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Warning (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Error (std::string const &msg, std::string const &origin=empty) const
 
virtual void Error (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Error (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Fatal (std::string const &msg, std::string const &origin=empty) const
 
virtual void Fatal (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Fatal (std::ostream &msg, std::string const &origin=empty) const
 
- Static Private Attributes inherited from Loggable
static const std::string empty
 

Constructor & Destructor Documentation

◆ SEAnesthesiaMachineChamber()

SEAnesthesiaMachineChamber::SEAnesthesiaMachineChamber ( SESubstanceManager substances)

◆ ~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)
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

◆ m_Substances

SESubstanceManager& SEAnesthesiaMachineChamber::m_Substances
protected

◆ SEAnesthesiaMachine

friend SEAnesthesiaMachineChamber::SEAnesthesiaMachine
private