ALMaSS Rabbit ODdox  1.00
The rabbit model description following ODdox protocol
Public Member Functions | Public Attributes | List of all members
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 391 of file farm.h.

Constructor & Destructor Documentation

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 402 of file farm.h.

405  {
406  m_event = a_event;
407  m_field = a_field;
408  m_todo = a_todo;
409  m_run = a_run;
410  m_lock = a_lock;
411  m_startday = a_start;
412  m_first_year = a_first_year;
413  m_next_tov=a_nextcrop;
414  }
int m_startday
Definition: farm.h:394
long m_run
Definition: farm.h:396
TTypesOfVegetation m_event
Definition: farm.h:398
LE * m_field
Definition: farm.h:400
int m_todo
Definition: farm.h:397
TTypesOfVegetation m_next_tov
Definition: farm.h:399
bool m_lock
Definition: farm.h:393
bool m_first_year
Definition: farm.h:395

Member Data Documentation

TTypesOfVegetation FarmEvent::m_event

Definition at line 398 of file farm.h.

Referenced by Farm::LeSwitch().

LE* FarmEvent::m_field
bool FarmEvent::m_first_year

Definition at line 395 of file farm.h.

bool FarmEvent::m_lock

Definition at line 393 of file farm.h.

TTypesOfVegetation FarmEvent::m_next_tov

Definition at line 399 of file farm.h.

long FarmEvent::m_run

Definition at line 396 of file farm.h.

Referenced by Farm::LeSwitch().

int FarmEvent::m_startday

Definition at line 394 of file farm.h.

int FarmEvent::m_todo

Definition at line 397 of file farm.h.

Referenced by Farm::LeSwitch().


The documentation for this struct was generated from the following file: