ALMaSS Hare ODDox
1.1
The hare model description following ODdox protocol
|
#include <OTriticale.h>
Public Member Functions | |
bool | Do (Farm *a_farm, LE *a_field, FarmEvent *a_ev) |
OTriticale () | |
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 58 of file OTriticale.h.
|
inline |
Definition at line 62 of file OTriticale.h.
References Crop::m_first_date.
Reimplemented from Crop.
Definition at line 38 of file OTriticale.cpp.
References Farm::AutumnHarrow(), Farm::AutumnPlough(), Farm::AutumnRoll(), Farm::AutumnSow(), Crop::ChooseNextCrop(), Farm::DoIt(), Farm::FA_Manure(), Farm::FA_NPK(), Farm::FA_Slurry(), Farm::GetType(), Farm::Harvest(), Farm::HayBailing(), Farm::HayTurning(), Farm::IsStockFarmer(), 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, otri_autumn_harrow, otri_autumn_plough, otri_autumn_roll, otri_autumn_sow, otri_chopping, otri_fa_manure, otri_fa_npk, otri_fa_slurry, otri_harvest, otri_hay_bailing, otri_hay_turning, otri_spring_roll, otri_start, otri_strigling, otri_stubble_harrow, otri_water, OTRI_WATER_DATE, Crop::SimpleEvent(), Farm::SpringRoll(), Farm::StrawChopping(), Farm::Strigling(), Farm::StubbleHarrowing(), tof_OptimisingFarm, and Farm::Water().