Loading [MathJax]/extensions/ams.js
ALMaSS  1.2 (after EcoStack, March 2024)
The Animal, Landscape and Man Simulation System
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GenericCatchCrop.h File Reference

GenericCatchCrop.h This file contains the headers for the GenericCatchCrop class
More...

Go to the source code of this file.

Classes

class  GenericCatchCrop
 GenericCatchCrop class
. More...
 

Macros

#define GENERIC_CATCH_CROP_BASE   100000
 
#define GCCR_ENDDATE   a_field->m_user[0]
 

Enumerations

enum  GenericCatchCropToDo {
  gccr_start = 1, gccr_sleep_all_day = GENERIC_CATCH_CROP_BASE, gccr_sow, gccr_harvest,
  gccr_foobar
}
 

Detailed Description

GenericCatchCrop.h This file contains the headers for the GenericCatchCrop class

by Chris J. Topping
Version of October 2020
All rights reserved.

Macro Definition Documentation

◆ GCCR_ENDDATE

#define GCCR_ENDDATE   a_field->m_user[0]

◆ GENERIC_CATCH_CROP_BASE

#define GENERIC_CATCH_CROP_BASE   100000

Enumeration Type Documentation

◆ GenericCatchCropToDo

Below is the list of things that a farmer can do if he is growing CatchPeaCrop, at least following this basic plan. So all we have to do is figure out when to do the different things. Once we have done some kind of management, then an event is triggered and the fact that this particular management is done is registered with the particular polygon. This information is available for any ALMaSS components to inspect - e.g. animals & birds

Enumerator
gccr_start 
gccr_sleep_all_day 
gccr_sow 
gccr_harvest 
gccr_foobar 
30  {
31  gccr_start = 1, // Compulsory, must always be 1 (one).
33  gccr_sow,
GENERIC_CATCH_CROP_BASE
#define GENERIC_CATCH_CROP_BASE
Definition: GenericCatchCrop.h:21
gccr_sleep_all_day
Definition: GenericCatchCrop.h:32
gccr_start
Definition: GenericCatchCrop.h:31
gccr_sow
Definition: GenericCatchCrop.h:33
gccr_harvest
Definition: GenericCatchCrop.h:34
gccr_foobar
Definition: GenericCatchCrop.h:35
GenericCatchCropToDo
GenericCatchCropToDo
Definition: GenericCatchCrop.h:30