#include <SEAnesthesiaMachine.h>

Public Member Functions | |
SEAnesthesiaMachine (SESubstanceManager &substances) | |
~SEAnesthesiaMachine () override | |
const char * | classname () const override |
size_t | hash_code () const override |
void | Clear () override |
bool | Load (const CDM::AnesthesiaMachineData &in) |
CDM::AnesthesiaMachineData * | Unload () const override |
Tree< const char * > | GetPhysiologyRequestGraph () const override |
![]() | |
SESystem (Logger *logger) | |
virtual | ~SESystem () |
bool | Load (const CDM::SystemData &in) |
![]() | |
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 const SEScalar * | GetScalar (const char *name, std::vector< SESystem * > *systems) |
static const SEScalar * | GetScalar (const std::string &name, std::vector< SESystem * > *systems) |
Protected Member Functions | |
void | Unload (CDM::AnesthesiaMachineData &data) const |
![]() | |
void | Unload (CDM::SystemData &data) const |
![]() | |
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 | |
friend | SEAnesthesiaMachineConfiguration |
![]() | |
std::stringstream | m_ss |
![]() | |
Logger * | m_Logger |
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. | |
bool | Load (const std::string &file) |
const SEScalar * | GetScalar (const char *name) override |
const SEScalar * | GetScalar (const std::string &name) override |
const std::map< CDM::enumAnesthesiaMachineEvent::value, bool > & | GetEventStates () const |
void | SetEvent (CDM::enumAnesthesiaMachineEvent::value state, bool active, const SEScalarTime &time) |
bool | IsEventActive (CDM::enumAnesthesiaMachineEvent::value state) const |
double | GetEventDuration (CDM::enumAnesthesiaMachineEvent::value type, const TimeUnit &unit) const |
void | UpdateEvents (const SEScalarTime &timeStep) |
virtual void | StateChange () |
void | Merge (const SEAnesthesiaMachine &from) |
void | ProcessConfiguration (const SEAnesthesiaMachineConfiguration &config) |
Additional Inherited Members | |
![]() | |
static const std::string | empty |
static const char * | empty_cStr |
Constructor & Destructor Documentation
biogears::SEAnesthesiaMachine::SEAnesthesiaMachine | ( | SESubstanceManager & | substances | ) |
|
override |
Member Function Documentation
|
inlineoverridevirtual |
Implements biogears::SESystem.
Reimplemented in biogears::AnesthesiaMachine.
|
overridevirtual |
Reimplemented from biogears::SESystem.
Reimplemented in biogears::AnesthesiaMachine.
void biogears::SEAnesthesiaMachine::ForwardEvents | ( | SEEventHandler * | handler | ) |
|
virtual |
double biogears::SEAnesthesiaMachine::GetEventDuration | ( | CDM::enumAnesthesiaMachineEvent::value | type, |
const TimeUnit & | unit | ||
) | const |
|
inline |
SEScalarVolumePerTime & biogears::SEAnesthesiaMachine::GetInletFlow | ( | ) |
double biogears::SEAnesthesiaMachine::GetInletFlow | ( | const VolumePerTimeUnit & | unit | ) | const |
SEScalar & biogears::SEAnesthesiaMachine::GetInspiratoryExpiratoryRatio | ( | ) |
double biogears::SEAnesthesiaMachine::GetInspiratoryExpiratoryRatio | ( | ) | const |
SEAnesthesiaMachineChamber & biogears::SEAnesthesiaMachine::GetLeftChamber | ( | ) |
const SEAnesthesiaMachineChamber * biogears::SEAnesthesiaMachine::GetLeftChamber | ( | ) | const |
SEAnesthesiaMachineOxygenBottle & biogears::SEAnesthesiaMachine::GetOxygenBottleOne | ( | ) |
const SEAnesthesiaMachineOxygenBottle * biogears::SEAnesthesiaMachine::GetOxygenBottleOne | ( | ) | const |
SEAnesthesiaMachineOxygenBottle & biogears::SEAnesthesiaMachine::GetOxygenBottleTwo | ( | ) |
const SEAnesthesiaMachineOxygenBottle * biogears::SEAnesthesiaMachine::GetOxygenBottleTwo | ( | ) | const |
SEScalarFraction & biogears::SEAnesthesiaMachine::GetOxygenFraction | ( | ) |
double biogears::SEAnesthesiaMachine::GetOxygenFraction | ( | ) | const |
CDM::enumAnesthesiaMachineOxygenSource::value biogears::SEAnesthesiaMachine::GetOxygenSource | ( | ) | const |
|
overridevirtual |
Implements biogears::SESystem.
SEScalarPressure & biogears::SEAnesthesiaMachine::GetPositiveEndExpiredPressure | ( | ) |
double biogears::SEAnesthesiaMachine::GetPositiveEndExpiredPressure | ( | const PressureUnit & | unit | ) | const |
CDM::enumAnesthesiaMachinePrimaryGas::value biogears::SEAnesthesiaMachine::GetPrimaryGas | ( | ) | const |
SEScalarPressure & biogears::SEAnesthesiaMachine::GetReliefValvePressure | ( | ) |
double biogears::SEAnesthesiaMachine::GetReliefValvePressure | ( | const PressureUnit & | unit | ) | const |
SEScalarFrequency & biogears::SEAnesthesiaMachine::GetRespiratoryRate | ( | ) |
double biogears::SEAnesthesiaMachine::GetRespiratoryRate | ( | const FrequencyUnit & | unit | ) | const |
SEAnesthesiaMachineChamber & biogears::SEAnesthesiaMachine::GetRightChamber | ( | ) |
const SEAnesthesiaMachineChamber * biogears::SEAnesthesiaMachine::GetRightChamber | ( | ) | const |
|
overridevirtual |
Implements biogears::SESystem.
|
overridevirtual |
Implements biogears::SESystem.
SEScalarPressure & biogears::SEAnesthesiaMachine::GetVentilatorPressure | ( | ) |
double biogears::SEAnesthesiaMachine::GetVentilatorPressure | ( | const PressureUnit & | unit | ) | const |
|
virtual |
|
inlineoverridevirtual |
Implements biogears::SESystem.
Reimplemented in biogears::AnesthesiaMachine.
bool biogears::SEAnesthesiaMachine::HasInletFlow | ( | ) | const |
bool biogears::SEAnesthesiaMachine::HasInspiratoryExpiratoryRatio | ( | ) | const |
bool biogears::SEAnesthesiaMachine::HasLeftChamber | ( | ) | const |
bool biogears::SEAnesthesiaMachine::HasOxygenBottleOne | ( | ) | const |
bool biogears::SEAnesthesiaMachine::HasOxygenBottleTwo | ( | ) | const |
bool biogears::SEAnesthesiaMachine::HasOxygenFraction | ( | ) | const |
bool biogears::SEAnesthesiaMachine::HasOxygenSource | ( | ) | const |
bool biogears::SEAnesthesiaMachine::HasPositiveEndExpiredPressure | ( | ) | const |
bool biogears::SEAnesthesiaMachine::HasPrimaryGas | ( | ) | const |
bool biogears::SEAnesthesiaMachine::HasReliefValvePressure | ( | ) | const |
bool biogears::SEAnesthesiaMachine::HasRespiratoryRate | ( | ) | const |
bool biogears::SEAnesthesiaMachine::HasRightChamber | ( | ) | const |
bool biogears::SEAnesthesiaMachine::HasVentilatorPressure | ( | ) | const |
|
virtual |
Reimplemented in biogears::AnesthesiaMachine.
void biogears::SEAnesthesiaMachine::InvalidateOxygenSource | ( | ) |
void biogears::SEAnesthesiaMachine::InvalidatePrimaryGas | ( | ) |
bool biogears::SEAnesthesiaMachine::IsEventActive | ( | CDM::enumAnesthesiaMachineEvent::value | state | ) | const |
bool biogears::SEAnesthesiaMachine::Load | ( | const CDM::AnesthesiaMachineData & | in | ) |
bool biogears::SEAnesthesiaMachine::Load | ( | const std::string & | file | ) |
|
protected |
|
protected |
void biogears::SEAnesthesiaMachine::RemoveLeftChamber | ( | ) |
void biogears::SEAnesthesiaMachine::RemoveOxygenBottleOne | ( | ) |
void biogears::SEAnesthesiaMachine::RemoveOxygenBottleTwo | ( | ) |
void biogears::SEAnesthesiaMachine::RemoveRightChamber | ( | ) |
|
virtual |
Reimplemented in biogears::AnesthesiaMachine.
void biogears::SEAnesthesiaMachine::SetEvent | ( | CDM::enumAnesthesiaMachineEvent::value | state, |
bool | active, | ||
const SEScalarTime & | time | ||
) |
void biogears::SEAnesthesiaMachine::SetOxygenSource | ( | CDM::enumAnesthesiaMachineOxygenSource::value | name | ) |
void biogears::SEAnesthesiaMachine::SetPrimaryGas | ( | CDM::enumAnesthesiaMachinePrimaryGas::value | name | ) |
|
inlineprotectedvirtual |
Reimplemented in biogears::AnesthesiaMachine.
|
inlinestatic |
|
inlinestatic |
|
overridevirtual |
Implements biogears::SESystem.
Reimplemented in biogears::AnesthesiaMachine.
|
protected |
void biogears::SEAnesthesiaMachine::UpdateEvents | ( | const SEScalarTime & | timeStep | ) |
Member Data Documentation
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |