#include <SECompartment.h>
Inherits Loggable.
Inherited by SEFluidCompartment< SEGasCompartmentLink, SEGasTransportVertex, SEGasTransportSubstance, SEGasSubstanceQuantity >, SEFluidCompartment< SELiquidCompartmentLink, SELiquidTransportVertex, SELiquidTransportSubstance, SELiquidSubstanceQuantity >, SEElectricalCompartment, SEFluidCompartment< FLUID_COMPARTMENT_TEMPLATE >, SEThermalCompartment, and SETissueCompartment.
|
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) 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 |
|
|
template<typename CompartmentType > |
static void | FindLeaves (CompartmentType &cmpt, std::vector< CompartmentType * > &leaves) |
|
◆ SECompartment()
SECompartment::SECompartment |
( |
const std::string & |
name, |
|
|
Logger * |
logger |
|
) |
| |
|
protected |
◆ ~SECompartment()
SECompartment::~SECompartment |
( |
| ) |
|
|
virtual |
◆ Clear()
void SECompartment::Clear |
( |
| ) |
|
|
virtual |
Reimplemented in SEElectricalCompartment, SEFluidCompartment< FLUID_COMPARTMENT_TEMPLATE >, SEFluidCompartment< SEGasCompartmentLink, SEGasTransportVertex, SEGasTransportSubstance, SEGasSubstanceQuantity >, SEFluidCompartment< SELiquidCompartmentLink, SELiquidTransportVertex, SELiquidTransportSubstance, SELiquidSubstanceQuantity >, SEGasCompartment, SELiquidCompartment, SEThermalCompartment, and SETissueCompartment.
◆ FindLeaves()
template<typename CompartmentType >
static void SECompartment::FindLeaves |
( |
CompartmentType & |
cmpt, |
|
|
std::vector< CompartmentType * > & |
leaves |
|
) |
| |
|
inlinestatic |
◆ GetName()
std::string SECompartment::GetName |
( |
| ) |
const |
|
virtual |
◆ GetScalar()
virtual const SEScalar * SECompartment::GetScalar |
( |
const std::string & |
name | ) |
|
|
pure virtual |
Implemented in SEElectricalCompartment, SEFluidCompartment< FLUID_COMPARTMENT_TEMPLATE >, SEFluidCompartment< SEGasCompartmentLink, SEGasTransportVertex, SEGasTransportSubstance, SEGasSubstanceQuantity >, SEFluidCompartment< SELiquidCompartmentLink, SELiquidTransportVertex, SELiquidTransportSubstance, SELiquidSubstanceQuantity >, SEGasCompartment, SELiquidCompartment, SEThermalCompartment, and SETissueCompartment.
◆ HasChildren()
virtual bool SECompartment::HasChildren |
( |
| ) |
const |
|
pure virtual |
Implemented in SEElectricalCompartment, SEFluidCompartment< FLUID_COMPARTMENT_TEMPLATE >, SEFluidCompartment< SEGasCompartmentLink, SEGasTransportVertex, SEGasTransportSubstance, SEGasSubstanceQuantity >, SEFluidCompartment< SELiquidCompartmentLink, SELiquidTransportVertex, SELiquidTransportSubstance, SELiquidSubstanceQuantity >, SEThermalCompartment, and SETissueCompartment.
◆ StateChange()
virtual void SECompartment::StateChange |
( |
| ) |
|
|
pure virtual |
◆ PBCompartment
◆ m_Name
std::string SECompartment::m_Name |
|
protected |