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  static bool ExecuteScenario(std::string const& sceExecOpts, eSerializationFormat format, Logger* logger=nullptr);
18 
19 protected:
20  virtual void AllocateEngine() override;
21 
22  eModelType m_type;
24 };
Definition: Logger.h:71
Definition: PhysiologyEngineThunk.h:17
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:22
PulseConfiguration * m_cfg
Definition: PulseEngineThunk.h:23

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.