Loading [MathJax]/extensions/ams.js
 |
ALMaSS
1.2 (after EcoStack, March 2024)
The Animal, Landscape and Man Simulation System
|
Go to the documentation of this file.
18 #ifndef NLCatchCropPea_H
19 #define NLCatchCropPea_H
21 #define NLCatchCropPea_BASE 20800
91 #endif // NLCatchCropPea_H
bool m_forcespring
Definition: Farm.h:392
virtual bool FA_Slurry(LE *a_field, double a_user, int a_days)
Spready slurry on a_field owned by an stock farmer.
Definition: FarmFuncs.cpp:1067
virtual bool Do(Farm *a_farm, LE *a_field, FarmEvent *a_ev)
The one and only method for a crop management plan. All farm actions go through here.
Definition: NLCatchCropPea.cpp:54
bool IsStockFarmer(void)
Definition: Farm.h:961
NLCatchCropPea class .
Definition: NLCatchCropPea.h:52
CfgBool g_farm_fixed_crop_enable
A struct to hold the information required to trigger a farm event.
Definition: Farm.h:372
Definition: NLCatchCropPea.h:34
void ClearManagementActionSum()
clears the management action counters
Definition: Elements.h:247
Definition: NLCatchCropPea.h:40
class Calendar * g_date
Definition: Calendar.cpp:37
virtual bool FA_Manure(LE *a_field, double a_user, int a_days)
Spread manure on a_field owned by an stock farmer.
Definition: FarmFuncs.cpp:1110
Definition: NLCatchCropPea.h:36
int m_base_elements_no
Definition: Farm.h:505
Definition: NLCatchCropPea.h:33
Definition: NLCatchCropPea.h:29
int m_first_date
Definition: Farm.h:501
The base class for all crops.
Definition: Farm.h:495
virtual bool FP_Manure(LE *a_field, double a_user, int a_days)
Spread manure on a_field owned by an arable farmer.
Definition: FarmFuncs.cpp:896
The landscape class containing all environmental and topographical data.
Definition: Landscape.h:142
Definition: NLCatchCropPea.h:30
Definition: LandscapeFarmingEnums.h:1004
Definition: NLCatchCropPea.h:35
NLCatchCropPea(TTypesOfVegetation a_tov, TTypesOfCrops a_toc, Landscape *a_L)
Definition: NLCatchCropPea.h:56
long Date(void)
Definition: Calendar.h:57
Definition: NLCatchCropPea.h:39
Definition: LandscapeFarmingEnums.h:1008
int GetSoilType()
Definition: Elements.h:302
Bool configurator entry class.
Definition: Configurator.h:155
Definition: LandscapeFarmingEnums.h:1003
long OldDays(void)
Definition: Calendar.h:60
Definition: LandscapeFarmingEnums.h:627
void Warn(MapErrorState a_level, std::string a_msg1, std::string a_msg2)
Definition: MapErrorMsg.cpp:69
Farm * m_farm
Definition: Farm.h:498
LE * m_field
Definition: Farm.h:499
vector< FarmManagementCategory > m_ManagementCategories
Holds the translation between the farm operation enum for each crop and the farm management category ...
Definition: Farm.h:530
virtual bool PreseedingCultivatorSow(LE *a_field, double a_user, int a_days, double a_seed_coating_amount=-1, PlantProtectionProducts a_ppp=ppp_foobar)
Carry out preseeding cultivation together with sow on a_field (tilling and sowing set including culti...
Definition: FarmFuncs.cpp:325
int m_todo
Definition: Farm.h:388
virtual bool FP_Slurry(LE *a_field, double a_user, int a_days)
Apply slurry to a_field owned by an arable farmer.
Definition: FarmFuncs.cpp:823
virtual bool SleepAllDay(LE *a_field, double a_user, int a_days)
Nothing to to today on a_field.
Definition: FarmFuncs.cpp:272
TTypesOfCrops
Definition: LandscapeFarmingEnums.h:781
#define NLCatchCropPea_BASE
Definition: NLCatchCropPea.h:21
Definition: Elements.h:86
void SetUpFarmCategoryInformation()
Definition: NLCatchCropPea.h:65
MapErrorMsg * g_msg
Definition: MapErrorMsg.cpp:41
Definition: NLCatchCropPea.h:38
NLCatchCropPeaToDo
Definition: NLCatchCropPea.h:28
TTypesOfVegetation
Values that represent the types of vegetation that are represented in ALMaSS.
Definition: LandscapeFarmingEnums.h:192
Definition: NLCatchCropPea.h:31
Definition: NLCatchCropPea.h:32
The base class for all farm types.
Definition: Farm.h:755
Definition: NLCatchCropPea.h:37
virtual bool WinterPlough(LE *a_field, double a_user, int a_days)
Carry out a ploughing event in the winter on a_field.
Definition: FarmFuncs.cpp:395
int DayInYear(void)
Definition: Calendar.h:58
void SetCropClassification(int a_classification)
Definition: Farm.h:549
FarmEvent * m_ev
Definition: Farm.h:500
Definition: LandscapeFarmingEnums.h:268
Definition: MapErrorMsg.h:34
FarmManagementCategory
Definition: LandscapeFarmingEnums.h:1001
virtual bool StubbleHarrowing(LE *a_field, double a_user, int a_days)
Carry out stubble harrowing on a_field.
Definition: FarmFuncs.cpp:1523
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.
Definition: Farm.cpp:751