00001 //--------------------------------------------------------------------------- 00002 00003 #ifndef RelativeGrowthH 00004 #define RelativeGrowthH 00005 //--------------------------------------------------------------------------- 00006 #include "MichMenGrowthBase.h" 00007 00008 class clSimManager; 00009 class clTree; 00010 class clTreePopulation; 00011 00053 class clRelativeGrowth : virtual public clMichMenBase { 00054 //note: need the virtual keyword to avoid base class ambiguity. 00055 00056 public: 00057 00063 clRelativeGrowth(clSimManager *p_oSimManager); 00064 00068 ~clRelativeGrowth(); 00069 00078 float CalcDiameterGrowthValue(clTree *p_oTree, clTreePopulation *p_oPop, float fHeightGrowth); 00079 00086 void SetNameData(char *cNameString); 00087 00096 void DoShellSetup(xercesc::DOMDocument *p_oDoc); 00097 00098 protected: 00099 00101 float *mp_fDiamExp; 00102 00104 float m_fNumberYearsPerTimestep; 00105 }; 00106 //--------------------------------------------------------------------------- 00107 #endif