clConstantGLI Class Reference

Constant GLI Light - Version 1.0. More...

#include <ConstantGLI.h>

Inheritance diagram for clConstantGLI:

clLightBase clBehaviorBase clWorkerBase List of all members.

Public Member Functions

 clConstantGLI (clSimManager *p_oSimManager)
 Constructor.
float CalcLightValue (clTree *p_oTree, clTreePopulation *p_oPop)
 Gets the GLI for a tree.
void DoShellSetup (xercesc::DOMDocument *p_oDoc)
 Reads the parameter file for the GLI value.

Protected Attributes

float m_fGLI
 GLI value.

Detailed Description

Constant GLI Light - Version 1.0.

This behavior assigns a constant GLI value to all trees to which it has been assigned.

The namestring for this behavior is "constglilightshell". The parameter file call string is "Constant GLI".

Copyright 2006 Charles D. Canham.

Author:
Lora E. Murphy

Edit history:
-----------------
July 31, 2006 - Created (LEM)


Constructor & Destructor Documentation

clConstantGLI::clConstantGLI ( clSimManager p_oSimManager  ) 

Constructor.

Parameters:
p_oSimManager Sim Manager object.


Member Function Documentation

float clConstantGLI::CalcLightValue ( clTree p_oTree,
clTreePopulation p_oPop 
) [inline, virtual]

Gets the GLI for a tree.

Parameters:
p_oTree Tree for which to get GLI.
p_oPop Tree population object.
Returns:
100.

Implements clLightBase.

void clConstantGLI::DoShellSetup ( xercesc::DOMDocument *  p_oDoc  )  [virtual]

Reads the parameter file for the GLI value.

Parameters:
p_oDoc DOM tree of parsed input file.
Exceptions:
modelErr if the GLI parameter is not between 0 and 100.

Reimplemented from clLightBase.


Member Data Documentation

float clConstantGLI::m_fGLI [protected]

GLI value.


The documentation for this class was generated from the following file:
Generated on Thu May 24 09:30:42 2007 for SORTIE Core C++ Documentation by  doxygen 1.5.2