00001 //--------------------------------------------------------------------------- 00002 // GrowthHeightIncrementer 00003 //--------------------------------------------------------------------------- 00004 #if !defined(GrowthHeightIncrementer_H) 00005 #define GrowthHeightIncrementer_H 00006 00007 #include "GrowthBase.h" 00008 00039 class clGrowthHeightIncrementer : virtual public clGrowthBase { 00040 //note: need the virtual keyword to avoid base class ambiguity. 00041 00042 public: 00043 00047 clGrowthHeightIncrementer(clSimManager *p_oSimManager); 00048 00049 //~clGrowthHeightIncrementer(); //Use default denstructor 00050 00072 float CalcHeightGrowthValue(clTree *p_oTree, clTreePopulation *p_oPop, float fDiameterGrowth); 00073 00078 void DoShellSetup(xercesc::DOMDocument *p_oDoc); 00079 00080 00081 protected: 00082 00084 clAllometry *mp_oAllom; 00085 00086 }; 00087 //--------------------------------------------------------------------------- 00088 #endif // GrowthHeightIncrementer_H