ALMaSS Rodenticide Model ODdox
1.0
|
The base class of all ALMaSS objects requiring Step code. More...
#include <PopulationManager.h>
Public Member Functions | |
virtual void | BeginStep (void) |
BeingStep behaviour - must be implemented in descendent classes. More... | |
virtual void | EndStep (void) |
EndStep behaviour - must be implemented in descendent classes. More... | |
int | GetCurrentStateNo () |
Returns the current state number. More... | |
bool | GetStepDone () |
Returns the step done indicator flag. More... | |
void | OnArrayBoundsError () |
Used for debugging only, tests basic object properties. More... | |
virtual void | ReinitialiseObject () |
Used to re-use an object - must be implemented in descendent classes. More... | |
void | SetCurrentStateNo (int a_num) |
Sets the current state number. More... | |
void | SetStepDone (bool a_bool) |
Sets the step done indicator flag. More... | |
virtual void | Step (void) |
Step behaviour - must be implemented in descendent classes. More... | |
TALMaSSObject () | |
The constructor for TALMaSSObject. More... | |
virtual | ~TALMaSSObject () |
The destructor for TALMaSSObject. 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.
TALMaSSObject::TALMaSSObject | ( | ) |
The constructor for TALMaSSObject.
TALMaSSObject Constructor
|
virtual |
The destructor for TALMaSSObject.
TALMaSSObject Destructor
|
inlinevirtual |
|
inlinevirtual |
|
inline |
Returns the current state number.
Referenced by CompareStateR::operator()(), CompareStateDead::operator()(), and CompareStateAlive::operator()().
|
inline |
Returns the step done indicator flag.
void TALMaSSObject::OnArrayBoundsError | ( | ) |
|
inlinevirtual |
Used to re-use an object - must be implemented in descendent classes.
Referenced by TAnimal::ReinitialiseObject().
|
inline |
Sets the current state number.
|
inline |
Sets the step done indicator flag.
|
inlinevirtual |
|
protected |
The basic state number for all objects - '-1' indicates death.
|
protected |
Indicates whether the iterative step code is done for this timestep.