ALMaSS Vole ODDox
1.1
The vole model description following ODdox protocol
|
#include <OFieldPeas.h>
Public Member Functions | |
bool | Do (Farm *a_farm, LE *a_field, FarmEvent *a_ev) |
OFieldPeas () | |
![]() | |
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 |
Definition at line 51 of file OFieldPeas.h.
|
inline |
Definition at line 55 of file OFieldPeas.h.
References Crop::m_first_date.
Reimplemented from Crop.
Definition at line 33 of file OFieldPeas.cpp.
References Farm::DoIt(), 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, ofp_harvest, ofp_spring_harrow, ofp_spring_plough, ofp_spring_roll, ofp_spring_sow, ofp_start, ofp_straw_chopping, ofp_strigling1, ofp_strigling2, ofp_strigling3, ofp_strigling4, ofp_water1, ofp_water2, Crop::SimpleEvent(), Farm::SpringHarrow(), Farm::SpringPlough(), Farm::SpringRoll(), Farm::SpringSow(), Farm::StrawChopping(), Farm::Strigling(), and Farm::Water().