SEBlackBoxManager.h
18 virtual bool HasElectricalBlackBox(const std::string& srcCmptName, const std::string& tgtCmptName) const;
20 virtual bool HasGasBlackBox(const std::string& srcCmptName, const std::string& tgtCmptName) const;
22 virtual bool HasLiquidBlackBox(const std::string& srcCmptName, const std::string& tgtCmptName) const;
24 virtual bool HasThermalBlackBox(const std::string& srcCmptName, const std::string& tgtCmptName) const;
26 virtual SEElectricalBlackBox* GetElectricalBlackBox(const std::string& srcCmptName, const std::string& tgtCmptName, std::string name="");
27 virtual SEGasBlackBox* GetGasBlackBox(const std::string& srcCmptName, const std::string& tgtCmptName, std::string name = "");
28 virtual SELiquidBlackBox* GetLiquidBlackBox(const std::string& srcCmptName, const std::string& tgtCmptName, std::string name = "");
29 virtual SEThermalBlackBox* GetThermalBlackBox(const std::string& srcCmptName, const std::string& tgtCmptName, std::string name = "");
32 virtual SEElectricalBlackBox* CreateElectricalBlackBox(const std::string& srcCmptName, const std::string& tgtCmptName, const std::string& name);
33 virtual SEGasBlackBox* CreateGasBlackBox(const std::string& srcCmptName, const std::string& tgtCmptName, const std::string& name);
34 virtual SELiquidBlackBox* CreateLiquidBlackBox(const std::string& srcCmptName, const std::string& tgtCmptName, const std::string& name);
35 virtual SEThermalBlackBox* CreateThermalBlackBox(const std::string& srcCmptName, const std::string& tgtCmptName, const std::string& name);
37 virtual std::string GetBlackBoxName(const std::string& srcCmptName, const std::string& tgtCmptName) const;
38 template<typename tBlackBox> tBlackBox* CreateBlackBox(const std::string& name, std::map<std::string, tBlackBox*>& ledger);
41 template<typename tBlackBox, typename tCompartment, typename tLink, typename tNode, typename tPath>
45 Warning("Blackbox " + bb.GetName() + " already has a compartment mapped, only 1 black box can be between 2 compartments");
67 Warning("Blackbox " + bb.GetName() + " already has nodes mapped, only 1 blackbox can be between nodes");
Definition: CommonDataModelTest.h:26
Definition: Logger.h:23
Definition: Logger.h:71
Definition: SEBlackBoxManager.h:11
tBlackBox * CreateBlackBox(const std::string &name, std::map< std::string, tBlackBox * > &ledger)
std::map< std::string, SEGasBlackBox * > m_GasBoxes
Definition: SEBlackBoxManager.h:121
bool MapBlackBox(tBlackBox &bb, tPath &srcPath, tPath &tgtPath)
Definition: SEBlackBoxManager.h:64
std::map< std::string, SEElectricalBlackBox * > m_ElectricalBoxes
Definition: SEBlackBoxManager.h:120
std::map< std::string, SELiquidBlackBox * > m_LiquidBoxes
Definition: SEBlackBoxManager.h:122
bool MapBlackBox(tBlackBox &bb, tLink &src2bbLink, tLink &bb2tgtLink)
Definition: SEBlackBoxManager.h:42
std::map< std::string, SEThermalBlackBox * > m_ThermalBoxes
Definition: SEBlackBoxManager.h:123
Definition: SEElectricalBlackBox.h:11
Definition: SEGasBlackBox.h:11
Definition: SELiquidBlackBox.h:11
Definition: SEThermalBlackBox.h:11