00001 //--------------------------------------------------------------------------- 00002 00003 #ifndef QuadratGliLightH 00004 #define QuadratGliLightH 00005 //--------------------------------------------------------------------------- 00006 #include "GLIBase.h" 00007 00008 class clSimManager; 00009 class clGridBase; 00010 class clTreePopulation; 00011 00038 class clQuadratGliLight : public clGLIBase { 00039 00040 public: 00041 00047 clQuadratGliLight(clSimManager *p_oSimManager); 00048 00049 //~clQuadratGliLight(); //use default destructor 00050 00059 void DoShellSetup(xercesc::DOMDocument *p_oDoc); 00060 00068 float CalcLightValue(clTree *p_oTree, clTreePopulation *p_oPop); 00069 00073 void TimestepCleanup(); 00074 00075 protected: 00076 00084 clGridBase *mp_oQuadrats; 00085 00086 float m_fLightHeight; 00089 float m_fMaxSearchRad; 00091 short int m_iGridGliCode; 00094 }; 00095 //--------------------------------------------------------------------------- 00096 #endif