Building Medical Digital Twins with Pulse: Open Source Simulation Tools for Developers and Researchers
×
PulseEngineThunk.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 
4 #pragma once
5 
6 #include "cdm/PhysiologyEngineThunk.h"
7 #include "engine/PulseConfiguration.h"
8 
9 class PULSE_DECL PulseEngineThunk : public PhysiologyEngineThunk
10 {
11 public:
12  PulseEngineThunk(eModelType t, const std::string& dataDir = "./");
13  virtual ~PulseEngineThunk();
14 
15  bool SetConfigurationOverride(std::string const& cfg, eSerializationFormat format);
16 
17  bool IsValidPatient(std::string const& patient, eSerializationFormat format) override;
18 
19  static bool ExecuteScenario(std::string const& sceExecOpts, eSerializationFormat format, Logger* logger=nullptr);
20 
21 protected:
22  virtual void AllocateEngine() override;
23 
24  eModelType m_type;
26 };
Definition: Logger.h:71
Definition: PhysiologyEngineThunk.h:17
virtual bool IsValidPatient(std::string const &patient, eSerializationFormat format)=0
virtual void AllocateEngine()=0
Pulse specific configuration parameters for all systems/equipment
Definition: PulseConfiguration.h:20
Definition: PulseEngineThunk.h:10
eModelType m_type
Definition: PulseEngineThunk.h:24
PulseConfiguration * m_cfg
Definition: PulseEngineThunk.h:25

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.