SEThermalCircuit.h
1 /**************************************************************************************
2 Copyright 2015 Applied Research Associates, Inc.
3 Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4 this file except in compliance with the License. You may obtain a copy of the License
5 at:
6 http://www.apache.org/licenses/LICENSE-2.0
7 Unless required by applicable law or agreed to in writing, software distributed under
8 the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9 CONDITIONS OF ANY KIND, either express or implied. See the License for the
10 specific language governing permissions and limitations under the License.
11 **************************************************************************************/
12 
13 #pragma once
14 #include <biogears/cdm/circuit/SECircuit.h>
15 #include <biogears/cdm/circuit/thermal/SEThermalCircuitNode.h>
16 #include <biogears/cdm/circuit/thermal/SEThermalCircuitPath.h>
17 
18 namespace biogears {
19 class SECircuitManager;
20 class BIOGEARS_API SEThermalCircuit : public SECircuit<CDM::ThermalCircuitData, SEThermalCircuitNode, CDM::ThermalCircuitNodeData, SEThermalCircuitPath, CDM::ThermalCircuitPathData> {
21  friend class SECircuitManager;
22 
23 protected:
24  SEThermalCircuit(const char* name, SECircuitManager& mgr);
25  SEThermalCircuit(const std::string& name, SECircuitManager& mgr);
26 
27 public:
28  virtual ~SEThermalCircuit() override;
29 
30  SEThermalCircuitNode& CreateNode(const char* name);
31  SEThermalCircuitNode& CreateNode(const std::string& name);
32  SEThermalCircuitPath& CreatePath(SEThermalCircuitNode& src, SEThermalCircuitNode& tgt, const char* name);
33  SEThermalCircuitPath& CreatePath(SEThermalCircuitNode& src, SEThermalCircuitNode& tgt, const std::string& name);
34 
35  void AddCircuit(SEThermalCircuit& circuit);
36 
37 protected:
39 };
40 }
Definition: SECircuit.h:25
Definition: SEThermalCircuitPath.h:25
Definition: SEThermalCircuitNode.h:20
SECircuitManager & m_Mgr
Definition: SEThermalCircuit.h:38
Definition: SEThermalCircuit.h:20
Definition: SEElectricalCircuit.h:18
Definition: SECircuitManager.h:53