ALMaSS Vole ODDox
1.1
The vole model description following ODdox protocol
|
The base class of all ALMaSS objects requiring Step code. More...
#include <PopulationManager.h>
Public Member Functions | |
int | GetCurrentStateNo () |
Returns the current state number. More... | |
void | SetCurrentStateNo (int a_num) |
Sets the current state number. More... | |
bool | GetStepDone () |
Returns the step done indicator flag. More... | |
void | SetStepDone (bool a_bool) |
Sets the step done indicator flag. More... | |
virtual void | BeginStep (void) |
BeingStep behaviour - must be implemented in descendent classes. More... | |
virtual void | Step (void) |
Step behaviour - must be implemented in descendent classes. More... | |
virtual void | EndStep (void) |
EndStep behaviour - must be implemented in descendent classes. More... | |
virtual void | ReinitialiseObject () |
Used to re-use an object - must be implemented in descendent classes. More... | |
TALMaSSObject () | |
The constructor for TALMaSSObject. More... | |
virtual | ~TALMaSSObject () |
The destructor for TALMaSSObject. More... | |
void | OnArrayBoundsError () |
Used for debugging only, tests basic object properties. More... | |
Protected Attributes | |
int | m_CurrentStateNo |
The basic state number for all objects - '-1' indicates death. More... | |
bool | m_StepDone |
Indicates whether the iterative step code is done for this timestep. More... | |
The base class of all ALMaSS objects requiring Step code.
Definition at line 113 of file PopulationManager.h.
TALMaSSObject::TALMaSSObject | ( | ) |
The constructor for TALMaSSObject.
TALMaSSObject Constructor
Definition at line 1379 of file PopulationManager.cpp.
|
virtual |
The destructor for TALMaSSObject.
TALMaSSObject Destructor
Definition at line 1393 of file PopulationManager.cpp.
|
inlinevirtual |
BeingStep behaviour - must be implemented in descendent classes.
Reimplemented in TAnimal, Owl, Weasel, TPredator, Vole_JuvenileFemale, Vole_JuvenileMale, and Vole_Base.
Definition at line 137 of file PopulationManager.h.
|
inlinevirtual |
EndStep behaviour - must be implemented in descendent classes.
Reimplemented in TAnimal, Owl, Weasel, TPredator, Vole_JuvenileFemale, Vole_Male, Vole_JuvenileMale, and Vole_Base.
Definition at line 141 of file PopulationManager.h.
|
inline |
Returns the current state number.
Definition at line 121 of file PopulationManager.h.
References m_CurrentStateNo.
Referenced by Vole_Population_Manager::FindOutsideRadiusMale(), Vole_Population_Manager::FindRandomMale(), CompareStateR::operator()(), CompareStateDead::operator()(), and CompareStateAlive::operator()().
|
inline |
Returns the step done indicator flag.
Definition at line 129 of file PopulationManager.h.
References m_StepDone.
void TALMaSSObject::OnArrayBoundsError | ( | ) |
Used for debugging only, tests basic object properties.
Definition at line 1427 of file PopulationManager.cpp.
|
inlinevirtual |
Used to re-use an object - must be implemented in descendent classes.
Definition at line 143 of file PopulationManager.h.
References m_CurrentStateNo, and m_StepDone.
Referenced by TAnimal::ReinitialiseObject().
|
inline |
Sets the current state number.
Definition at line 125 of file PopulationManager.h.
References m_CurrentStateNo.
|
inline |
Sets the step done indicator flag.
Definition at line 133 of file PopulationManager.h.
References m_StepDone.
|
inlinevirtual |
Step behaviour - must be implemented in descendent classes.
Reimplemented in TAnimal, Owl, Weasel, TPredator, Vole_Female, Vole_JuvenileFemale, Vole_Male, Vole_JuvenileMale, and Vole_Base.
Definition at line 139 of file PopulationManager.h.
|
protected |
The basic state number for all objects - '-1' indicates death.
Definition at line 116 of file PopulationManager.h.
Referenced by GetCurrentStateNo(), Vole_Base::Init(), TAnimal::KillThis(), ReinitialiseObject(), SetCurrentStateNo(), Vole_JuvenileMale::st_BecomeSubAdult(), Vole_JuvenileFemale::st_BecomeSubAdult(), Vole_Base::st_Dying(), Weasel::Step(), Owl::Step(), Vole_JuvenileMale::Step(), and Vole_Male::Step().
|
protected |
Indicates whether the iterative step code is done for this timestep.
Definition at line 118 of file PopulationManager.h.
Referenced by Vole_JuvenileMale::BeginStep(), Vole_JuvenileFemale::BeginStep(), GetStepDone(), TAnimal::KillThis(), ReinitialiseObject(), SetStepDone(), Vole_JuvenileMale::st_BecomeSubAdult(), Vole_JuvenileFemale::st_BecomeSubAdult(), Weasel::Step(), Owl::Step(), Vole_JuvenileMale::Step(), Vole_Male::Step(), Vole_JuvenileFemale::Step(), and Vole_Female::Step().