19#ifndef BITELIFECYCLE_H
20#define BITELIFECYCLE_H
55 void calcOutbreakWaves();
61 bool mDieAfterDispersal;
67 int mThisOutbreakDuration;
68 int mNextOutbreakStart;
Definition: biteagent.h:71
Definition: bitecell.h:38
ENotification
Definition: bitecell.h:71
Definition: biteitem.h:37
Definition: bitelifecycle.h:28
int numberAnnualCycles(BiteCell *cell)
fetch the number of cycles the agent should run for the cell
Definition: bitelifecycle.cpp:125
QString info()
Definition: bitelifecycle.cpp:85
bool dieAfterDispersal() const
Definition: bitelifecycle.h:40
bool shouldSpread(BiteCell *cell)
should the cell be an active spreader in the next iteration?
Definition: bitelifecycle.cpp:132
void notify(BiteCell *cell, BiteCell::ENotification what)
Definition: bitelifecycle.cpp:92
QStringList allowedProperties()
Definition: bitelifecycle.cpp:161
int outbreakYears()
number of years that an outbreak wave is currently active the value is 0 for non-outbreak years
Definition: bitelifecycle.h:50
void setup(BiteAgent *parent_agent)
Definition: bitelifecycle.cpp:31
Q_INVOKABLE BiteLifeCycle(QJSValue obj)
Definition: bitelifecycle.cpp:26
void run()
Definition: bitelifecycle.cpp:100
Definition: bitecellscript.h:88
Definition: biteagent.cpp:32
DynamicExpression encapsulates an "expression" that can be either a iLand expression,...
Definition: bitecellscript.h:111