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

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