Public Member Functions |
Protected Member Functions |
Protected Attributes |
Friends |
List of all members
biogears::SEGasCompartment Class Reference
#include <SEGasCompartment.h>
Inheritance diagram for biogears::SEGasCompartment:
Public Member Functions | |
virtual | ~SEGasCompartment () |
virtual bool | Load (const CDM::GasCompartmentData &in, SESubstanceManager &subMgr, SECircuitManager *circuits=nullptr) |
virtual CDM::GasCompartmentData * | Unload () override |
virtual void | StateChange () override |
virtual void | Balance (BalanceGasBy by) |
virtual void | AddChild (SEGasCompartment &child) |
virtual const std::vector< SEGasCompartment * > & | GetChildren () |
virtual const std::vector< SEGasCompartment * > & | GetLeaves () |
Public Member Functions inherited from biogears::SEFluidCompartment< SEGasCompartmentLink, SEGasTransportVertex, SEGasTransportSubstance, SEGasSubstanceQuantity > | |
virtual | ~SEFluidCompartment () |
void | Clear () override |
virtual bool | Load (const CDM::FluidCompartmentData &in, SECircuitManager *circuits=nullptr) |
std::string | GetName () const override |
const char * | GetName_cStr () const override |
const SEScalar * | GetScalar (const char *name) override |
const SEScalar * | GetScalar (const std::string &name) override |
bool | HasChildren () const override |
virtual bool | HasNodeMapping () const |
virtual SECompartmentNodes< FLUID_COMPARTMENT_NODE > & | GetNodeMapping () |
virtual void | MapNode (SEFluidCircuitNode &node) |
virtual bool | HasInFlow () const |
virtual const SEScalarVolumePerTime & | GetInFlow () |
virtual double | GetInFlow (const VolumePerTimeUnit &unit) const |
virtual bool | HasOutFlow () const |
virtual const SEScalarVolumePerTime & | GetOutFlow () |
virtual double | GetOutFlow (const VolumePerTimeUnit &unit) const |
virtual bool | HasPressure () const |
virtual SEScalarPressure & | GetPressure () |
virtual double | GetPressure (const PressureUnit &unit) const |
virtual bool | HasVolume () const |
virtual SEScalarVolume & | GetVolume () |
virtual double | GetVolume (const VolumeUnit &unit) const |
virtual bool | HasSubstanceQuantities () const |
virtual bool | HasSubstanceQuantity (const SESubstance &substance) const |
virtual SubstanceQuantityType * | GetSubstanceQuantity (const SESubstance &substance) const |
virtual const std::vector< SubstanceQuantityType * > & | GetSubstanceQuantities () const |
virtual void | ZeroSubstanceQuantities () |
virtual void | AddLink (LinkType &link) |
virtual void | RemoveLink (LinkType &link) |
virtual void | RemoveLinks () |
virtual const std::vector< LinkType * > & | GetLinks () |
virtual bool | HasChild (const char *name) |
virtual bool | HasChild (const std::string &name) |
Public Member Functions inherited from biogears::SECompartment | |
virtual | ~SECompartment () override |
virtual bool | Load (const CDM::CompartmentData &in, SECircuitManager *circuits=nullptr) |
Public Member Functions inherited from biogears::Loggable | |
Loggable () | |
Loggable (Logger *log) | |
virtual | ~Loggable () |
virtual Logger * | GetLogger () const |
Protected Member Functions | |
SEGasCompartment (const char *name, Logger *logger) | |
SEGasCompartment (const std::string &name, Logger *logger) | |
virtual void | Unload (CDM::GasCompartmentData &data) |
virtual SEGasSubstanceQuantity & | CreateSubstanceQuantity (SESubstance &substance) |
Protected Member Functions inherited from biogears::SEFluidCompartment< SEGasCompartmentLink, SEGasTransportVertex, SEGasTransportSubstance, SEGasSubstanceQuantity > | |
SEFluidCompartment (const char *name, Logger *logger) | |
SEFluidCompartment (const std::string &name, Logger *logger) | |
virtual void | Unload (CDM::FluidCompartmentData &data) |
virtual void | RemoveSubstanceQuantity (const SESubstance &substance) |
virtual bool | HasQuantity () const override |
virtual SEScalarVolume & | GetQuantity () override |
virtual double | CalculateInFlow_mL_Per_s () const |
virtual double | CalculateOutFlow_mL_Per_s () const |
virtual std::vector< TransportSubstanceType * > & | GetTransportSubstances () override |
Protected Member Functions inherited from biogears::SECompartment | |
SECompartment (const char *name, Logger *logger) | |
SECompartment (const std::string &name, Logger *logger) | |
virtual void | Unload (CDM::CompartmentData &data) |
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_Children |
std::vector< SEGasCompartment * > | m_Leaves |
Protected Attributes inherited from biogears::SEFluidCompartment< SEGasCompartmentLink, SEGasTransportVertex, SEGasTransportSubstance, SEGasSubstanceQuantity > | |
SEScalarVolumePerTime * | m_InFlow |
SEScalarVolumePerTime * | m_OutFlow |
SEScalarPressure * | m_Pressure |
SEScalarVolume * | m_Volume |
std::vector< SubstanceQuantityType * > | m_SubstanceQuantities |
std::vector< TransportSubstanceType * > | m_TransportSubstances |
std::vector< LinkType * > | m_Links |
std::vector< LinkType * > | m_IncomingLinks |
std::vector< LinkType * > | m_OutgoingLinks |
std::vector< SEFluidCompartment * > | m_FluidChildren |
SECompartmentNodes< FLUID_COMPARTMENT_NODE > | m_Nodes |
Protected Attributes inherited from biogears::SECompartment | |
std::string | m_Name |
Protected Attributes inherited from biogears::Loggable | |
Logger * | m_Logger |
Friends | |
class | SECompartmentManager |
Additional Inherited Members | |
Static Public Member Functions inherited from biogears::SECompartment | |
template<typename CompartmentType > | |
static void | FindLeaves (CompartmentType &cmpt, std::vector< CompartmentType * > &leaves) |
Static Public Attributes inherited from biogears::Loggable | |
static const std::string | empty |
static const char * | empty_cStr |
Constructor & Destructor Documentation
|
protected |
|
protected |
|
virtual |
Member Function Documentation
|
virtual |
|
virtual |
|
protectedvirtual |
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
|
overridevirtual |
Implements biogears::SECompartment.
|
overridevirtual |
|
protectedvirtual |
Friends And Related Function Documentation
|
friend |
Member Data Documentation
|
protected |
|
protected |