ALMaSS Rodenticide ODdox
1.1
The rodenticide model description following ODdox protocol
|
The base class for all ALMaSS animal classes.
More...
#include <PopulationManager.h>
The base class for all ALMaSS animal classes.
Includes all the functionality required to be handled by classes derived from Population_Manager, hence a number of empty methods that MUST be reimplemented in descendent classes e.g. CopyMyself()
◆ TAnimal()
◆ BeginStep()
virtual void TAnimal::BeginStep |
( |
void |
| ) |
|
|
inlinevirtual |
BeingStep behaviour - must be implemented in descendent classes.
Reimplemented from TALMaSSObject.
◆ CheckManagement()
void TAnimal::CheckManagement |
( |
void |
| ) |
|
Checks to see if there has been a management event at the TAnimals' x,y location. If so calls an event handler to handle the management event.
◆ CheckManagementXY()
void TAnimal::CheckManagementXY |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
Checks to see if there has been a management event at the x,y location. If so calls an event handler to handle the management event.
◆ CopyMyself()
virtual void TAnimal::CopyMyself |
( |
| ) |
|
|
inlinevirtual |
◆ CorrectWrapRound()
void TAnimal::CorrectWrapRound |
( |
| ) |
|
|
inlineprotected |
◆ Dying()
virtual void TAnimal::Dying |
( |
| ) |
|
|
inlinevirtual |
◆ EndStep()
virtual void TAnimal::EndStep |
( |
void |
| ) |
|
|
inlinevirtual |
EndStep behaviour - must be implemented in descendent classes.
Reimplemented from TALMaSSObject.
◆ KillThis()
virtual void TAnimal::KillThis |
( |
| ) |
|
|
inlinevirtual |
◆ OnFarmEvent()
virtual bool TAnimal::OnFarmEvent |
( |
FarmToDo |
| ) |
|
|
inlinevirtual |
◆ ReinitialiseObject()
◆ SetX()
void TAnimal::SetX |
( |
int |
a_x | ) |
|
|
inline |
◆ SetY()
void TAnimal::SetY |
( |
int |
a_y | ) |
|
|
inline |
◆ Step()
virtual void TAnimal::Step |
( |
void |
| ) |
|
|
inlinevirtual |
Step behaviour - must be implemented in descendent classes.
Reimplemented from TALMaSSObject.
◆ Supply_m_Location_x()
int TAnimal::Supply_m_Location_x |
( |
| ) |
|
|
inline |
◆ Supply_m_Location_y()
int TAnimal::Supply_m_Location_y |
( |
| ) |
|
|
inline |
◆ SupplyFarmOwnerRef()
unsigned TAnimal::SupplyFarmOwnerRef |
( |
| ) |
|
Provides the farmer reference for the location of a TAnimal
◆ SupplyPoint()
APoint TAnimal::SupplyPoint |
( |
| ) |
|
|
inline |
◆ SupplyPolygonRef()
int TAnimal::SupplyPolygonRef |
( |
| ) |
|
|
inline |
◆ SupplyPosition()
◆ WhatState()
virtual int TAnimal::WhatState |
( |
| ) |
|
|
inlinevirtual |
◆ m_Location_x
int TAnimal::m_Location_x |
|
protected |
◆ m_Location_y
int TAnimal::m_Location_y |
|
protected |
◆ m_OurLandscape
The documentation for this class was generated from the following files:
virtual void KillThis()
Definition: PopulationManager.h:219
TTypesOfVegetation SupplyVegType(int a_x, int a_y)
Definition: landscape.h:1321
TTypesOfLandscapeElement SupplyElementType(int a_polyref)
Definition: landscape.h:1110
Landscape * m_OurLandscape
Definition: PopulationManager.h:229
unsigned m_x
Definition: PopulationManager.h:172
int SupplySimAreaHeight(void)
Definition: landscape.h:1637
int SupplyFarmOwner(int a_x, int a_y)
Definition: landscape.h:1152
int SupplySimAreaWidth(void)
Definition: landscape.h:1632
int m_Location_y
Definition: PopulationManager.h:228
A simple class defining an x,y coordinate set.
Definition: ALMaSS_Setup.h:52
virtual bool OnFarmEvent(FarmToDo)
Definition: PopulationManager.h:271
A class defining an animals position.
Definition: PopulationManager.h:168
bool m_StepDone
Indicates whether the iterative step code is done for this timestep.
Definition: PopulationManager.h:118
TTypesOfLandscapeElement m_EleType
Definition: PopulationManager.h:174
unsigned m_y
Definition: PopulationManager.h:173
virtual void ReinitialiseObject()
Used to re-use an object - must be implemented in descendent classes.
Definition: PopulationManager.h:143
int m_CurrentStateNo
The basic state number for all objects - '-1' indicates death.
Definition: PopulationManager.h:116
int SupplyLastTreatment(int a_polyref, int *a_index)
Definition: landscape.h:1331
int m_Location_x
Definition: PopulationManager.h:225
int SupplyPolyRef(int a_x, int a_y)
Definition: landscape.h:1488
TTypesOfVegetation m_VegType
Definition: PopulationManager.h:175