ALMaSS Vole ODDox
1.1
The vole model description following ODdox protocol
|
#include <OFieldPeasSilage.h>
Public Member Functions | |
bool | Do (Farm *a_farm, LE *a_field, FarmEvent *a_ev) |
OFieldPeasSilage () | |
![]() | |
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 OFieldPeasSilage.h.
|
inline |
Definition at line 55 of file OFieldPeasSilage.h.
References Crop::m_first_date.
Reimplemented from Crop.
Definition at line 33 of file OFieldPeasSilage.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, ofps_harvest, ofps_spring_harrow, ofps_spring_plough, ofps_spring_roll, ofps_spring_sow, ofps_start, ofps_strigling1, ofps_strigling2, ofps_strigling3, ofps_strigling4, ofps_water1, ofps_water2, Crop::SimpleEvent(), Farm::SpringHarrow(), Farm::SpringPlough(), Farm::SpringRoll(), Farm::SpringSow(), Farm::Strigling(), and Farm::Water().