ALMaSS Hare ODDox
1.1
The hare model description following ODdox protocol
|
#include <OSpringBarleyPigs.h>
Public Member Functions | |
bool | Do (Farm *a_farm, LE *a_field, FarmEvent *a_ev) |
OSpringBarleyPigs () | |
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 54 of file OSpringBarleyPigs.h.
|
inline |
Definition at line 57 of file OSpringBarleyPigs.h.
References Crop::m_first_date.
Reimplemented from Crop.
Definition at line 33 of file OSpringBarleyPigs.cpp.
References cfg_strigling_prop, Farm::DoIt(), Farm::FP_Slurry(), Farm::Harvest(), Farm::HayBailing(), Crop::m_ev, Crop::m_farm, Crop::m_field, FarmEvent::m_first_year, FarmEvent::m_lock, FarmEvent::m_todo, osbp_ferti, osbp_harvest, osbp_hay, OSBP_SOW_DATE, osbp_spring_harrow, osbp_spring_plough, osbp_spring_roll, osbp_spring_sow1, osbp_start, osbp_straw_chopping, osbp_strigling1, osbp_strigling2, osbp_strigling3, OSBP_STRIGLING_DATE, osbp_strigling_sow, Crop::SimpleEvent(), Farm::SpringHarrow(), Farm::SpringPlough(), Farm::SpringRoll(), Farm::SpringSow(), Farm::StrawChopping(), Farm::Strigling(), and Farm::StriglingSow().