#include <SECompartmentManager.h>

Inheritance diagram for biogears::SECompartmentManager:

Public Member Functions

 SECompartmentManager (SESubstanceManager &subMgr)
 
virtual ~SECompartmentManager ()
 
virtual void Clear ()
 
virtual bool Load (const CDM::CompartmentManagerData &in, SECircuitManager *circuits=nullptr)
 
virtual CDM::CompartmentManagerDataUnload () const
 
virtual void StateChange ()
 
virtual void UpdateLinks ()
 
virtual void UpdateLinks (SEGasCompartmentGraph &graph)
 
virtual void UpdateLinks (SELiquidCompartmentGraph &graph)
 
virtual bool HasCompartment (CDM::enumCompartmentType::value type, const char *name) const
 
virtual bool HasCompartment (CDM::enumCompartmentType::value type, const std::string &name) const
 
virtual SECompartmentGetCompartment (CDM::enumCompartmentType::value type, const char *name)
 
virtual SECompartmentGetCompartment (CDM::enumCompartmentType::value type, const std::string &name)
 
virtual const SECompartmentGetCompartment (CDM::enumCompartmentType::value type, const char *name) const
 
virtual const SECompartmentGetCompartment (CDM::enumCompartmentType::value type, const std::string &name) const
 
virtual SEGasCompartmentCreateGasCompartment (const char *name)
 
virtual SEGasCompartmentCreateGasCompartment (const std::string &name)
 
virtual void DeleteGasCompartment (const char *name)
 
virtual void DeleteGasCompartment (const std::string &name)
 
virtual bool HasGasCompartment (const char *name) const
 
virtual bool HasGasCompartment (const std::string &name) const
 
virtual SEGasCompartmentGetGasCompartment (const char *name)
 
virtual SEGasCompartmentGetGasCompartment (const std::string &name)
 
virtual const SEGasCompartmentGetGasCompartment (const char *name) const
 
virtual const SEGasCompartmentGetGasCompartment (const std::string &name) const
 
virtual const std::vector< SEGasCompartment * > & GetGasCompartments ()
 
virtual const std::vector< SEGasCompartment * > & GetGasLeafCompartments ()
 
virtual SEGasCompartmentLinkCreateGasLink (SEGasCompartment &src, SEGasCompartment &tgt, const char *name)
 
virtual SEGasCompartmentLinkCreateGasLink (SEGasCompartment &src, SEGasCompartment &tgt, const std::string &name)
 
virtual void DeleteGasLink (const char *name)
 
virtual void DeleteGasLink (const std::string &name)
 
virtual bool HasGasLink (const char *name) const
 
virtual bool HasGasLink (const std::string &name) const
 
virtual SEGasCompartmentLinkGetGasLink (const char *name)
 
virtual SEGasCompartmentLinkGetGasLink (const std::string &name)
 
virtual const SEGasCompartmentLinkGetGasLink (const char *name) const
 
virtual const SEGasCompartmentLinkGetGasLink (const std::string &name) const
 
virtual const std::vector< SEGasCompartmentLink * > & GetGasLinks ()
 
virtual SEGasCompartmentGraphCreateGasGraph (const char *name)
 
virtual SEGasCompartmentGraphCreateGasGraph (const std::string &name)
 
virtual void DeleteGasGraph (const char *name)
 
virtual void DeleteGasGraph (const std::string &name)
 
virtual bool HasGasGraph (const char *name) const
 
virtual bool HasGasGraph (const std::string &name) const
 
virtual SEGasCompartmentGraphGetGasGraph (const char *name)
 
virtual SEGasCompartmentGraphGetGasGraph (const std::string &name)
 
virtual const SEGasCompartmentGraphGetGasGraph (const char *name) const
 
virtual const SEGasCompartmentGraphGetGasGraph (const std::string &name) const
 
virtual const std::vector< SEGasCompartmentGraph * > & GetGasGraphs ()
 
virtual void AddGasCompartmentSubstance (SESubstance &sub)
 
virtual const std::vector< SESubstance * > & GetGasCompartmentSubstances () const
 
virtual SELiquidCompartmentCreateLiquidCompartment (const char *name)
 
virtual SELiquidCompartmentCreateLiquidCompartment (const std::string &name)
 
virtual void DeleteLiquidCompartment (const char *name)
 
virtual void DeleteLiquidCompartment (const std::string &name)
 
virtual bool HasLiquidCompartment (const char *name) const
 
virtual bool HasLiquidCompartment (const std::string &name) const
 
virtual SELiquidCompartmentGetLiquidCompartment (const char *name)
 
virtual SELiquidCompartmentGetLiquidCompartment (const std::string &name)
 
virtual const SELiquidCompartmentGetLiquidCompartment (const char *name) const
 
virtual const SELiquidCompartmentGetLiquidCompartment (const std::string &name) const
 
virtual const std::vector< SELiquidCompartment * > & GetLiquidCompartments ()
 
virtual const std::vector< SELiquidCompartment * > & GetLiquidLeafCompartments ()
 
virtual SELiquidCompartmentLinkCreateLiquidLink (SELiquidCompartment &src, SELiquidCompartment &tgt, const char *name)
 
virtual SELiquidCompartmentLinkCreateLiquidLink (SELiquidCompartment &src, SELiquidCompartment &tgt, const std::string &name)
 
virtual void DeleteLiquidLink (const char *name)
 
virtual void DeleteLiquidLink (const std::string &name)
 
virtual bool HasLiquidLink (const char *name) const
 
virtual bool HasLiquidLink (const std::string &name) const
 
virtual SELiquidCompartmentLinkGetLiquidLink (const char *name)
 
virtual SELiquidCompartmentLinkGetLiquidLink (const std::string &name)
 
virtual const SELiquidCompartmentLinkGetLiquidLink (const char *name) const
 
virtual const SELiquidCompartmentLinkGetLiquidLink (const std::string &name) const
 
virtual const std::vector< SELiquidCompartmentLink * > & GetLiquidLinks ()
 
virtual SELiquidCompartmentGraphCreateLiquidGraph (const char *name)
 
virtual SELiquidCompartmentGraphCreateLiquidGraph (const std::string &name)
 
virtual void DeleteLiquidGraph (const char *name)
 
virtual void DeleteLiquidGraph (const std::string &name)
 
virtual bool HasLiquidGraph (const char *name) const
 
virtual bool HasLiquidGraph (const std::string &name) const
 
virtual SELiquidCompartmentGraphGetLiquidGraph (const char *name)
 
virtual SELiquidCompartmentGraphGetLiquidGraph (const std::string &name)
 
virtual const SELiquidCompartmentGraphGetLiquidGraph (const char *name) const
 
virtual const SELiquidCompartmentGraphGetLiquidGraph (const std::string &name) const
 
virtual const std::vector< SELiquidCompartmentGraph * > & GetLiquidGraphs ()
 
virtual void AddLiquidCompartmentSubstance (SESubstance &sub)
 
virtual const std::vector< SESubstance * > & GetLiquidCompartmentSubstances () const
 
virtual SEThermalCompartmentCreateThermalCompartment (const char *name)
 
virtual SEThermalCompartmentCreateThermalCompartment (const std::string &name)
 
virtual void DeleteThermalCompartment (const char *name)
 
virtual void DeleteThermalCompartment (const std::string &name)
 
virtual bool HasThermalCompartment (const char *name) const
 
virtual bool HasThermalCompartment (const std::string &name) const
 
virtual SEThermalCompartmentGetThermalCompartment (const char *name)
 
virtual SEThermalCompartmentGetThermalCompartment (const std::string &name)
 
virtual const SEThermalCompartmentGetThermalCompartment (const char *name) const
 
virtual const SEThermalCompartmentGetThermalCompartment (const std::string &name) const
 
virtual const std::vector< SEThermalCompartment * > & GetThermalCompartments ()
 
virtual const std::vector< SEThermalCompartment * > & GetThermalLeafCompartments ()
 
virtual SEThermalCompartmentLinkCreateThermalLink (SEThermalCompartment &src, SEThermalCompartment &tgt, const char *name)
 
virtual SEThermalCompartmentLinkCreateThermalLink (SEThermalCompartment &src, SEThermalCompartment &tgt, const std::string &name)
 
virtual void DeleteThermalLink (const char *name)
 
virtual void DeleteThermalLink (const std::string &name)
 
virtual bool HasThermalLink (const char *name) const
 
virtual bool HasThermalLink (const std::string &name) const
 
virtual SEThermalCompartmentLinkGetThermalLink (const char *name)
 
virtual SEThermalCompartmentLinkGetThermalLink (const std::string &name)
 
virtual const SEThermalCompartmentLinkGetThermalLink (const char *name) const
 
virtual const SEThermalCompartmentLinkGetThermalLink (const std::string &name) const
 
virtual const std::vector< SEThermalCompartmentLink * > & GetThermalLinks ()
 
virtual bool HasTissueCompartment (const char *name) const
 
virtual bool HasTissueCompartment (const std::string &name) const
 
virtual void DeleteTissueCompartment (const char *name)
 
virtual void DeleteTissueCompartment (const std::string &name)
 
virtual SETissueCompartmentCreateTissueCompartment (const char *name)
 
virtual SETissueCompartmentCreateTissueCompartment (const std::string &name)
 
virtual SETissueCompartmentGetTissueCompartment (const char *name)
 
virtual SETissueCompartmentGetTissueCompartment (const std::string &name)
 
virtual const SETissueCompartmentGetTissueCompartment (const char *name) const
 
virtual const SETissueCompartmentGetTissueCompartment (const std::string &name) const
 
virtual const std::vector< SETissueCompartment * > & GetTissueCompartments ()
 
virtual const std::vector< SETissueCompartment * > & GetTissueLeafCompartments ()
 
- Public Member Functions inherited from biogears::Loggable
 Loggable ()
 
 Loggable (Logger *log)
 
virtual ~Loggable ()
 
virtual LoggerGetLogger () const
 

Protected Member Functions

void Unload (CDM::CompartmentManagerData &data) const
 
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 &s, SEGasCompartment &cmpt) const
 
virtual bool AllowLiquidSubstance (SESubstance &s, SELiquidCompartment &cmpt) const
 
- Protected Member Functions inherited from biogears::Loggable
virtual void Debug (const char *msg, const char *origin="") const
 
virtual void Debug (const std::string &msg, const std::string &origin=empty) const
 
virtual void Debug (std::ostream &msg, const std::string &origin=empty) const
 
virtual void Info (const char *msg, const char *origin="") const
 
virtual void Info (const std::string &msg, const std::string &origin=empty) const
 
virtual void Info (std::ostream &msg, const std::string &origin=empty) const
 
virtual void Warning (const char *msg, const char *origin="") const
 
virtual void Warning (const std::string &msg, const std::string &origin=empty) const
 
virtual void Warning (std::ostream &msg, const std::string &origin=empty) const
 
virtual void Error (const char *msg, const char *origin="") const
 
virtual void Error (const std::string msg, const std::string origin=empty) const
 
virtual void Error (std::ostream &msg, const std::string &origin=empty) const
 
virtual void Fatal (const char *msg, const char *origin="") const
 
virtual void Fatal (const std::string &msg, const std::string &origin=empty) const
 
virtual void Fatal (std::ostream &msg, const std::string &origin=empty) const
 

Protected Attributes

std::vector< SEGasCompartment * > m_GasCompartments
 
std::vector< SEGasCompartment * > m_GasLeafCompartments
 
std::map< std::string, SEGasCompartment * > m_GasName2Compartments
 
std::vector< SEGasCompartmentLink * > m_GasLinks
 
std::map< std::string, SEGasCompartmentLink * > m_GasName2Links
 
std::vector< SEGasCompartmentGraph * > m_GasGraphs
 
std::map< std::string, SEGasCompartmentGraph * > m_GasName2Graphs
 
std::vector< SESubstance * > m_GasSubstances
 
std::vector< SELiquidCompartment * > m_LiquidCompartments
 
std::vector< SELiquidCompartment * > m_LiquidLeafCompartments
 
std::map< std::string, SELiquidCompartment * > m_LiquidName2Compartments
 
std::vector< SELiquidCompartmentLink * > m_LiquidLinks
 
std::map< std::string, SELiquidCompartmentLink * > m_LiquidName2Links
 
std::vector< SELiquidCompartmentGraph * > m_LiquidGraphs
 
std::map< std::string, SELiquidCompartmentGraph * > m_LiquidName2Graphs
 
std::vector< SESubstance * > m_LiquidSubstances
 
std::vector< SEThermalCompartment * > m_ThermalCompartments
 
std::vector< SEThermalCompartment * > m_ThermalLeafCompartments
 
std::map< std::string, SEThermalCompartment * > m_ThermalName2Compartments
 
std::vector< SEThermalCompartmentLink * > m_ThermalLinks
 
std::map< std::string, SEThermalCompartmentLink * > m_ThermalName2Links
 
std::vector< SETissueCompartment * > m_TissueCompartments
 
std::vector< SETissueCompartment * > m_TissueLeafCompartments
 
std::map< std::string, SETissueCompartment * > m_TissueName2Compartments
 
SESubstancem_O2
 
SESubstancem_CO2
 
SESubstancem_CO
 
SESubstancem_Hb
 
SESubstancem_HbO2
 
SESubstancem_HbCO2
 
SESubstancem_HbO2CO2
 
SESubstancem_HbCO
 
SESubstanceManagerm_subMgr
 
- Protected Attributes inherited from biogears::Loggable
Loggerm_Logger
 

Additional Inherited Members

- Static Public Attributes inherited from biogears::Loggable
static const std::string empty
 
static const char * empty_cStr
 

Constructor & Destructor Documentation

biogears::SECompartmentManager::SECompartmentManager ( SESubstanceManager subMgr)
biogears::SECompartmentManager::~SECompartmentManager ( )
virtual

Member Function Documentation

void biogears::SECompartmentManager::AddGasCompartmentSubstance ( SESubstance sub)
virtual

Reimplemented in biogears::BioGearsCompartments.

void biogears::SECompartmentManager::AddLiquidCompartmentSubstance ( SESubstance sub)
virtual

Reimplemented in biogears::BioGearsCompartments.

template<typename CompartmentType >
void biogears::SECompartmentManager::AddSubstance ( SESubstance s,
CompartmentType &  cmpt 
) const
protected
virtual bool biogears::SECompartmentManager::AllowGasSubstance ( SESubstance s,
SEGasCompartment cmpt 
) const
inlineprotectedvirtual

Reimplemented in biogears::BioGearsCompartments.

virtual bool biogears::SECompartmentManager::AllowLiquidSubstance ( SESubstance s,
SELiquidCompartment cmpt 
) const
inlineprotectedvirtual

Reimplemented in biogears::BioGearsCompartments.

void biogears::SECompartmentManager::Clear ( )
virtual

Reimplemented in biogears::BioGearsCompartments.

template<typename CompartmentType >
CompartmentType & biogears::SECompartmentManager::CreateCompartment ( const std::string &  name,
std::map< std::string, CompartmentType * > &  name2cmpt,
std::vector< SESubstance * > *  substances 
)
protected
SEGasCompartment & biogears::SECompartmentManager::CreateGasCompartment ( const char *  name)
virtual
SEGasCompartment & biogears::SECompartmentManager::CreateGasCompartment ( const std::string &  name)
virtual
SEGasCompartmentGraph & biogears::SECompartmentManager::CreateGasGraph ( const char *  name)
virtual
SEGasCompartmentGraph & biogears::SECompartmentManager::CreateGasGraph ( const std::string &  name)
virtual
SEGasCompartmentLink & biogears::SECompartmentManager::CreateGasLink ( SEGasCompartment src,
SEGasCompartment tgt,
const char *  name 
)
virtual
SEGasCompartmentLink & biogears::SECompartmentManager::CreateGasLink ( SEGasCompartment src,
SEGasCompartment tgt,
const std::string &  name 
)
virtual
template<typename LinkType , typename CompartmentType >
LinkType & biogears::SECompartmentManager::CreateLink ( CompartmentType &  src,
CompartmentType &  tgt,
const std::string &  name,
std::map< std::string, LinkType * > &  name2link 
) const
protected
SELiquidCompartment & biogears::SECompartmentManager::CreateLiquidCompartment ( const char *  name)
virtual
SELiquidCompartment & biogears::SECompartmentManager::CreateLiquidCompartment ( const std::string &  name)
virtual
SELiquidCompartmentGraph & biogears::SECompartmentManager::CreateLiquidGraph ( const char *  name)
virtual
SELiquidCompartmentGraph & biogears::SECompartmentManager::CreateLiquidGraph ( const std::string &  name)
virtual
SELiquidCompartmentLink & biogears::SECompartmentManager::CreateLiquidLink ( SELiquidCompartment src,
SELiquidCompartment tgt,
const char *  name 
)
virtual
SELiquidCompartmentLink & biogears::SECompartmentManager::CreateLiquidLink ( SELiquidCompartment src,
SELiquidCompartment tgt,
const std::string &  name 
)
virtual
SEThermalCompartment & biogears::SECompartmentManager::CreateThermalCompartment ( const char *  name)
virtual
SEThermalCompartment & biogears::SECompartmentManager::CreateThermalCompartment ( const std::string &  name)
virtual
SEThermalCompartmentLink & biogears::SECompartmentManager::CreateThermalLink ( SEThermalCompartment src,
SEThermalCompartment tgt,
const char *  name 
)
virtual
SEThermalCompartmentLink & biogears::SECompartmentManager::CreateThermalLink ( SEThermalCompartment src,
SEThermalCompartment tgt,
const std::string &  name 
)
virtual
SETissueCompartment & biogears::SECompartmentManager::CreateTissueCompartment ( const char *  name)
virtual
SETissueCompartment & biogears::SECompartmentManager::CreateTissueCompartment ( const std::string &  name)
virtual
void biogears::SECompartmentManager::DeleteGasCompartment ( const char *  name)
virtual
void biogears::SECompartmentManager::DeleteGasCompartment ( const std::string &  name)
virtual
void biogears::SECompartmentManager::DeleteGasGraph ( const char *  name)
virtual
void biogears::SECompartmentManager::DeleteGasGraph ( const std::string &  name)
virtual
void biogears::SECompartmentManager::DeleteGasLink ( const char *  name)
virtual
void biogears::SECompartmentManager::DeleteGasLink ( const std::string &  name)
virtual
void biogears::SECompartmentManager::DeleteLiquidCompartment ( const char *  name)
virtual
void biogears::SECompartmentManager::DeleteLiquidCompartment ( const std::string &  name)
virtual
void biogears::SECompartmentManager::DeleteLiquidGraph ( const char *  name)
virtual
void biogears::SECompartmentManager::DeleteLiquidGraph ( const std::string &  name)
virtual
void biogears::SECompartmentManager::DeleteLiquidLink ( const char *  name)
virtual
void biogears::SECompartmentManager::DeleteLiquidLink ( const std::string &  name)
virtual
void biogears::SECompartmentManager::DeleteThermalCompartment ( const char *  name)
virtual
void biogears::SECompartmentManager::DeleteThermalCompartment ( const std::string &  name)
virtual
void biogears::SECompartmentManager::DeleteThermalLink ( const char *  name)
virtual
void biogears::SECompartmentManager::DeleteThermalLink ( const std::string &  name)
virtual
void biogears::SECompartmentManager::DeleteTissueCompartment ( const char *  name)
virtual
void biogears::SECompartmentManager::DeleteTissueCompartment ( const std::string &  name)
virtual
template<typename CompartmentType >
void biogears::SECompartmentManager::FindLeaves ( CompartmentType *  cmpt,
std::vector< CompartmentType * > &  leaves 
) const
protected
template<typename CompartmentType , typename LinkType >
void biogears::SECompartmentManager::GetChildLinks ( CompartmentType *  pnt,
CompartmentType *  child 
) const
protected
SECompartment * biogears::SECompartmentManager::GetCompartment ( CDM::enumCompartmentType::value  type,
const char *  name 
)
virtual
SECompartment * biogears::SECompartmentManager::GetCompartment ( CDM::enumCompartmentType::value  type,
const std::string &  name 
)
virtual
const SECompartment * biogears::SECompartmentManager::GetCompartment ( CDM::enumCompartmentType::value  type,
const char *  name 
) const
virtual
const SECompartment * biogears::SECompartmentManager::GetCompartment ( CDM::enumCompartmentType::value  type,
const std::string &  name 
) const
virtual
template<typename CompartmentType >
CompartmentType * biogears::SECompartmentManager::GetCompartment ( const std::string &  name,
std::map< std::string, CompartmentType * > &  name2cmpt 
) const
protected
template<typename CompartmentType >
const CompartmentType * biogears::SECompartmentManager::GetCompartment ( const std::string &  name,
const std::map< std::string, CompartmentType * > &  name2cmpt 
) const
protected
SEGasCompartment * biogears::SECompartmentManager::GetGasCompartment ( const char *  name)
virtual
SEGasCompartment * biogears::SECompartmentManager::GetGasCompartment ( const std::string &  name)
virtual
const SEGasCompartment * biogears::SECompartmentManager::GetGasCompartment ( const char *  name) const
virtual
const SEGasCompartment * biogears::SECompartmentManager::GetGasCompartment ( const std::string &  name) const
virtual
const std::vector< SEGasCompartment * > & biogears::SECompartmentManager::GetGasCompartments ( )
virtual
const std::vector< SESubstance * > & biogears::SECompartmentManager::GetGasCompartmentSubstances ( ) const
virtual
SEGasCompartmentGraph * biogears::SECompartmentManager::GetGasGraph ( const char *  name)
virtual
SEGasCompartmentGraph * biogears::SECompartmentManager::GetGasGraph ( const std::string &  name)
virtual
const SEGasCompartmentGraph * biogears::SECompartmentManager::GetGasGraph ( const char *  name) const
virtual
const SEGasCompartmentGraph * biogears::SECompartmentManager::GetGasGraph ( const std::string &  name) const
virtual
const std::vector< SEGasCompartmentGraph * > & biogears::SECompartmentManager::GetGasGraphs ( )
virtual
const std::vector< SEGasCompartment * > & biogears::SECompartmentManager::GetGasLeafCompartments ( )
virtual
SEGasCompartmentLink * biogears::SECompartmentManager::GetGasLink ( const char *  name)
virtual
SEGasCompartmentLink * biogears::SECompartmentManager::GetGasLink ( const std::string &  name)
virtual
const SEGasCompartmentLink * biogears::SECompartmentManager::GetGasLink ( const char *  name) const
virtual
const SEGasCompartmentLink * biogears::SECompartmentManager::GetGasLink ( const std::string &  name) const
virtual
const std::vector< SEGasCompartmentLink * > & biogears::SECompartmentManager::GetGasLinks ( )
virtual
template<typename LinkType >
LinkType * biogears::SECompartmentManager::GetLink ( const std::string &  name,
std::map< std::string, LinkType * > &  name2link 
) const
protected
template<typename LinkType >
const LinkType * biogears::SECompartmentManager::GetLink ( const std::string &  name,
const std::map< std::string, LinkType * > &  name2link 
) const
protected
SELiquidCompartment * biogears::SECompartmentManager::GetLiquidCompartment ( const char *  name)
virtual
SELiquidCompartment * biogears::SECompartmentManager::GetLiquidCompartment ( const std::string &  name)
virtual
const SELiquidCompartment * biogears::SECompartmentManager::GetLiquidCompartment ( const char *  name) const
virtual
const SELiquidCompartment * biogears::SECompartmentManager::GetLiquidCompartment ( const std::string &  name) const
virtual
const std::vector< SELiquidCompartment * > & biogears::SECompartmentManager::GetLiquidCompartments ( )
virtual
const std::vector< SESubstance * > & biogears::SECompartmentManager::GetLiquidCompartmentSubstances ( ) const
virtual
SELiquidCompartmentGraph * biogears::SECompartmentManager::GetLiquidGraph ( const char *  name)
virtual
SELiquidCompartmentGraph * biogears::SECompartmentManager::GetLiquidGraph ( const std::string &  name)
virtual
const SELiquidCompartmentGraph * biogears::SECompartmentManager::GetLiquidGraph ( const char *  name) const
virtual
const SELiquidCompartmentGraph * biogears::SECompartmentManager::GetLiquidGraph ( const std::string &  name) const
virtual
const std::vector< SELiquidCompartmentGraph * > & biogears::SECompartmentManager::GetLiquidGraphs ( )
virtual
const std::vector< SELiquidCompartment * > & biogears::SECompartmentManager::GetLiquidLeafCompartments ( )
virtual
SELiquidCompartmentLink * biogears::SECompartmentManager::GetLiquidLink ( const char *  name)
virtual
SELiquidCompartmentLink * biogears::SECompartmentManager::GetLiquidLink ( const std::string &  name)
virtual
const SELiquidCompartmentLink * biogears::SECompartmentManager::GetLiquidLink ( const char *  name) const
virtual
const SELiquidCompartmentLink * biogears::SECompartmentManager::GetLiquidLink ( const std::string &  name) const
virtual
const std::vector< SELiquidCompartmentLink * > & biogears::SECompartmentManager::GetLiquidLinks ( )
virtual
SEThermalCompartment * biogears::SECompartmentManager::GetThermalCompartment ( const char *  name)
virtual
SEThermalCompartment * biogears::SECompartmentManager::GetThermalCompartment ( const std::string &  name)
virtual
const SEThermalCompartment * biogears::SECompartmentManager::GetThermalCompartment ( const char *  name) const
virtual
const SEThermalCompartment * biogears::SECompartmentManager::GetThermalCompartment ( const std::string &  name) const
virtual
const std::vector< SEThermalCompartment * > & biogears::SECompartmentManager::GetThermalCompartments ( )
virtual
const std::vector< SEThermalCompartment * > & biogears::SECompartmentManager::GetThermalLeafCompartments ( )
virtual
SEThermalCompartmentLink * biogears::SECompartmentManager::GetThermalLink ( const char *  name)
virtual
SEThermalCompartmentLink * biogears::SECompartmentManager::GetThermalLink ( const std::string &  name)
virtual
const SEThermalCompartmentLink * biogears::SECompartmentManager::GetThermalLink ( const char *  name) const
virtual
const SEThermalCompartmentLink * biogears::SECompartmentManager::GetThermalLink ( const std::string &  name) const
virtual
const std::vector< SEThermalCompartmentLink * > & biogears::SECompartmentManager::GetThermalLinks ( )
virtual
SETissueCompartment * biogears::SECompartmentManager::GetTissueCompartment ( const char *  name)
virtual
SETissueCompartment * biogears::SECompartmentManager::GetTissueCompartment ( const std::string &  name)
virtual
const SETissueCompartment * biogears::SECompartmentManager::GetTissueCompartment ( const char *  name) const
virtual
const SETissueCompartment * biogears::SECompartmentManager::GetTissueCompartment ( const std::string &  name) const
virtual
const std::vector< SETissueCompartment * > & biogears::SECompartmentManager::GetTissueCompartments ( )
virtual

Reimplemented in biogears::BioGearsCompartments.

const std::vector< SETissueCompartment * > & biogears::SECompartmentManager::GetTissueLeafCompartments ( )
virtual

Reimplemented in biogears::BioGearsCompartments.

bool biogears::SECompartmentManager::HasCompartment ( CDM::enumCompartmentType::value  type,
const char *  name 
) const
virtual
bool biogears::SECompartmentManager::HasCompartment ( CDM::enumCompartmentType::value  type,
const std::string &  name 
) const
virtual
template<typename CompartmentType >
bool biogears::SECompartmentManager::HasCompartment ( const std::string &  name,
const std::map< std::string, CompartmentType * > &  name2cmpt 
) const
protected
bool biogears::SECompartmentManager::HasGasCompartment ( const char *  name) const
virtual
bool biogears::SECompartmentManager::HasGasCompartment ( const std::string &  name) const
virtual
bool biogears::SECompartmentManager::HasGasGraph ( const char *  name) const
virtual
bool biogears::SECompartmentManager::HasGasGraph ( const std::string &  name) const
virtual
bool biogears::SECompartmentManager::HasGasLink ( const char *  name) const
virtual
bool biogears::SECompartmentManager::HasGasLink ( const std::string &  name) const
virtual
template<typename LinkType >
bool biogears::SECompartmentManager::HasLink ( const std::string &  name,
const std::map< std::string, LinkType * > &  name2link 
) const
protected
bool biogears::SECompartmentManager::HasLiquidCompartment ( const char *  name) const
virtual
bool biogears::SECompartmentManager::HasLiquidCompartment ( const std::string &  name) const
virtual
bool biogears::SECompartmentManager::HasLiquidGraph ( const char *  name) const
virtual
bool biogears::SECompartmentManager::HasLiquidGraph ( const std::string &  name) const
virtual
bool biogears::SECompartmentManager::HasLiquidLink ( const char *  name) const
virtual
bool biogears::SECompartmentManager::HasLiquidLink ( const std::string &  name) const
virtual
bool biogears::SECompartmentManager::HasThermalCompartment ( const char *  name) const
virtual
bool biogears::SECompartmentManager::HasThermalCompartment ( const std::string &  name) const
virtual
bool biogears::SECompartmentManager::HasThermalLink ( const char *  name) const
virtual
bool biogears::SECompartmentManager::HasThermalLink ( const std::string &  name) const
virtual
bool biogears::SECompartmentManager::HasTissueCompartment ( const char *  name) const
virtual
bool biogears::SECompartmentManager::HasTissueCompartment ( const std::string &  name) const
virtual
bool biogears::SECompartmentManager::Load ( const CDM::CompartmentManagerData in,
SECircuitManager circuits = nullptr 
)
virtual

Reimplemented in biogears::BioGearsCompartments.

template<typename CompartmentType >
void biogears::SECompartmentManager::SetSubstances ( CompartmentType &  cmpt,
std::vector< SESubstance * > &  substances 
) const
protected
void biogears::SECompartmentManager::StateChange ( )
virtual

Reimplemented in biogears::BioGearsCompartments.

CDM::CompartmentManagerData * biogears::SECompartmentManager::Unload ( ) const
virtual
void biogears::SECompartmentManager::Unload ( CDM::CompartmentManagerData data) const
protected
void biogears::SECompartmentManager::UpdateLinks ( )
virtual
void biogears::SECompartmentManager::UpdateLinks ( SEGasCompartmentGraph graph)
virtual
void biogears::SECompartmentManager::UpdateLinks ( SELiquidCompartmentGraph graph)
virtual
template<typename CompartmentType , typename LinkType >
void biogears::SECompartmentManager::UpdateLinks ( const std::vector< CompartmentType * > &  compartments,
const std::vector< LinkType * > &  links 
) const
protected

Member Data Documentation

SESubstance* biogears::SECompartmentManager::m_CO
protected
SESubstance* biogears::SECompartmentManager::m_CO2
protected
std::vector<SEGasCompartment*> biogears::SECompartmentManager::m_GasCompartments
protected
std::vector<SEGasCompartmentGraph*> biogears::SECompartmentManager::m_GasGraphs
protected
std::vector<SEGasCompartment*> biogears::SECompartmentManager::m_GasLeafCompartments
protected
std::vector<SEGasCompartmentLink*> biogears::SECompartmentManager::m_GasLinks
protected
std::map<std::string, SEGasCompartment*> biogears::SECompartmentManager::m_GasName2Compartments
protected
std::map<std::string, SEGasCompartmentGraph*> biogears::SECompartmentManager::m_GasName2Graphs
protected
std::map<std::string, SEGasCompartmentLink*> biogears::SECompartmentManager::m_GasName2Links
protected
std::vector<SESubstance*> biogears::SECompartmentManager::m_GasSubstances
protected
SESubstance* biogears::SECompartmentManager::m_Hb
protected
SESubstance* biogears::SECompartmentManager::m_HbCO
protected
SESubstance* biogears::SECompartmentManager::m_HbCO2
protected
SESubstance* biogears::SECompartmentManager::m_HbO2
protected
SESubstance* biogears::SECompartmentManager::m_HbO2CO2
protected
std::vector<SELiquidCompartment*> biogears::SECompartmentManager::m_LiquidCompartments
protected
std::vector<SELiquidCompartmentGraph*> biogears::SECompartmentManager::m_LiquidGraphs
protected
std::vector<SELiquidCompartment*> biogears::SECompartmentManager::m_LiquidLeafCompartments
protected
std::vector<SELiquidCompartmentLink*> biogears::SECompartmentManager::m_LiquidLinks
protected
std::map<std::string, SELiquidCompartment*> biogears::SECompartmentManager::m_LiquidName2Compartments
protected
std::map<std::string, SELiquidCompartmentGraph*> biogears::SECompartmentManager::m_LiquidName2Graphs
protected
std::map<std::string, SELiquidCompartmentLink*> biogears::SECompartmentManager::m_LiquidName2Links
protected
std::vector<SESubstance*> biogears::SECompartmentManager::m_LiquidSubstances
protected
SESubstance* biogears::SECompartmentManager::m_O2
protected
SESubstanceManager& biogears::SECompartmentManager::m_subMgr
protected
std::vector<SEThermalCompartment*> biogears::SECompartmentManager::m_ThermalCompartments
protected
std::vector<SEThermalCompartment*> biogears::SECompartmentManager::m_ThermalLeafCompartments
protected
std::vector<SEThermalCompartmentLink*> biogears::SECompartmentManager::m_ThermalLinks
protected
std::map<std::string, SEThermalCompartment*> biogears::SECompartmentManager::m_ThermalName2Compartments
protected
std::map<std::string, SEThermalCompartmentLink*> biogears::SECompartmentManager::m_ThermalName2Links
protected
std::vector<SETissueCompartment*> biogears::SECompartmentManager::m_TissueCompartments
protected
std::vector<SETissueCompartment*> biogears::SECompartmentManager::m_TissueLeafCompartments
protected
std::map<std::string, SETissueCompartment*> biogears::SECompartmentManager::m_TissueName2Compartments
protected