#include <CropGrowthHandler.h>
Collaboration diagram for CropGrowthHandler:
Public Member Functions | |
Data query functions | |
CropSoil *const | getPointerToCropSoilModel () const |
Return pointers to crop growth modules. | |
CropWater *const | getPointerToCropWaterModel () const |
CropPrecipitation *const | getPointerToCropPrecipitationModel () const |
Data input functions | |
virtual void | readInputFromFile () |
Crop growth module reads its input data. | |
Constructors and destructors | |
CropGrowthHandler () | |
Constructor. | |
virtual | ~CropGrowthHandler () |
Destructor. | |
Protected Attributes | |
Protected member data | |
CropSoil * | cropSoilModel |
Pointer to the various crop growth models. | |
CropWater * | cropWaterModel |
CropPrecipitation * | cropPrecipitationModel |
This crop-related class handles the crop data input, allocates memory for the various crop growth modules and provide the interface between agents and crops (this last functionality will be extended in the longer run)
|
Constructor.
|
|
Destructor.
|
|
|
|
Return pointers to crop growth modules.
|
|
|
|
Crop growth module reads its input data.
|
|
|
|
Pointer to the various crop growth models.
|
|
|