ALMaSS Vole ODDox
1.1
The vole model description following ODdox protocol
|
NLBeetSpring class
.
More...
#include <NLBeetSpring.h>
Public Member Functions | |
virtual bool | Do (Farm *a_farm, LE *a_field, FarmEvent *a_ev) |
The one and only method for a crop management plan. All farm actions go through here. More... | |
NLBeetSpring () | |
![]() | |
virtual | ~Crop () |
Crop () | |
int | GetFirstDate (void) |
void | ChooseNextCrop (int a_no_dates) |
Chooses the next crop to grow in a field. More... | |
int | GetCropClassification () |
void | SetCropClassification (int a_classification) |
Additional Inherited Members | |
![]() | |
void | SimpleEvent (long a_date, int a_todo, bool a_lock) |
Adds an event to this crop management. More... | |
void | SimpleEvent_ (long a_date, int a_todo, bool a_lock, Farm *a_farm, LE *a_field) |
Adds an event to this crop management without relying on member variables. More... | |
![]() | |
Farm * | m_farm |
LE * | m_field |
FarmEvent * | m_ev |
int | m_first_date |
int | m_count |
int | m_last_date |
int | m_ddegstoharvest |
int | m_CropClassification |
NLBeetSpring class
.
See NLBeetSpring.h::NLBeetSpringToDo for a complete list of all possible events triggered codes by the beet management plan. When triggered these events are handled by Farm and are available as information for other objects such as animal and bird models.
Definition at line 66 of file NLBeetSpring.h.
|
inline |
The one and only method for a crop management plan. All farm actions go through here.
Called every time something is done to the crop by the farmer in the first instance it is always called with a_ev->todo set to start, but susequently will be called whenever the farmer wants to carry out a new operation.
This method details all the management and relationships between operations necessary to grow and ALMaSS crop - in this case conventional beet.
Reimplemented from Crop.
Definition at line 64 of file NLBeetSpring.cpp.
References Landscape::BackTranslateVegTypes(), g_landscape_p, Farm::GetType(), Farm::IsStockFarmer(), Crop::m_first_date, FarmEvent::m_first_year, FarmEvent::m_lock, FarmEvent::m_next_tov, FarmEvent::m_startday, FarmEvent::m_todo, nl_bes_ferti_p1, nl_bes_ferti_p2, nl_bes_ferti_s1, nl_bes_ferti_s2, NL_BES_FUNGI1, nl_bes_fungicide1, nl_bes_fungicide2, nl_bes_fungicide3, nl_bes_harvest, NL_BES_HERBI1, nl_bes_herbicide1, nl_bes_herbicide2, nl_bes_herbicide3, nl_bes_herbicide4, nl_bes_preseeding_cultivator, nl_bes_spring_plough_sandy, nl_bes_spring_sow, nl_bes_start, Crop::SimpleEvent_(), Farm::SpringPlough(), and tof_OptimisingFarm.