ALMaSS Hare ODDox
1.1
The hare model description following ODdox protocol
|
#include <OBarleyPeaCloverGrass.h>
Public Member Functions | |
bool | Do (Farm *a_farm, LE *a_field, FarmEvent *a_ev) |
OBarleyPeaCloverGrass () | |
Public Member Functions inherited from Crop | |
void | ChooseNextCrop (int a_no_dates) |
Chooses the next crop to grow in a field. More... | |
Crop () | |
int | GetCropClassification () |
int | GetFirstDate (void) |
void | SetCropClassification (int a_classification) |
virtual | ~Crop () |
Additional Inherited Members | |
Protected Member Functions inherited from Crop | |
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... | |
Protected Attributes inherited from Crop | |
int | m_count |
int | m_CropClassification |
int | m_ddegstoharvest |
FarmEvent * | m_ev |
Farm * | m_farm |
LE * | m_field |
int | m_first_date |
int | m_last_date |
Definition at line 53 of file OBarleyPeaCloverGrass.h.
|
inline |
Definition at line 57 of file OBarleyPeaCloverGrass.h.
References Crop::m_first_date.
Reimplemented from Crop.
Definition at line 33 of file OBarleyPeaCloverGrass.cpp.
References Farm::CattleIsOut(), Farm::CattleIsOutLow(), Farm::CattleOut(), Farm::CattleOutLowGrazing(), cfg_organic_extensive, Farm::CutToSilage(), Farm::DoIt(), Farm::FA_Manure(), Farm::FA_Slurry(), Farm::Harvest(), Crop::m_ev, Crop::m_farm, Crop::m_field, Crop::m_first_date, FarmEvent::m_first_year, Crop::m_last_date, FarmEvent::m_lock, FarmEvent::m_startday, FarmEvent::m_todo, obpcg_cattle_is_out, obpcg_cattle_out, obpcg_cut_to_silage, obpcg_ferti_one, obpcg_ferti_zero, obpcg_harvest, obpcg_spring_harrow, obpcg_spring_plough, obpcg_spring_roll, obpcg_spring_sow1, obpcg_spring_sow2, obpcg_start, obpcg_water1, obpcg_water2, Crop::SimpleEvent(), Farm::SpringHarrow(), Farm::SpringPlough(), Farm::SpringRoll(), Farm::SpringSow(), and Farm::Water().