Controller.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 
4 #pragma once
5 
6 #include "engine/common/controller/Controller.h"
7 #include "engine/human_adult/whole_body/Engine.h"
8 
9 namespace pulse { namespace human_adult_whole_body
10 {
11  class EngineTest;
15  class PULSE_DECL Controller : public pulse::Controller
16  {
17  friend Engine;
18  friend EngineTest;
19  protected:// Create via Engine
20  Controller(Logger* logger = nullptr);
21  public:
22  virtual ~Controller();
23 
24  bool SerializeFromFile(const std::string& file) override;
25  bool SerializeToFile(const std::string& file) const override;
26 
27  bool SerializeFromString(const std::string& state, eSerializationFormat m) override;
28  bool SerializeToString(std::string& state, eSerializationFormat m) const override;
29 
30  bool GetPatientAssessment(SEPatientAssessment& assessment) const override;
31 
32  protected:
33  std::string GetTypeName() const override { return "Human Adult Whole Body"; }
34  void Allocate() override;
35  bool SetupPatient(const SEPatient& patient) override;
36 
37  void InitializeModels() override;
38  };
39 END_NAMESPACE_EX
Definition: Logger.h:71
Data formed at a level of a clinicians report. This is high level data, such as a mean or generalized...
Definition: SEPatientAssessment.h:22
Definition: SEPatient.h:13
Definition: Logger.h:14

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.