iLand
Public Types | Public Member Functions | List of all members
BITE::BiteCell Class Reference

#include <bitecell.h>

Public Types

enum  ENotification { CellDied , CellColonized , CellSpread , CellImpacted }
 

Public Member Functions

 BiteCell ()
 
void setup (int cellidx, QPointF pos, BiteAgent *agent)
 
int index () const
 index within the agent grid More...
 
BiteAgentagent () const
 
QString info ()
 
bool isValid () const
 
bool isActive () const
 
void setActive (bool activate)
 
bool isSpreading () const
 
void setSpreading (bool activate)
 
void setTreesLoaded (bool loaded)
 
void setSaplingsLoaded (bool loaded)
 
void checkTreesLoaded (ABE::FMTreeList *treelist)
 
void checkSaplingsLoaded (ABE::FMSaplingList *saplist)
 
bool areTreesLoaded () const
 
bool areSaplingsLoaded () const
 
int yearsLiving () const
 
int yearLastSpread () const
 
int cumYearsLiving () const
 
double climateVar (int var_index) const
 
void die ()
 
void finalize ()
 
void notify (ENotification what)
 
int loadTrees (ABE::FMTreeList *treelist)
 
int loadSaplings (ABE::FMSaplingList *saplinglist)
 

Member Enumeration Documentation

◆ ENotification

Enumerator
CellDied 
CellColonized 
CellSpread 
CellImpacted 

Constructor & Destructor Documentation

◆ BiteCell()

BITE::BiteCell::BiteCell ( )
inline

Member Function Documentation

◆ agent()

BiteAgent * BITE::BiteCell::agent ( ) const
inline

◆ areSaplingsLoaded()

bool BITE::BiteCell::areSaplingsLoaded ( ) const
inline

◆ areTreesLoaded()

bool BITE::BiteCell::areTreesLoaded ( ) const
inline

◆ checkSaplingsLoaded()

void BITE::BiteCell::checkSaplingsLoaded ( ABE::FMSaplingList saplist)

◆ checkTreesLoaded()

void BITE::BiteCell::checkTreesLoaded ( ABE::FMTreeList treelist)

◆ climateVar()

double BITE::BiteCell::climateVar ( int  var_index) const

◆ cumYearsLiving()

int BITE::BiteCell::cumYearsLiving ( ) const
inline

◆ die()

void BITE::BiteCell::die ( )

◆ finalize()

void BITE::BiteCell::finalize ( )

◆ index()

int BITE::BiteCell::index ( ) const
inline

index within the agent grid

◆ info()

QString BITE::BiteCell::info ( )

◆ isActive()

bool BITE::BiteCell::isActive ( ) const
inline

◆ isSpreading()

bool BITE::BiteCell::isSpreading ( ) const
inline

◆ isValid()

bool BITE::BiteCell::isValid ( ) const
inline

◆ loadSaplings()

int BITE::BiteCell::loadSaplings ( ABE::FMSaplingList saplinglist)

◆ loadTrees()

int BITE::BiteCell::loadTrees ( ABE::FMTreeList treelist)

◆ notify()

void BITE::BiteCell::notify ( ENotification  what)

◆ setActive()

void BITE::BiteCell::setActive ( bool  activate)
inline

◆ setSaplingsLoaded()

void BITE::BiteCell::setSaplingsLoaded ( bool  loaded)
inline

◆ setSpreading()

void BITE::BiteCell::setSpreading ( bool  activate)
inline

◆ setTreesLoaded()

void BITE::BiteCell::setTreesLoaded ( bool  loaded)
inline

◆ setup()

void BITE::BiteCell::setup ( int  cellidx,
QPointF  pos,
BiteAgent agent 
)

◆ yearLastSpread()

int BITE::BiteCell::yearLastSpread ( ) const
inline

◆ yearsLiving()

int BITE::BiteCell::yearsLiving ( ) const
inline

The documentation for this class was generated from the following files: