Pulse adds COVID-19 Simulation Support
×
SEAnesthesiaMachineOxygenBottle Class Reference

#include <SEAnesthesiaMachineOxygenBottle.h>

Inherits Loggable.

Public Member Functions

 SEAnesthesiaMachineOxygenBottle (Logger *logger)
 
virtual ~SEAnesthesiaMachineOxygenBottle ()
 
virtual void Clear ()
 
virtual void Merge (const SEAnesthesiaMachineOxygenBottle &from, SESubstanceManager &subMgr)
 
virtual const SEScalarGetScalar (const std::string &name)
 
virtual bool HasVolume () const
 
virtual SEScalarVolumeGetVolume ()
 
virtual double GetVolume (const VolumeUnit &unit) const
 
virtual void ToString (std::ostream &str)
 

Protected Attributes

SEScalarVolumem_Volume
 

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, 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
 
std::string to_string (int i)
 
std::string to_string (unsigned int i)
 
std::string to_string (size_t t)
 
std::string to_string (float f)
 
std::string to_string (double d)
 
- Static Private Attributes inherited from Loggable
static const std::string empty
 

Constructor & Destructor Documentation

◆ SEAnesthesiaMachineOxygenBottle()

SEAnesthesiaMachineOxygenBottle::SEAnesthesiaMachineOxygenBottle ( Logger logger)

◆ ~SEAnesthesiaMachineOxygenBottle()

SEAnesthesiaMachineOxygenBottle::~SEAnesthesiaMachineOxygenBottle ( )
virtual

Member Function Documentation

◆ Clear()

void SEAnesthesiaMachineOxygenBottle::Clear ( )
virtual

◆ GetScalar()

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

◆ GetVolume() [1/2]

SEScalarVolume & SEAnesthesiaMachineOxygenBottle::GetVolume ( )
virtual

◆ GetVolume() [2/2]

double SEAnesthesiaMachineOxygenBottle::GetVolume ( const VolumeUnit unit) const
virtual

◆ HasVolume()

bool SEAnesthesiaMachineOxygenBottle::HasVolume ( ) const
virtual

◆ Merge()

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

◆ ToString()

void SEAnesthesiaMachineOxygenBottle::ToString ( std::ostream &  str)
virtual

Friends And Related Function Documentation

◆ PBAnesthesiaMachine

friend class PBAnesthesiaMachine
friend

Member Data Documentation

◆ m_Volume

SEScalarVolume* SEAnesthesiaMachineOxygenBottle::m_Volume
protected

◆ SEAnesthesiaMachine

friend SEAnesthesiaMachineOxygenBottle::SEAnesthesiaMachine
private

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.