#include <SEThermalCompartmentLink.h>

Inherits SECompartmentLink.

Public Member Functions

virtual ~SEThermalCompartmentLink ()
 
virtual void Clear ()
 
virtual const SEScalarGetScalar (const std::string &name)
 
virtual bool HasHeatTransferRate () const
 
virtual SEScalarPowerGetHeatTransferRate ()
 
virtual double GetHeatTransferRate (const PowerUnit &unit) const
 
virtual SEThermalCompartmentGetSourceCompartment ()
 
virtual SEThermalCompartmentGetTargetCompartment ()
 
virtual bool HasPath ()
 
virtual SEThermalCircuitPathGetPath ()
 
virtual void RemovePath ()
 
virtual void MapPath (SEThermalCircuitPath &path)
 
virtual bool HasBlackBox () const
 
virtual SEThermalBlackBoxGetBlackBox ()
 
virtual const SEThermalBlackBoxGetBlackBox () const
 
virtual void SetBlackBox (SEThermalBlackBox *bb)
 
- 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, 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
 

Protected Member Functions

 SEThermalCompartmentLink (SEThermalCompartment &src, SEThermalCompartment &tgt, const std::string &name)
 

Protected Attributes

SEScalarPowerm_HeatTransferRate
 
SEThermalCompartmentm_SourceCmpt
 
SEThermalCompartmentm_TargetCmpt
 
SEThermalCircuitPathm_Path
 
SEThermalBlackBoxm_BlackBox = nullptr
 
- Protected Attributes inherited from Loggable
bool myLogger
 
Loggerm_Logger
 

Friends

class PBCompartment
 
class SECompartmentManager
 

Additional Inherited Members

- Static Public Attributes inherited from Loggable
static const std::string empty
 

Constructor & Destructor Documentation

◆ SEThermalCompartmentLink()

SEThermalCompartmentLink::SEThermalCompartmentLink ( SEThermalCompartment src,
SEThermalCompartment tgt,
const std::string &  name 
)
protected

◆ ~SEThermalCompartmentLink()

SEThermalCompartmentLink::~SEThermalCompartmentLink ( )
virtual

Member Function Documentation

◆ Clear()

void SEThermalCompartmentLink::Clear ( )
virtual

Reimplemented from SECompartmentLink.

◆ GetBlackBox() [1/2]

virtual SEThermalBlackBox* SEThermalCompartmentLink::GetBlackBox ( )
inlinevirtual

◆ GetBlackBox() [2/2]

virtual const SEThermalBlackBox* SEThermalCompartmentLink::GetBlackBox ( ) const
inlinevirtual

◆ GetHeatTransferRate() [1/2]

SEScalarPower & SEThermalCompartmentLink::GetHeatTransferRate ( )
virtual

◆ GetHeatTransferRate() [2/2]

double SEThermalCompartmentLink::GetHeatTransferRate ( const PowerUnit unit) const
virtual

◆ GetPath()

virtual SEThermalCircuitPath* SEThermalCompartmentLink::GetPath ( )
inlinevirtual

◆ GetScalar()

const SEScalar * SEThermalCompartmentLink::GetScalar ( const std::string &  name)
virtual

Implements SECompartmentLink.

◆ GetSourceCompartment()

virtual SEThermalCompartment& SEThermalCompartmentLink::GetSourceCompartment ( )
inlinevirtual

◆ GetTargetCompartment()

virtual SEThermalCompartment& SEThermalCompartmentLink::GetTargetCompartment ( )
inlinevirtual

◆ HasBlackBox()

virtual bool SEThermalCompartmentLink::HasBlackBox ( ) const
inlinevirtual

◆ HasHeatTransferRate()

bool SEThermalCompartmentLink::HasHeatTransferRate ( ) const
virtual

◆ HasPath()

virtual bool SEThermalCompartmentLink::HasPath ( )
inlinevirtual

◆ MapPath()

virtual void SEThermalCompartmentLink::MapPath ( SEThermalCircuitPath path)
inlinevirtual

◆ RemovePath()

virtual void SEThermalCompartmentLink::RemovePath ( )
inlinevirtual

◆ SetBlackBox()

virtual void SEThermalCompartmentLink::SetBlackBox ( SEThermalBlackBox bb)
inlinevirtual

Friends And Related Function Documentation

◆ PBCompartment

friend class PBCompartment
friend

◆ SECompartmentManager

friend class SECompartmentManager
friend

Member Data Documentation

◆ m_BlackBox

SEThermalBlackBox* SEThermalCompartmentLink::m_BlackBox = nullptr
protected

◆ m_HeatTransferRate

SEScalarPower* SEThermalCompartmentLink::m_HeatTransferRate
protected

◆ m_Path

SEThermalCircuitPath* SEThermalCompartmentLink::m_Path
protected

◆ m_SourceCmpt

SEThermalCompartment& SEThermalCompartmentLink::m_SourceCmpt
protected

◆ m_TargetCmpt

SEThermalCompartment& SEThermalCompartmentLink::m_TargetCmpt
protected

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.