SORTIE Core C++ Documentation
|
Provides a base for objects that calculate an infection effect. More...
#include <InfectionEffectBase.h>
Public Member Functions | |
clInfectionEffectBase () | |
Constructor. More... | |
virtual double | CalculateInfectionEffect (clTree *p_oTree)=0 |
Calculates infection effect for a particular species. More... | |
virtual void | DoSetup (clTreePopulation *p_oPop, clBehaviorBase *p_oNCI, xercesc::DOMElement *p_oElement)=0 |
Does any desired setup. More... | |
virtual | ~clInfectionEffectBase () |
Destructor. More... | |
bool | DoesRequireTargetDiam () |
virtual void | PreCalcs (clTreePopulation *p_oPop) |
Performs calculations like either clGrowthBase::PreGrowthCalcs or clMortalityBase::PreMortCalcs. More... | |
Protected Attributes | |
bool | bRequiresTargetDiam |
Whether or not this effect depends on a target diameter being available. More... | |
Provides a base for objects that calculate an infection effect.
|
inline |
Constructor.
Sets defaults.
|
inlinevirtual |
Destructor.
|
pure virtual |
Calculates infection effect for a particular species.
p_oTree | Tree for which to calculate infection effect. |
Implemented in clInfectionEffectSizeDependent, clInfectionEffect, and clInfectionEffectNone.
|
inline |
|
pure virtual |
Does any desired setup.
p_oPop | Tree population. |
p_oNCI | NCI behavior object. |
p_oElement | Root element of the behavior. |
Implemented in clInfectionEffectSizeDependent, clInfectionEffect, and clInfectionEffectNone.
|
inlinevirtual |
Performs calculations like either clGrowthBase::PreGrowthCalcs or clMortalityBase::PreMortCalcs.
|
protected |
Whether or not this effect depends on a target diameter being available.