#include <SECompartment.h>
Inherits Loggable.
Inherited by SEElectricalCompartment, SEFluidCompartment< FLUID_COMPARTMENT_TEMPLATE >, SEFluidCompartment< SEGasCompartmentLink, SEGasTransportVertex, SEGasTransportSubstance, SEGasSubstanceQuantity >, SEFluidCompartment< SELiquidCompartmentLink, SELiquidTransportVertex, SELiquidTransportSubstance, SELiquidSubstanceQuantity >, SEThermalCompartment, and SETissueCompartment.
Public Member Functions | |
virtual | ~SECompartment () |
virtual void | Clear () |
virtual std::string | GetName () const |
virtual const SEScalar * | GetScalar (const std::string &name)=0 |
virtual bool | HasChildren () const =0 |
virtual void | StateChange ()=0 |
![]() | |
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, std::string const &origin=empty) const |
virtual void | Debug (std::stringstream &msg, std::string const &origin=empty) const |
virtual void | Debug (std::ostream &msg, std::string const &origin=empty) const |
virtual void | Info (std::string const &msg, std::string const &origin=empty) const |
virtual void | Info (std::stringstream &msg, std::string const &origin=empty) const |
virtual void | Info (const std::stringstream &msg, std::string const &origin=empty) const |
virtual void | Info (std::ostream &msg, std::string const &origin=empty) const |
virtual void | Warning (std::string const &msg, std::string const &origin=empty) const |
virtual void | Warning (std::stringstream &msg, std::string const &origin=empty) const |
virtual void | Warning (std::ostream &msg, std::string const &origin=empty) const |
virtual void | Error (std::string const &msg, std::string const &origin=empty) const |
virtual void | Error (std::stringstream &msg, std::string const &origin=empty) const |
virtual void | Error (std::ostream &msg, std::string const &origin=empty) const |
virtual void | Fatal (std::string const &msg, std::string const &origin=empty) const |
virtual void | Fatal (std::stringstream &msg, std::string const &origin=empty) const |
virtual void | Fatal (std::ostream &msg, std::string const &origin=empty) const |
Static Public Member Functions | |
template<typename CompartmentType > | |
static void | FindLeaves (CompartmentType &cmpt, std::vector< CompartmentType *> &leaves) |
Protected Member Functions | |
SECompartment (const std::string &name, Logger *logger) | |
Protected Attributes | |
std::string | m_Name |
![]() | |
bool | myLogger |
Logger * | m_Logger |
Friends | |
class | PBCompartment |
Additional Inherited Members | |
![]() | |
static const std::string | empty |
Constructor & Destructor Documentation
◆ SECompartment()
|
protected |
◆ ~SECompartment()
|
virtual |
Member Function Documentation
◆ Clear()
|
virtual |
Reimplemented in SEFluidCompartment< FLUID_COMPARTMENT_TEMPLATE >, SEFluidCompartment< SELiquidCompartmentLink, SELiquidTransportVertex, SELiquidTransportSubstance, SELiquidSubstanceQuantity >, SEFluidCompartment< SEGasCompartmentLink, SEGasTransportVertex, SEGasTransportSubstance, SEGasSubstanceQuantity >, SELiquidCompartment, SEElectricalCompartment, SEThermalCompartment, and SETissueCompartment.
◆ FindLeaves()
|
inlinestatic |
◆ GetName()
|
virtual |
Reimplemented in SEFluidCompartment< FLUID_COMPARTMENT_TEMPLATE >, SEFluidCompartment< SELiquidCompartmentLink, SELiquidTransportVertex, SELiquidTransportSubstance, SELiquidSubstanceQuantity >, and SEFluidCompartment< SEGasCompartmentLink, SEGasTransportVertex, SEGasTransportSubstance, SEGasSubstanceQuantity >.
◆ GetScalar()
|
pure virtual |
Implemented in SEFluidCompartment< FLUID_COMPARTMENT_TEMPLATE >, SEFluidCompartment< SELiquidCompartmentLink, SELiquidTransportVertex, SELiquidTransportSubstance, SELiquidSubstanceQuantity >, SEFluidCompartment< SEGasCompartmentLink, SEGasTransportVertex, SEGasTransportSubstance, SEGasSubstanceQuantity >, SELiquidCompartment, SEElectricalCompartment, SEThermalCompartment, and SETissueCompartment.
◆ HasChildren()
|
pure virtual |
Implemented in SEFluidCompartment< FLUID_COMPARTMENT_TEMPLATE >, SEFluidCompartment< SELiquidCompartmentLink, SELiquidTransportVertex, SELiquidTransportSubstance, SELiquidSubstanceQuantity >, SEFluidCompartment< SEGasCompartmentLink, SEGasTransportVertex, SEGasTransportSubstance, SEGasSubstanceQuantity >, SEElectricalCompartment, SEThermalCompartment, and SETissueCompartment.
◆ StateChange()
|
pure virtual |
Implemented in SEElectricalCompartment, SEThermalCompartment, SELiquidCompartment, SETissueCompartment, and SEGasCompartment.
Friends And Related Function Documentation
◆ PBCompartment
|
friend |
Member Data Documentation
◆ m_Name
|
protected |