(root)/src/abe/fomewrapper.h - Rev 905
Rev 870 |
Rev 906 |
Go to most recent revision |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
#ifndef FOMEWRAPPER_H
#define FOMEWRAPPER_H
#include "expressionwrapper.h"
namespace ABE {
class FMStand;
/** FOMEWrapper provides the context for the Forest Management Engine
* This wrapper blends activties, stand variables, and agent variables together.
*/
class FOMEWrapper: public ExpressionWrapper
{
public:
FOMEWrapper(): mStand(0) {}
FOMEWrapper(const FMStand *stand): mStand(stand) {}
virtual const QStringList getVariablesList();
virtual double value(const int variableIndex);
private:
void buildVarList();
double valueActivity(const int variableIndex);
double valueStand(const int variableIndex);
double valueSite(const int variableIndex);
const FMStand *mStand;
};
} // namespace
#endif // FOMEWRAPPER_H