ALMaSS Rabbit ODdox  1.1
The rabbit model description following ODdox protocol
FarmEvent Struct Reference

A struct to hold the information required to trigger a farm event. More...

#include <farm.h>

Public Member Functions

 FarmEvent (TTypesOfVegetation a_event, LE *a_field, int a_todo, long a_run, bool a_lock, int a_start, bool a_first_year, TTypesOfVegetation a_nextcrop)
 

Public Attributes

bool m_lock
 
int m_startday
 
bool m_first_year
 
long m_run
 
int m_todo
 
TTypesOfVegetation m_event
 
TTypesOfVegetation m_next_tov
 
LEm_field
 

Detailed Description

A struct to hold the information required to trigger a farm event.

Definition at line 463 of file farm.h.

Constructor & Destructor Documentation

◆ FarmEvent()

FarmEvent::FarmEvent ( TTypesOfVegetation  a_event,
LE a_field,
int  a_todo,
long  a_run,
bool  a_lock,
int  a_start,
bool  a_first_year,
TTypesOfVegetation  a_nextcrop 
)
inline

Definition at line 474 of file farm.h.

477  {
478  m_event = a_event;
479  m_field = a_field;
480  m_todo = a_todo;
481  m_run = a_run;
482  m_lock = a_lock;
483  m_startday = a_start;
484  m_first_year = a_first_year;
485  m_next_tov=a_nextcrop;
486  }

References m_event, m_field, m_first_year, m_lock, m_next_tov, m_run, m_startday, and m_todo.

Member Data Documentation

◆ m_event

TTypesOfVegetation FarmEvent::m_event

Definition at line 470 of file farm.h.

Referenced by FarmEvent(), and Farm::LeSwitch().

◆ m_field

◆ m_first_year

bool FarmEvent::m_first_year

Definition at line 467 of file farm.h.

Referenced by FarmEvent().

◆ m_lock

bool FarmEvent::m_lock

Definition at line 465 of file farm.h.

Referenced by FarmEvent().

◆ m_next_tov

TTypesOfVegetation FarmEvent::m_next_tov

Definition at line 471 of file farm.h.

Referenced by FarmEvent().

◆ m_run

long FarmEvent::m_run

Definition at line 468 of file farm.h.

Referenced by FarmEvent(), and Farm::LeSwitch().

◆ m_startday

int FarmEvent::m_startday

Definition at line 466 of file farm.h.

Referenced by FarmEvent().

◆ m_todo

int FarmEvent::m_todo

Definition at line 469 of file farm.h.

Referenced by FarmEvent(), and Farm::LeSwitch().


The documentation for this struct was generated from the following file:
FarmEvent::m_lock
bool m_lock
Definition: farm.h:465
FarmEvent::m_first_year
bool m_first_year
Definition: farm.h:467
FarmEvent::m_startday
int m_startday
Definition: farm.h:466
FarmEvent::m_event
TTypesOfVegetation m_event
Definition: farm.h:470
FarmEvent::m_field
LE * m_field
Definition: farm.h:472
FarmEvent::m_next_tov
TTypesOfVegetation m_next_tov
Definition: farm.h:471
FarmEvent::m_todo
int m_todo
Definition: farm.h:469
FarmEvent::m_run
long m_run
Definition: farm.h:468