<
The Pulse Team is excited to announce the Pulse Physiology Engine 4.1.0 release. Upgrade now to get the best in dynamic simulation.
×
SEThermalApplication.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 #pragma once
4 #include "cdm/system/environment/actions/SEEnvironmentAction.h"
7 
9 {
10  friend class PBEnvironmentAction;//friend the serialization class
11 public:
12 
13  SEThermalApplication(Logger* logger=nullptr);
14  virtual ~SEThermalApplication();
15 
16  virtual void Clear();
17  virtual void Copy(const SEThermalApplication& src, bool /*preserveState*/=false);
18 
19  virtual bool IsValid() const;
20  virtual bool IsActive() const;
21  virtual void Deactivate();
22 
23  virtual bool HasActiveHeating() const;
24  virtual SEActiveConditioning& GetActiveHeating();
25  virtual const SEActiveConditioning* GetActiveHeating() const;
26  virtual void RemoveActiveHeating();
27 
28  virtual bool HasActiveCooling() const;
29  virtual SEActiveConditioning& GetActiveCooling();
30  virtual const SEActiveConditioning* GetActiveCooling() const;
31  virtual void RemoveActiveCooling();
32 
33  virtual bool HasAppliedTemperature() const;
34  virtual SEAppliedTemperature& GetAppliedTemperature();
35  virtual const SEAppliedTemperature* GetAppliedTemperature() const;
36  virtual void RemoveAppliedTemperature();
37 
38  virtual void ToString(std::ostream& str) const;
39 
40  virtual const SEScalar* GetScalar(const std::string& name);
41 
42 protected:
47 };
Definition: SEEnvironmentAction.h:6
virtual const SEScalar * GetScalar(const std::string &name)=0
Definition: SEScalar.h:18
Definition: Logger.h:66
virtual void ToString(std::ostream &str) const =0
Definition: PBEnvironmentActions.h:11
virtual void Deactivate()
Definition: SEAction.h:34
Definition: SEAppliedTemperature.h:5
static SEAction * Copy(const SEAction &, const SESubstanceManager &)
Definition: SEAction.cpp:45
SEActiveConditioning * m_ActiveHeating
Definition: SEThermalApplication.h:44
virtual bool IsActive() const
Definition: SEAction.h:32
SEActiveConditioning * m_ActiveCooling
Definition: SEThermalApplication.h:45
Definition: SEThermalApplication.h:8
Definition: SEActiveConditioning.h:5
virtual bool IsValid() const
Definition: SEEnvironmentAction.cpp:21
SEAppliedTemperature * m_AppliedTemperature
Definition: SEThermalApplication.h:46
virtual void Clear()
Definition: SEEnvironmentAction.cpp:16
bool m_ClearContents
Definition: SEThermalApplication.h:43

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.