SEElectricalCircuit.h
1/* Distributed under the Apache License, Version 2.0.
2 See accompanying NOTICE file for details.*/
3
4#pragma once
5#include "cdm/circuit/SECircuit.h"
6#include "cdm/circuit/electrical/SEElectricalCircuitNode.h"
7#include "cdm/circuit/electrical/SEElectricalCircuitPath.h"
8
10
11class CDM_DECL SEElectricalCircuit : public SECircuit< SEElectricalCircuitNode, SEElectricalCircuitPath>
12{
13 friend class PBCircuit;//friend the serialization class
14 friend class SECircuitManager;
15protected:
16 SEElectricalCircuit(const std::string& name, SECircuitManager& mgr);
17public:
18 virtual ~SEElectricalCircuit();
19
20 SEElectricalCircuitNode& CreateNode(const std::string& name);
22
23 void AddCircuit(SEElectricalCircuit& circuit);
24
25protected:
27};
Definition: PBCircuit.h:26
Definition: SECircuit.h:13
Definition: SECircuitManager.h:38
PathType & CreatePath(NodeType &src, NodeType &tgt, const std::string &name, SECircuitLedger< CIRCUIT_LEDGER_TYPES > &ledger)
Definition: SECircuitManager.hxx:102
NodeType & CreateNode(const std::string &name, SECircuitLedger< CIRCUIT_LEDGER_TYPES > &ledger)
Definition: SECircuitManager.hxx:25
Definition: SEElectricalCircuit.h:12
SECircuitManager & m_Mgr
Definition: SEElectricalCircuit.h:26
Definition: SEElectricalCircuitNode.h:10
Definition: SEElectricalCircuitPath.h:9

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.