#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.

Public Member Functions

virtual ~SECompartment ()
 
virtual void Clear ()
 
virtual std::string GetName () const
 
virtual const SEScalarGetScalar (const std::string &name)=0
 
virtual bool HasChildren () const =0
 
virtual void StateChange ()=0
 
- Public Member Functions inherited from Loggable
 Loggable (Logger *logger=nullptr)
 
 Loggable (std::string const &logfile)
 
virtual ~Loggable ()
 
virtual LoggerGetLogger () 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
 

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
 
- Protected Attributes inherited from Loggable
bool myLogger
 
Loggerm_Logger
 

Friends

class PBCompartment
 

Constructor & Destructor Documentation

◆ SECompartment()

SECompartment::SECompartment ( const std::string &  name,
Logger logger 
)
protected

◆ ~SECompartment()

SECompartment::~SECompartment ( )
virtual

Member Function Documentation

◆ Clear()

◆ FindLeaves()

template<typename CompartmentType >
static void SECompartment::FindLeaves ( CompartmentType &  cmpt,
std::vector< CompartmentType * > &  leaves 
)
inlinestatic

◆ GetName()

◆ GetScalar()

◆ HasChildren()

◆ StateChange()

virtual void SECompartment::StateChange ( )
pure virtual

Friends And Related Function Documentation

◆ PBCompartment

friend class PBCompartment
friend

Member Data Documentation

◆ m_Name

std::string SECompartment::m_Name
protected

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.