SORTIE Core C++ Documentation
|
Provides a base for objects that calculate a damage effect. More...
#include <DamageEffectBase.h>
Public Member Functions | |
virtual double | CalculateDamageEffect (clTree *p_oTree)=0 |
Calculates damage effect. More... | |
virtual void | DoSetup (clTreePopulation *p_oPop, clBehaviorBase *p_oNCI, xercesc::DOMElement *p_oElement)=0 |
Does any desired setup. More... | |
virtual void | PreCalcs (clTreePopulation *p_oPop) |
Performs calculations like either clGrowthBase::PreGrowthCalcs or clMortalityBase::PreMortCalcs. More... | |
virtual | ~clDamageEffectBase () |
Destructor. More... | |
Provides a base for objects that calculate a damage effect.
|
inlinevirtual |
Destructor.
|
pure virtual |
Calculates damage effect.
p_oTree | Tree for which to calculate damage effect. |
Implemented in clDamageEffectDefault, and clDamageEffectNone.
|
pure virtual |
Does any desired setup.
p_oPop | Tree population. |
p_oNCI | NCI behavior object. |
p_oElement | Root element of the behavior. |
Implemented in clDamageEffectDefault, and clDamageEffectNone.
|
inlinevirtual |
Performs calculations like either clGrowthBase::PreGrowthCalcs or clMortalityBase::PreMortCalcs.