SEThermalCircuitNode.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 
4 #pragma once
5 #include "circuit/SECircuitNode.h"
6 
7 class CDM_DECL SEThermalCircuitNode : public SECircuitNode<THERMAL_CIRCUIT_NODE>
8 {
9  friend class PBCircuit;//friend the serialization class
10  friend class SECircuitManager;
11 protected:
12  SEThermalCircuitNode(const std::string& name, Logger* logger);
13 public:
14  virtual ~SEThermalCircuitNode();
15 
16  virtual void Clear(); //clear memory
17 
18  virtual bool HasTemperature() const;
19  virtual SEScalarTemperature& GetTemperature();
20  virtual double GetTemperature(const TemperatureUnit& unit) const;
21 
22  virtual bool HasNextTemperature() const;
23  virtual SEScalarTemperature& GetNextTemperature();
24  virtual double GetNextTemperature(const TemperatureUnit& unit) const;
25 
26 
27  virtual bool HasHeat() const;
28  virtual SEScalarEnergy& GetHeat();
29  virtual double GetHeat(const EnergyUnit& unit) const;
30 
31  virtual bool HasNextHeat() const;
32  virtual SEScalarEnergy& GetNextHeat();
33  virtual double GetNextHeat(const EnergyUnit& unit) const;
34 
35  virtual bool HasHeatBaseline() const;
36  virtual SEScalarEnergy& GetHeatBaseline();
37  virtual double GetHeatBaseline(const EnergyUnit& unit) const;
38 };
Definition: Logger.h:61
Definition: SEScalarTemperature.h:22
Definition: SECircuitNode.h:19
Definition: SEScalarEnergy.h:7
Definition: PBCircuit.h:25
Definition: SECircuitManager.h:37
Definition: SEScalarEnergy.h:22
Definition: SEScalarTemperature.h:7
virtual void Clear()
Definition: SEThermalCircuitNode.h:7