File failed to load: https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/extensions/ams.js
 |
ALMaSS
1.2 (after EcoStack, March 2024)
The Animal, Landscape and Man Simulation System
|
Go to the documentation of this file.
21 #ifndef BEBEETSPRING_H
22 #define BEBEETSPRING_H
24 #define BEBEETSPRING_BASE 26200
28 #define BE_BES_HERBI1 a_field->m_user[1]
29 #define BE_BES_FUNGI1 a_field->m_user[2]
79 #endif // BEBEETSPRING_H
int GetMDates(int a, int b)
Definition: Elements.h:405
Definition: BEBeetSpring.h:40
#define BEBEETSPRING_BASE
Definition: BEBeetSpring.h:24
bool m_forcespring
Definition: Farm.h:392
CfgFloat l_pest_insecticide_amount
void SetMDates(int a, int b, int c)
Definition: Elements.h:406
virtual bool SpringPlough(LE *a_field, double a_user, int a_days)
Carry out a ploughing event in the spring on a_field.
Definition: FarmFuncs.cpp:421
Definition: LandscapeFarmingEnums.h:290
Definition: BEBeetSpring.h:48
Definition: BEBeetSpring.h:54
bool m_lock
Definition: Farm.h:384
#define BE_BES_HERBI1
A flag used to indicate autumn ploughing status.
Definition: BEBeetSpring.h:28
A struct to hold the information required to trigger a farm event.
Definition: Farm.h:372
Definition: BEBeetSpring.h:44
int GetYearNumber(void)
Definition: Calendar.h:72
bool m_first_year
Definition: Farm.h:386
CfgFloat cfg_pest_product_3_amount
class Calendar * g_date
Definition: Calendar.cpp:37
TTypesOfVegetation GetPreviousTov(int a_index)
Definition: Farm.h:966
TTypesOfFarm GetType(void)
Definition: Farm.h:956
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: BEBeetSpring.cpp:64
int m_first_date
Definition: Farm.h:501
int m_startday
Definition: Farm.h:385
Definition: BEBeetSpring.h:38
Definition: BEBeetSpring.h:42
The base class for all crops.
Definition: Farm.h:495
BEBeetSpring class .
Definition: BEBeetSpring.h:66
Definition: BEBeetSpring.h:51
Definition: BEBeetSpring.h:46
The landscape class containing all environmental and topographical data.
Definition: Landscape.h:142
Definition: BEBeetSpring.h:47
long Date(void)
Definition: Calendar.h:57
Definition: BEBeetSpring.h:41
int GetSoilType()
Definition: Elements.h:302
Bool configurator entry class.
Definition: Configurator.h:155
long OldDays(void)
Definition: Calendar.h:60
Definition: BEBeetSpring.h:39
void Warn(MapErrorState a_level, std::string a_msg1, std::string a_msg2)
Definition: MapErrorMsg.cpp:69
int GetRotIndex(void)
Definition: Elements.h:373
Definition: BEBeetSpring.h:52
TTypesOfVegetation m_next_tov
Definition: Farm.h:390
Farm * m_farm
Definition: Farm.h:498
LE * m_field
Definition: Farm.h:499
Definition: BEBeetSpring.h:43
int m_todo
Definition: Farm.h:388
virtual double GetGreenBiomass(void)
Definition: Elements.h:160
Definition: BEBeetSpring.h:50
TTypesOfCrops
Definition: LandscapeFarmingEnums.h:781
Definition: LandscapeFarmingEnums.h:696
Definition: Elements.h:86
MapErrorMsg * g_msg
Definition: MapErrorMsg.cpp:41
CfgBool cfg_pest_beet_on
Turn on pesticides for beet.
Definition: BEBeetSpring.h:53
TTypesOfVegetation
Values that represent the types of vegetation that are represented in ALMaSS.
Definition: LandscapeFarmingEnums.h:192
Integer configurator entry class.
Definition: Configurator.h:102
Definition: BEBeetSpring.h:45
The base class for all farm types.
Definition: Farm.h:755
Double configurator entry class.
Definition: Configurator.h:126
CfgInt cfg_BE_InsecticideMonth
Provided to allow configuration control of the first insecticide spray in beet crops - this changes t...
Farm * GetOwner(void)
Definition: Elements.h:256
int DayInYear(void)
Definition: Calendar.h:58
CfgInt cfg_BE_InsecticideDay
Provided to allow configuration control of the first insecticide spray in beet crops - this changes t...
#define BE_BES_FUNGI1
Definition: BEBeetSpring.h:29
BEBeetSpring(TTypesOfVegetation a_tov, TTypesOfCrops a_toc, Landscape *a_L)
Definition: BEBeetSpring.h:70
Definition: BEBeetSpring.h:49
void SetMConstants(int a, int c)
Definition: Elements.h:408
FarmEvent * m_ev
Definition: Farm.h:500
BEBeetSpringToDo
Definition: BEBeetSpring.h:37
Definition: MapErrorMsg.h:34
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