ALMaSS Partridge ODdox
1.1
The partridge 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 Partridge_Female, Partridge_Male, Partridge_Covey, Partridge_Chick2, Partridge_Chick, Partridge_Clutch, and TAnimal.
Definition at line 137 of file populationmanager.h.
|
inlinevirtual |
EndStep behaviour - must be implemented in descendent classes.
Reimplemented in Partridge_Female, Partridge_Male, Partridge_Covey, Partridge_Chick2, Partridge_Chick, Partridge_Clutch, 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 Partridge_Male::AmIaMember(), Partridge_Male::CheckMatePointers(), Partridge_Female::CheckMatePointers(), Partridge_Population_Manager::DissolveCovey(), 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 Partridge_Female, Partridge_Male, Partridge_Covey, Partridge_Chick2, Partridge_Chick, Partridge_Clutch, and TAnimal.
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 Partridge_Covey::AddMember(), Partridge_Chick::BeginStep(), Partridge_Covey::BeginStep(), Partridge_Chick::ChDying(), Partridge_Chick::ChMaturing(), Partridge_Chick2::ChMaturing(), Partridge_Clutch::ClDeveloping(), Partridge_Clutch::ClDying(), Partridge_Clutch::EndStep(), Partridge_Chick::EndStep(), Partridge_Chick2::EndStep(), Partridge_Covey::EndStep(), Partridge_Female::FDying(), GetCurrentStateNo(), TAnimal::KillThis(), Partridge_Covey::ManagerCheckMerge(), Partridge_Male::MDying(), ReinitialiseObject(), Partridge_Covey::RemoveMember(), Partridge_Covey::SanityCheck(), SetCurrentStateNo(), Partridge_Clutch::Step(), Partridge_Chick::Step(), Partridge_Chick2::Step(), Partridge_Male::Step(), and Partridge_Female::Step().
|
protected |
Indicates whether the iterative step code is done for this timestep.
Definition at line 118 of file populationmanager.h.
Referenced by Partridge_Chick::ChDying(), Partridge_Chick::ChMaturing(), Partridge_Chick2::ChMaturing(), Partridge_Clutch::ClDeveloping(), Partridge_Clutch::ClDying(), Partridge_Female::FDying(), GetStepDone(), TAnimal::KillThis(), Partridge_Male::MDying(), ReinitialiseObject(), Partridge_Covey::RemoveMember(), SetStepDone(), Partridge_Clutch::Step(), Partridge_Chick::Step(), Partridge_Chick2::Step(), Partridge_Covey::Step(), Partridge_Male::Step(), and Partridge_Female::Step().