#include <SEInhaler.h>

Public Member Functions | |
| SEInhaler (SESubstanceManager &substances) | |
| ~SEInhaler () override | |
| const char * | classname () const override |
| size_t | hash_code () const override |
| void | Clear () override |
Public Member Functions inherited from biogears::SESystem | |
| SESystem (Logger *logger) | |
| virtual | ~SESystem () |
| bool | Load (const CDM::SystemData &in) |
Public Member Functions inherited from biogears::Loggable | |
| Loggable () | |
| Loggable (Logger *log) | |
| virtual | ~Loggable () |
| virtual Logger * | GetLogger () const |
Static Public Member Functions | |
| static size_t | TypeHash () |
| static constexpr char const *const | TypeTag () |
Static Public Member Functions inherited from biogears::SESystem | |
| static const SEScalar * | GetScalar (const char *name, std::vector< SESystem * > *systems) |
| static const SEScalar * | GetScalar (const std::string &name, std::vector< SESystem * > *systems) |
GetScalar | |
- A reflextion type call that will return the Scalar associated with the string. ex. GetScalar("Hematocrit") will return the SEScalarPercent object associated with Hematocrit
| |
| const SEScalar * | GetScalar (const char *name) override |
| const SEScalar * | GetScalar (const std::string &name) override |
| bool | Load (const CDM::InhalerData &in) |
| CDM::InhalerData * | Unload () const override |
| Tree< const char * > | GetPhysiologyRequestGraph () const override |
| void | Unload (CDM::InhalerData &data) const |
StateChange | |
- This method is called when ever there is a state change Specically a new file has been loaded, configuration action, or the system reset Engine specific methodology can then update their logic. | |
| std::stringstream | m_ss |
| CDM::enumOnOff::value | m_State |
| SEScalarMass * | m_MeteredDose |
| SEScalarFraction * | m_NozzleLoss |
| SEScalarVolume * | m_SpacerVolume |
| const SESubstance * | m_Substance |
| SESubstanceManager & | m_Substances |
| bool | Load (const std::string &file) |
| CDM::enumOnOff::value | GetState () const |
| void | SetState (CDM::enumOnOff::value name) |
| bool | HasState () const |
| void | InvalidateState () |
| bool | HasMeteredDose () const |
| SEScalarMass & | GetMeteredDose () |
| double | GetMeteredDose (const MassUnit &unit) const |
| bool | HasNozzleLoss () const |
| SEScalarFraction & | GetNozzleLoss () |
| double | GetNozzleLoss () const |
| bool | HasSpacerVolume () const |
| SEScalarVolume & | GetSpacerVolume () |
| double | GetSpacerVolume (const VolumeUnit &unit) const |
| bool | HasSubstance () const |
| void | SetSubstance (const SESubstance *sub) |
| SESubstance * | GetSubstance () const |
| virtual void | StateChange () |
| void | Merge (const SEInhaler &from) |
| void | ProcessConfiguration (const SEInhalerConfiguration &config) |
Additional Inherited Members | |
Static Public Attributes inherited from biogears::Loggable | |
| static const std::string | empty |
| static const char * | empty_cStr |
Protected Member Functions inherited from biogears::SESystem | |
| void | Unload (CDM::SystemData &data) const |
Protected Member Functions inherited from biogears::Loggable | |
| virtual void | Debug (const char *msg, const char *origin="") const |
| virtual void | Debug (const std::string &msg, const std::string &origin=empty) const |
| virtual void | Debug (std::ostream &msg, const std::string &origin=empty) const |
| virtual void | Info (const char *msg, const char *origin="") const |
| virtual void | Info (const std::string &msg, const std::string &origin=empty) const |
| virtual void | Info (std::ostream &msg, const std::string &origin=empty) const |
| virtual void | Warning (const char *msg, const char *origin="") const |
| virtual void | Warning (const std::string &msg, const std::string &origin=empty) const |
| virtual void | Warning (std::ostream &msg, const std::string &origin=empty) const |
| virtual void | Error (const char *msg, const char *origin="") const |
| virtual void | Error (const std::string msg, const std::string origin=empty) const |
| virtual void | Error (std::ostream &msg, const std::string &origin=empty) const |
| virtual void | Fatal (const char *msg, const char *origin="") const |
| virtual void | Fatal (const std::string &msg, const std::string &origin=empty) const |
| virtual void | Fatal (std::ostream &msg, const std::string &origin=empty) const |
Protected Attributes inherited from biogears::SESystem | |
| std::stringstream | m_ss |
Protected Attributes inherited from biogears::Loggable | |
| Logger * | m_Logger |
Constructor & Destructor Documentation
| biogears::SEInhaler::SEInhaler | ( | SESubstanceManager & | substances | ) |
|
override |
Member Function Documentation
|
inlineoverridevirtual |
Implements biogears::SESystem.
Reimplemented in biogears::Inhaler.
|
overridevirtual |
Reimplemented from biogears::SESystem.
Reimplemented in biogears::Inhaler.
| SEScalarMass & biogears::SEInhaler::GetMeteredDose | ( | ) |
| double biogears::SEInhaler::GetMeteredDose | ( | const MassUnit & | unit | ) | const |
| SEScalarFraction & biogears::SEInhaler::GetNozzleLoss | ( | ) |
| double biogears::SEInhaler::GetNozzleLoss | ( | ) | const |
|
overridevirtual |
Implements biogears::SESystem.
|
overridevirtual |
Implements biogears::SESystem.
|
overridevirtual |
Implements biogears::SESystem.
| SEScalarVolume & biogears::SEInhaler::GetSpacerVolume | ( | ) |
| double biogears::SEInhaler::GetSpacerVolume | ( | const VolumeUnit & | unit | ) | const |
| CDM::enumOnOff::value biogears::SEInhaler::GetState | ( | ) | const |
| SESubstance * biogears::SEInhaler::GetSubstance | ( | ) | const |
|
inlineoverridevirtual |
Implements biogears::SESystem.
Reimplemented in biogears::Inhaler.
| bool biogears::SEInhaler::HasMeteredDose | ( | ) | const |
| bool biogears::SEInhaler::HasNozzleLoss | ( | ) | const |
| bool biogears::SEInhaler::HasSpacerVolume | ( | ) | const |
| bool biogears::SEInhaler::HasState | ( | ) | const |
| bool biogears::SEInhaler::HasSubstance | ( | ) | const |
| void biogears::SEInhaler::InvalidateState | ( | ) |
| bool biogears::SEInhaler::Load | ( | const CDM::InhalerData & | in | ) |
| bool biogears::SEInhaler::Load | ( | const std::string & | file | ) |
|
protected |
|
protected |
| void biogears::SEInhaler::SetState | ( | CDM::enumOnOff::value | name | ) |
| void biogears::SEInhaler::SetSubstance | ( | const SESubstance * | sub | ) |
|
inlineprotectedvirtual |
Reimplemented in biogears::Inhaler.
|
inlinestatic |
|
inlinestatic |
|
overridevirtual |
Implements biogears::SESystem.
Reimplemented in biogears::Inhaler.
|
protected |
Member Data Documentation
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |


Public Member Functions inherited from