Public Member Functions |
Protected Member Functions |
Protected Attributes |
Friends |
List of all members
SECompartmentManager Class Reference
#include <SECompartmentManager.h>
Inherits Loggable.
Public Member Functions | |
SECompartmentManager (SESubstanceManager &subMgr) | |
virtual | ~SECompartmentManager () |
virtual void | Setup () |
virtual void | Clear () |
virtual void | StateChange () |
virtual void | UpdateLinks () |
virtual void | UpdateLinks (SEGasCompartmentGraph &graph) |
virtual void | UpdateLinks (SELiquidCompartmentGraph &graph) |
virtual bool | HasCompartment (eCompartment_Type type, const std::string &name) const |
virtual SECompartment * | GetCompartment (eCompartment_Type type, const std::string &name) |
virtual const SECompartment * | GetCompartment (eCompartment_Type type, const std::string &name) const |
virtual SEGasCompartment & | CreateGasCompartment (const std::string &name) |
virtual void | DeleteGasCompartment (const std::string &name) |
virtual bool | HasGasCompartment (const std::string &name) const |
virtual SEGasCompartment * | GetGasCompartment (const std::string &name) |
virtual const SEGasCompartment * | GetGasCompartment (const std::string &name) const |
virtual const std::vector< SEGasCompartment * > & | GetGasCompartments () |
virtual const std::vector< SEGasCompartment * > & | GetGasLeafCompartments () |
virtual SEGasCompartmentLink & | CreateGasLink (SEGasCompartment &src, SEGasCompartment &tgt, const std::string &name) |
virtual void | DeleteGasLink (const std::string &name) |
virtual bool | HasGasLink (const std::string &name) const |
virtual SEGasCompartmentLink * | GetGasLink (const std::string &name) |
virtual const SEGasCompartmentLink * | GetGasLink (const std::string &name) const |
virtual const std::vector< SEGasCompartmentLink * > & | GetGasLinks () |
virtual SEGasCompartmentGraph & | CreateGasGraph (const std::string &name) |
virtual void | DeleteGasGraph (const std::string &name) |
virtual bool | HasGasGraph (const std::string &name) const |
virtual SEGasCompartmentGraph * | GetGasGraph (const std::string &name) |
virtual const SEGasCompartmentGraph * | GetGasGraph (const std::string &name) const |
virtual const std::vector< SEGasCompartmentGraph * > & | GetGasGraphs () |
virtual void | AddGasCompartmentSubstance (SESubstance &sub) |
virtual const std::vector< SESubstance * > & | GetGasCompartmentSubstances () const |
virtual SELiquidCompartment & | CreateLiquidCompartment (const std::string &name) |
virtual void | DeleteLiquidCompartment (const std::string &name) |
virtual bool | HasLiquidCompartment (const std::string &name) const |
virtual SELiquidCompartment * | GetLiquidCompartment (const std::string &name) |
virtual const SELiquidCompartment * | GetLiquidCompartment (const std::string &name) const |
virtual const std::vector< SELiquidCompartment * > & | GetLiquidCompartments () |
virtual const std::vector< SELiquidCompartment * > & | GetLiquidLeafCompartments () |
virtual SELiquidCompartmentLink & | CreateLiquidLink (SELiquidCompartment &src, SELiquidCompartment &tgt, const std::string &name) |
virtual void | DeleteLiquidLink (const std::string &name) |
virtual bool | HasLiquidLink (const std::string &name) const |
virtual SELiquidCompartmentLink * | GetLiquidLink (const std::string &name) |
virtual const SELiquidCompartmentLink * | GetLiquidLink (const std::string &name) const |
virtual const std::vector< SELiquidCompartmentLink * > & | GetLiquidLinks () |
virtual SELiquidCompartmentGraph & | CreateLiquidGraph (const std::string &name) |
virtual void | DeleteLiquidGraph (const std::string &name) |
virtual bool | HasLiquidGraph (const std::string &name) const |
virtual SELiquidCompartmentGraph * | GetLiquidGraph (const std::string &name) |
virtual const SELiquidCompartmentGraph * | GetLiquidGraph (const std::string &name) const |
virtual const std::vector< SELiquidCompartmentGraph * > & | GetLiquidGraphs () |
virtual void | AddLiquidCompartmentSubstance (SESubstance &sub) |
virtual const std::vector< SESubstance * > & | GetLiquidCompartmentSubstances () const |
virtual void | SampleByCardiacCyle (bool CycleStart) |
virtual void | SampleByCardiacCyle (SELiquidCompartment &) |
virtual SEThermalCompartment & | CreateThermalCompartment (const std::string &name) |
virtual void | DeleteThermalCompartment (const std::string &name) |
virtual bool | HasThermalCompartment (const std::string &name) const |
virtual SEThermalCompartment * | GetThermalCompartment (const std::string &name) |
virtual const SEThermalCompartment * | GetThermalCompartment (const std::string &name) const |
virtual const std::vector< SEThermalCompartment * > & | GetThermalCompartments () |
virtual const std::vector< SEThermalCompartment * > & | GetThermalLeafCompartments () |
virtual SEThermalCompartmentLink & | CreateThermalLink (SEThermalCompartment &src, SEThermalCompartment &tgt, const std::string &name) |
virtual void | DeleteThermalLink (const std::string &name) |
virtual bool | HasThermalLink (const std::string &name) const |
virtual SEThermalCompartmentLink * | GetThermalLink (const std::string &name) |
virtual const SEThermalCompartmentLink * | GetThermalLink (const std::string &name) const |
virtual const std::vector< SEThermalCompartmentLink * > & | GetThermalLinks () |
virtual bool | HasTissueCompartment (const std::string &name) const |
virtual void | DeleteTissueCompartment (const std::string &name) |
virtual SETissueCompartment & | CreateTissueCompartment (const std::string &name) |
virtual SETissueCompartment * | GetTissueCompartment (const std::string &name) |
virtual const SETissueCompartment * | GetTissueCompartment (const std::string &name) const |
virtual const std::vector< SETissueCompartment * > & | GetTissueCompartments () |
virtual const std::vector< SETissueCompartment * > & | GetTissueLeafCompartments () |
Public Member Functions inherited from Loggable | |
Loggable (Logger *logger=nullptr) | |
Loggable (std::string const &logfile) | |
virtual | ~Loggable () |
virtual Logger * | GetLogger () const |
virtual void | SetLogger (Logger &logger) |
virtual void | Debug (std::string const &msg) const |
virtual void | Debug (std::stringstream &msg) const |
virtual void | Debug (std::ostream &msg) const |
virtual void | Info (std::string const &msg) const |
virtual void | Info (std::stringstream &msg) const |
virtual void | Info (const std::stringstream &msg) const |
virtual void | Info (std::ostream &msg) const |
virtual void | Warning (std::string const &msg) const |
virtual void | Warning (std::stringstream &msg) const |
virtual void | Warning (std::ostream &msg) const |
virtual void | Error (std::string const &msg) const |
virtual void | Error (std::stringstream &msg) const |
virtual void | Error (std::ostream &msg) const |
virtual void | Fatal (std::string const &msg) const |
virtual void | Fatal (std::stringstream &msg) const |
virtual void | Fatal (std::ostream &msg) const |
Protected Member Functions | |
template<typename CompartmentType , typename LinkType > | |
void | UpdateLinks (const std::vector< CompartmentType * > &compartments, const std::vector< LinkType * > &links) const |
template<typename CompartmentType , typename LinkType > | |
void | GetChildLinks (CompartmentType *pnt, CompartmentType *child) const |
template<typename CompartmentType > | |
void | FindLeaves (CompartmentType *cmpt, std::vector< CompartmentType * > &leaves) const |
template<typename CompartmentType > | |
CompartmentType & | CreateCompartment (const std::string &name, std::map< std::string, CompartmentType * > &name2cmpt, std::vector< SESubstance * > *substances) |
template<typename CompartmentType > | |
bool | HasCompartment (const std::string &name, const std::map< std::string, CompartmentType * > &name2cmpt) const |
template<typename CompartmentType > | |
CompartmentType * | GetCompartment (const std::string &name, std::map< std::string, CompartmentType * > &name2cmpt) const |
template<typename CompartmentType > | |
const CompartmentType * | GetCompartment (const std::string &name, const std::map< std::string, CompartmentType * > &name2cmpt) const |
template<typename LinkType , typename CompartmentType > | |
LinkType & | CreateLink (CompartmentType &src, CompartmentType &tgt, const std::string &name, std::map< std::string, LinkType * > &name2link) const |
template<typename LinkType > | |
bool | HasLink (const std::string &name, const std::map< std::string, LinkType * > &name2link) const |
template<typename LinkType > | |
LinkType * | GetLink (const std::string &name, std::map< std::string, LinkType * > &name2link) const |
template<typename LinkType > | |
const LinkType * | GetLink (const std::string &name, const std::map< std::string, LinkType * > &name2link) const |
template<typename CompartmentType > | |
void | SetSubstances (CompartmentType &cmpt, std::vector< SESubstance * > &substances) const |
template<typename CompartmentType > | |
void | AddSubstance (SESubstance &s, CompartmentType &cmpt) const |
virtual bool | AllowGasSubstance (SESubstance &, SEGasCompartment &) const |
virtual bool | AllowLiquidSubstance (SESubstance &, SELiquidCompartment &) const |
Friends | |
class | PBCompartment |
Constructor & Destructor Documentation
◆ SECompartmentManager()
SECompartmentManager::SECompartmentManager | ( | SESubstanceManager & | subMgr | ) |
◆ ~SECompartmentManager()
|
virtual |
Member Function Documentation
◆ AddGasCompartmentSubstance()
|
virtual |
◆ AddLiquidCompartmentSubstance()
|
virtual |
◆ AddSubstance()
template<typename CompartmentType >
|
protected |
◆ AllowGasSubstance()
|
inlineprotectedvirtual |
◆ AllowLiquidSubstance()
|
inlineprotectedvirtual |
◆ Clear()
|
virtual |
◆ CreateCompartment()
template<typename CompartmentType >
|
protected |
◆ CreateGasCompartment()
|
virtual |
◆ CreateGasGraph()
|
virtual |
◆ CreateGasLink()
|
virtual |
◆ CreateLink()
template<typename LinkType , typename CompartmentType >
|
protected |
◆ CreateLiquidCompartment()
|
virtual |
◆ CreateLiquidGraph()
|
virtual |
◆ CreateLiquidLink()
|
virtual |
◆ CreateThermalCompartment()
|
virtual |
◆ CreateThermalLink()
|
virtual |
◆ CreateTissueCompartment()
|
virtual |
◆ DeleteGasCompartment()
|
virtual |
◆ DeleteGasGraph()
|
virtual |
◆ DeleteGasLink()
|
virtual |
◆ DeleteLiquidCompartment()
|
virtual |
◆ DeleteLiquidGraph()
|
virtual |
◆ DeleteLiquidLink()
|
virtual |
◆ DeleteThermalCompartment()
|
virtual |
◆ DeleteThermalLink()
|
virtual |
◆ DeleteTissueCompartment()
|
virtual |
◆ FindLeaves()
template<typename CompartmentType >
|
protected |
◆ GetChildLinks()
template<typename CompartmentType , typename LinkType >
|
protected |
◆ GetCompartment() [1/4]
template<typename CompartmentType >
|
protected |
◆ GetCompartment() [2/4]
template<typename CompartmentType >
|
protected |
◆ GetCompartment() [3/4]
|
virtual |
◆ GetCompartment() [4/4]
|
virtual |
◆ GetGasCompartment() [1/2]
|
virtual |
◆ GetGasCompartment() [2/2]
|
virtual |
◆ GetGasCompartments()
|
virtual |
◆ GetGasCompartmentSubstances()
|
virtual |
◆ GetGasGraph() [1/2]
|
virtual |
◆ GetGasGraph() [2/2]
|
virtual |
◆ GetGasGraphs()
|
virtual |
◆ GetGasLeafCompartments()
|
virtual |
◆ GetGasLink() [1/2]
|
virtual |
◆ GetGasLink() [2/2]
|
virtual |
◆ GetGasLinks()
|
virtual |
◆ GetLink() [1/2]
template<typename LinkType >
|
protected |
◆ GetLink() [2/2]
template<typename LinkType >
|
protected |
◆ GetLiquidCompartment() [1/2]
|
virtual |
◆ GetLiquidCompartment() [2/2]
|
virtual |
◆ GetLiquidCompartments()
|
virtual |
◆ GetLiquidCompartmentSubstances()
|
virtual |
◆ GetLiquidGraph() [1/2]
|
virtual |
◆ GetLiquidGraph() [2/2]
|
virtual |
◆ GetLiquidGraphs()
|
virtual |
◆ GetLiquidLeafCompartments()
|
virtual |
◆ GetLiquidLink() [1/2]
|
virtual |
◆ GetLiquidLink() [2/2]
|
virtual |
◆ GetLiquidLinks()
|
virtual |
◆ GetThermalCompartment() [1/2]
|
virtual |
◆ GetThermalCompartment() [2/2]
|
virtual |
◆ GetThermalCompartments()
|
virtual |
◆ GetThermalLeafCompartments()
|
virtual |
◆ GetThermalLink() [1/2]
|
virtual |
◆ GetThermalLink() [2/2]
|
virtual |
◆ GetThermalLinks()
|
virtual |
◆ GetTissueCompartment() [1/2]
|
virtual |
◆ GetTissueCompartment() [2/2]
|
virtual |
◆ GetTissueCompartments()
|
virtual |
◆ GetTissueLeafCompartments()
|
virtual |
◆ HasCompartment() [1/2]
template<typename CompartmentType >
|
protected |
◆ HasCompartment() [2/2]
|
virtual |
◆ HasGasCompartment()
|
virtual |
◆ HasGasGraph()
|
virtual |
◆ HasGasLink()
|
virtual |
◆ HasLink()
template<typename LinkType >
|
protected |
◆ HasLiquidCompartment()
|
virtual |
◆ HasLiquidGraph()
|
virtual |
◆ HasLiquidLink()
|
virtual |
◆ HasThermalCompartment()
|
virtual |
◆ HasThermalLink()
|
virtual |
◆ HasTissueCompartment()
|
virtual |
◆ SampleByCardiacCyle() [1/2]
|
virtual |
◆ SampleByCardiacCyle() [2/2]
|
virtual |
◆ SetSubstances()
template<typename CompartmentType >
|
protected |
◆ Setup()
|
virtual |
◆ StateChange()
|
virtual |
◆ UpdateLinks() [1/4]
|
virtual |
◆ UpdateLinks() [2/4]
template<typename CompartmentType , typename LinkType >
|
protected |
◆ UpdateLinks() [3/4]
|
virtual |
◆ UpdateLinks() [4/4]
|
virtual |
Friends And Related Function Documentation
◆ PBCompartment
|
friend |
Member Data Documentation
◆ m_CardiacCycleSampledCompartments
|
protected |
◆ m_CO
|
protected |
◆ m_CO2
|
protected |
◆ m_GasCompartments
|
protected |
◆ m_GasGraphs
|
protected |
◆ m_GasLeafCompartments
|
protected |
◆ m_GasLinks
|
protected |
◆ m_GasName2Compartments
|
protected |
◆ m_GasName2Graphs
|
protected |
◆ m_GasName2Links
|
protected |
◆ m_GasSubstances
|
protected |
◆ m_Hb
|
protected |
◆ m_HbCO
|
protected |
◆ m_HbCO2
|
protected |
◆ m_HbO2
|
protected |
◆ m_HbO2CO2
|
protected |
◆ m_LiquidCompartments
|
protected |
◆ m_LiquidGraphs
|
protected |
◆ m_LiquidLeafCompartments
|
protected |
◆ m_LiquidLinks
|
protected |
◆ m_LiquidName2Compartments
|
protected |
◆ m_LiquidName2Graphs
|
protected |
◆ m_LiquidName2Links
|
protected |
◆ m_LiquidSubstances
|
protected |
◆ m_O2
|
protected |
◆ m_subMgr
|
protected |
◆ m_ThermalCompartments
|
protected |
◆ m_ThermalLeafCompartments
|
protected |
◆ m_ThermalLinks
|
protected |
◆ m_ThermalName2Compartments
|
protected |
◆ m_ThermalName2Links
|
protected |
◆ m_TissueCompartments
|
protected |
◆ m_TissueLeafCompartments
|
protected |
◆ m_TissueName2Compartments
|
protected |