ALMaSS Rabbit ODdox
1.1
The rabbit 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 Rabbit_Base, TAnimal, and Rabbit_Warren.
Definition at line 137 of file populationmanager.h.
|
inlinevirtual |
EndStep behaviour - must be implemented in descendent classes.
Reimplemented in Rabbit_Adult, Rabbit_Juvenile, Rabbit_Young, Rabbit_Base, and TAnimal.
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 Rabbit_Warren::DEBUG_InternalTest(), Rabbit_Warren::Leave(), 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 Rabbit_Female, Rabbit_Male, Rabbit_Juvenile, Rabbit_Young, Rabbit_Base, TAnimal, and Rabbit_Warren.
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 Rabbit_Juvenile::EndStep(), Rabbit_Adult::EndStep(), GetCurrentStateNo(), TAnimal::KillThis(), ReinitialiseObject(), SetCurrentStateNo(), Rabbit_Base::st_Dying(), Rabbit_Young::st_Dying(), Rabbit_Juvenile::st_Dying(), Rabbit_Adult::st_Dying(), Rabbit_Young::Step(), Rabbit_Juvenile::Step(), Rabbit_Male::Step(), Rabbit_Female::Step(), and Rabbit_Warren::Step().
|
protected |
Indicates whether the iterative step code is done for this timestep.
Definition at line 118 of file populationmanager.h.
Referenced by Rabbit_Base::GeneralOrganoPhosphate(), GetStepDone(), TAnimal::KillThis(), ReinitialiseObject(), SetStepDone(), Rabbit_Base::st_Dying(), Rabbit_Young::st_Dying(), Rabbit_Juvenile::st_Dying(), Rabbit_Adult::st_Dying(), Rabbit_Female::st_EvaluateTerritory(), Rabbit_Young::Step(), Rabbit_Juvenile::Step(), Rabbit_Male::Step(), Rabbit_Female::Step(), and Rabbit_Warren::Step().